* {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    box-sizing: border-box;
}

:root {
    --input_color: #D9D9D9;
    --tittle_color: #36523D;
    --white: #ffffff;
    --proz: #58378C;
}

header {
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 30px;
    font-size: 20px;
    color: var(--tittle_color);
    text-align: center;
}

#proz {
    color: var(--proz);
}

main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--tittle_color);
    padding-top: 30px;
    margin-bottom: 100px;
}

#div-nome-cpf {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    font-size: 11px;
}

.nome-cpf {
    color: black;
    padding: 5px 5px;
    background-color: var(--input_color);
    border-radius: 5px;
    margin-left: 20px;
    margin-right: 20px;
}

#div-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
    width: 100%;
}

form {
    max-width: 400px; 
}

form table {
    border-collapse: collapse;
    text-align: center;
    width: 100%;
}

form th, form td {
    border: 1px solid #ccc;
    padding: 0;
}

form th {
    background-color: var(--input_color);
    font-weight: bold;
    height: 50px;
}

form td input,
form td select {
    width: 100%;
    height: 50px;
    border: none;
    background-color: var(--input_color);
    text-align: center;
    font-size: 18px;
    border-radius: 0;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: pointer;
}

button {
    background-color: var(--tittle_color);
    color: var(--white);
    border: none;
    font-size: 20px;
    font-weight: bold;
    height: 60px;
    width: 100%;
    margin-top: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
}

button:hover {
    opacity: 0.9;
    transform: translateY(-3px); 
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
}

#voltar {
    position: absolute;
    top: 20px;
    left: 20px;
    text-decoration: none;
}

#voltar button {
    background-color: var(--tittle_color);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

#voltar button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

#soma-total {
    background-color: var(--input_color);
    color: black;
    font-size: 20px;
    font-weight: bold;
    height: 60px;
    width: 100%;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#resultado-final {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
}