body {
    font-family: "Nunito Sans", sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    background-color: #f5f5f5;
}

.container {
    text-align: center;
}

.logo img {
    width: 100px;
    margin-bottom: 20px;
}

.calculator {
    background-color: #fff;
    padding: 40px 100px;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    margin: auto;
    margin-bottom: 100px;
    max-width: 800px;
}

.tableauA {
    background-color: #fff;
    padding: 40px 100px;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    margin: auto;
    max-width: 800px;
}

h2 {
    color: #1d3557;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    margin-bottom: 15px;
}

.form-group label {
    flex: 1;
    margin-right: 5%;
}

.input-container {
    display: flex;
    align-items: center;
}

.input-container input {
    width: calc(100% - 50px);
    padding: 10px;
    border: 1px solid black;
    border-radius: 5px 0 0 5px;
    opacity: 1;
}

.input-container span {
    width: 50px;
    text-align: center;
    background-color: #1d3557;
    color: #fff;
    padding: 10px;
    border-radius: 0 5px 5px 0;
}

button {
    background-color: #1d3557;
    color: #fff;
    border: none;
    padding: 5px 40px;
    margin: 30px;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #457b9d;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #1d3557;
    color: #fff;
}

.error-message {
    color: orange;
    margin-top: 10px;
}

#invalid {
    border: 2px solid orange;
}
