/* ==========================================
   ESTILOS ADICIONALES PARA PÁGINA DE LOGIN
   ========================================== */

/* Botón de cambio de tema en login */
.login-theme-toggle {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.login-theme-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  background: var(--secondary-bg);
}

.login-theme-toggle i {
  font-size: 20px;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.login-theme-toggle:hover i {
  color: var(--primary);
}

/* Responsive para botón de tema */
@media (max-width: 768px) {
  .login-theme-toggle {
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
  }
  
  .login-theme-toggle i {
    font-size: 18px;
  }
}

/* ==========================================
   EFECTO BRILLO ANIMADO EN TÍTULO
   ========================================== */

.login-title-mirror {
  display: inline-block;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin: 0;
  
  /* Degradado animado: blanco → verde → verde claro → blanco */
  background: linear-gradient(90deg, 
    var(--text-primary) 0%, 
    #22c55e 25%,
    #4ade80 50%, 
    #22c55e 75%,
    var(--text-primary) 100%
  );
  
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200%;
  
  animation: brilloVerde 3s linear infinite;
  
  /* Resplandor verde sutil */
  filter: drop-shadow(0 0 10px rgba(34, 197, 94, 0.3));
}

/* Animación suave del degradado verde */
@keyframes brilloVerde {
  0% { 
    background-position: 0%;
  }
  100% { 
    background-position: 200%;
  }
}

/* Animación de números en stats */
.stat-number {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  display: block;
  margin-bottom: 8px;
}

/* Responsive para título brillo */
@media (max-width: 768px) {
  .login-title-mirror {
    font-size: 28px;
  }
}
