/* ASTRAXSTUDY — Space Theme CSS
   Colors: #0a0a1a (bg), #7c3aed (violet), #06b6d4 (cyan), white text
*/

:root {
  --bg:       #0a0a1a;
  --bg2:      #0d0d2b;
  --bg3:      #111132;
  --violet:   #7c3aed;
  --violet-l: #9d5cf6;
  --cyan:     #06b6d4;
  --cyan-l:   #22d3ee;
  --white:    #f0f4ff;
  --muted:    #6b7280;
  --danger:   #ef4444;
  --success:  #10b981;
  --warning:  #f59e0b;
  --card-bg:  rgba(17,17,50,0.85);
  --border:   rgba(124,58,237,0.25);
  --glow:     0 0 20px rgba(124,58,237,0.4);
  --glow-c:   0 0 20px rgba(6,182,212,0.4);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── MILKY WAY & DEEP UNIVERSE BACKGROUND ──── */
#stars-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 20%, #0c0c24 0%, #05050f 75%);
}

/* Detailed Milky Way Galactic Plane */
.milkyway-band {
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  transform: rotate(-32deg);
  background: radial-gradient(ellipse 60% 30% at 50% 50%, 
    rgba(124, 58, 237, 0.12) 0%, 
    rgba(6, 182, 212, 0.09) 35%, 
    rgba(245, 158, 11, 0.04) 50%, 
    transparent 75%
  );
  filter: blur(40px);
  opacity: 0.85;
  pointer-events: none;
}

/* Volumetric Cosmic Dust Clouds */
.cosmic-dust {
  position: absolute;
  border-radius: 50%;
  filter: blur(75px);
  pointer-events: none;
}
.cosmic-dust-1 {
  width: 55vw; height: 35vh;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.16), transparent 70%);
  top: 5%; left: 15%;
}
.cosmic-dust-2 {
  width: 60vw; height: 40vh;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.12), transparent 70%);
  bottom: 10%; right: 5%;
}
.cosmic-dust-3 {
  width: 45vw; height: 30vh;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.06), transparent 70%);
  top: 45%; left: 40%;
}

/* Ambient Background Solar System (No Text, Ambient Depth) */
.bg-solar-system {
  position: absolute;
  top: 38%;
  right: 15%;
  width: 1px;
  height: 1px;
  opacity: 0.35;
  pointer-events: none;
}
.bg-sun-core {
  position: absolute;
  left: 50%; top: 50%;
  width: 28px; height: 28px;
  margin-left: -14px; margin-top: -14px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, #fef08a 35%, #f59e0b 70%, transparent 100%);
  box-shadow: 0 0 35px 12px rgba(245, 158, 11, 0.5);
  animation: pulseSun 4s ease-in-out infinite;
}
@keyframes pulseSun {
  0%, 100% { transform: scale(1); box-shadow: 0 0 35px 10px rgba(245, 158, 11, 0.45); }
  50%      { transform: scale(1.1); box-shadow: 0 0 50px 18px rgba(245, 158, 11, 0.7); }
}

.bg-orbit-ring {
  position: absolute;
  left: 50%; top: 50%;
  border-radius: 50%;
  border: 1px solid rgba(124, 58, 237, 0.14);
}
.bg-orbit-rotator {
  position: absolute;
  left: 50%; top: 50%;
  border-radius: 50%;
  transform-origin: 0 0;
  animation: bgOrbitRot linear infinite;
}
@keyframes bgOrbitRot {
  from { transform: rotate(var(--start, 0deg)) translateX(var(--r, 100px)) rotate(calc(-1 * var(--start, 0deg))); }
  to   { transform: rotate(calc(var(--start, 0deg) + 360deg)) translateX(var(--r, 100px)) rotate(calc(-1 * (var(--start, 0deg) + 360deg))); }
}
.bg-celestial-body {
  position: absolute;
  border-radius: 50%;
}

.star {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  animation: twinkle var(--d, 3s) ease-in-out infinite;
}
@keyframes twinkle {
  0%,100% { opacity: var(--o1, 0.3); transform: scale(1); }
  50%      { opacity: var(--o2, 1);   transform: scale(1.25); }
}

/* ── LAYOUT ─────────────────────────────────── */
.app-wrap { position: relative; z-index: 1; }

nav.topbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: 64px;
  background: rgba(10,10,26,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  padding: 0 24px;
  z-index: 100;
}
.topbar-brand {
  font-size: 1.3rem; font-weight: 800; letter-spacing: 2px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  flex: 1;
}
.topbar-nav { display: flex; align-items: center; gap: 16px; }
.topbar-nav a, .topbar-nav button {
  color: var(--white); text-decoration: none;
  background: none; border: none; cursor: pointer;
  font-size: 0.9rem; padding: 6px 14px; border-radius: 8px;
  transition: background 0.2s;
}
.topbar-nav a:hover, .topbar-nav button:hover { background: rgba(124,58,237,0.2); }
.btn-nav-primary {
  background: linear-gradient(135deg, var(--violet), #5b21b6) !important;
  box-shadow: var(--glow);
}

/* ── PAGE HERO ──────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 80px 24px 40px;
}
.hero h1 {
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 900; letter-spacing: -2px;
  background: linear-gradient(135deg, var(--white), var(--violet-l), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1.1; margin-bottom: 16px;
}
.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: rgba(240,244,255,0.65);
  max-width: 560px; margin: 0 auto 40px;
  line-height: 1.6;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ── BUTTONS (VIBRANT SHADES & GLOWING DEPTH) ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 12px;
  font-size: 0.95rem; font-weight: 700; letter-spacing: 0.2px; cursor: pointer;
  border: 1px solid transparent; text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative; overflow: hidden;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, #7c3aed 0%, #6366f1 50%, #4f46e5 100%);
  color: #ffffff;
  border: 1px solid rgba(167, 139, 250, 0.45);
  box-shadow: 0 4px 18px rgba(124, 58, 237, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 50%, #6366f1 100%);
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.65), 0 0 16px rgba(99, 102, 241, 0.5);
  border-color: rgba(196, 181, 253, 0.65);
}

.btn-glow {
  animation: btnPulse 3s infinite alternate;
}
@keyframes btnPulse {
  0% { box-shadow: 0 4px 18px rgba(124, 58, 237, 0.45), 0 0 10px rgba(6, 182, 212, 0.2); }
  100% { box-shadow: 0 6px 26px rgba(124, 58, 237, 0.7), 0 0 20px rgba(6, 182, 212, 0.45); }
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(139, 92, 246, 0.35);
  color: #c4b5fd;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.btn-outline:hover {
  background: rgba(124, 58, 237, 0.18);
  border-color: rgba(167, 139, 250, 0.6);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(124, 58, 237, 0.35);
}

.btn-cyan {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  color: #ffffff;
  border: 1px solid rgba(103, 232, 249, 0.4);
  box-shadow: 0 4px 18px rgba(6, 182, 212, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
.btn-cyan:hover {
  background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 100%);
  box-shadow: 0 8px 26px rgba(6, 182, 212, 0.65), 0 0 14px rgba(34, 211, 238, 0.5);
  border-color: rgba(165, 243, 252, 0.6);
}

.btn-amber {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  border: 1px solid rgba(251, 191, 36, 0.5);
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.btn-amber:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  box-shadow: 0 8px 26px rgba(245, 158, 11, 0.6);
}

.btn-danger {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
  border: 1px solid rgba(248, 113, 113, 0.4);
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35);
}
.btn-danger:hover {
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.55);
}

.btn-sm { padding: 8px 18px; font-size: 0.85rem; border-radius: 9px; }
.btn-xs { padding: 5px 12px; font-size: 0.78rem; border-radius: 7px; }

/* ── SOLAR SYSTEM ───────────────────────────── */
.solar-system-wrap {
  width: 100%; max-width: 700px; margin: 60px auto;
  position: relative; height: 500px;
}
.central-star {
  position: absolute;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 60px; height: 60px;
  background: radial-gradient(circle, #fff 0%, #fbbf24 40%, #f59e0b 70%, transparent 100%);
  border-radius: 50%;
  box-shadow: 0 0 40px 15px rgba(251,191,36,0.5), 0 0 80px 30px rgba(251,191,36,0.2);
  animation: pulseStar 3s ease-in-out infinite;
}
@keyframes pulseStar {
  0%,100% { box-shadow: 0 0 40px 15px rgba(251,191,36,0.5), 0 0 80px 30px rgba(251,191,36,0.2); }
  50%      { box-shadow: 0 0 60px 25px rgba(251,191,36,0.7), 0 0 120px 50px rgba(251,191,36,0.3); }
}

.orbit-ring {
  position: absolute; left: 50%; top: 50%;
  border-radius: 50%; border: 1px solid rgba(124,58,237,0.2);
  animation: none;
}

.planet-orbit {
  position: absolute; left: 50%; top: 50%;
  border-radius: 50%;
  animation: orbitPlanet linear infinite;
  transform-origin: 0 0;
}
@keyframes orbitPlanet {
  from { transform: rotate(var(--start, 0deg)) translateX(var(--r, 120px)) rotate(calc(-1 * var(--start, 0deg))); }
  to   { transform: rotate(calc(var(--start, 0deg) + 360deg)) translateX(var(--r, 120px)) rotate(calc(-1 * (var(--start, 0deg) + 360deg))); }
}

.planet {
  position: absolute;
  border-radius: 50%; cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 800; letter-spacing: 1px;
  color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}
.planet:hover {
  transform: scale(1.3);
  box-shadow: 0 0 20px 5px var(--planet-color, var(--violet));
}

/* ── CARDS (GLASSMORPHISM & GLOWING BORDERS) ── */
.card {
  background: linear-gradient(145deg, rgba(16, 16, 38, 0.88) 0%, rgba(9, 9, 22, 0.94) 100%);
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.45), inset 0 1px 0 0 rgba(255, 255, 255, 0.08);
  position: relative;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s, border-color 0.25s;
}
.card:hover {
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 12px 36px 0 rgba(124, 58, 237, 0.25), inset 0 1px 0 0 rgba(255, 255, 255, 0.12);
}
.card-glow {
  box-shadow: 0 0 25px rgba(124, 58, 237, 0.35), 0 0 0 1px rgba(124, 58, 237, 0.4);
}
.card-title {
  font-size: 1.15rem; font-weight: 800; margin-bottom: 16px;
  color: #f8fafc; letter-spacing: -0.2px;
}

/* ── GRID ───────────────────────────────────── */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* ── STAT CARDS ─────────────────────────────── */
.stat-card {
  background: linear-gradient(145deg, rgba(19, 19, 44, 0.85) 0%, rgba(10, 10, 26, 0.92) 100%);
  border: 1px solid rgba(124, 58, 237, 0.22);
  border-radius: 16px; padding: 22px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}
.stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(6, 182, 212, 0.45);
}
.stat-card::after {
  content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--violet), var(--cyan));
}
.stat-card .stat-val {
  font-size: 2.2rem; font-weight: 800; letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 20%, var(--cyan) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1.1;
}
.stat-card .stat-lbl { font-size: 0.82rem; color: #94a3b8; margin-top: 6px; font-weight: 500; }

/* ── FORMS ──────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.85rem; color: var(--muted);
  margin-bottom: 6px; font-weight: 500;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(124,58,237,0.3);
  border-radius: 10px; color: var(--white);
  font-size: 0.95rem; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus, .form-group select:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.2);
}
.form-group input::placeholder { color: rgba(240,244,255,0.35); }
.form-group select option { background: #1a1a40; }

/* ── TABLE ──────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: 14px; }
table { width: 100%; border-collapse: collapse; }
table thead th {
  padding: 12px 16px; text-align: left;
  background: rgba(124,58,237,0.15);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.5px;
  color: var(--muted); text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}
table tbody td {
  padding: 12px 16px; font-size: 0.88rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
table tbody tr:hover { background: rgba(124,58,237,0.05); }
table tbody tr:last-child td { border-bottom: none; }

/* ── BADGES (GLOWING TAGS & BORDERS) ────────── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 700;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}
.badge-active  { background: rgba(16,185,129,0.14); color: #34d399; border-color: rgba(52,211,153,0.3); box-shadow: 0 0 10px rgba(16,185,129,0.15); }
.badge-cyan    { background: rgba(6,182,212,0.14); color: #22d3ee; border-color: rgba(34,211,238,0.3); box-shadow: 0 0 10px rgba(6,182,212,0.15); }
.badge-violet  { background: rgba(124,58,237,0.14); color: #c4b5fd; border-color: rgba(167,139,250,0.3); box-shadow: 0 0 10px rgba(124,58,237,0.15); }
.badge-banned  { background: rgba(239,68,68,0.14);  color: #f87171; border-color: rgba(248,113,113,0.3); }
.badge-pending { background: rgba(245,158,11,0.14); color: #fbbf24; border-color: rgba(251,191,36,0.3); }
.badge-expired { background: rgba(148,163,184,0.12); color: #94a3b8; border-color: rgba(148,163,184,0.25); }

/* ── CSS ICONS (CRISP SVG MASKS — ZERO EMOJI — PIXEL-PERFECT) ── */
[class^="icon-"], [class*=" icon-"] {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  line-height: 1;
  vertical-align: -0.18em;
  flex-shrink: 0;
  box-sizing: border-box;
}

/* Perfect alignment inside buttons, badges, nav, and modals */
.btn [class^="icon-"], .btn [class*=" icon-"],
.badge [class^="icon-"], .badge [class*=" icon-"],
.admin-sidebar nav a [class^="icon-"], .admin-sidebar nav a [class*=" icon-"],
.modal-header [class^="icon-"], .modal-header [class*=" icon-"] {
  vertical-align: middle;
  margin-top: 0;
  margin-bottom: 0;
}

/* Pulse Status Dot (Active / Inactive) */
.icon-dot {
  width: 9px !important;
  height: 9px !important;
  border-radius: 50%;
  background: currentColor;
  position: relative;
  vertical-align: middle;
  box-shadow: 0 0 8px currentColor;
  margin-right: 4px;
}
.icon-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  opacity: 0.6;
  animation: dotAura 1.8s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
@keyframes dotAura {
  0% { transform: scale(0.8); opacity: 0.85; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Padlock Icon */
.icon-lock {
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2.5' ry='2.5'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3Ccircle cx='12' cy='16' r='1.2' fill='black'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2.5' ry='2.5'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3Ccircle cx='12' cy='16' r='1.2' fill='black'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Unlocked Padlock */
.icon-unlock {
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2.5' ry='2.5'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 9.9-1'/%3E%3Ccircle cx='12' cy='16' r='1.2' fill='black'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2.5' ry='2.5'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 9.9-1'/%3E%3Ccircle cx='12' cy='16' r='1.2' fill='black'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Cosmic Skeleton Key Icon */
.icon-key {
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7.5' cy='15.5' r='4.5'/%3E%3Cpath d='m21 2-9.6 9.6'/%3E%3Cpath d='m15.5 7.5 3 3'/%3E%3Cpath d='m18.5 4.5 2 2'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7.5' cy='15.5' r='4.5'/%3E%3Cpath d='m21 2-9.6 9.6'/%3E%3Cpath d='m15.5 7.5 3 3'/%3E%3Cpath d='m18.5 4.5 2 2'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Play Triangle Icon */
.icon-play {
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpolygon points='6 3 20 12 6 21 6 3'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpolygon points='6 3 20 12 6 21 6 3'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Search Lens Icon */
.icon-search {
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Ban / Suspended Account Icon */
.icon-ban {
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='4.93' y1='4.93' x2='19.07' y2='19.07'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='4.93' y1='4.93' x2='19.07' y2='19.07'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Bar Chart Icon */
.icon-chart {
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='20' x2='18' y2='10'/%3E%3Cline x1='12' y1='20' x2='12' y2='4'/%3E%3Cline x1='6' y1='20' x2='6' y2='14'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='20' x2='18' y2='10'/%3E%3Cline x1='12' y1='20' x2='12' y2='4'/%3E%3Cline x1='6' y1='20' x2='6' y2='14'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Cosmic 5-Point Star Icon */
.icon-star {
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black' stroke='black' stroke-width='1.5' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black' stroke='black' stroke-width='1.5' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Close / X Icon */
.icon-x {
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Checkmark Icon */
.icon-check {
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Copy Icon */
.icon-copy {
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='13' height='13' x='9' y='9' rx='2' ry='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='13' height='13' x='9' y='9' rx='2' ry='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* User / Account Icon */
.icon-user {
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Shield / Admin Badge */
.icon-shield {
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Arrow Right */
.icon-arrow-r {
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Arrow Left */
.icon-arrow-l {
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='19' y1='12' x2='5' y2='12'/%3E%3Cpolyline points='12 19 5 12 12 5'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='19' y1='12' x2='5' y2='12'/%3E%3Cpolyline points='12 19 5 12 12 5'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Hamburger Menu Icon */
.icon-menu {
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='3' y1='12' x2='21' y2='12'/%3E%3Cline x1='3' y1='6' x2='21' y2='6'/%3E%3Cline x1='3' y1='18' x2='21' y2='18'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='3' y1='12' x2='21' y2='12'/%3E%3Cline x1='3' y1='6' x2='21' y2='6'/%3E%3Cline x1='3' y1='18' x2='21' y2='18'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* External Link Icon */
.icon-external {
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Refresh / Sync Icon */
.icon-refresh {
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='23 4 23 10 17 10'/%3E%3Cpolyline points='1 20 1 14 7 14'/%3E%3Cpath d='M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='23 4 23 10 17 10'/%3E%3Cpolyline points='1 20 1 14 7 14'/%3E%3Cpath d='M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Gear / Settings Icon */
.icon-settings {
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 2.83-2.83l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 2.83-2.83l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Clock / Timer Icon */
.icon-clock {
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Sparkle / Magic Icon */
.icon-sparkle {
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='m12 3-1.9 5.8a2 2 0 0 1-1.3 1.3L3 12l5.8 1.9a2 2 0 0 1 1.3 1.3L12 21l1.9-5.8a2 2 0 0 1 1.3-1.3L21 12l-5.8-1.9a2 2 0 0 1-1.3-1.3z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='m12 3-1.9 5.8a2 2 0 0 1-1.3 1.3L3 12l5.8 1.9a2 2 0 0 1 1.3 1.3L12 21l1.9-5.8a2 2 0 0 1 1.3-1.3L21 12l-5.8-1.9a2 2 0 0 1-1.3-1.3z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Live Verification Radar / Waiting State */
.radar-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 12px;
  margin: 16px 0;
  text-align: left;
  font-size: 0.88rem;
  line-height: 1.5;
}
.radar-ping {
  position: relative;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  flex-shrink: 0;
}
.radar-ping::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--cyan);
  animation: radarWave 1.6s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
@keyframes radarWave {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* ── BATCH CARDS ────────────────────────────── */
.batch-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s; cursor: pointer;
}
.batch-card:hover { transform: translateY(-6px); box-shadow: var(--glow); }
.batch-card-thumb {
  width: 100%; height: 160px; object-fit: cover;
  background: linear-gradient(135deg, var(--bg2), var(--bg3));
  display: block;
}
.batch-card-thumb-placeholder {
  width: 100%; height: 160px;
  background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(6,182,212,0.1));
  display: flex; align-items: center; justify-content: center;
}
.batch-card-body { padding: 16px; }
.batch-card-name { font-weight: 700; font-size: 0.95rem; margin-bottom: 6px; }
.batch-card-meta { font-size: 0.78rem; color: var(--muted); }
.batch-card-mrp {
  font-size: 1rem; font-weight: 700; color: var(--cyan);
  margin-top: 8px;
}

/* ── KEY PAGE ───────────────────────────────── */
.key-page {
  max-width: 480px; margin: 100px auto; padding: 24px;
  text-align: center;
}
.key-display {
  font-family: monospace; font-size: 1.1rem;
  background: rgba(124,58,237,0.1); border: 1.5px solid var(--violet);
  border-radius: 10px; padding: 14px 20px; margin: 16px 0;
  word-break: break-all; letter-spacing: 2px;
}
.key-link {
  display: block; background: rgba(6,182,212,0.1);
  border: 1.5px solid var(--cyan); border-radius: 10px;
  padding: 14px 20px; margin: 12px 0;
  word-break: break-all; color: var(--cyan);
  text-decoration: none; font-size: 0.9rem;
}
.key-link:hover { background: rgba(6,182,212,0.2); }

/* ── DASHBOARD ──────────────────────────────── */
.dashboard-wrap {
  padding: 80px 24px 60px;
  max-width: 1200px; margin: 0 auto;
}
.dashboard-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 32px; flex-wrap: wrap; gap: 12px;
}
.dashboard-header h2 {
  font-size: 1.6rem; font-weight: 800;
}

/* Platform zone */
.platform-zone {
  margin-bottom: 56px;
}
.platform-zone-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.platform-dot {
  width: 12px; height: 12px; border-radius: 50%;
  box-shadow: 0 0 8px currentColor;
}
.platform-zone-title {
  font-size: 1.25rem; font-weight: 800;
}

/* ── AUTH PAGES ─────────────────────────────── */
.auth-wrap {
  min-height: 100vh; display: flex;
  align-items: center; justify-content: center;
  padding: 24px;
}
.auth-card {
  width: 100%; max-width: 420px;
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 20px; padding: 36px 32px;
  box-shadow: var(--glow);
}
.auth-logo {
  font-size: 1.5rem; font-weight: 900; letter-spacing: 2px;
  text-align: center; margin-bottom: 8px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.auth-subtitle { text-align: center; color: var(--muted); font-size: 0.9rem; margin-bottom: 28px; }
.auth-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 20px 0; color: var(--muted); font-size: 0.8rem;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.google-btn {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px; border-radius: 10px;
  background: rgba(255,255,255,0.07); border: 1.5px solid var(--border);
  color: var(--white); font-size: 0.95rem; cursor: pointer;
  transition: background 0.2s;
}
.google-btn:hover { background: rgba(255,255,255,0.12); }

/* Authentic Google G Vector Icon */
.icon-google {
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%234285F4' d='M23.745 12.27c0-.7-.06-1.4-.19-2.07H12v4.51h6.6c-.29 1.52-1.14 2.82-2.4 3.68v3.05h3.88c2.27-2.09 3.665-5.17 3.665-9.17z'/%3E%3Cpath fill='%2334A853' d='M12 24c3.24 0 5.95-1.08 7.93-2.91l-3.88-3.05c-1.08.72-2.45 1.16-4.05 1.16-3.12 0-5.77-2.1-6.72-4.93H1.25v3.15C3.26 21.36 7.33 24 12 24z'/%3E%3Cpath fill='%23FBBC05' d='M5.28 14.27A7.2 7.2 0 0 1 4.9 12c0-.79.14-1.57.38-2.27V6.58H1.25A11.96 11.96 0 0 0 0 12c0 1.92.45 3.74 1.25 5.42l4.03-3.15z'/%3E%3Cpath fill='%23EA4335' d='M12 4.75c1.77 0 3.35.61 4.6 1.8l3.42-3.42C17.95 1.19 15.24 0 12 0 7.33 0 3.26 2.64 1.25 6.58l4.03 3.15c.95-2.83 3.6-4.98 6.72-4.98z'/%3E%3C/svg%3E") no-repeat center / contain;
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}

.auth-switch {
  text-align: center; margin-top: 20px;
  font-size: 0.88rem; color: var(--muted);
}
.auth-switch a { color: var(--violet-l); text-decoration: none; }
.auth-switch a:hover { text-decoration: underline; }

.alert {
  padding: 12px 16px; border-radius: 10px;
  font-size: 0.88rem; margin-bottom: 16px;
}
.alert-error   { background: rgba(239,68,68,0.15); border: 1px solid rgba(239,68,68,0.3); color: #fca5a5; }
.alert-success { background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.3); color: #6ee7b7; }
.alert-info    { background: rgba(6,182,212,0.15); border: 1px solid rgba(6,182,212,0.3); color: var(--cyan-l); }

/* ── CHART CSS ──────────────────────────────── */
.css-chart {
  display: flex; align-items: flex-end; gap: 6px;
  height: 80px; padding: 0 4px;
}
.css-chart-bar {
  flex: 1; background: linear-gradient(to top, var(--violet), var(--violet-l));
  border-radius: 4px 4px 0 0; min-height: 4px;
  transition: height 0.5s ease;
  position: relative;
}
.css-chart-bar:hover::after {
  content: attr(data-val);
  position: absolute; top: -24px; left: 50%; transform: translateX(-50%);
  background: var(--bg3); border: 1px solid var(--border);
  padding: 2px 6px; border-radius: 4px; font-size: 0.7rem;
  white-space: nowrap; pointer-events: none;
}
.css-chart-bar-c {
  background: linear-gradient(to top, var(--cyan), var(--cyan-l));
}

/* ── ADMIN SIDEBAR ──────────────────────────── */
.admin-layout {
  display: flex; min-height: 100vh;
}
.admin-sidebar {
  width: 220px; min-height: 100vh;
  background: var(--bg2); border-right: 1px solid var(--border);
  padding: 24px 0; position: fixed; top: 0; left: 0; bottom: 0;
  overflow-y: auto; z-index: 50;
}
.admin-sidebar-logo {
  padding: 8px 20px 24px;
  font-size: 1rem; font-weight: 900; letter-spacing: 2px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.admin-sidebar a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 20px; color: var(--muted);
  text-decoration: none; font-size: 0.88rem;
  transition: color 0.2s, background 0.2s;
}
.admin-sidebar a:hover, .admin-sidebar a.active {
  background: rgba(124,58,237,0.15); color: var(--white);
}
.admin-main {
  margin-left: 220px; flex: 1; padding: 32px;
  min-height: 100vh;
}
.admin-topbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 28px;
}
.admin-topbar h1 { font-size: 1.5rem; font-weight: 800; }

/* ── SEARCH BAR ─────────────────────────────── */
.search-bar {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.06); border: 1.5px solid var(--border);
  border-radius: 10px; padding: 10px 16px;
  margin-bottom: 20px;
}
.search-bar input {
  flex: 1; background: none; border: none;
  color: var(--white); font-size: 0.9rem; outline: none;
}
.search-bar input::placeholder { color: var(--muted); }

/* ── PAGINATION ─────────────────────────────── */
.pagination {
  display: flex; gap: 8px; margin-top: 20px;
  justify-content: center;
}
.pagination button {
  padding: 6px 14px; border-radius: 8px;
  background: rgba(124,58,237,0.1); border: 1px solid var(--border);
  color: var(--white); cursor: pointer; font-size: 0.85rem;
}
.pagination button.active { background: var(--violet); border-color: var(--violet); }
.pagination button:hover:not(.active) { background: rgba(124,58,237,0.2); }

/* ── MODAL ──────────────────────────────────── */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(4px);
  z-index: 200; display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.modal {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 18px; padding: 28px; width: 100%; max-width: 480px;
  box-shadow: var(--glow);
}
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.modal-title { font-size: 1.1rem; font-weight: 700; }
.modal-close {
  background: none; border: none; cursor: pointer;
  color: var(--muted); padding: 4px;
}

/* ── LOADING ────────────────────────────────── */
.loader {
  width: 36px; height: 36px; border-radius: 50%;
  border: 3px solid rgba(124,58,237,0.2);
  border-top-color: var(--violet);
  animation: spin 0.8s linear infinite;
  margin: 40px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

.loading-wrap { display: flex; align-items: center; justify-content: center; min-height: 200px; }

/* ── TOAST ──────────────────────────────────── */
#toast-container {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 500; display: flex; flex-direction: column; gap: 10px;
}
.toast {
  padding: 12px 20px; border-radius: 10px;
  font-size: 0.88rem; font-weight: 500;
  animation: toastIn 0.3s ease;
  max-width: 320px;
}
@keyframes toastIn { from { opacity: 0; transform: translateX(20px); } }
.toast-success { background: rgba(16,185,129,0.9); color: #fff; }
.toast-error   { background: rgba(239,68,68,0.9); color: #fff; }
.toast-info    { background: rgba(6,182,212,0.9); color: #000; }

/* ── ADDITIONAL CSS ICONS (Zero Emoji) ──────── */
.icon-book {
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.icon-trash {
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 6 5 6 21 6'/%3E%3Cpath d='M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 6 5 6 21 6'/%3E%3Cpath d='M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'/%3E%3C/svg%3E") no-repeat center / contain;
}
.icon-upload {
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='17 8 12 3 7 8'/%3E%3Cline x1='12' y1='3' x2='12' y2='15'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='17 8 12 3 7 8'/%3E%3Cline x1='12' y1='3' x2='12' y2='15'/%3E%3C/svg%3E") no-repeat center / contain;
}
.icon-folder {
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.icon-file-text {
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ── STEPPER TIMELINE (HOW IT WORKS — SYMMETRICAL & CONNECTED) ── */
.stepper-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  margin: 40px 0 32px;
}
.stepper-timeline::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, rgba(124,58,237,0.4) 0%, rgba(6,182,212,0.6) 50%, rgba(245,158,11,0.5) 100%);
  z-index: 1;
}
@media (max-width: 900px) {
  .stepper-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .stepper-timeline::before { display: none; }
}
@media (max-width: 540px) {
  .stepper-timeline {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
.stepper-card {
  position: relative;
  z-index: 2;
  background: linear-gradient(145deg, rgba(20, 20, 46, 0.92) 0%, rgba(10, 10, 25, 0.96) 100%);
  border: 1px solid rgba(124, 58, 237, 0.28);
  border-radius: 18px;
  padding: 28px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s, border-color 0.25s;
}
.stepper-card:hover {
  transform: translateY(-5px);
  border-color: rgba(6, 182, 212, 0.55);
  box-shadow: 0 16px 36px -6px rgba(124, 58, 237, 0.35), 0 0 16px rgba(6, 182, 212, 0.25);
}
.stepper-num-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.45);
  margin-bottom: 16px;
  border: 3px solid #050512;
}
.stepper-icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--cyan);
}
.stepper-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #f8fafc;
}
.stepper-card p {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.55;
  margin: 0;
  flex: 1;
}

/* ── STUDENT DASHBOARD LAYOUT ────────────────── */
.dash-layout {
  display: flex;
  min-height: calc(100vh - 64px);
  margin-top: 64px;
}
.dash-sidebar {
  width: 250px;
  background: var(--bg2);
  border-right: 1px solid var(--border);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}
.dash-sidebar a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s;
}
.dash-sidebar a:hover {
  color: var(--white);
  background: rgba(124, 58, 237, 0.15);
}
.dash-sidebar a.active {
  color: var(--white);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.35), rgba(6, 182, 212, 0.15));
  border: 1px solid var(--border);
}
.dash-main {
  flex: 1;
  padding: 32px 36px;
  max-width: 1200px;
}
.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 14px;
}
.dash-welcome {
  display: flex;
  align-items: center;
  gap: 16px;
}
.dash-avatar-lg {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 800; color: #fff;
  overflow: hidden;
  border: 2px solid var(--border);
}
.dash-avatar-lg img {
  width: 100%; height: 100%; object-fit: cover;
}

/* ── BATCH EXPLORER & DRILL-DOWN ─────────────── */
.subject-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.subject-pill {
  padding: 8px 16px;
  border-radius: 20px;
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.88rem;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
}
.subject-pill.active, .subject-pill:hover {
  color: #fff;
  background: var(--violet);
  border-color: var(--violet);
}
.folder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}
.folder-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 14px;
}
.folder-card:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: var(--glow-c);
}
.folder-icon-wrap {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(6, 182, 212, 0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan);
}
.content-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 10px;
  transition: all 0.2s;
}
.content-item-row:hover {
  border-color: var(--violet);
}

/* ── PROFILE & DANGER ZONE ───────────────────── */
.avatar-preview-wrap {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; font-weight: 800; color: #fff;
  overflow: hidden;
  border: 2px solid var(--border);
  margin-bottom: 14px;
}
.avatar-preview-wrap img {
  width: 100%; height: 100%; object-fit: cover;
}
.danger-zone {
  border: 1px solid rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.05);
  border-radius: 12px;
  padding: 20px;
  margin-top: 28px;
}

/* ── ADMIN DONUT / GAUGE METRIC ──────────────── */
.stat-donut-wrap {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 18px;
}
.donut-circle {
  width: 110px; height: 110px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.donut-inner {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--bg2);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
}

/* ── PLATFORM DEDICATED PAGE COMPONENTS ──────── */
.platform-banner {
  background: linear-gradient(180deg, rgba(13,13,31,0.9), rgba(10,10,26,0.95));
  border-bottom: 1px solid var(--border);
  padding: 100px 24px 36px;
  text-align: center;
  position: relative;
}
.platform-badge-hero {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 16px;
  box-shadow: 0 0 25px currentColor;
}
.platform-switcher-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.platform-pill:hover {
  color: var(--white);
  border-color: var(--violet);
  background: rgba(124,58,237,0.15);
}
.platform-pill.active {
  color: #fff;
  border-color: currentColor;
  box-shadow: 0 0 15px currentColor;
  background: rgba(255,255,255,0.1);
}

.batch-card-selectable {
  background: var(--bg2);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.batch-card-selectable:hover {
  transform: translateY(-3px);
  border-color: var(--cyan);
  box-shadow: var(--glow-c);
}
.batch-card-selectable.selected {
  border-color: var(--cyan-l);
  box-shadow: 0 0 25px rgba(6,182,212,0.35);
  background: linear-gradient(135deg, rgba(13,13,43,0.95), rgba(6,182,212,0.08));
}

.topic-accordion-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 20px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.topic-accordion-card:hover {
  border-color: rgba(124,58,237,0.4);
}
.topic-accordion-header {
  padding: 18px 22px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.topic-accordion-body {
  padding: 20px 22px;
}

.media-demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: rgba(34,197,94,0.15);
  color: #22c55e;
  border: 1px solid rgba(34,197,94,0.3);
}

.media-lock-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: rgba(239,68,68,0.15);
  color: #ef4444;
  border: 1px solid rgba(239,68,68,0.3);
}

.video-container-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
}
.video-container-wrap video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pdf-viewer-wrap {
  width: 100%;
  height: 520px;
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

/* ── HAMBURGER 3-LINE BUTTON (PURE CSS) ────── */
.dash-menu-toggle {
  display: flex !important;
  background: rgba(124, 58, 237, 0.18);
  border: 1px solid rgba(124, 58, 237, 0.4);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  padding: 8px 6px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin-right: 12px;
  z-index: 105;
}
.dash-menu-toggle:hover {
  background: rgba(124, 58, 237, 0.32);
  border-color: var(--violet);
  box-shadow: 0 0 16px rgba(124, 58, 237, 0.5);
}
.dash-sidebar.desktop-collapsed {
  display: none !important;
}
.dash-layout.sidebar-collapsed {
  grid-template-columns: 1fr !important;
}
.dash-menu-toggle .hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--white);
  border-radius: 2px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.dash-menu-toggle.is-active .hamburger-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.dash-menu-toggle.is-active .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.dash-menu-toggle.is-active .hamburger-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ── DASHBOARD DRAWER & OVERLAY ───────────── */
.dash-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 15, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.dash-sidebar-overlay.active {
  display: block;
  opacity: 1;
}

/* ── ULTRA-MODERN GLASS DESIGN ─────────────── */
.card, .batch-card, .stat-card, .platform-card, .table-wrap, .danger-zone {
  background: rgba(13, 13, 31, 0.65) !important;
  backdrop-filter: blur(16px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(160%) !important;
  border: 1px solid rgba(124, 58, 237, 0.22) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 32px rgba(0, 0, 0, 0.38) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.card:hover, .batch-card:hover {
  border-color: rgba(6, 182, 212, 0.45) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 12px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(124, 58, 237, 0.2) !important;
}

.topbar {
  background: rgba(5, 5, 15, 0.8) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border-bottom: 1px solid rgba(124, 58, 237, 0.22) !important;
  position: sticky;
  top: 0;
  z-index: 99;
}

.modal {
  background: rgba(13, 13, 31, 0.92) !important;
  backdrop-filter: blur(24px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(190%) !important;
  border: 1px solid rgba(124, 58, 237, 0.38) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(124, 58, 237, 0.28) !important;
}

/* ── MAINTENANCE & BROADCAST BANNERS ───────── */
.broadcast-banner {
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.3), rgba(6, 182, 212, 0.3));
  border-bottom: 1px solid rgba(6, 182, 212, 0.45);
  padding: 8px 16px;
  font-size: 0.84rem;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  backdrop-filter: blur(12px);
  position: relative;
  z-index: 100;
}

.maintenance-overlay-banner {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.25), rgba(239, 68, 68, 0.25));
  border-bottom: 1px solid rgba(245, 158, 11, 0.55);
  color: #fef3c7;
  padding: 10px 18px;
  font-size: 0.86rem;
  font-weight: 600;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  backdrop-filter: blur(14px);
  position: relative;
  z-index: 101;
}

/* ── RESPONSIVE & MOBILE LAYOUTS ───────────── */
@media (max-width: 900px) {
  .dash-menu-toggle {
    display: flex;
  }
  .dash-layout {
    display: block !important;
  }
  .dash-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 270px;
    height: 100vh;
    z-index: 999;
    transform: translateX(-105%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
    background: rgba(13, 13, 31, 0.94);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-right: 1px solid rgba(124, 58, 237, 0.3);
    box-shadow: none;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
  }
  .dash-sidebar.mobile-open {
    transform: translateX(0);
    box-shadow: 12px 0 45px rgba(0, 0, 0, 0.85), 0 0 35px rgba(124, 58, 237, 0.3);
  }
  .dash-sidebar-close {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(124, 58, 237, 0.25);
  }
  .admin-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 260px;
    height: 100vh;
    z-index: 999;
    transform: translateX(-105%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(13, 13, 31, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-right: 1px solid rgba(124, 58, 237, 0.3);
  }
  .admin-sidebar.mobile-open {
    transform: translateX(0);
  }
  .admin-main {
    margin-left: 0 !important;
    padding: 16px !important;
  }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .hero {
    padding: 60px 16px 36px !important;
  }
  .hero h1 {
    font-size: 2.2rem !important;
    letter-spacing: -0.5px !important;
  }
  .hero-sub {
    font-size: 0.92rem !important;
  }
  .topbar {
    padding: 10px 14px !important;
  }
  .dash-main {
    padding: 16px 12px !important;
  }
  .table-wrap {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  table th, table td {
    padding: 10px 8px !important;
    font-size: 0.82rem !important;
  }
  .stat-card {
    padding: 16px !important;
  }
  .stat-val {
    font-size: 2rem !important;
  }
  .solar-system-wrap {
    height: 340px !important;
  }
}


