/* ================================================
   Neon Design System — Meganet Sistemas
   Modern neon glow effects & animations
   ================================================ */

/* ---- Neon Color Tokens ---- */
:root {
  --neon-blue: #00d4ff;
  --neon-blue-rgb: 0, 212, 255;
  --neon-purple: #a855f7;
  --neon-purple-rgb: 168, 85, 247;
  --neon-pink: #ec4899;
  --neon-pink-rgb: 236, 72, 153;
  --neon-green: #00ff88;
  --neon-green-rgb: 0, 255, 136;
  --neon-cyan: #22d3ee;
  --neon-cyan-rgb: 34, 211, 238;
  --neon-yellow: #fbbf24;
  --neon-red: #ff4d6a;
  --neon-orange: #ff8c42;

  --neon-glow-sm: 0 0 5px;
  --neon-glow-md: 0 0 10px;
  --neon-glow-lg: 0 0 20px;
  --neon-glow-xl: 0 0 40px;
}

/* ---- Neon Glow Utilities ---- */
.neon-glow-blue {
  box-shadow: 0 0 5px rgba(var(--neon-blue-rgb), 0.3),
              0 0 10px rgba(var(--neon-blue-rgb), 0.2),
              0 0 20px rgba(var(--neon-blue-rgb), 0.1);
}

.neon-glow-purple {
  box-shadow: 0 0 5px rgba(var(--neon-purple-rgb), 0.3),
              0 0 10px rgba(var(--neon-purple-rgb), 0.2),
              0 0 20px rgba(var(--neon-purple-rgb), 0.1);
}

.neon-glow-cyan {
  box-shadow: 0 0 5px rgba(var(--neon-cyan-rgb), 0.3),
              0 0 10px rgba(var(--neon-cyan-rgb), 0.2),
              0 0 20px rgba(var(--neon-cyan-rgb), 0.1);
}

.neon-glow-green {
  box-shadow: 0 0 5px rgba(var(--neon-green-rgb), 0.3),
              0 0 10px rgba(var(--neon-green-rgb), 0.2),
              0 0 20px rgba(var(--neon-green-rgb), 0.1);
}

/* ---- Neon Text Glow ---- */
.neon-text-blue {
  color: var(--neon-blue);
  text-shadow: 0 0 7px rgba(var(--neon-blue-rgb), 0.6),
               0 0 10px rgba(var(--neon-blue-rgb), 0.4),
               0 0 21px rgba(var(--neon-blue-rgb), 0.3),
               0 0 42px rgba(var(--neon-blue-rgb), 0.2);
}

.neon-text-purple {
  color: var(--neon-purple);
  text-shadow: 0 0 7px rgba(var(--neon-purple-rgb), 0.6),
               0 0 10px rgba(var(--neon-purple-rgb), 0.4),
               0 0 21px rgba(var(--neon-purple-rgb), 0.3),
               0 0 42px rgba(var(--neon-purple-rgb), 0.2);
}

.neon-text-cyan {
  color: var(--neon-cyan);
  text-shadow: 0 0 7px rgba(var(--neon-cyan-rgb), 0.6),
               0 0 10px rgba(var(--neon-cyan-rgb), 0.4),
               0 0 21px rgba(var(--neon-cyan-rgb), 0.3);
}

.neon-text-green {
  color: var(--neon-green);
  text-shadow: 0 0 7px rgba(var(--neon-green-rgb), 0.6),
               0 0 10px rgba(var(--neon-green-rgb), 0.4);
}

/* ---- Neon Border ---- */
.neon-border-blue {
  border: 1px solid rgba(var(--neon-blue-rgb), 0.5);
  box-shadow: inset 0 0 5px rgba(var(--neon-blue-rgb), 0.1),
              0 0 5px rgba(var(--neon-blue-rgb), 0.15);
}

.neon-border-purple {
  border: 1px solid rgba(var(--neon-purple-rgb), 0.5);
  box-shadow: inset 0 0 5px rgba(var(--neon-purple-rgb), 0.1),
              0 0 5px rgba(var(--neon-purple-rgb), 0.15);
}

.neon-border-cyan {
  border: 1px solid rgba(var(--neon-cyan-rgb), 0.5);
  box-shadow: inset 0 0 5px rgba(var(--neon-cyan-rgb), 0.1),
              0 0 5px rgba(var(--neon-cyan-rgb), 0.15);
}

/* ---- Neon Card ---- */
.neon-card {
  background: rgba(10, 15, 30, 0.8);
  border: 1px solid rgba(var(--neon-blue-rgb), 0.15);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.neon-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(var(--neon-blue-rgb), 0.3), rgba(var(--neon-purple-rgb), 0.1), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: all 0.4s ease;
}

.neon-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--neon-blue-rgb), 0.4);
  box-shadow: 0 0 15px rgba(var(--neon-blue-rgb), 0.15),
              0 0 30px rgba(var(--neon-blue-rgb), 0.08),
              0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

.neon-card:hover::before {
  background: linear-gradient(135deg, rgba(var(--neon-blue-rgb), 0.5), rgba(var(--neon-purple-rgb), 0.3), rgba(var(--neon-cyan-rgb), 0.1));
}

/* ---- Neon Button ---- */
.neon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.neon-btn-primary {
  background: linear-gradient(135deg, #0066ff, #00d4ff);
  color: #fff;
  box-shadow: 0 0 15px rgba(var(--neon-blue-rgb), 0.3),
              0 0 30px rgba(var(--neon-blue-rgb), 0.15),
              0 4px 15px rgba(0, 0, 0, 0.3);
}

.neon-btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 20px rgba(var(--neon-blue-rgb), 0.5),
              0 0 40px rgba(var(--neon-blue-rgb), 0.25),
              0 8px 25px rgba(0, 0, 0, 0.4);
}

.neon-btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.neon-btn-purple {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff;
  box-shadow: 0 0 15px rgba(var(--neon-purple-rgb), 0.3),
              0 0 30px rgba(var(--neon-purple-rgb), 0.15),
              0 4px 15px rgba(0, 0, 0, 0.3);
}

.neon-btn-purple:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 20px rgba(var(--neon-purple-rgb), 0.5),
              0 0 40px rgba(var(--neon-purple-rgb), 0.25),
              0 8px 25px rgba(0, 0, 0, 0.4);
}

.neon-btn-outline {
  background: transparent;
  color: var(--neon-blue);
  border: 1px solid rgba(var(--neon-blue-rgb), 0.4);
  box-shadow: 0 0 8px rgba(var(--neon-blue-rgb), 0.1);
}

.neon-btn-outline:hover {
  background: rgba(var(--neon-blue-rgb), 0.1);
  border-color: rgba(var(--neon-blue-rgb), 0.7);
  box-shadow: 0 0 15px rgba(var(--neon-blue-rgb), 0.2),
              0 0 30px rgba(var(--neon-blue-rgb), 0.1);
  transform: translateY(-2px);
}

.neon-btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.neon-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border-color: rgba(var(--neon-blue-rgb), 0.3);
  box-shadow: 0 0 10px rgba(var(--neon-blue-rgb), 0.1);
}

/* ---- Neon Input ---- */
.neon-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(10, 15, 30, 0.6);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 0.9rem;
  outline: none;
  transition: all 0.3s ease;
}

.neon-input:focus {
  border-color: rgba(var(--neon-blue-rgb), 0.6);
  box-shadow: 0 0 0 3px rgba(var(--neon-blue-rgb), 0.15),
              0 0 15px rgba(var(--neon-blue-rgb), 0.1);
  background: rgba(10, 15, 30, 0.8);
}

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

/* ---- Neon Login Screen ---- */
.neon-login-bg {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: #050810;
  position: relative;
  overflow: hidden;
}

.neon-login-bg::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 1000px;
  background: radial-gradient(circle, rgba(var(--neon-blue-rgb), 0.12) 0%, transparent 50%);
  pointer-events: none;
  animation: neonPulseBg 6s ease-in-out infinite alternate;
}

.neon-login-bg::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(var(--neon-purple-rgb), 0.1) 0%, transparent 50%);
  pointer-events: none;
  animation: neonPulseBg 8s ease-in-out infinite alternate-reverse;
}

@keyframes neonPulseBg {
  0% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  100% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

.neon-login-card {
  background: rgba(10, 15, 30, 0.85);
  border: 1px solid rgba(var(--neon-blue-rgb), 0.15);
  border-radius: 20px;
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 0 30px rgba(var(--neon-blue-rgb), 0.08),
              0 0 60px rgba(var(--neon-purple-rgb), 0.05),
              0 25px 50px -15px rgba(0, 0, 0, 0.6);
  animation: neonCardAppear 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes neonCardAppear {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.neon-login-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(var(--neon-blue-rgb), 0.4), rgba(var(--neon-purple-rgb), 0.2), rgba(var(--neon-cyan-rgb), 0.1), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: neonBorderGlow 4s ease-in-out infinite alternate;
}

@keyframes neonBorderGlow {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}

/* Neon Login Logo */
.neon-login-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.25rem;
  position: relative;
  background: linear-gradient(135deg, rgba(var(--neon-blue-rgb), 0.2), rgba(var(--neon-purple-rgb), 0.2));
  border: 1px solid rgba(var(--neon-blue-rgb), 0.3);
  box-shadow: 0 0 20px rgba(var(--neon-blue-rgb), 0.2),
              0 0 40px rgba(var(--neon-purple-rgb), 0.1);
  animation: neonLogoPulse 3s ease-in-out infinite alternate;
}

@keyframes neonLogoPulse {
  0% { box-shadow: 0 0 20px rgba(var(--neon-blue-rgb), 0.2), 0 0 40px rgba(var(--neon-purple-rgb), 0.1); }
  100% { box-shadow: 0 0 30px rgba(var(--neon-blue-rgb), 0.35), 0 0 60px rgba(var(--neon-purple-rgb), 0.2); }
}

.neon-login-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  background: linear-gradient(135deg, #fff 0%, var(--neon-blue) 50%, var(--neon-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.neon-login-subtitle {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 2rem;
}

/* Neon Login Form */
.neon-form-group {
  margin-bottom: 1.25rem;
}

.neon-form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.5rem;
}

.neon-login-btn {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  color: #fff;
  background: linear-gradient(135deg, #0055cc, #00aaff, #00d4ff);
  background-size: 200% 200%;
  animation: neonBtnGradient 3s ease infinite;
  box-shadow: 0 0 20px rgba(var(--neon-blue-rgb), 0.3),
              0 0 40px rgba(var(--neon-blue-rgb), 0.15),
              0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.neon-login-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.neon-login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(var(--neon-blue-rgb), 0.5),
              0 0 50px rgba(var(--neon-blue-rgb), 0.25),
              0 8px 25px rgba(0, 0, 0, 0.4);
}

.neon-login-btn:hover::before {
  opacity: 1;
}

.neon-login-btn:active {
  transform: translateY(0);
}

@keyframes neonBtnGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.neon-login-hint {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.neon-login-hint a {
  color: var(--neon-blue);
  text-decoration: none;
  transition: color 0.2s;
}

.neon-login-hint a:hover {
  color: var(--neon-cyan);
  text-shadow: 0 0 8px rgba(var(--neon-cyan-rgb), 0.5);
}

/* ---- Neon Divider / Line ---- */
.neon-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--neon-blue-rgb), 0.3), rgba(var(--neon-purple-rgb), 0.2), transparent);
  margin: 1.5rem 0;
}

/* ---- Neon Badge ---- */
.neon-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.neon-badge-blue {
  background: rgba(var(--neon-blue-rgb), 0.12);
  color: var(--neon-blue);
  border: 1px solid rgba(var(--neon-blue-rgb), 0.3);
  box-shadow: 0 0 8px rgba(var(--neon-blue-rgb), 0.1);
}

.neon-badge-purple {
  background: rgba(var(--neon-purple-rgb), 0.12);
  color: var(--neon-purple);
  border: 1px solid rgba(var(--neon-purple-rgb), 0.3);
  box-shadow: 0 0 8px rgba(var(--neon-purple-rgb), 0.1);
}

.neon-badge-green {
  background: rgba(var(--neon-green-rgb), 0.12);
  color: var(--neon-green);
  border: 1px solid rgba(var(--neon-green-rgb), 0.3);
  box-shadow: 0 0 8px rgba(var(--neon-green-rgb), 0.1);
}

.neon-badge-cyan {
  background: rgba(var(--neon-cyan-rgb), 0.12);
  color: var(--neon-cyan);
  border: 1px solid rgba(var(--neon-cyan-rgb), 0.3);
}

/* ---- Neon Sidebar Item ---- */
.neon-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  position: relative;
}

.neon-nav-item:hover {
  background: rgba(var(--neon-blue-rgb), 0.06);
  color: rgba(255, 255, 255, 0.8);
  border-color: rgba(var(--neon-blue-rgb), 0.15);
}

.neon-nav-item.active {
  background: rgba(var(--neon-blue-rgb), 0.1);
  color: var(--neon-blue);
  border-color: rgba(var(--neon-blue-rgb), 0.3);
  box-shadow: 0 0 10px rgba(var(--neon-blue-rgb), 0.1);
  font-weight: 600;
}

.neon-nav-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 25%;
  bottom: 25%;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--neon-blue);
  box-shadow: 0 0 8px rgba(var(--neon-blue-rgb), 0.6);
}

/* ---- Neon Animations ---- */
@keyframes neonFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes neonPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

@keyframes neonFlicker {
  0%, 19.999%, 22%, 62.999%, 64%, 64.999%, 70%, 100% {
    opacity: 1;
    text-shadow: 0 0 7px rgba(var(--neon-blue-rgb), 0.6),
                 0 0 10px rgba(var(--neon-blue-rgb), 0.4),
                 0 0 21px rgba(var(--neon-blue-rgb), 0.3);
  }
  20%, 21.999%, 63%, 63.999%, 65%, 69.999% {
    opacity: 0.6;
    text-shadow: none;
  }
}

@keyframes neonScanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}

@keyframes neonRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes neonShimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* ---- Neon Scanline Overlay (optional) ---- */
.neon-scanline::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(var(--neon-blue-rgb), 0.015) 2px,
    rgba(var(--neon-blue-rgb), 0.015) 4px
  );
  pointer-events: none;
  z-index: 1;
}

/* ---- Neon Grid Background ---- */
.neon-grid-bg {
  position: relative;
}

.neon-grid-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--neon-blue-rgb), 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--neon-blue-rgb), 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
}

/* ---- Neon Particle Dots ---- */
.neon-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.neon-particles span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(var(--neon-blue-rgb), 0.4);
  animation: neonFloat 4s ease-in-out infinite;
}

.neon-particles span:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; animation-duration: 5s; }
.neon-particles span:nth-child(2) { top: 60%; left: 80%; animation-delay: 1s; animation-duration: 4s; background: rgba(var(--neon-purple-rgb), 0.4); }
.neon-particles span:nth-child(3) { top: 40%; left: 50%; animation-delay: 2s; animation-duration: 6s; }
.neon-particles span:nth-child(4) { top: 80%; left: 30%; animation-delay: 0.5s; animation-duration: 5s; background: rgba(var(--neon-cyan-rgb), 0.4); }
.neon-particles span:nth-child(5) { top: 10%; left: 70%; animation-delay: 1.5s; animation-duration: 4.5s; background: rgba(var(--neon-purple-rgb), 0.3); }

/* ---- Neon Loading Spinner ---- */
.neon-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(var(--neon-blue-rgb), 0.15);
  border-top-color: var(--neon-blue);
  border-radius: 50%;
  animation: neonRotate 0.8s linear infinite;
  box-shadow: 0 0 10px rgba(var(--neon-blue-rgb), 0.2);
}

/* ---- Neon Stat Card ---- */
.neon-stat-card {
  background: rgba(10, 15, 30, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.neon-stat-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
}

.neon-stat-card.neon-accent::before { background: var(--neon-blue); box-shadow: 0 0 10px rgba(var(--neon-blue-rgb), 0.5); }
.neon-stat-card.neon-success::before { background: var(--neon-green); box-shadow: 0 0 10px rgba(var(--neon-green-rgb), 0.5); }
.neon-stat-card.neon-warning::before { background: var(--neon-yellow); box-shadow: 0 0 10px rgba(251, 191, 36, 0.5); }
.neon-stat-card.neon-danger::before { background: var(--neon-red); box-shadow: 0 0 10px rgba(255, 77, 106, 0.5); }
.neon-stat-card.neon-info::before { background: var(--neon-cyan); box-shadow: 0 0 10px rgba(var(--neon-cyan-rgb), 0.5); }

.neon-stat-card:hover {
  border-color: rgba(var(--neon-blue-rgb), 0.2);
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(var(--neon-blue-rgb), 0.08);
}

/* ---- Neon Tooltip ---- */
.neon-tooltip {
  position: relative;
}

.neon-tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  padding: 6px 12px;
  background: rgba(10, 15, 30, 0.95);
  border: 1px solid rgba(var(--neon-blue-rgb), 0.3);
  border-radius: 8px;
  font-size: 0.75rem;
  color: var(--text-primary);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: all 0.2s ease;
  box-shadow: 0 0 10px rgba(var(--neon-blue-rgb), 0.15);
}

.neon-tooltip:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

/* ---- Responsive Neon ---- */
@media (max-width: 768px) {
  .neon-login-card {
    padding: 1.75rem;
    border-radius: 16px;
  }

  .neon-login-logo {
    width: 52px;
    height: 52px;
    font-size: 1.4rem;
  }

  .neon-login-title {
    font-size: 1.25rem;
  }
}
