body {
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    text-align: center;
    padding: 5vh;
    display: flex;
    justify-content: center;
}

.form-container {
    background-color: rgba(0, 0, 0, 0.632);
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    width: 400px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

label {
    width: 100%;
    margin-bottom: 5px;
}

input, select {
    padding: 10px;
    border-radius: 10px;
    background-color: rgb(43, 43, 43);
    color: white;
    font-weight: bold;
    border: solid 2px transparent;
    transition: background-color 0.3s, border 0.3s;
}

input:hover, select:hover {
    background-color: rgb(60, 60, 60);
    border: solid 2px orange;
}

input:focus, select:focus {
    background-color: rgb(64, 224, 208);
    border: solid 2px rgb(0, 255, 255);
}

input.error, select.error {
    border: solid 2px red;
    background-color: rgb(70, 10, 10);
}

.mensaje-error {
    color: red;
    font-size: 12px; 
    display: none;
}

.error {
    border: 1px solid red;
}

button {
    margin-top: 20px;
    padding: 10px 20px;
    border-radius: 10px;
    background-color: darkorange;
    color: white;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: orange;
}

#resumen {
    margin-top: 20px;
    padding: 10px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
}

#estadoCivil {
    width: 100%;  
    padding: 10px;
    border-radius: 4px;
    background-color: #353535;
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 20px;
}

#estadoCivil:focus {
    border-color: darkorange; 
    outline: none;  
}

#terminos {
    margin-right: 10px;  
    vertical-align: middle;  
}

#provincias {
    width: 100%;  
    padding: 10px;
    border-radius: 4px;
    background-color: #353535;
    color: #ffffff;
    font-size: 16px;
}
