/* ==========================================================================
   FUTURE LUXURY DESIGN SYSTEM — PT MPTB TOP PERFORMANCE SHOWCASE
   Inspired by Reference Image (Dark Cosmic Blue, Neon Glow, Story Cards)
   ========================================================================== */

:root:not([data-theme="light"]), [data-theme="dark"] {
  --bg-abyss: #030712;
  --bg-card: rgba(8, 17, 34, 0.72);
  --bg-card-inner: rgba(13, 26, 51, 0.85);
  --border-glass: rgba(56, 189, 248, 0.22);
  --border-glass-hover: rgba(56, 189, 248, 0.55);
  --neon-cyan: #00f0ff;
  --neon-blue: #38bdf8;
  --neon-purple: #c084fc;
  --neon-gold: #fbbf24;
  --neon-green: #34d399;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
  
  --bezier-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --bezier-smooth: cubic-bezier(0.32, 0.72, 0, 1);
}

[data-theme="light"] {
  --bg-abyss: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-inner: #ffffff;
  --border-glass: rgba(226, 232, 240, 0.95);
  --border-glass-hover: rgba(2, 132, 199, 0.45);
  --neon-cyan: #0284c7;
  --neon-blue: #0ea5e9;
  --neon-purple: #9333ea;
  --neon-gold: #d97706;
  --neon-green: #16a34a;
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
}

[hidden] {
  display: none !important;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.future-theme,
body {
  background-color: var(--bg-abyss);
  color: var(--text-main);
  font-family: var(--font-sans);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* --------------------------------------------------------------------------
   COSMIC LIGHTING & MESH BACKGROUND
   -------------------------------------------------------------------------- */
.cosmic-mesh {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.45;
  will-change: transform;
}

.orb-top {
  top: -15%;
  left: 20%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(0, 112, 243, 0.45) 0%, rgba(0, 240, 255, 0.15) 50%, transparent 75%);
}

.orb-left {
  top: 40%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, transparent 70%);
}

.orb-right {
  top: 25%;
  right: -8%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.2) 0%, rgba(0, 112, 243, 0.2) 50%, transparent 75%);
}

.cosmic-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.8) 0%, transparent 80%);
}

/* --------------------------------------------------------------------------
   LEFT FLOATING DOCK (Design A)
   -------------------------------------------------------------------------- */
.floating-dock {
  position: fixed;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
}

.dock-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 10px;
  background: rgba(10, 22, 45, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 9999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 240, 255, 0.12);
}

.dock-item {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s var(--bezier-spring);
}

.dock-item svg {
  width: 20px;
  height: 20px;
  transition: transform 0.25s var(--bezier-spring);
}

.dock-item:hover {
  background: rgba(56, 189, 248, 0.18);
  color: var(--neon-cyan);
  transform: scale(1.1);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.35);
}

.dock-item.active {
  background: linear-gradient(135deg, #0070f3, #00f0ff);
  color: #fff;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
}

/* --------------------------------------------------------------------------
   SHELL WRAPPER & TOPBAR (Design A & B)
   -------------------------------------------------------------------------- */
.shell-wrap {
  position: relative;
  z-index: 10;
  max-width: 1520px;
  margin: 0 auto;
  padding: 24px 32px 64px 96px;
}

.floating-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 24px;
  background: rgba(8, 18, 38, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 9999px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 25px rgba(0, 240, 255, 0.08);
  position: sticky;
  top: 16px;
  z-index: 40;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-symbol {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0070f3, #00f0ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: #030712;
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.45);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
  line-height: 1.1;
}

.brand-sub {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--neon-cyan);
  font-weight: 700;
}

/* Pill Navigation */
.pill-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.7);
  padding: 4px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  border-radius: 9999px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--bezier-spring);
  white-space: nowrap;
}

.nav-pill svg {
  width: 15px;
  height: 15px;
}

.nav-pill:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-pill.active {
  background: rgba(56, 189, 248, 0.2);
  color: #fff;
  border: 1px solid rgba(0, 240, 255, 0.4);
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.3);
}

/* Header Action Pills */
.header-right-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-pill-admin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 240, 255, 0.35);
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s var(--bezier-spring);
}

.btn-pill-admin svg {
  width: 15px;
  height: 15px;
}

.btn-pill-admin:hover {
  background: rgba(0, 240, 255, 0.22);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
  transform: translateY(-1px);
}

.btn-pill-portal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px 7px 18px;
  background: #fff;
  color: #030712;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.2);
  transition: all 0.25s var(--bezier-spring);
}

.trailing-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #030712;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s var(--bezier-spring);
}

.trailing-circle svg {
  width: 13px;
  height: 13px;
}

.btn-pill-portal:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(255, 255, 255, 0.35);
}

.btn-pill-portal:hover .trailing-circle {
  transform: scale(1.12) rotate(45deg);
}

/* --------------------------------------------------------------------------
   HERO SHOWCASE SECTION (A & B Hybrid Layout)
   -------------------------------------------------------------------------- */
.hero-showcase {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: stretch;
  padding: 16px 0 36px;
}

/* Executive Top Banner */
.hero-left-intro {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  background: rgba(8, 18, 38, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 24px;
  padding: 24px 28px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.hero-intro-text-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 9999px;
  width: fit-content;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--neon-cyan);
}

.eyebrow-pill.center {
  margin: 0 auto;
}

.eyebrow-icon {
  font-size: 14px;
}

.eyebrow-arrow {
  color: #fff;
}

.hero-heading {
  font-family: var(--font-sans);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  letter-spacing: -0.5px;
}

/* THE NEON PILL HIGHLIGHT (Identical to User Reference Image A & B) */
.neon-pill-highlight {
  display: inline-block;
  padding: 2px 18px;
  margin: 0 4px;
  border-radius: 9999px;
  background: rgba(0, 112, 243, 0.28);
  border: 1.5px solid var(--neon-cyan);
  box-shadow: 
    0 0 25px rgba(0, 240, 255, 0.6),
    inset 0 0 15px rgba(0, 240, 255, 0.35);
  color: #ffffff;
  text-shadow: 0 0 14px rgba(0, 240, 255, 0.8);
  position: relative;
  white-space: nowrap;
}

.hero-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 620px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 18px;
  background: #fff;
  color: #030712;
  border: none;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.2);
  transition: all 0.25s var(--bezier-spring);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.35);
}

.btn-hero-primary:hover .trailing-circle {
  transform: scale(1.12);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(15, 23, 42, 0.8);
  color: #fff;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s var(--bezier-spring);
}

.btn-hero-secondary svg {
  width: 15px;
  height: 15px;
  color: var(--neon-cyan);
}

.btn-hero-secondary:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
  transform: translateY(-2px);
}

/* Metric Pills Row (Right Column of Executive Banner) */
.metric-pills-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 340px;
  flex-shrink: 0;
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

@media (max-width: 960px) {
  .hero-left-intro {
    flex-direction: column;
    align-items: stretch;
  }
  .metric-pills-row {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

.metric-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(10, 22, 45, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  transition: all 0.25s var(--bezier-spring);
}

.metric-pill:hover {
  border-color: rgba(56, 189, 248, 0.35);
  background: rgba(14, 28, 56, 0.8);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.15);
}

.metric-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.metric-icon-wrap svg {
  width: 18px;
  height: 18px;
}

.icon-cyan {
  background: rgba(0, 240, 255, 0.15);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.icon-purple {
  background: rgba(168, 85, 247, 0.15);
  color: var(--neon-purple);
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.icon-blue {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.metric-val {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
}

.metric-label {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   RIGHT GALLERY (Story / Showcase Cards like Design A)
   -------------------------------------------------------------------------- */
.hero-right-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gallery-header-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.gallery-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.gallery-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.gallery-filter-chips {
  display: flex;
  gap: 6px;
}

.filter-chip {
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-chip:hover {
  background: rgba(56, 189, 248, 0.15);
  color: #fff;
}

.filter-chip.active {
  background: rgba(56, 189, 248, 0.25);
  color: var(--neon-cyan);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.35);
}

/* Cards Showcase Grid (Full-Width 5-Col Grid) */
.cards-showcase-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

@media (max-width: 1200px) {
  .cards-showcase-grid {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  }
}

/* --------------------------------------------------------------------------
   THE BINGKAI TEMPLATE (DOUBLE-BEZEL LUXURY FRAME FOR BEST AGENTS)
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   THE BINGKAI TEMPLATE (DOUBLE-BEZEL LUXURY FRAME FOR BEST AGENTS)
   -------------------------------------------------------------------------- */
.best-agent-frame {
  position: relative;
  background: var(--bg-card);
  border-radius: 20px;
  padding: 8px;
  border: 1.5px solid var(--border-glass);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  transition: all 0.35s var(--bezier-spring);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Frame Styles: Neon Cyan, Imperial Gold, Electric Purple, Titanium */
.best-agent-frame.neon-cyan {
  border-color: rgba(0, 240, 255, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 22px rgba(0, 240, 255, 0.18);
}
.best-agent-frame.neon-cyan:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 32px rgba(0, 240, 255, 0.45);
  transform: translateY(-6px) scale(1.015);
}

.best-agent-frame.neon-gold {
  border-color: rgba(251, 191, 36, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 22px rgba(251, 191, 36, 0.22);
}
.best-agent-frame.neon-gold:hover {
  border-color: var(--neon-gold);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 35px rgba(251, 191, 36, 0.5);
  transform: translateY(-6px) scale(1.015);
}

.best-agent-frame.neon-purple {
  border-color: rgba(192, 132, 252, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 22px rgba(192, 132, 252, 0.2);
}
.best-agent-frame.neon-purple:hover {
  border-color: var(--neon-purple);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 32px rgba(192, 132, 252, 0.45);
  transform: translateY(-6px) scale(1.015);
}

.best-agent-frame.titanium {
  border-color: rgba(226, 232, 240, 0.3);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 18px rgba(255, 255, 255, 0.1);
}
.best-agent-frame.titanium:hover {
  border-color: #ffffff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 28px rgba(255, 255, 255, 0.35);
  transform: translateY(-6px) scale(1.015);
}

/* Inner Core */
.frame-inner-core {
  background: transparent;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* 1. Header Bar Above Photo (Zero Overlap on Hair/Forehead) */
.frame-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px 8px;
  width: 100%;
  box-sizing: border-box;
  z-index: 5;
}

.rank-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.rank-gold {
  background: rgba(251, 191, 36, 0.25);
  color: #fef08a;
  border: 1px solid var(--neon-gold);
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.5);
}

.rank-cyan {
  background: rgba(0, 240, 255, 0.25);
  color: #e0f2fe;
  border: 1px solid var(--neon-cyan);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.5);
}

.bucket-side-badge {
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.side-front {
  background: rgba(14, 165, 233, 0.3);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.side-back {
  background: rgba(168, 85, 247, 0.3);
  color: #d8b4fe;
  border: 1px solid rgba(168, 85, 247, 0.4);
}

/* 2. Photo Container - TALLER, CLEAN, ZERO OVERLAYS ON FACE */
.frame-photo-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  border-radius: 14px;
  overflow: hidden;
  background: #060e1f;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.frame-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  transition: transform 0.5s var(--bezier-smooth);
}

.best-agent-frame:hover .frame-photo-img {
  transform: scale(1.05);
}

/* No Foggy Vignette covering the face */
.frame-vignette {
  display: none;
}

/* Floating Rate Pill in Bottom-Right (Clear of Chin/Neck) */
.frame-rate-pill {
  position: absolute;
  bottom: 8px;
  right: 8px;
  left: auto;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: rgba(3, 7, 18, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--neon-cyan);
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 8px var(--neon-green);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.rate-text {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 800;
  color: #fff;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 8px var(--neon-green);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.rate-text {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}

/* Quick Admin Photo Hover Button */
.btn-edit-photo-hover {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(3, 7, 18, 0.75);
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.2s var(--bezier-spring);
}

.btn-edit-photo-hover svg {
  width: 15px;
  height: 15px;
}

.best-agent-frame:hover .btn-edit-photo-hover {
  opacity: 1;
  transform: scale(1);
}

.btn-edit-photo-hover:hover {
  background: var(--neon-cyan);
  color: #030712;
  box-shadow: 0 0 16px var(--neon-cyan);
}

/* Card Details Body */
.frame-body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.agent-name-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.agent-team-line {
  font-size: 11px;
  color: var(--neon-blue);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

.agent-id-tag {
  font-size: 10px;
  color: var(--text-dim);
}

.frame-metric-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.frame-nominal-val {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  color: #34d399;
}

.frame-target-sub {
  font-size: 9.5px;
  color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   DEEP DIVE SECTION (Comparison Split View)
   -------------------------------------------------------------------------- */
.deep-dive-section {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid rgba(56, 189, 248, 0.15);
}

.section-title-wrap {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: #fff;
}

.section-sub {
  font-size: 14.5px;
  color: var(--text-muted);
}

.champions-split-view {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.bucket-column {
  background: var(--bg-card);
  border-radius: 24px;
  border: 1px solid rgba(56, 189, 248, 0.2);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bucket-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bucket-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bucket-badge-icon.cyan {
  background: rgba(0, 240, 255, 0.15);
  color: var(--neon-cyan);
  border: 1px solid var(--neon-cyan);
}

.bucket-badge-icon.gold {
  background: rgba(251, 191, 36, 0.15);
  color: var(--neon-gold);
  border: 1px solid var(--neon-gold);
}

.bucket-badge-icon svg {
  width: 22px;
  height: 22px;
}

.bucket-col-title {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.bucket-col-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.bucket-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bucket-agent-row {
  display: grid;
  grid-template-columns: 36px 48px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(13, 26, 51, 0.6);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.2s ease;
}

.bucket-agent-row:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.3);
  transform: translateX(4px);
}

.row-rank-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--neon-cyan);
}

.row-mini-photo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  border: 1.5px solid rgba(56, 189, 248, 0.4);
}

.row-agent-name {
  font-weight: 700;
  font-size: 14px;
  color: #fff;
}

.row-agent-team {
  font-size: 11px;
  color: var(--text-muted);
}

.row-rate-tag {
  text-align: right;
}

.row-rate-val {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: #34d399;
}

.row-paid-val {
  font-size: 11px;
  color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   ADMIN MODAL (Custom Foto & Bingkai Studio)
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay[hidden] {
  display: none !important;
}

.modal-card {
  background: #081122;
  border-radius: 28px;
  border: 1.5px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 240, 255, 0.2);
  width: 100%;
  max-width: 980px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalPop 0.25s var(--bezier-spring);
}

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

.modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.modal-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 240, 255, 0.15);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 240, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-icon-badge svg {
  width: 22px;
  height: 22px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.modal-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}

.modal-close-btn:hover {
  color: #fff;
}

.modal-body-split {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 28px;
  padding: 24px 28px;
  overflow-y: auto;
}

.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-select, .form-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(13, 26, 51, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #fff;
  font-family: inherit;
  font-size: 13.5px;
  outline: none;
  transition: all 0.2s ease;
}

.form-select:focus, .form-input:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.3);
}

.form-hint {
  font-size: 11px;
  color: var(--text-dim);
  display: block;
  margin-top: 4px;
}

/* Method Tabs */
.photo-method-tabs {
  display: flex;
  gap: 6px;
  background: rgba(15, 23, 42, 0.8);
  padding: 4px;
  border-radius: 10px;
}

.method-tab {
  flex: 1;
  padding: 7px 10px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.method-tab.active {
  background: rgba(56, 189, 248, 0.2);
  color: #fff;
  border: 1px solid rgba(0, 240, 255, 0.35);
}

.drop-zone {
  border: 2px dashed rgba(56, 189, 248, 0.35);
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  background: rgba(10, 22, 45, 0.4);
  cursor: pointer;
  transition: all 0.2s ease;
}

.drop-zone:hover {
  border-color: var(--neon-cyan);
  background: rgba(14, 28, 56, 0.6);
}

.drop-icon {
  width: 32px;
  height: 32px;
  color: var(--neon-cyan);
  margin-bottom: 8px;
}

.drop-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.drop-sub {
  font-size: 11px;
  color: var(--text-dim);
  margin: 4px 0 12px;
}

.btn-browse {
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.2);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 240, 255, 0.3);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.file-hidden {
  display: none;
}

/* Preset Avatars Grid */
.preset-avatars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  max-height: 160px;
  overflow-y: auto;
  padding: 4px;
}

.preset-avatar-btn {
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: transparent;
  padding: 0;
  transition: all 0.2s ease;
}

.preset-avatar-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preset-avatar-btn:hover {
  transform: scale(1.08);
  border-color: var(--neon-cyan);
}

.preset-avatar-btn.selected {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 14px var(--neon-cyan);
}

/* Frame Style Picker */
.frame-style-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.frame-opt-pill {
  cursor: pointer;
}

.frame-opt-pill input {
  display: none;
}

.frame-box {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.6);
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.frame-opt-pill input:checked + .cyan-box {
  background: rgba(0, 240, 255, 0.18);
  color: var(--neon-cyan);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.4);
}

.frame-opt-pill input:checked + .gold-box {
  background: rgba(251, 191, 36, 0.18);
  color: var(--neon-gold);
  border-color: var(--neon-gold);
  box-shadow: 0 0 14px rgba(251, 191, 36, 0.4);
}

.frame-opt-pill input:checked + .purple-box {
  background: rgba(192, 132, 252, 0.18);
  color: var(--neon-purple);
  border-color: var(--neon-purple);
  box-shadow: 0 0 14px rgba(192, 132, 252, 0.4);
}

.frame-opt-pill input:checked + .titan-box {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border-color: #fff;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.3);
}

/* Modal Live Preview */
.modal-preview-side {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.preview-heading {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.preview-card-wrap {
  width: 250px;
}

/* Modal Footer */
.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 17, 34, 0.95);
}

.btn-modal-cancel {
  padding: 9px 20px;
  border-radius: 9999px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.btn-modal-cancel:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-modal-save {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 24px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #0070f3, #00f0ff);
  color: #030712;
  border: none;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 240, 255, 0.4);
  transition: all 0.2s ease;
}

.btn-modal-save svg {
  width: 16px;
  height: 16px;
}

.btn-modal-save:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0, 240, 255, 0.6);
}

/* --------------------------------------------------------------------------
   FOOTER & TOAST
   -------------------------------------------------------------------------- */
.future-footer {
  margin-top: 72px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 12px;
}

.dot-online {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 8px var(--neon-green);
  margin-right: 6px;
  vertical-align: middle;
}

.toast-box {
  position: fixed;
  bottom: 28px;
  right: 28px;
  padding: 12px 20px;
  background: rgba(8, 17, 34, 0.95);
  border: 1px solid var(--neon-cyan);
  border-radius: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 240, 255, 0.35);
  z-index: 200;
  animation: toastIn 0.25s var(--bezier-spring);
}

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

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN (Universal Mobile Collapse)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .shell-wrap {
    padding-left: 24px;
    padding-right: 24px;
  }
  .floating-dock {
    display: none;
  }
  .hero-showcase {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .champions-split-view {
    grid-template-columns: 1fr;
  }
  .modal-body-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .floating-header {
    flex-direction: column;
    align-items: stretch;
    border-radius: 20px;
  }
  .pill-nav {
    overflow-x: auto;
  }
  .hero-heading {
    font-size: 32px;
  }
  .metric-pills-row {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   VIEW ONLY PILL (For Non-Admin on Home)
   -------------------------------------------------------------------------- */
.view-only-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--neon-blue);
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(12px);
}

/* --------------------------------------------------------------------------
   TOPBAR ADMIN BUTTON (In Shell Topbar)
   -------------------------------------------------------------------------- */
.admin-champions-topbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.15) 0%, rgba(56, 189, 248, 0.08) 100%);
  border: 1px solid rgba(0, 240, 255, 0.5);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s var(--bezier-spring);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.25);
}

.admin-champions-topbar-btn:hover {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.3) 0%, rgba(56, 189, 248, 0.18) 100%);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.5);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   COSMIC DARK LUXURY LOGIN PAGE
   -------------------------------------------------------------------------- */
body.login-mode {
  background: #030712 !important;
  color: #f8fafc !important;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: var(--font-sans);
}

.future-login-viewport {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  background: radial-gradient(ellipse at 50% 0%, #0c1a35 0%, #030712 70%);
  overflow: hidden;
}

.login-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
}

.glow-top-cyan {
  top: -10%;
  left: 25%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.25) 0%, transparent 70%);
}

.glow-bottom-violet {
  bottom: -15%;
  right: 15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.14) 0%, transparent 70%);
}

.login-mesh-lines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: 
    linear-gradient(rgba(56, 189, 248, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 0;
}

/* Topbar: Segmented Language Bar & Theme Toggle */
.future-login-topbar {
  position: absolute;
  top: 24px;
  right: 32px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
}

.login-theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(10, 20, 42, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.22);
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s var(--bezier-smooth);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.login-theme-btn svg {
  width: 17px;
  height: 17px;
}

.login-theme-btn:hover {
  color: #f8fafc;
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(0, 240, 255, 0.35);
}

[data-theme="light"] .login-theme-btn {
  background: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid #cbd5e1 !important;
  color: #475569 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .login-theme-btn:hover {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: #94a3b8 !important;
}

.lang-switch-segment {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  background: rgba(10, 20, 42, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 9999px;
  backdrop-filter: blur(16px);
  gap: 2px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.lang-segment-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 9999px;
  background: transparent;
  border: 1px solid transparent;
  color: #94a3b8;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s var(--bezier-smooth);
  font-family: var(--font-sans);
  line-height: 1;
}

.lang-segment-btn .flag {
  font-size: 13px;
}

.lang-segment-btn .code {
  letter-spacing: 0.04em;
}

.lang-segment-btn:hover {
  color: #f8fafc;
  background: rgba(56, 189, 248, 0.12);
}

.lang-segment-btn.active {
  color: #00f0ff;
  background: rgba(0, 240, 255, 0.15);
  border-color: rgba(0, 240, 255, 0.35);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.22);
}

/* Double-Bezel Card Outer Shell */
.future-login-outer-frame {
  position: relative;
  width: 100%;
  max-width: 450px;
  border-radius: 28px;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.35) 0%, rgba(56, 189, 248, 0.12) 50%, rgba(168, 85, 247, 0.25) 100%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.75), 0 0 40px rgba(0, 240, 255, 0.08);
  z-index: 5;
  margin: 20px 0;
  animation: cardFadeUp 0.45s var(--bezier-spring);
}

@keyframes cardFadeUp {
  from { opacity: 0; transform: translateY(18px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Inner Core */
.future-login-card {
  border-radius: 26.5px;
  background: radial-gradient(circle at 50% 0%, rgba(14, 28, 56, 0.94) 0%, rgba(6, 13, 28, 0.97) 100%);
  padding: 38px 34px;
  backdrop-filter: blur(24px);
  position: relative;
  overflow: hidden;
}

/* Brand Header */
.login-brand-header {
  text-align: center;
  margin-bottom: 24px;
}

.login-logo-glow {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  border-radius: 16px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.18) 0%, rgba(15, 23, 42, 0.7) 100%);
  border: 1px solid rgba(0, 240, 255, 0.35);
  display: grid;
  place-items: center;
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.25);
  transition: transform 0.3s var(--bezier-spring);
}

.login-logo-glow:hover {
  transform: scale(1.05);
}

.login-logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 11px;
  display: block;
}

.login-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 13px;
  border-radius: 9999px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  color: var(--neon-cyan);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 8px var(--neon-cyan);
}

.login-title {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin-bottom: 8px;
}

.login-subtitle {
  font-size: 12.5px;
  color: #94a3b8;
  line-height: 1.55;
  max-width: 430px;
  margin: 0 auto;
  font-family: var(--font-sans);
}

.login-alert-notice {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 12.5px;
  margin-bottom: 18px;
  text-align: center;
}

/* Form Styles */
.future-login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.login-field-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.login-field-label {
  font-size: 12px;
  font-weight: 700;
  color: #cbd5e1;
  letter-spacing: 0.01em;
}

.future-input-box {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.future-field-icon {
  position: absolute !important;
  left: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 18px !important;
  height: 18px !important;
  color: #64748b !important;
  pointer-events: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 2 !important;
}

.future-field-icon svg {
  width: 18px !important;
  height: 18px !important;
  display: block !important;
}

.future-text-input {
  width: 100% !important;
  padding: 12px 42px 12px 42px !important;
  background: rgba(10, 20, 42, 0.75) !important;
  border: 1px solid rgba(56, 189, 248, 0.22) !important;
  border-radius: 12px !important;
  color: #f8fafc !important;
  font-size: 13.5px !important;
  font-family: var(--font-sans) !important;
  outline: none !important;
  transition: all 0.2s var(--bezier-spring) !important;
  box-sizing: border-box !important;
}

.future-text-input:focus {
  border-color: var(--neon-cyan) !important;
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.16), 0 0 20px rgba(0, 240, 255, 0.22) !important;
  background: rgba(13, 26, 52, 0.95) !important;
}

.future-text-input::placeholder {
  color: #475569 !important;
  font-size: 13px !important;
}

.btn-toggle-eye {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: color 0.15s ease;
}

.btn-toggle-eye:hover {
  color: #cbd5e1;
}

.btn-toggle-eye svg {
  width: 18px;
  height: 18px;
}

.login-error-toast {
  padding: 10px 14px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  border-radius: 10px;
  font-size: 12px;
  text-align: center;
}

/* Submit Button */
.btn-login-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 11px 12px 11px 22px;
  border-radius: 13px;
  background: linear-gradient(135deg, #00f0ff 0%, #0088ff 100%);
  border: none;
  color: #030712;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s var(--bezier-spring);
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.35);
  margin-top: 4px;
}

.btn-login-submit:hover {
  background: linear-gradient(135deg, #33f3ff 0%, #1aa3ff 100%);
  box-shadow: 0 0 35px rgba(0, 240, 255, 0.6);
  transform: translateY(-2px);
}

.btn-trailing-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(3, 7, 18, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.btn-trailing-arrow svg {
  width: 16px;
  height: 16px;
}

.btn-login-submit:hover .btn-trailing-arrow {
  transform: translateX(3px);
  background: rgba(3, 7, 18, 0.3);
}

/* Quick Demo Account Switcher (Balanced & Symmetrical) */
.quick-roles-section {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.quick-roles-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quick-roles-title {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #94a3b8;
  text-transform: uppercase;
}

.quick-roles-hint-badge {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.25);
  padding: 2px 8px;
  border-radius: 9999px;
}

.role-group-tier {
  display: flex;
  flex-direction: column;
  gap: 7px;
  text-align: left;
}

.tier-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tier-label.gold { color: #fbbf24; }
.tier-label.cyan { color: #38bdf8; }

.tier-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.tier-dot.gold { background: #fbbf24; box-shadow: 0 0 6px #fbbf24; }
.tier-dot.cyan { background: #38bdf8; box-shadow: 0 0 6px #38bdf8; }

.tier-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.tier-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.role-card-btn {
  display: flex;
  flex-direction: column;
  padding: 9px 11px;
  background: rgba(13, 24, 48, 0.65);
  border: 1px solid rgba(56, 189, 248, 0.16);
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s var(--bezier-spring);
  font-family: var(--font-sans);
  position: relative;
  overflow: hidden;
}

.role-card-btn:hover {
  transform: translateY(-2px);
  background: rgba(18, 32, 64, 0.9);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.role-card-btn.selected {
  border-color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.12);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.25);
}

.role-card-btn.admin.selected {
  border-color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
  box-shadow: 0 0 16px rgba(251, 191, 36, 0.25);
}

.role-card-btn.hr.selected {
  border-color: #c084fc;
  background: rgba(192, 132, 252, 0.12);
  box-shadow: 0 0 16px rgba(192, 132, 252, 0.25);
}

.card-btn-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
}

.card-icon {
  font-size: 13px;
  line-height: 1;
}

.card-tag {
  font-size: 8.5px;
  font-weight: 800;
  padding: 1.5px 6px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.card-tag.gold {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.35);
}

.card-tag.purple {
  background: rgba(192, 132, 252, 0.15);
  color: #c084fc;
  border: 1px solid rgba(192, 132, 252, 0.35);
}

.card-tag.blue {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.card-tag.cyan {
  background: rgba(0, 240, 255, 0.15);
  color: #00f0ff;
  border: 1px solid rgba(0, 240, 255, 0.35);
}

.card-tag.emerald {
  background: rgba(52, 211, 153, 0.15);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.35);
}

.card-title {
  font-size: 11.5px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-desc {
  font-size: 9.5px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quick-roles-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  font-size: 10.5px;
  color: #94a3b8;
  line-height: 1.5;
  text-align: left;
}

.quick-roles-note .note-icon {
  width: 14px;
  height: 14px;
  color: #38bdf8;
  flex-shrink: 0;
  margin-top: 1px;
}

.quick-roles-note strong {
  color: #e2e8f0;
}

.quick-roles-note em {
  color: #38bdf8;
  font-style: normal;
}

.future-login-footer {
  margin-top: 20px;
  font-size: 11.5px;
  color: #64748b;
  text-align: center;
  z-index: 5;
}

@media (max-width: 600px) {
  .future-login-topbar {
    top: 16px;
    right: 16px;
  }
  .future-login-card {
    padding: 28px 20px;
  }
  .tier-grid-3 {
    grid-template-columns: 1fr;
  }
  .tier-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   APP SHELL SCOPING: DARK vs LIGHT MODE DESIGN SYSTEM
   -------------------------------------------------------------------------- */

/* DARK MODE APP SHELL */
[data-theme="dark"] .app,
:root:not([data-theme="light"]) .app {
  background: #030712;
  color: #f8fafc;
  min-height: 100vh;
}

[data-theme="dark"] .sidebar,
:root:not([data-theme="light"]) .sidebar {
  background: rgba(5, 10, 20, 0.95) !important;
  border-right: 1px solid rgba(56, 189, 248, 0.15) !important;
  backdrop-filter: blur(16px);
}

[data-theme="dark"] .topbar,
:root:not([data-theme="light"]) .topbar {
  background: rgba(5, 10, 20, 0.85) !important;
  border-bottom: 1px solid rgba(56, 189, 248, 0.15) !important;
  backdrop-filter: blur(16px);
}

[data-theme="dark"] .topbar #pageTitle,
:root:not([data-theme="light"]) .topbar #pageTitle {
  color: #fff !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px !important;
  white-space: nowrap !important;
}

.content {
  background: transparent !important;
  position: relative;
}

/* Dark mode card overrides */
[data-theme="dark"] .card,
[data-theme="dark"] .table-card,
[data-theme="dark"] .kpi-card,
[data-theme="dark"] .metric-box,
:root:not([data-theme="light"]) .card,
:root:not([data-theme="light"]) .table-card,
:root:not([data-theme="light"]) .kpi-card,
:root:not([data-theme="light"]) .metric-box {
  background: rgba(11, 19, 41, 0.75) !important;
  border: 1px solid rgba(56, 189, 248, 0.18) !important;
  border-radius: 16px !important;
  backdrop-filter: blur(12px) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
}

[data-theme="dark"] .table th,
:root:not([data-theme="light"]) .table th {
  background: rgba(15, 23, 42, 0.9) !important;
  color: #94a3b8 !important;
  border-bottom: 1px solid rgba(56, 189, 248, 0.2) !important;
}

[data-theme="dark"] .table td,
:root:not([data-theme="light"]) .table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  color: #e2e8f0 !important;
}

[data-theme="dark"] .table tr:hover td,
:root:not([data-theme="light"]) .table tr:hover td {
  background: rgba(56, 189, 248, 0.06) !important;
}

/* ==========================================================================
   LIGHT MODE DESIGN SYSTEM — FRESH, PRISTINE LUXURY EDITORIAL
   ========================================================================== */

/* Light App Shell & Main */
[data-theme="light"] body,
[data-theme="light"] .app {
  background: #f8fafc !important;
  color: #0f172a !important;
  min-height: 100vh;
}

[data-theme="light"] .main {
  background: #f8fafc !important;
  color: #0f172a !important;
}

[data-theme="light"] .content {
  background: transparent !important;
  color: #0f172a !important;
}

/* Light Ambient Mesh */
[data-theme="light"] .cosmic-mesh {
  opacity: 0.6;
}

[data-theme="light"] .glow-orb {
  opacity: 0.15 !important;
}

[data-theme="light"] .cosmic-grid-overlay {
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.03) 1px, transparent 1px) !important;
}

/* Light Sidebar */
[data-theme="light"] .sidebar {
  background: #ffffff !important;
  border-right: 1px solid #e2e8f0 !important;
  box-shadow: 2px 0 16px rgba(15, 23, 42, 0.03) !important;
}

[data-theme="light"] .sidebar .brand-name {
  color: #0f172a !important;
}

[data-theme="light"] .sidebar .brand-sub {
  color: #64748b !important;
}

[data-theme="light"] .sidebar .nav-group-title {
  color: #94a3b8 !important;
  font-weight: 700 !important;
}

[data-theme="light"] .sidebar .nav-item {
  color: #475569 !important;
  font-weight: 500;
}

[data-theme="light"] .sidebar .nav-item .nav-icon {
  color: #64748b !important;
  stroke: #64748b !important;
}

[data-theme="light"] .sidebar .nav-item:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}

[data-theme="light"] .sidebar .nav-item:hover .nav-icon {
  color: #0284c7 !important;
  stroke: #0284c7 !important;
}

[data-theme="light"] .sidebar .nav-item.active {
  background: rgba(2, 132, 199, 0.09) !important;
  border: 1px solid rgba(2, 132, 199, 0.22) !important;
  color: #0284c7 !important;
  font-weight: 700 !important;
}

[data-theme="light"] .sidebar .nav-item.active .nav-icon,
[data-theme="light"] .sidebar .nav-item.active .nav-icon svg {
  color: #0284c7 !important;
  stroke: #0284c7 !important;
}

[data-theme="light"] .sidebar .sidebar-user-card {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .sidebar .user-name {
  color: #0f172a !important;
  font-weight: 700;
}

[data-theme="light"] .sidebar .user-role {
  color: #64748b !important;
}

[data-theme="light"] .sidebar .user-avatar-badge {
  background: linear-gradient(135deg, #0284c7, #2563eb) !important;
  color: #ffffff !important;
}

[data-theme="light"] .sidebar-collapse-btn {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #64748b !important;
}

/* Light Topbar */
[data-theme="light"] .topbar {
  background: rgba(255, 255, 255, 0.95) !important;
  border-bottom: 1px solid #e2e8f0 !important;
  backdrop-filter: blur(16px);
}

[data-theme="light"] .topbar #pageTitle {
  color: #0f172a !important;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px !important;
  white-space: nowrap !important;
}

[data-theme="light"] .topbar .search-btn,
[data-theme="light"] .topbar .lang-btn,
[data-theme="light"] .topbar #themeBtn,
[data-theme="light"] .topbar #sheetsBtn {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
}

[data-theme="light"] .topbar .search-btn:hover,
[data-theme="light"] .topbar .lang-btn:hover,
[data-theme="light"] .topbar #themeBtn:hover {
  background: #ffffff !important;
  border-color: #94a3b8 !important;
  color: #0f172a !important;
}

[data-theme="light"] .topbar #sheetsSyncDirectBtn {
  background: #0284c7 !important;
  border: 1px solid #0284c7 !important;
  color: #ffffff !important;
}

[data-theme="light"] .topbar #topbarManageChampionsBtn {
  background: rgba(2, 132, 199, 0.08) !important;
  border: 1px solid rgba(2, 132, 199, 0.28) !important;
  color: #0284c7 !important;
}

[data-theme="light"] .topbar #chipPeriod {
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  color: #334155 !important;
}

[data-theme="light"] .avatar-btn {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}

[data-theme="light"] .avatar-name {
  color: #0f172a !important;
}

[data-theme="light"] .collapsed-brand-name {
  color: #0f172a !important;
}

[data-theme="light"] .sidebar-expand-btn {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #64748b !important;
}

/* Light Cards, KPI, and Tables */
[data-theme="light"] .card,
[data-theme="light"] .table-card,
[data-theme="light"] .kpi-card,
[data-theme="light"] .metric-box {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04) !important;
  color: #0f172a !important;
}

[data-theme="light"] .card h2,
[data-theme="light"] .card h3,
[data-theme="light"] .card h4,
[data-theme="light"] .table-card h2,
[data-theme="light"] .table-card h3 {
  color: #0f172a !important;
}

[data-theme="light"] .kpi-label {
  color: #64748b !important;
}

[data-theme="light"] .kpi-value {
  color: #0f172a !important;
}

[data-theme="light"] .kpi-sub,
[data-theme="light"] .card .muted,
[data-theme="light"] .card .hint,
[data-theme="light"] .table-card .muted,
[data-theme="light"] .inline-note {
  color: #64748b !important;
}

[data-theme="light"] .table th {
  background: #f8fafc !important;
  color: #475569 !important;
  border-bottom: 1px solid #e2e8f0 !important;
  font-weight: 700 !important;
}

[data-theme="light"] .table td {
  background: #ffffff !important;
  border-bottom: 1px solid #f1f5f9 !important;
  color: #1e293b !important;
}

[data-theme="light"] .table tr:hover td {
  background: #f8fafc !important;
}

/* Light Form Inputs and Selects */
[data-theme="light"] .form-select,
[data-theme="light"] .form-input,
[data-theme="light"] select,
[data-theme="light"] input[type="text"],
[data-theme="light"] input[type="password"],
[data-theme="light"] input[type="number"],
[data-theme="light"] input[type="date"] {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
}

[data-theme="light"] .form-select:focus,
[data-theme="light"] .form-input:focus,
[data-theme="light"] select:focus,
[data-theme="light"] input:focus {
  border-color: #0284c7 !important;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
}

/* Light TL Executive & Teams */
[data-theme="light"] .tl-executive-card {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.05) 0%, #ffffff 100%) !important;
  border: 1px solid rgba(2, 132, 199, 0.22) !important;
}

[data-theme="light"] .tl-executive-card h3 {
  color: #0f172a !important;
}

[data-theme="light"] .tl-badge-icon {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  color: #ffffff !important;
}

[data-theme="light"] .tl-team-tab-btn {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: #475569 !important;
}

[data-theme="light"] .tl-team-tab-btn.active {
  background: #0284c7 !important;
  border-color: #0284c7 !important;
  color: #ffffff !important;
}

[data-theme="light"] .agent-chip {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
}

[data-theme="light"] .agent-chip:hover {
  background: #ffffff !important;
  border-color: #94a3b8 !important;
}

[data-theme="light"] .agent-chip.off {
  opacity: 0.45 !important;
}

/* Light Mode Home (Best Agent Showcase) */
[data-theme="light"] .hero-left-intro {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05) !important;
}

[data-theme="light"] .hero-heading {
  color: #0f172a !important;
}

[data-theme="light"] .neon-pill-highlight {
  background: rgba(2, 132, 199, 0.08) !important;
  border-color: #0284c7 !important;
  color: #0284c7 !important;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.15) !important;
  text-shadow: none !important;
}

[data-theme="light"] .eyebrow-pill {
  background: rgba(2, 132, 199, 0.08) !important;
  border-color: rgba(2, 132, 199, 0.25) !important;
  color: #0284c7 !important;
}

[data-theme="light"] .eyebrow-arrow {
  color: #0284c7 !important;
}

[data-theme="light"] .hero-desc {
  color: #475569 !important;
}

[data-theme="light"] .btn-hero-primary {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.25) !important;
}

[data-theme="light"] .btn-hero-secondary {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .btn-hero-secondary:hover {
  background: #f8fafc !important;
  border-color: #94a3b8 !important;
}

[data-theme="light"] .metric-pill {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: none !important;
}

[data-theme="light"] .metric-pill:hover {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] .metric-val {
  color: #0f172a !important;
}

[data-theme="light"] .metric-label {
  color: #64748b !important;
}

[data-theme="light"] .gallery-title {
  color: #0f172a !important;
}

[data-theme="light"] .gallery-sub {
  color: #64748b !important;
}

[data-theme="light"] .filter-chip {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #475569 !important;
}

[data-theme="light"] .filter-chip:hover {
  background: #f8fafc !important;
  color: #0f172a !important;
}

[data-theme="light"] .filter-chip.active {
  background: #0284c7 !important;
  border-color: #0284c7 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25) !important;
}

/* Light Story Cards */
[data-theme="light"] .best-agent-frame {
  background: #ffffff !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] .best-agent-frame.neon-cyan {
  border-color: rgba(2, 132, 199, 0.35) !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06), 0 0 16px rgba(2, 132, 199, 0.1) !important;
}

[data-theme="light"] .best-agent-frame.neon-cyan:hover {
  border-color: #0284c7 !important;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1), 0 0 24px rgba(2, 132, 199, 0.22) !important;
}

[data-theme="light"] .best-agent-frame.neon-gold {
  border-color: rgba(217, 119, 6, 0.4) !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06), 0 0 16px rgba(217, 119, 6, 0.1) !important;
}

[data-theme="light"] .best-agent-frame.neon-gold:hover {
  border-color: #d97706 !important;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1), 0 0 24px rgba(217, 119, 6, 0.22) !important;
}

[data-theme="light"] .best-agent-frame.neon-purple {
  border-color: rgba(147, 51, 234, 0.35) !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06), 0 0 16px rgba(147, 51, 234, 0.1) !important;
}

[data-theme="light"] .best-agent-frame.neon-purple:hover {
  border-color: #9333ea !important;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1), 0 0 24px rgba(217, 119, 6, 0.22) !important;
}

[data-theme="light"] .best-agent-frame.titanium {
  border-color: rgba(148, 163, 184, 0.45) !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] .best-agent-frame.titanium:hover {
  border-color: #475569 !important;
}

[data-theme="light"] .frame-inner-core {
  background: #ffffff !important;
}

[data-theme="light"] .frame-photo-wrap {
  background: #f1f5f9 !important;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .frame-vignette {
  display: none !important;
}

[data-theme="light"] .frame-rate-pill {
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1.5px solid #0284c7 !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15) !important;
}

[data-theme="light"] .rate-text {
  color: #0284c7 !important;
  font-weight: 800;
}

[data-theme="light"] .rank-gold {
  background: rgba(255, 255, 255, 0.94) !important;
  color: #b45309 !important;
  border: 1.5px solid #d97706 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .rank-cyan {
  background: rgba(255, 255, 255, 0.94) !important;
  color: #0284c7 !important;
  border: 1.5px solid #0284c7 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .side-front {
  background: rgba(255, 255, 255, 0.94) !important;
  color: #0284c7 !important;
  border: 1.5px solid rgba(2, 132, 199, 0.5) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .side-back {
  background: rgba(255, 255, 255, 0.94) !important;
  color: #7e22ce !important;
  border: 1.5px solid rgba(147, 51, 234, 0.5) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .agent-name-title {
  color: #0f172a !important;
}

[data-theme="light"] .agent-team-line {
  color: #0284c7 !important;
}

[data-theme="light"] .agent-id-tag {
  color: #64748b !important;
}

[data-theme="light"] .frame-metric-bar {
  border-top: 1px solid #f1f5f9 !important;
}

[data-theme="light"] .frame-nominal-val {
  color: #16a34a !important;
  font-weight: 800;
}

[data-theme="light"] .frame-target-sub {
  color: #64748b !important;
}

[data-theme="light"] .btn-edit-photo-hover {
  background: #ffffff !important;
  border-color: #0284c7 !important;
  color: #0284c7 !important;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2) !important;
}

/* Light Deep Dive / Leaderboard */
[data-theme="light"] .section-heading {
  color: #0f172a !important;
}

[data-theme="light"] .section-sub {
  color: #64748b !important;
}

[data-theme="light"] .bucket-column {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .bucket-header {
  border-bottom: 1px solid #f1f5f9 !important;
}

[data-theme="light"] .bucket-col-title {
  color: #0f172a !important;
}

[data-theme="light"] .bucket-col-sub {
  color: #64748b !important;
}

[data-theme="light"] .bucket-agent-row {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .bucket-agent-row:hover {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
}

[data-theme="light"] .row-agent-name {
  color: #0f172a !important;
}

[data-theme="light"] .row-agent-team {
  color: #64748b !important;
}

[data-theme="light"] .row-paid-val {
  color: #64748b !important;
}

[data-theme="light"] .row-rate-val {
  color: #16a34a !important;
}

[data-theme="light"] .luxury-footer {
  border-top: 1px solid #e2e8f0 !important;
  color: #64748b !important;
}

[data-theme="light"] .footer-copy {
  color: #64748b !important;
}

/* Light Mode Login Screen */
[data-theme="light"] body.login-mode,
[data-theme="light"] .future-login-viewport {
  background: radial-gradient(ellipse at 50% 0%, #e0f2fe 0%, #f1f5f9 60%, #e2e8f0 100%) !important;
}

[data-theme="light"] .login-mesh-lines {
  background-image: 
    linear-gradient(rgba(14, 165, 233, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.06) 1px, transparent 1px) !important;
}

[data-theme="light"] .glow-top-cyan {
  background: radial-gradient(circle, rgba(14, 165, 233, 0.2) 0%, transparent 70%) !important;
}

[data-theme="light"] .glow-bottom-violet {
  background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, transparent 70%) !important;
}

[data-theme="light"] .future-login-outer-frame {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.4) 0%, rgba(56, 189, 248, 0.15) 50%, rgba(168, 85, 247, 0.25) 100%) !important;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08), 0 0 30px rgba(14, 165, 233, 0.08) !important;
}

[data-theme="light"] .future-login-card {
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

[data-theme="light"] .login-logo-glow {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .login-badge-pill {
  background: rgba(2, 132, 199, 0.08) !important;
  border-color: rgba(2, 132, 199, 0.25) !important;
  color: #0284c7 !important;
}

[data-theme="light"] .login-title {
  color: #0f172a !important;
}

[data-theme="light"] .login-subtitle {
  color: #64748b !important;
}

[data-theme="light"] .login-field-label {
  color: #334155 !important;
}

[data-theme="light"] .future-input-box {
  background: #f8fafc !important;
  border: 1.5px solid #cbd5e1 !important;
}

[data-theme="light"] .future-input-box:focus-within {
  border-color: #0284c7 !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.18) !important;
}

[data-theme="light"] .future-text-input {
  color: #0f172a !important;
}

[data-theme="light"] .future-text-input::placeholder {
  color: #94a3b8 !important;
}

[data-theme="light"] .future-field-icon svg {
  color: #64748b !important;
  stroke: #64748b !important;
}

[data-theme="light"] .btn-toggle-eye svg {
  stroke: #64748b !important;
}

[data-theme="light"] .lang-switch-segment {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .lang-segment-btn {
  color: #64748b !important;
}

[data-theme="light"] .lang-segment-btn.active {
  color: #0284c7 !important;
  background: rgba(2, 132, 199, 0.12) !important;
  border-color: rgba(2, 132, 199, 0.3) !important;
  box-shadow: none !important;
}

[data-theme="light"] .login-theme-btn {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .future-login-footer {
  color: #64748b !important;
}

/* Light Mode Admin Modal Studio */
[data-theme="light"] .modal-overlay {
  background: rgba(15, 23, 42, 0.5) !important;
}

[data-theme="light"] .modal-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.18) !important;
  color: #0f172a !important;
}

[data-theme="light"] .modal-top {
  border-bottom: 1px solid #f1f5f9 !important;
}

[data-theme="light"] .modal-title {
  color: #0f172a !important;
}

[data-theme="light"] .modal-sub {
  color: #64748b !important;
}

[data-theme="light"] .modal-close-btn {
  color: #64748b !important;
}

[data-theme="light"] .modal-close-btn:hover {
  color: #0f172a !important;
}

[data-theme="light"] .form-label {
  color: #334155 !important;
}

[data-theme="light"] .method-tab {
  background: #f1f5f9 !important;
  color: #475569 !important;
  border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .method-tab.active {
  background: #0284c7 !important;
  color: #ffffff !important;
  border-color: #0284c7 !important;
}

[data-theme="light"] .drop-zone {
  background: #f8fafc !important;
  border: 2px dashed #cbd5e1 !important;
}

[data-theme="light"] .drop-title {
  color: #0f172a !important;
}

[data-theme="light"] .drop-sub {
  color: #64748b !important;
}

[data-theme="light"] .frame-opt-pill .frame-box {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #334155 !important;
}

[data-theme="light"] .frame-opt-pill input:checked + .frame-box {
  background: #e0f2fe !important;
  border-color: #0284c7 !important;
  color: #0284c7 !important;
}

[data-theme="light"] .modal-preview-side {
  background: #f8fafc !important;
  border-left: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .preview-col-title {
  color: #0f172a !important;
}

[data-theme="light"] .modal-bottom-actions {
  border-top: 1px solid #f1f5f9 !important;
  background: #ffffff !important;
}

[data-theme="light"] .btn-modal-cancel {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: #475569 !important;
}

[data-theme="light"] .btn-modal-save {
  background: #0284c7 !important;
  color: #ffffff !important;
}

