/* ================================================================
   NexTrack — Auth CSS
   ================================================================ */

.auth-body {
  overflow: hidden;
}

/* Animated background layers */
.auth-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
}

.auth-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,245,212,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,245,212,0.04) 1px, transparent 1px);
  background-size: 44px 44px;
}

.auth-orb {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: 0.12;
  animation: orbPulse 8s ease-in-out infinite alternate;
}

.auth-orb--1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #00f5d4, transparent);
  top: -150px; right: -100px;
}

.auth-orb--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #9b4dff, transparent);
  bottom: -120px; left: -80px;
  animation-delay: -4s;
}

@keyframes orbPulse {
  from { transform: scale(1) translateY(0); opacity: 0.10; }
  to   { transform: scale(1.12) translateY(-20px); opacity: 0.18; }
}

/* Auth layout */
.auth-layout {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 24px;
  gap: 16px;
}

/* Auth card */
.auth-card {
  width: 100%; max-width: 420px;
  background: rgba(10, 13, 28, 0.92);
  border: 1px solid rgba(0,245,212,0.14);
  border-radius: 20px; padding: 36px;
  backdrop-filter: blur(20px);
  box-shadow:
    0 24px 72px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 0 0 1px rgba(0,245,212,0.04);
  animation: cardIn 0.3s ease;
}

@keyframes cardIn {
  from { opacity:0; transform: translateY(16px); }
  to   { opacity:1; transform: translateY(0); }
}

/* Logo */
.auth-logo {
  text-align: center; margin-bottom: 28px;
}

.auth-logo-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem; font-weight: 900;
  color: #00f5d4;
  text-shadow: 0 0 32px rgba(0,245,212,0.4);
  letter-spacing: 4px; text-transform: uppercase;
}

.auth-logo-sub {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.6rem; letter-spacing: 5px;
  text-transform: uppercase; color: #4a5a8a;
  margin-top: 5px;
}

/* Auth heading */
.auth-header { text-align: center; margin-bottom: 24px; }

.auth-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem; font-weight: 700;
  letter-spacing: 1px; color: #dce8ff;
  margin-bottom: 4px;
}

.auth-subtitle { font-size: 0.8rem; color: #4a5a8a; }

/* Auth form */
.auth-form { display: flex; flex-direction: column; gap: 2px; }

/* Auth bottom link */
.auth-link {
  text-align: center; margin-top: 20px;
  font-size: 0.82rem; color: #4a5a8a;
}

.auth-link a { color: #00f5d4; font-weight: 600; }
.auth-link a:hover { text-decoration: underline; }

/* Language strip below card */
.auth-lang {
  display: flex; align-items: center; gap: 8px;
}

.auth-lang .lang-btn {
  padding: 4px 10px; font-size: 0.68rem;
  font-family: 'Rajdhani', sans-serif; font-weight: 700; letter-spacing: 1px;
  background: transparent; border: 1px solid rgba(0,245,212,0.15);
  border-radius: 4px; color: #4a5a8a; cursor: pointer;
  transition: all 0.14s ease;
}

.auth-lang .lang-btn.active,
.auth-lang .lang-btn:hover {
  background: rgba(0,245,212,0.1); color: #00f5d4;
  border-color: rgba(0,245,212,0.3);
}
