/**
 * RUTA: public/login/css/login.css
 * ==============================================================================
 * TOKENS DE DISEÑO, MICRO-ANIMACIONES Y ERGONOMÍA TÁCTIL 🎨
 * Clean Fintech ERP + Estándar Billetera Virtual Mobile
 * ==============================================================================
 */

/* Bloqueo Estricto de Scroll Viewport (Cero Scroll Vertical u Horizontal) */
html, body {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    overscroll-behavior: none !important;
    -webkit-overflow-scrolling: auto !important;
    touch-action: manipulation;
}

[x-cloak] {
    display: none !important;
}

.tabular-nums {
    font-variant-numeric: tabular-nums;
}

.pb-safe {
    padding-bottom: env(safe-area-inset-bottom, 16px);
}

/* Scrollbar Minimalista */
.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 9999px;
}

/* Micro-animaciones Cohete y Badge (Efecto Canónico Ondas de Radio Suaves) */
@-webkit-keyframes ripple {
    0% {
        -webkit-transform: scale(0.8);
        transform: scale(0.8);
        opacity: 0.6;
    }
    100% {
        -webkit-transform: scale(2.5);
        transform: scale(2.5);
        opacity: 0;
    }
}
@keyframes ripple {
    0% {
        -webkit-transform: scale(0.8);
        transform: scale(0.8);
        opacity: 0.6;
    }
    100% {
        -webkit-transform: scale(2.5);
        transform: scale(2.5);
        opacity: 0;
    }
}
.animate-ripple {
    -webkit-animation: ripple 3s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    animation: ripple 3s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    will-change: transform, opacity;
}
.animate-ripple-delayed {
    -webkit-animation: ripple 3s cubic-bezier(0, 0.2, 0.8, 1) 1.5s infinite;
    animation: ripple 3s cubic-bezier(0, 0.2, 0.8, 1) 1.5s infinite;
    will-change: transform, opacity;
}

@keyframes softPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(56, 189, 248, 0.08);
    }
    50% {
        transform: scale(1.025);
        box-shadow: 0 4px 20px rgba(56, 189, 248, 0.22);
    }
}
.animate-soft-pulse {
    animation: softPulse 2.8s ease-in-out infinite;
}
.animate-soft-pulse:hover {
    animation-play-state: paused;
    transform: scale(1.025) translateY(-2px);
}

/* Transiciones de Entrada Suave */
.fade-enter {
    animation: fadeIn 0.4s ease-out forwards;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
