/* =========================================
   CATS THEME - CORE VARIABLES
   ========================================= */
   :root {
    --cats-bg-deep: #0a0a0a;
    --cats-panel: rgba(17, 17, 17, 0.9);
    --cats-neon-blue: #00d4ff;
    --cats-neon-purple: #8b5cf6;
    --cats-neon-green: #00ff88;
    --cats-purple: #8b5cf6;
    --cats-glass: rgba(17, 17, 17, 0.85);
    --cats-grid: rgba(255, 255, 255, 0.03);
    --font-tech: 'Rajdhani', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}



body {
    background-color: var(--cats-bg-deep);
    font-family: var(--font-tech);
    color: #ffffff;
    overflow-x: hidden;
    
    /* Fondo de rejilla ESTÁTICO (Sin animación) */
    background-image: 
        linear-gradient(var(--cats-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--cats-grid) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center center;
}

/* =========================================
   LOGIN ESPECÍFICO
   ========================================= */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
}

/* Viñeta estática para profundidad */
.login-container::after {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, transparent 0%, #0a0a0a 100%);
    pointer-events: none;
    z-index: -1;
}

/* Tarjeta Principal */
.login-card {
    width: 100%;
    max-width: 650px;
    padding: 3rem;
    border-radius: 16px;
    
    background: var(--cats-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5),
                0 0 30px rgba(0, 212, 255, 0.1);
                
    position: relative;
    z-index: 10;
    overflow: hidden;
}

/* Barra superior fija */
.login-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--cats-neon-blue), var(--cats-neon-purple));
    box-shadow: 0 0 15px var(--cats-neon-blue);
}

/* =========================================
   INPUTS
   ========================================= */
.form-label {
    color: var(--cats-neon-blue);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 1px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.input-group {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.3s ease;
}

.input-group:focus-within {
    border-color: var(--cats-neon-blue);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.1);
}

.input-group-text {
    background: transparent;
    border: none;
    color: var(--cats-neon-purple);
    padding-left: 15px;
}

.form-control {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    height: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    padding-left: 10px;
}

.form-control:focus {
    box-shadow: none !important;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Fix para Autocomplete Chrome (Fondo oscuro forzado) */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px #111 inset !important;
    -webkit-text-fill-color: white !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* =========================================
   CONSOLA Y BOTONES
   ========================================= */
.console-box {
    background: rgba(0, 0, 0, 0.4);
    border-left: 3px solid var(--cats-neon-green);
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 2rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

.console-text {
    color: #fff;
    line-height: 1.6;
}

.blink {
    animation: blinker 1s step-end infinite;
}

@keyframes blinker {
    50% { opacity: 0; }
}

.btn-cats {
    background: linear-gradient(135deg, var(--cats-neon-blue), var(--cats-neon-purple));
    border: none;
    color: white;
    font-family: var(--font-mono);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    height: 55px;
    width: 100%;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
}

.btn-cats:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.3);
    color: white;
}

.btn-cats:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* =========================================
   ANIMACIONES DE ENTRADA (POST-PRELOADER)
   ========================================= */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.inter-lab{
    font-size: 34px !important;
}


.logo-content{
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}