/* =========================================
   VARIABLES Y BASE
   ========================================= */
:root {
    --neon-green: #a3e635; /* El verde neón característico */
    --neon-green-glow: rgba(163, 230, 53, 0.4);
    --dark-bg: #0f1113;
    --card-bg: rgba(20, 22, 25, 0.95);
    --input-border: #333;
}

body {
    background-color: var(--dark-bg);
    font-family: 'Inter', sans-serif;
    color: white;
    margin: 0;
}

.italic-title {
    font-family: 'Oswald', sans-serif;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   CONTENEDOR PRINCIPAL (FONDO)
   ========================================= */
.login-page {
    position: relative;
    min-height: 100vh;
    /* La imagen se mantiene fija y cubre toda la pantalla */
    background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.9)), 
                url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?q=80&w=2070') center/cover no-repeat fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
/* =========================================
   TARJETA DE LOGIN (GLASSMORPHISM)
   ========================================= */
.login-card {
    background: rgba(15, 17, 19, 0.85); /* Fondo oscuro pero traslúcido */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    width: 100%;
    max-width: 420px;
    backdrop-filter: blur(15px); /* Efecto de cristal esmerilado */
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    z-index: 10;
}

/* Logo y Título */
.logo-icon {
    color: var(--neon-green) !important;
    filter: drop-shadow(0 0 8px var(--neon-green-glow));
}

/* =========================================
   INPUTS Y EFECTOS VISUALES
   ========================================= */
.custom-input-group {
    border-bottom: 2px solid var(--input-border);
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px 8px 0 0;
}

.input-custom {
    border: none !important;
    color: white !important;
    padding: 12px 15px !important;
    box-shadow: none !important;
}

.input-custom::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.input-group-text {
    border: none !important;
    color: #666 !important;
    padding-left: 15px !important;
}

/* Estado Focus (Cuando el usuario escribe) */
.custom-input-group:focus-within {
    border-color: var(--neon-green) !important;
    background: rgba(163, 230, 53, 0.05);
}

.custom-input-group:focus-within .input-group-text,
.custom-input-group:focus-within i {
    color: var(--neon-green) !important;
    filter: drop-shadow(0 0 5px var(--neon-green-glow));
}

/* =========================================
   BOTÓN NEÓN (BRILLO INTENSO)
   ========================================= */
.btn-ingresar-neon {
    background-color: var(--neon-green) !important;
    color: #000 !important;
    font-weight: 800 !important;
    padding: 14px;
    border-radius: 50px;
    border: none !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 1 !important;
    /* Doble sombra para efecto neón real */
    box-shadow: 0 0 15px rgba(163, 230, 53, 0.6), 0 0 30px rgba(163, 230, 53, 0.2) !important;
    transition: all 0.3s ease-in-out;
}

.btn-ingresar-neon:hover {
    transform: translateY(-2px);
    background-color: #bef264 !important;
    box-shadow: 0 0 25px rgba(163, 230, 53, 0.9), 0 0 50px rgba(163, 230, 53, 0.4) !important;
}

/* =========================================
   LINKS Y UTILIDADES
   ========================================= */
.text-neon-link {
    color: var(--neon-green);
    text-decoration: none;
    transition: 0.3s;
}

.text-neon-link:hover {
    color: #bef264;
    text-shadow: 0 0 10px var(--neon-green-glow);
}

.form-check-input {
    background-color: transparent;
    border-color: #555;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: var(--neon-green);
    border-color: var(--neon-green);
}

/* =========================================
   RESPONSIVIDAD
   ========================================= */
@media (max-width: 576px) {
    .login-page {
        /* Mantenemos la imagen de fondo también en móvil */
        background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.95)), 
                    url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?q=80&w=2070') center/cover no-repeat fixed;
    }

    .login-card {
        /* En móvil la tarjeta es un poco más oscura para leer mejor */
        background: rgba(15, 17, 19, 0.9);
        border-radius: 20px;
        padding: 30px 20px !important;
        margin: 10px;
    }
    
    .italic-title {
        font-size: 1.6rem !important; /* Ajuste sutil de tamaño */
    }

    .btn-ingresar-neon {
        padding: 12px !important;
    }
}
