/* Estilos para la pantalla de restablecimiento de contraseña */
.reset-password-container {
    max-width: 480px;
    margin: 60px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.reset-password-card {
    background: #fff;
    border: 1px solid rgba(37, 99, 235, 0.08);
    padding: 35px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.03), 0 1px 3px rgba(0, 0, 0, 0.01);
}

.reset-password-header {
    text-align: center;
    margin-bottom: 25px;
}

.reset-password-header__icon {
    font-size: 42px;
}

.reset-password-header__title {
    font-size: 24px;
    margin-top: 10px;
    font-weight: 800;
}

.reset-password-header__desc {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 5px;
}

.reset-password-alert {
    margin-bottom: 20px;
}

.reset-password-form-group {
    margin-bottom: 20px;
}

.reset-password-form-group--confirm {
    margin-bottom: 25px;
}

.reset-password-input {
    width: 100%;
    padding: 13px 16px !important;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14.5px;
    color: #1e293b;
    background: #ebf3fe; /* Relleno azul suave */
    transition: all 0.2s ease;
    box-sizing: border-box;
    outline: none;
}

.reset-password-input:focus {
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.reset-password-btn {
    width: 100%;
    padding: 13px 20px;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary) 0%, #1d4ed8 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    transition: all 0.2s ease;
    outline: none;
}

.reset-password-btn:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
    transform: translateY(-1px);
}


.reset-password-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.reset-password-footer__link {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

/* Fallback de WhatsApp para recuperación */
.forgot-password-wa-fallback {
    background: #FFFBEB;
    border: 1px solid #FCD34D;
    border-radius: var(--radius-md);
    padding: 25px;
    margin-bottom: 25px;
    text-align: center;
    border-left: 5px solid #F59E0B;
}

.forgot-password-wa-fallback__icon {
    font-size: 32px;
    display: block;
    margin-bottom: 10px;
}

.forgot-password-wa-fallback__title {
    color: #B45309;
    font-weight: 800;
    font-size: 16px;
    margin: 0 0 8px 0;
}

.forgot-password-wa-fallback__desc {
    font-size: 13px;
    color: #92400E;
    line-height: 1.5;
    margin: 0 0 20px 0;
}

.forgot-password-wa-fallback__btn {
    display: inline-block;
    background: #10B981;
    color: #fff;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(16,185,129,0.25);
    transition: var(--transition);
    text-align: center;
}

/* Fallback local para simulador */
.forgot-password-local-fallback {
    background: #FFFBEB;
    border: 1px dashed #F59E0B;
    border-radius: var(--radius-sm);
    padding: 20px;
    margin-bottom: 25px;
    border-left: 4px solid #F59E0B;
}

.forgot-password-local-fallback__title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #B45309;
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
}

.forgot-password-local-fallback__desc {
    font-size: 13px;
    color: #92400E;
    line-height: 1.4;
    margin-bottom: 12px;
}

.forgot-password-local-fallback__link {
    display: block;
    background: #fff;
    border: 1px solid #FDE68A;
    padding: 10px;
    border-radius: 4px;
    font-size: 12px;
    word-break: break-all;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    text-align: center;
    transition: var(--transition);
}

/* --- AJUSTE DE APLICACIÓN 100% NATIVA EN MÓVILES --- */
@media (max-width: 480px) {
    body {
        background: #ffffff;
    }

    .reset-password-container {
        padding: 0;
        margin: 0;
        max-width: 100%;
    }

    .reset-password-card {
        border: none;
        box-shadow: none;
        border-radius: 0;
        padding: 30px 20px;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .reset-password-footer {
        margin-top: auto;
        padding-top: 20px;
        border-top: 1px solid #f1f5f9;
    }
}

