body {
    font-family: 'Nunito Sans', sans-serif;
    background-color: #f4f7f6;
    margin: 0;
}

.onboarding-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    box-sizing: border-box;
    text-align: center;
}

.progress-bar {
    width: 100%;
    max-width: 400px;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress {
    height: 100%;
    background-color: #007bff;
}

.step-indicator {
    font-size: 14px;
    color: #666;
    margin-bottom: 40px;
}

.form-title {
    font-size: 24px;
    color: #0d3572;
    margin-bottom: 20px;
}

.data-form {
    width: 100%;
    max-width: 400px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input {
    width: 100%;
    padding: 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
}

.navigation-buttons {
    width: 100%;
    max-width: 400px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.btn-primary, .btn-secondary {
    display: block;
    padding: 14px 20px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    font-size: 16px;
}

.btn-primary { background-color: #007bff; color: white; }
.btn-secondary { background-color: transparent; color: #666; }

/* Estilos para el Modal */
.modal-personal-data-container {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6); /* cubre TODA la pantalla */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px; /* evita que pegue a los bordes */
    box-sizing: border-box;
}

.modal-content {
    width: 90%;                 /* ✔️ Achicado al 90% */
    max-width: 400px;           /* ✔️ Límite en desktop */
    background-color: #fefefe;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    animation: fadeIn 0.2s ease-out;
}

.modal-dni {
    font-size: 28px;
    font-weight: bold;
    color: #0d3572;
    margin: 15px 0;
}

.modal-note {
    font-size: 14px;
    color: #555;
    margin-bottom: 25px;
}

.modal-buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

/* ===== SELECT MODERNO SIN CAMBIAR HTML ===== */

.form-group select.form-control {
    width: 100%;
    padding: 14px;
    padding-right: 40px; /* espacio para icono */
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fff;
    font-size: 16px;
    font-family: 'Nunito Sans', sans-serif;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    box-sizing: border-box;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.form-group select.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 6px rgba(0, 123, 255, 0.3);
    outline: none;
}

/* Flecha custom SIN cambiar el HTML */
.form-group {
    position: relative;
}

.form-group select.form-control::-ms-expand {
    display: none; /* para IE */
}

/* Icono ▼ moderno a la derecha */
.form-group::after {
    content: "▾";
    font-size: 18px;
    color: #666;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-55%);
    pointer-events: none;
}
