/* ==========================================================================
   WinIt Admin Dashboard CSS - Modern, High-Tech, Mobile-First Dark Theme
   ========================================================================== */

:root {
  --bg-primary: #0A0C14;
  --bg-card: rgba(18, 22, 36, 0.75);
  --bg-card-hover: rgba(28, 34, 54, 0.9);
  --border-light: rgba(255, 255, 255, 0.08);
  --border-active: rgba(16, 211, 78, 0.4);
  
  --primary: #10D34E;
  --primary-glow: rgba(16, 211, 78, 0.25);
  --blue: #38BDF8;
  --blue-glow: rgba(56, 189, 248, 0.25);
  --purple: #A855F7;
  --purple-glow: rgba(168, 85, 247, 0.25);
  --orange: #FF9800;
  --orange-glow: rgba(255, 152, 0, 0.25);
  --red: #F87171;
  --gold: #FFD700;

  --text-main: #FFFFFF;
  --text-muted: #94A3B8;
  --text-dark: #000000;

  --header-height: 68px;
  --bottom-nav-height: 64px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(16, 211, 78, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(168, 85, 247, 0.04) 0%, transparent 40%);
  background-attachment: fixed;
}

/* Utilities */
.hidden { display: none !important; }
.desktop-only { display: block; }
.mobile-only { display: none; }

.text-green { color: var(--primary) !important; }
.text-blue { color: var(--blue) !important; }
.text-purple { color: var(--purple) !important; }
.text-orange { color: var(--orange) !important; }
.text-gold { color: var(--gold) !important; }
.text-muted { color: var(--text-muted) !important; }

/* ==========================================================================
   1. AUTH GATE OVERLAYS
   ========================================================================== */
.admin-auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: radial-gradient(circle at center, #13182C 0%, #080A12 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.admin-auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 36px 28px;
  text-align: center;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  animation: fadeInScale 0.3s ease;
}

.admin-logo-shield-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.admin-logo-img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(16, 211, 78, 0.45));
  transition: transform 0.3s ease;
}

.admin-logo-img:hover {
  transform: scale(1.05);
}

.admin-logo-img.error-filter {
  filter: drop-shadow(0 0 20px rgba(248, 113, 113, 0.45)) hue-rotate(290deg);
}

.admin-auth-card h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 10px;
}

.admin-auth-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 28px;
}

.admin-login-btn {
  width: 100%;
  padding: 14px 20px;
  background: #FFFFFF;
  color: #000000;
  border: none;
  border-radius: 14px;
  font-size: 14.5px;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
  transition: all 0.2s ease;
}

.admin-login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25);
}

.admin-login-btn i { font-size: 18px; color: #EA4335; }

.admin-auth-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--primary);
  font-weight: 600;
  margin-top: 20px;
}

.admin-auth-error-box {
  background: rgba(248, 113, 113, 0.15);
  border: 1px solid rgba(248, 113, 113, 0.3);
  color: var(--red);
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  text-align: left;
}

.admin-auth-footer {
  margin-top: 28px;
  font-size: 12px;
  color: var(--text-muted);
}

.denied-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-primary-btn {
  padding: 8px 16px;
  background: linear-gradient(135deg, #10D34E, #059669);
  color: #000000 !important;
  border: 1px solid rgba(16, 211, 78, 0.4);
  border-radius: 12px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(16, 211, 78, 0.25);
  text-decoration: none;
}

.admin-primary-btn:hover {
  background: linear-gradient(135deg, #13ec58, #059669);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(16, 211, 78, 0.4);
  color: #000000 !important;
}

.admin-primary-btn:active {
  transform: translateY(0);
}

.admin-secondary-btn {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.admin-secondary-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

.admin-link-btn {
  color: var(--text-muted);
  font-size: 13px;
  text-decoration: none;
  font-weight: 600;
}

.admin-link-btn:hover { color: var(--text-main); }

/* ==========================================================================
   2. MAIN ADMIN APP LAYOUT
   ========================================================================== */
.admin-app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.admin-header {
  height: var(--header-height);
  background: rgba(10, 12, 20, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

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

.admin-brand-logo-img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(16, 211, 78, 0.35));
}

.admin-brand-title {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.admin-live-pulse {
  font-size: 10px;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 1px;
}

.brand-version {
  font-size: 11px;
  opacity: 0.9;
  font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: #94A3B8;
  display: inline-block;
  margin-left: 4px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  animation: pulse 1.5s infinite;
}

.admin-nav-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  padding: 5px;
  border-radius: 14px;
  border: 1px solid var(--border-light);
  user-select: none;
  -webkit-user-select: none;
}

.nav-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: 'Outfit', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  user-select: none;
  -webkit-user-select: none;
  caret-color: transparent !important;
  outline: none !important;
  -webkit-tap-highlight-color: transparent;
}

.nav-tab-btn:focus,
.nav-tab-btn:focus-visible,
.nav-tab-btn:active {
  outline: none !important;
  caret-color: transparent !important;
}

.nav-tab-btn i {
  pointer-events: none;
}

.nav-tab-btn:hover { color: var(--text-main); }

.nav-tab-btn.active {
  background: var(--primary);
  color: #000000;
  box-shadow: 0 2px 10px var(--primary-glow);
  outline: none !important;
}

.admin-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.admin-icon-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-main);
}

.admin-icon-btn.logout:hover {
  background: rgba(248, 113, 113, 0.2);
  border-color: var(--red);
  color: var(--red);
}

.admin-user-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
}

.admin-user-pill img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--primary);
}

/* Main Content Area */
.admin-content {
  flex: 1;
  max-width: 1360px;
  width: 100%;
  margin: 0 auto;
  padding: 28px 24px 80px 24px;
}

.admin-tab-pane {
  display: none;
  animation: fadeIn 0.25s ease;
}

.admin-tab-pane.active {
  display: block;
}

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.section-title-row h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.3px;
}

.section-title-row p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

.last-sync-badge {
  font-size: 12px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
}

/* ==========================================================================
   3. TAB 1: KPI CARDS & OVERVIEW
   ========================================================================== */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 22px;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.kpi-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
}

.kpi-card.green:hover { border-color: rgba(16, 211, 78, 0.45); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), 0 0 18px rgba(16, 211, 78, 0.15); }
.kpi-card.gold:hover { border-color: rgba(255, 215, 0, 0.45); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), 0 0 18px rgba(255, 215, 0, 0.15); }
.kpi-card.blue:hover { border-color: rgba(56, 189, 248, 0.45); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), 0 0 18px rgba(56, 189, 248, 0.15); }
.kpi-card.purple:hover { border-color: rgba(168, 85, 247, 0.45); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), 0 0 18px rgba(168, 85, 247, 0.15); }
.kpi-card.orange:hover { border-color: rgba(255, 152, 0, 0.45); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), 0 0 18px rgba(255, 152, 0, 0.15); }

.kpi-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}

.kpi-card.green::before { background: var(--primary); box-shadow: 0 0 10px rgba(16, 211, 78, 0.5); }
.kpi-card.gold::before { background: var(--gold); box-shadow: 0 0 10px rgba(255, 215, 0, 0.5); }
.kpi-card.blue::before { background: var(--blue); box-shadow: 0 0 10px rgba(56, 189, 248, 0.5); }
.kpi-card.purple::before { background: var(--purple); box-shadow: 0 0 10px rgba(168, 85, 247, 0.5); }
.kpi-card.orange::before { background: var(--orange); box-shadow: 0 0 10px rgba(255, 152, 0, 0.5); }

.kpi-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--text-muted);
}

.kpi-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.kpi-card:hover .kpi-icon {
  transform: scale(1.08);
}

.kpi-card.green .kpi-icon { color: var(--primary); background: rgba(16, 211, 78, 0.12); border: 1px solid rgba(16, 211, 78, 0.25); }
.kpi-card.gold .kpi-icon { color: var(--gold); background: rgba(255, 215, 0, 0.12); border: 1px solid rgba(255, 215, 0, 0.25); }
.kpi-card.blue .kpi-icon { color: var(--blue); background: rgba(56, 189, 248, 0.12); border: 1px solid rgba(56, 189, 248, 0.25); }
.kpi-card.purple .kpi-icon { color: var(--purple); background: rgba(168, 85, 247, 0.12); border: 1px solid rgba(168, 85, 247, 0.25); }
.kpi-card.orange .kpi-icon { color: var(--orange); background: rgba(255, 152, 0, 0.12); border: 1px solid rgba(255, 152, 0, 0.25); }

.kpi-value {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 900;
  color: var(--text-main);
  margin: 14px 0 10px 0;
  letter-spacing: -0.5px;
}

.kpi-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.kpi-sub { color: var(--text-muted); font-weight: 500; }

.kpi-tag {
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 800;
  background: rgba(16, 211, 78, 0.15);
  color: var(--primary);
  border: 1px solid rgba(16, 211, 78, 0.3);
}

.kpi-tag.green { background: rgba(16, 211, 78, 0.15); color: var(--primary); border: 1px solid rgba(16, 211, 78, 0.3); }
.kpi-tag.gold { background: rgba(255, 215, 0, 0.15); color: var(--gold); border: 1px solid rgba(255, 215, 0, 0.35); }
.kpi-tag.blue { background: rgba(56, 189, 248, 0.15); color: var(--blue); border-color: rgba(56, 189, 248, 0.3); }
.kpi-tag.purple { background: rgba(168, 85, 247, 0.15); color: var(--purple); border-color: rgba(168, 85, 247, 0.3); }
.kpi-tag.orange { background: rgba(255, 152, 0, 0.15); color: var(--orange); border-color: rgba(255, 152, 0, 0.3); }

.overview-secondary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.dashboard-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 22px;
  backdrop-filter: blur(12px);
}

.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.widget-header h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.widget-link {
  background: transparent;
  border: none;
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}

.monetization-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media (max-width: 900px) {
  .monetization-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .monetization-stats-grid {
    grid-template-columns: 1fr;
  }
}

.multiplier-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stat-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}

.stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}

.stat-sub {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.badge-live {
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(16, 211, 78, 0.15);
  color: var(--primary);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-activity-stream {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 4px;
}

.admin-activity-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  font-size: 13px;
  gap: 12px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.admin-activity-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

.admin-loading-row {
  text-align: center;
  padding: 24px;
  color: var(--text-muted);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ==========================================================================
   4. TAB 2: USERS & SIGNUPS
   ========================================================================== */
.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.search-input-wrap {
  position: relative;
  flex: 1;
  min-width: 260px;
}

.search-input-wrap i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 14px;
}

.search-input-wrap input {
  width: 100%;
  padding: 11px 14px 11px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  color: var(--text-main);
  font-size: 13.5px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s ease;
}

.search-input-wrap input:focus {
  border-color: var(--primary);
}

.filter-chips-row {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.filter-chip {
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.filter-chip:hover { color: var(--text-main); }

.filter-chip.active {
  background: rgba(16, 211, 78, 0.15);
  border-color: var(--primary);
  color: var(--primary);
}

.filter-pills {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Outfit', -apple-system, sans-serif;
}

.filter-pill:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.filter-pill.active {
  background: rgba(16, 211, 78, 0.15);
  border-color: #10D34E;
  color: #10D34E;
  box-shadow: 0 0 10px rgba(16, 211, 78, 0.2);
}

.admin-export-btn {
  padding: 9px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  color: var(--text-main);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.admin-export-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.users-table-container {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  overflow: hidden;
  overflow-x: auto;
  backdrop-filter: blur(12px);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}

.admin-table th {
  padding: 14px 18px;
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border-light);
  background: rgba(0, 0, 0, 0.2);
}

.admin-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.admin-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.table-loading {
  text-align: center;
  padding: 40px !important;
  color: var(--text-muted);
}

.user-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-cell img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
}

.auth-badge {
  font-size: 10.5px;
  padding: 2px 7px;
  border-radius: 5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.auth-badge.google { background: rgba(66, 133, 244, 0.15); color: #60A5FA; border: 1px solid rgba(66, 133, 244, 0.3); }
.auth-badge.facebook { background: rgba(24, 119, 242, 0.15); color: #1877F2; border: 1px solid rgba(24, 119, 242, 0.3); }
.auth-badge.email { background: rgba(16, 211, 78, 0.15); color: var(--primary); border: 1px solid rgba(16, 211, 78, 0.3); }

/* ==========================================================================
   5. TAB 3: GIFT CARDS & REDEMPTIONS
   ========================================================================== */
.redemptions-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.redemption-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 18px;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: transform 0.2s ease;
}

.redemption-card:hover {
  transform: translateY(-2px);
}

.redemption-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.redemption-title {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 800;
}

.redemption-actions {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}

.btn-approve {
  flex: 1;
  padding: 8px;
  border-radius: 8px;
  background: var(--primary);
  color: #000;
  border: none;
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
}

.btn-reject {
  flex: 1;
  padding: 8px;
  border-radius: 8px;
  background: rgba(248, 113, 113, 0.2);
  color: var(--red);
  border: 1px solid rgba(248, 113, 113, 0.4);
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
}

/* ==========================================================================
   6. TAB 4: STREAKS & MULTIPLIER
   ========================================================================== */
.streaks-metrics-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.streak-bracket-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 20px;
  text-align: center;
  backdrop-filter: blur(12px);
}

.streak-bracket-card.gold {
  border-color: rgba(255, 215, 0, 0.4);
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.08) 0%, rgba(18, 22, 36, 0.85) 100%);
}

.streak-badge-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  margin: 0 auto 12px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.streak-bracket-val {
  font-family: 'Outfit', sans-serif;
  font-size: 30px;
  font-weight: 900;
  margin-bottom: 4px;
}

.streak-bracket-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.multiplier-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.info-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 16px;
}

.info-card h4 {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.info-val {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 6px;
}

.info-card p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   7. MOBILE RESPONSIVENESS (< 768px)
   ========================================================================== */
@media (max-width: 768px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: flex !important; }

  .admin-header {
    padding: 0 16px;
  }

  .admin-content {
    padding: 18px 14px calc(var(--bottom-nav-height) + 24px) 14px;
  }

  .overview-secondary-grid {
    grid-template-columns: 1fr;
  }

  .multiplier-stats-grid {
    grid-template-columns: 1fr;
  }

  .admin-mobile-nav {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: var(--bottom-nav-height);
    background: rgba(10, 12, 20, 0.95);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 10000;
    padding: 0 8px;
  }

  .mobile-nav-item {
    background: transparent;
    border: none;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 10.5px;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    padding: 6px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.15s ease;
  }

  .mobile-nav-item i { font-size: 18px; }

  .mobile-nav-item.active {
    color: var(--primary);
  }
}

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

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

/* ==========================================
   REVENUE & OFFERWALLS TAB STYLES
========================================== */
.revenue-stream-card {
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.revenue-stream-card:hover {
  border-color: rgba(16, 211, 78, 0.35);
  transform: translateY(-2px);
}

.stream-metric-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 14px;
}

.stream-metric-box .sm-label {
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 4px;
}

.stream-metric-box .sm-value {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 2px;
}

.stream-metric-box .sm-note {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

@media (max-width: 900px) {
  .revenue-streams-detailed-grid {
    grid-template-columns: 1fr !important;
  }
}

.status-info-trigger-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px 4px;
  font-size: 13px;
  border-radius: 50%;
  transition: color 0.15s ease, transform 0.15s ease;
  vertical-align: middle;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.status-info-trigger-btn:hover {
  color: var(--primary);
  transform: scale(1.15);
}

.status-pill-badge {
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
  display: inline-block;
}


