/* Estándar Corporativo "Trust & Clean" 2026 - ALIANZAGSM LAUNCH EDITION */

body {
    background: #f8fafc; /* Slate 50 - Limpieza absoluta */
    color: #0f172a;
    min-height: 100vh;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 0;
}

.auth-container-fluid {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 80px);
    padding: 10px 20px; /* Menos padding vertical para asegurar que quepa */
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

/* Fondo corporativo sutil (Stripe/Vercel style) */
.auth-container-fluid::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.03) 0px, transparent 50%),
                radial-gradient(at 100% 0%, rgba(37, 99, 235, 0.03) 0px, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

.auth-container-fluid .bg-glow {
    display: none; /* Desactivado para lanzamiento corporativo */
}

/* Tarjeta Limpia y Confiable (SaaS Standard) */
.auth-card-premium {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    width: 100%;
    max-width: 420px;
    padding: 24px 32px; /* Reducción extrema para PC pequeñas */
    box-sizing: border-box;
    position: relative;
    z-index: 10;
}

/* Cabecera */
.auth-header-brand {
    text-align: center;
    margin-bottom: 16px; /* Reducido para compactar */
}

.auth-logo-sphere {
    width: 44px; /* Aún más pequeño */
    height: 44px;
    border-radius: 12px;
    background: #eff6ff; /* Blue 50 */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px; /* Reducido */
    border: 1px solid #bfdbfe; /* Blue 200 */
    color: #2563eb; /* Blue 600 */
}

.auth-logo-icon {
    font-size: 20px; /* Reducido */
}

.auth-header-brand h2 {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.025em;
}

.auth-header-brand p {
    display: none; /* OCULTO GLOBALMENTE: Ahorra ~50px de altura vital */
}

/* Pestañas Switch (Estilo Segmented Control nativo de iOS) */
.auth-tab-capsule {
    display: flex;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 10px;
    margin-bottom: 18px; /* Reducido de 24px a 18px */
    gap: 2px;
}

.auth-tab-capsule .tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #64748b;
    padding: 8px 10px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.auth-tab-capsule .tab-btn.active {
    background: #ffffff;
    color: #0f172a !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
}

/* Viewport Deslizable */
.auth-slider-viewport {
    width: 100%;
    overflow: hidden;
}

.auth-slider-track {
    display: flex;
    width: 200%;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-slide-pane {
    width: 50%;
    flex-shrink: 0;
}

/* Form Groups e Inputs */
.form-group {
    margin-bottom: 14px; /* Reducido máximo */
}

.form-group label {
    font-size: 13px;
    font-weight: 500;
    color: #334155;
    margin-bottom: 6px;
    display: block;
}

.input-with-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    transition: all 0.2s ease;
    box-sizing: border-box;
    height: 42px; /* Altura reducida para ahorrar espacio */
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.input-with-icon-wrapper:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.input-prefix-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    font-size: 18px;
    color: #94a3b8; 
    height: 100%;
    user-select: none;
    flex-shrink: 0;
}

.input-with-icon-wrapper:focus-within .input-prefix-icon {
    color: #2563eb;
}

.country-prefix-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    font-size: 13px;
    color: #475569;
    font-weight: 600;
    border-right: 1px solid #e2e8f0;
    height: 100%;
    user-select: none;
    background: #f8fafc;
    border-radius: 10px 0 0 10px;
}

/* Input propiamente dicho */
.input-premium-native {
    flex: 1;
    border: none !important;
    background: transparent !important;
    padding: 0 14px 0 0 !important;
    font-size: 14px;
    color: #0f172a;
    outline: none !important;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    box-shadow: none !important;
}

.input-premium-native::placeholder {
    color: #94a3b8;
}

/* Estados de Validación con Borde en el Contenedor */
.input-with-icon-wrapper.is-valid {
    border-color: #10b981 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1) !important;
}

.input-with-icon-wrapper.is-invalid {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

/* Password Toggle */
.password-toggle-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    height: 100%;
}

.password-toggle-wrapper .input-premium-native {
    padding-left: 0 !important;
    padding-right: 40px !important;
}

.password-toggle-btn {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #94a3b8;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

.password-toggle-btn:hover {
    color: #475569;
}

/* Enlaces */
.forgot-password-link-wrapper {
    text-align: right;
    margin-top: 6px;
}

.forgot-password-link {
    font-size: 13px;
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.forgot-password-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Botones de Envío */
.btn-submit-premium {
    width: 100%;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #2563eb; /* Azul corporativo */
    color: #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: background 0.2s ease, transform 0.1s ease;
    margin-top: 10px;
    outline: none;
}

.btn-submit-premium:hover {
    background: #1d4ed8;
}

.btn-submit-premium:active {
    transform: translateY(1px);
}

.btn-submit-premium:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn-arrow {
    transition: transform 0.2s ease;
}
.btn-submit-premium:hover .btn-arrow {
    transform: translateX(3px);
}

/* OTP */
.btn-submit--otp {
    background: #0f172a;
}

.btn-submit--otp:hover {
    background: #1e293b;
}

.form-otp-wrapper-hidden {
    display: none !important;
}

.otp-success-alert {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 13px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.otp-code-input {
    letter-spacing: 12px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    padding-left: 20px !important;
}

.otp-back-wrapper {
    text-align: center;
    margin-top: 16px;
}

.otp-back-btn {
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    font-size: 13px;
    text-decoration: underline;
    font-weight: 500;
}

.otp-back-btn:hover {
    color: #334155;
}

/* Demo Modal */
.demo-otp-modal {
    display: none;
    margin-top: 20px;
    padding: 16px;
    border-radius: 10px;
    background: #f0f9ff;
    border: 1px solid #e0f2fe;
    color: #0369a1;
    text-align: center;
}

.demo-otp-title {
    margin: 0 0 6px 0;
    color: #075985;
    font-size: 13px;
    font-weight: 600;
}

.demo-otp-desc {
    margin: 0;
    font-size: 13px;
    color: #0c4a6e;
}

.demo-code-text {
    font-size: 16px;
    font-weight: 700;
}

/* Alerts */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.alert-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

/* Footer */
.auth-card-footer {
    margin-top: 12px; 
    padding-top: 12px; 
    border-top: 1px solid #f1f5f9;
    text-align: center;
}

.form-footer-text {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

.footer-register-link {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

.footer-register-link:hover {
    text-decoration: underline;
}

/* Alerta de bloqueo de mayúsculas */
.caps-warning-hidden {
    display: none;
    color: #ef4444;
    font-size: 12px;
    margin-top: 6px;
    font-weight: 500;
}

/* Sugerencias de dominio de correo electrónico */
.email-suggestions-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.email-suggest-pill {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
}

.email-suggest-pill:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* Switch de Mantener Sesión Iniciada */
.remember-me-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 0;
}

.switch-container {
    position: relative;
    display: inline-block;
    width: 36px; 
    height: 20px;
    flex-shrink: 0;
}

.switch-container input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: .3s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 20px;
}

.switch-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .3s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.switch-container input:checked + .switch-slider {
    background-color: #2563eb; 
}

.switch-container input:checked + .switch-slider:before {
    transform: translateX(16px);
}

.switch-label {
    font-size: 13px;
    font-weight: 500;
    color: #475569;
}

/* --- AJUSTE DE APLICACIÓN EN MÓVILES --- */
@media (max-width: 480px) {
    body {
        background: #ffffff; /* Blanco total en móviles para dar sensación nativa PWA */
    }

    .auth-container-fluid {
        padding: 0;
        align-items: flex-start;
        min-height: 100dvh;
    }

    .auth-card-premium {
        border: none;
        box-shadow: none;
        border-radius: 0;
        padding: 20px 20px 75px 20px; /* Padding reducido. 75px inferior para la navbar azul */
        min-height: calc(100dvh - 56px);
        max-width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .auth-header-brand {
        margin-top: 0px;
        margin-bottom: 16px; 
        text-align: center; /* Solicitado por el usuario */
    }

    /* El párrafo ya está oculto globalmente, no hace falta ocultarlo aquí de nuevo,
       pero mantenemos las reglas de compresión móvil */
    .auth-tab-capsule {
        margin-bottom: 14px; 
    }

    .form-group {
        margin-bottom: 12px; /* Campos más pegados entre sí */
    }

    .auth-logo-sphere {
        width: 44px; /* Ícono ligeramente más pequeño */
        height: 44px;
        border-radius: 10px;
        margin-bottom: 10px;
    }

    .input-with-icon-wrapper {
        height: 46px; /* Más compacto, pero sigue siendo táctil */
    }

    .btn-submit-premium {
        padding: 12px 20px;
        font-size: 14.5px;
        margin-top: 8px; /* Botón de inicio más pegado */
    }

    .remember-me-group {
        margin: 12px 0; /* Switch más compacto */
    }

    .auth-card-footer {
        margin-top: 16px;
        padding-top: 16px;
    }
}

/* --- LIMPIEZA QUIRÚRGICA: register.php, forgot-password.php, reset-password.php --- */
.auth-card-premium.wide { max-width: 650px; }
.auth-section-title { margin-bottom: 15px; font-size: 18px; border-bottom: 1px solid #e2e8f0; padding-bottom: 5px; }
.icon-xs { width: 12px; height: 12px; }
.icon-sm { width: 18px; height: 18px; }
.icon-lg { width: 28px; height: 28px; }
.icon-xl { width: 32px; height: 32px; }
.w-100 { width: 100% !important; }
.pr-40 { padding-right: 40px !important; }
.pr-35 { padding-right: 35px !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-15 { margin-bottom: 15px !important; }
.hidden { display: none !important; }
.pos-rel { position: relative; }
.flex-1 { flex: 1; }
.flex-align-center { display: flex; align-items: center; }
.flex-space-between-center { display: flex; justify-content: space-between; align-items: center; }
.inline-middle { display: inline; vertical-align: middle; }
.uppercase { text-transform: uppercase; }
.input-help-text { display: block; font-size: 11px; color: #64748b; margin-top: 4px; }
.input-help-text-icon { display: block; font-size: 11px; color: #64748b; margin-top: 6px; line-height: 1.4; padding-left: 2px; }
.email-suggestions-dropdown { position: absolute; left: 0; right: 0; background: #fff; border: 1px solid #cbd5e1; border-radius: 8px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); z-index: 100; margin-top: 4px; overflow: hidden; }
.phone-wrapper-unstyle { display: flex; gap: 8px; position: relative; padding: 0; background: transparent; border: none; box-shadow: none; }
.country-prefix-select { display: flex; align-items: center; background: #f8fafc; border: 1px solid #cbd5e1; border-radius: 6px; padding: 0 12px; cursor: pointer; user-select: none; font-size: 14px; font-weight: 700; gap: 4px; height: 100%; }
.dropdown-arrow-icon { font-size: 10px; color: #64748b; }
.dropdown-arrow-icon-right { position: absolute; right: 12px; color: #64748b; font-size: 10px; pointer-events: none; }
.country-dropdown { position: absolute; background: #fff; border: 1px solid #cbd5e1; border-radius: 8px; box-shadow: 0 10px 25px rgba(0,0,0,0.15); z-index: 1000; width: 180px; margin-top: 5px; max-height: 200px; overflow-y: auto; font-family: sans-serif; }
.country-option { padding: 10px 12px; cursor: pointer; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; border-bottom: 1px solid #f1f5f9; }
.toggle-password-btn { position: absolute; right: 10px; background: none; border: none; color: #64748b; cursor: pointer; font-size: 16px; outline: none; padding: 5px; }
.btn-gps-autodetect { background: none; border: none; color: #2563eb; font-size: 11px; font-weight: 700; cursor: pointer; display: flex; align-items: center; gap: 3px; outline: none; padding: 0; }
.muni-dropdown { position: absolute; background: #fff; border: 1px solid #cbd5e1; border-radius: 8px; box-shadow: 0 10px 25px rgba(0,0,0,0.15); z-index: 1000; left: 0; right: 0; margin-top: 5px; max-height: 180px; overflow-y: auto; }
.muni-option { padding: 10px 12px; cursor: pointer; font-size: 13px; font-weight: 600; border-bottom: 1px solid #f1f5f9; }
.muni-principal-badge { float: right; font-size: 10px; background: rgba(0, 242, 254, 0.15); color: #2563eb; padding: 2px 6px; border-radius: 10px; }
.form-group-roles { margin-bottom: 20px; }
.roles-label { margin-bottom: 10px; display: block; font-weight: 700; }
.conditional-fields-container { display: grid; grid-template-rows: 0fr; opacity: 0; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); background: #f4f7fb; border-left: 4px solid #2563eb; border-radius: 8px; margin-bottom: 20px; }
.conditional-fields-container.is-open { grid-template-rows: 1fr; opacity: 1; }
.conditional-fields-inner { overflow: hidden; padding: 20px; }
.conditional-field-label { color: #2563eb; font-weight: 700; margin-bottom: 5px; display: block; }
.conditional-field-select, .conditional-field-input { width: 100%; border: none; background: transparent; padding: 10px 0; font-size: 15px; outline: none; cursor: pointer; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.conditional-field-input { cursor: text; }
.btn-submit-register { margin-top: 20px; }
.auth-fallback-alert { background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.3); border-radius: 8px; padding: 15px; margin-bottom: 20px; text-align: left; }
.auth-fallback-alert-title { color: #d97706; font-size: 15px; font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.auth-fallback-alert-text { font-size: 13px; color: #0f172a; line-height: 1.5; margin-bottom: 15px; }
.btn-wa-fallback { display: flex; align-items: center; justify-content: center; gap: 8px; background: #25D366; color: #fff; padding: 10px; border-radius: 6px; font-weight: 700; text-decoration: none; transition: transform 0.2s; }
.auth-local-alert { background: rgba(59, 130, 246, 0.1); border: 1px solid rgba(59, 130, 246, 0.3); border-radius: 8px; padding: 15px; margin-bottom: 20px; text-align: left; }
.auth-local-alert-title { color: #2563eb; font-size: 13px; font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.btn-local-simulate { display: block; text-align: center; background: #2563eb; color: #fff; padding: 10px; border-radius: 6px; font-weight: 700; text-decoration: none; transition: background 0.2s; }

/* =========================================================
   CUSTOM SELECT DROPDOWN (UI Premium 2026)
   ========================================================= */
.custom-select-wrapper { position: relative; width: 100%; }
.custom-select-trigger { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid transparent; transition: border-color 0.2s; padding: 10px 0; font-size: 15px; cursor: pointer; user-select: none; color: #0f172a; outline: none; }
.custom-select-trigger.disabled { color: #94a3b8; cursor: not-allowed; }
.custom-select-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.custom-select-dropdown { position: absolute; top: calc(100% + 4px); left: 0; right: 0; background-color: #fff; border: 1px solid #cbd5e1; border-radius: 8px; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); z-index: 2000; max-height: 220px; overflow-y: auto; opacity: 0; pointer-events: none; transform: translateY(-10px); transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1); }
.custom-select-dropdown.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.custom-option { padding: 10px 16px; font-size: 14px; color: #0f172a; cursor: pointer; border-bottom: 1px solid #f1f5f9; transition: background-color 0.2s ease, color 0.2s ease; }
.custom-option:last-child { border-bottom: none; }
.custom-option:hover { background-color: #f0fdf4; color: #2563eb; }
.custom-option.selected { font-weight: 700; color: #2563eb; background-color: #f8fafc; }

/* =========================================================
   EMAIL SUGGESTIONS DROPDOWN (UI Premium 2026)
   ========================================================= */
.email-suggestions-dropdown { position: absolute; top: calc(100% + 4px); left: 0; right: 0; background-color: #fff; border: 1px solid #cbd5e1; border-radius: 8px; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); z-index: 2000; max-height: 220px; overflow-y: auto; display: none; }
.email-suggestions-dropdown.is-open { display: block; animation: fadeInDropdown 0.2s ease forwards; }
.email-suggest-item { padding: 10px 16px; font-size: 14px; color: #0f172a; cursor: pointer; border-bottom: 1px solid #f1f5f9; transition: background-color 0.2s ease; }
.email-suggest-item:last-child { border-bottom: none; }
.email-suggest-item:hover { background-color: #eff6ff; }
@keyframes fadeInDropdown { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

/* =========================================================
   CUSTOM SCROLLBARS (App 2026)
   ========================================================= */
.custom-select-dropdown::-webkit-scrollbar,
.email-suggestions-dropdown::-webkit-scrollbar { width: 6px; }
.custom-select-dropdown::-webkit-scrollbar-track,
.email-suggestions-dropdown::-webkit-scrollbar-track { background: transparent; }
.custom-select-dropdown::-webkit-scrollbar-thumb,
.email-suggestions-dropdown::-webkit-scrollbar-thumb { background-color: #cbd5e1; border-radius: 10px; }
.custom-select-dropdown::-webkit-scrollbar-thumb:hover,
.email-suggestions-dropdown::-webkit-scrollbar-thumb:hover { background-color: #94a3b8; }

/* ========================================================
   MODERN CUSTOM VALIDATION TOOLTIPS (2026 UX)
======================================================== */
.custom-validation-tooltip {
    position: absolute;
    bottom: calc(100% + 5px);
    left: 10px;
    background: #1e293b; /* Premium Dark */
    color: #f8fafc;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 25px -5px rgba(239, 68, 68, 0.4);
    border: 1px solid rgba(239, 68, 68, 0.6);
    z-index: 5000;
    animation: bounceInTooltip 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    pointer-events: none;
    white-space: nowrap;
}
.custom-validation-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 15px;
    border-width: 6px;
    border-style: solid;
    border-color: #1e293b transparent transparent transparent;
}
.custom-validation-tooltip::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 14px;
    border-width: 7px;
    border-style: solid;
    border-color: rgba(239, 68, 68, 0.6) transparent transparent transparent;
    z-index: -1;
}

@keyframes bounceInTooltip {
    0% { opacity: 0; transform: translateY(10px) scale(0.9); }
    100% { opacity: 1; transform: translateY(0px) scale(1); }
}

.input-error-shake {
    animation: shakeError 0.4s ease-in-out;
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

@keyframes shakeError {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-4px); }
    40% { transform: translateX(4px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}
