/* ==========================================================================
   PROMO CONTROL CENTER 2.0 — SUPER ADMIN STYLESHEET
   Luxury Dark Fintech / Apple Command Center Architecture
   ========================================================================== */

.admin-body {
  display: block;
  min-height: 100dvh;
  padding: calc(var(--safe-top) + 12px) 14px calc(var(--safe-bottom) + 40px);
}

.admin-auth-screen {
  position: relative;
  z-index: 2;
  min-height: calc(100dvh - 48px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  padding: 28px 22px 24px;
  border-radius: var(--radius-2xl);
  background: rgba(14, 14, 24, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(28px);
  box-shadow: 0 32px 68px rgba(0, 0, 0, 0.88);
  text-align: center;
}

.forbidden-card {
  border-color: rgba(244, 63, 94, 0.35);
}

.auth-lock-crest {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: radial-gradient(circle at 30% 30%, rgba(139, 92, 246, 0.45), rgba(18, 18, 34, 0.95));
  border: 1px solid rgba(245, 196, 81, 0.48);
  color: var(--accent-gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  box-shadow: 0 12px 30px rgba(139, 92, 246, 0.35);
}

.auth-lock-crest.crest-danger {
  background: radial-gradient(circle at 30% 30%, rgba(244, 63, 94, 0.4), rgba(18, 18, 34, 0.95));
  border-color: rgba(244, 63, 94, 0.5);
  color: #fda4af;
}

.badge-danger {
  background: rgba(244, 63, 94, 0.18) !important;
  color: #fda4af !important;
  border-color: rgba(244, 63, 94, 0.38) !important;
}

.auth-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

.auth-subtitle {
  font-size: 13.5px;
  line-height: 1.52;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.auth-footer-links {
  margin-top: 18px;
}

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

.back-to-site-link:hover {
  color: #fff;
}

/* Dashboard Container */
.admin-dashboard {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 15px 18px;
  border-radius: var(--radius-xl);
  background: rgba(14, 14, 24, 0.86);
  border: 1px solid rgba(245, 196, 81, 0.22);
  backdrop-filter: blur(24px);
  margin-bottom: 14px;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.72);
}

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

.admin-logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f5c451, #d97706);
  color: #090910;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(245, 196, 81, 0.35);
  flex-shrink: 0;
}

.admin-greeting-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-brand-title {
  font-family: var(--font-display);
  font-size: clamp(0.96rem, 3.5vw, 1.15rem);
  font-weight: 800;
}

.super-admin-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(245, 196, 81, 0.22), rgba(139, 92, 246, 0.25));
  border: 1px solid rgba(245, 196, 81, 0.45);
  color: var(--accent-gold-bright);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.admin-brand-sub {
  font-size: 11.5px;
  color: var(--text-muted);
}

.admin-top-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f5c451, #eab308);
  border: none;
  color: #090910;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(245, 196, 81, 0.28);
  transition: transform 0.2s ease;
}

.admin-btn-gold:active {
  transform: scale(0.95);
}

.admin-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
}

.admin-btn-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.admin-btn-icon:active {
  transform: scale(0.92);
}

.admin-btn-icon.btn-logout {
  color: #fda4af;
  border-color: rgba(244, 63, 94, 0.3);
}

/* 8-Section Scrollable Navigation Bar */
.admin-tabs-scroll {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 6px;
  border-radius: 16px;
  background: rgba(14, 14, 24, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.11);
  margin-bottom: 16px;
}

.admin-tabs-scroll::-webkit-scrollbar {
  display: none;
}

.admin-tab {
  flex-shrink: 0;
  min-height: 42px;
  padding: 8px 13px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.admin-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.admin-tab.active {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.4), rgba(236, 72, 153, 0.28));
  border-color: rgba(245, 196, 81, 0.48);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.tab-count-pill {
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: rgba(245, 196, 81, 0.22);
  color: var(--accent-gold-bright);
  font-family: var(--font-mono);
  font-size: 11px;
}

/* Statistics Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
  .stats-grid.stats-grid-6 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1060px) {
  .stats-grid.stats-grid-6 {
    grid-template-columns: repeat(6, 1fr);
  }
}

.stat-card {
  padding: 14px 15px;
  border-radius: 18px;
  background: rgba(16, 16, 28, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.11);
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.65);
}

.stat-gold { border-color: rgba(245, 196, 81, 0.35); }
.stat-violet { border-color: rgba(139, 92, 246, 0.35); }
.stat-emerald { border-color: rgba(16, 185, 129, 0.35); }
.stat-magenta { border-color: rgba(236, 72, 153, 0.35); }
.stat-cyan { border-color: rgba(56, 189, 248, 0.35); }
.stat-amber { border-color: rgba(251, 146, 60, 0.35); }

.stat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

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

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4.5vw, 1.75rem);
  font-weight: 800;
  color: var(--text-primary);
}

.stat-value-sm {
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 4px 0 2px;
}

.stat-foot {
  font-size: 10.5px;
  color: var(--text-muted);
}

/* Quick Executive Actions in Overview */
.overview-quick-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

@media (min-width: 640px) {
  .overview-quick-actions {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .overview-quick-actions {
    grid-template-columns: repeat(4, 1fr);
  }
}

.quick-exec-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 15px;
  border-radius: 18px;
  background: rgba(18, 18, 32, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.quick-exec-card:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 196, 81, 0.48);
  box-shadow: 0 14px 28px -10px rgba(0, 0, 0, 0.7);
}

.quick-exec-card .qa-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(245, 196, 81, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.quick-exec-card div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.quick-exec-card strong {
  font-size: 13.5px;
  font-weight: 700;
}

.quick-exec-card span {
  font-size: 11px;
  color: var(--text-muted);
}

/* Split Grid in Overview */
.overview-split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 840px) {
  .overview-split-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.exec-panel-card {
  padding: 18px;
  border-radius: 20px;
  background: rgba(16, 16, 28, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.11);
}

.exec-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.exec-panel-head h3 {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 800;
  margin-top: 4px;
}

/* Section Hero Bar */
.section-hero-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(16, 16, 28, 0.86);
  border: 1px solid rgba(245, 196, 81, 0.24);
  margin-bottom: 14px;
}

.section-main-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 4vw, 1.35rem);
  font-weight: 800;
  margin: 4px 0 6px;
}

.section-main-sub {
  font-size: 13px;
  line-height: 1.48;
  color: var(--text-secondary);
  max-width: 680px;
}

.btn-hero-add-promoter {
  width: auto !important;
  min-width: 220px;
  padding: 0 22px;
}

/* Search & Filter Controls */
.controls-bar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

@media (min-width: 760px) {
  .controls-bar:not(.controls-bar-multiline) {
    flex-direction: row;
    align-items: center;
  }
}

.search-box {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  background: rgba(14, 14, 24, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.search-box:focus-within {
  border-color: var(--accent-violet);
}

.search-box input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 14px;
}

.clear-search-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 14px;
}

.filters-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.filters-row.filters-row-4 {
  grid-template-columns: 1fr 1fr;
}

@media (min-width: 820px) {
  .filters-row.filters-row-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.admin-select,
.admin-input,
.admin-textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 13px;
  border-radius: 13px;
  background: rgba(12, 12, 22, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 13.5px;
  outline: none;
}

.mono-url-input {
  font-family: var(--font-mono);
  font-size: 12.5px;
}

.admin-textarea {
  resize: vertical;
  line-height: 1.45;
}

.admin-input:focus,
.admin-select:focus,
.admin-textarea:focus {
  border-color: var(--accent-gold);
}

/* ==========================================================================
   SECTION 2: PROMOTER CARDS & 3D DIGITAL BADGE PREVIEWS
   ========================================================================== */
.promoters-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 820px) {
  .promoters-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.promoter-emp-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(16, 16, 28, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.13);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.promoter-emp-card:hover {
  border-color: rgba(245, 196, 81, 0.42);
  box-shadow: 0 18px 36px -12px rgba(0, 0, 0, 0.75);
}

.promoter-emp-card.emp-blocked {
  border-color: rgba(244, 63, 94, 0.35);
  opacity: 0.84;
}

.emp-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.emp-identity {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.emp-name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.emp-full-name {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 800;
  color: #fff;
}

.emp-code-pill {
  padding: 2px 8px;
  border-radius: 7px;
  background: rgba(245, 196, 81, 0.16);
  border: 1px solid rgba(245, 196, 81, 0.35);
  color: var(--accent-gold-bright);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}

.emp-username {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: #c4b5fd;
}

.emp-status-pill {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.emp-status-active {
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
}

.emp-status-blocked {
  background: rgba(244, 63, 94, 0.18);
  border: 1px solid rgba(244, 63, 94, 0.4);
  color: #fda4af;
}

.emp-status-archived {
  background: rgba(148, 163, 184, 0.16);
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #cbd5e1;
}

/* Split layout inside Promoter Card: Mini 3D Badge + KPI Metrics */
.emp-card-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: center;
}

@media (min-width: 480px) {
  .emp-card-body {
    grid-template-columns: 175px 1fr;
  }
}

.emp-mini-badge-wrap {
  width: 100%;
  max-width: 185px;
  margin: 0 auto;
}

.emp-mini-badge-wrap .digital-badge-scene {
  max-width: 185px;
}

.emp-mini-badge-wrap .badge-layer-name {
  font-size: 13px !important;
}

.emp-metrics-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.emp-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.emp-kpi-cell {
  padding: 9px 11px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.emp-kpi-cell span {
  font-size: 10.5px;
  color: var(--text-muted);
}

.emp-kpi-cell strong {
  font-family: var(--font-display);
  font-size: 16px;
  color: #fff;
}

.emp-meta-lines {
  font-size: 11.5px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.emp-card-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   SECTION 5: QR GENERATOR CARDS & LINK HISTORY
   ========================================================================== */
.qr-mode-banner {
  padding: 18px;
  border-radius: 20px;
  background: rgba(16, 16, 28, 0.85);
  border: 1px solid rgba(139, 92, 246, 0.32);
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.qr-mode-info h3 {
  font-family: var(--font-display);
  font-size: 16px;
  margin: 4px 0 6px;
}

.qr-mode-info p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.48;
}

.qr-mode-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 680px) {
  .qr-mode-buttons {
    grid-template-columns: 1fr 1fr;
  }
}

.qr-mode-btn {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-primary);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.qr-mode-btn.active {
  background: linear-gradient(135deg, rgba(245, 196, 81, 0.18), rgba(139, 92, 246, 0.22));
  border-color: var(--accent-gold);
  box-shadow: 0 10px 24px -8px rgba(245, 196, 81, 0.28);
}

.qr-mode-btn strong {
  font-size: 14px;
}

.qr-mode-btn span {
  font-size: 11.5px;
  color: var(--text-muted);
}

.qr-generator-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 820px) {
  .qr-generator-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.qr-service-card {
  padding: 20px 18px;
  border-radius: 22px;
  background: rgba(16, 16, 28, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.13);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.qr-card-yandex { border-color: rgba(252, 63, 29, 0.35); }
.qr-card-ivi { border-color: rgba(234, 0, 61, 0.35); }

.qr-service-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.qr-service-head h3 {
  font-family: var(--font-display);
  font-size: 16.5px;
  margin-top: 4px;
}

.service-pill {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
}

.pill-yandex {
  background: rgba(252, 63, 29, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(252, 63, 29, 0.4);
}

.pill-ivi {
  background: rgba(236, 72, 153, 0.2);
  color: #f9a8d4;
  border: 1px solid rgba(236, 72, 153, 0.4);
}

.toggle-switch-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
}

.url-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qr-validation-status {
  font-size: 11.5px;
  font-weight: 600;
  color: #6ee7b7;
}

.qr-validation-status.status-error {
  color: #fda4af;
}

.qr-live-stage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

@media (min-width: 480px) {
  .qr-live-stage {
    grid-template-columns: 150px 1fr;
  }
}

.qr-live-frame {
  width: 148px;
  height: 148px;
  background: #ffffff;
  padding: 8px;
  border-radius: 16px;
  margin: 0 auto;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-live-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-live-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.qr-meta-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.qr-meta-box strong {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--accent-gold-bright);
}

.qr-btn-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.qr-history-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.qr-history-item {
  padding: 10px 13px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* ==========================================================================
   SECTION 4: ANALYTICS, 14-DAY CHART & LEADERBOARD
   ========================================================================== */
.verification-breakdown-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(16, 16, 28, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 16px;
}

@media (min-width: 760px) {
  .verification-breakdown-card {
    grid-template-columns: repeat(3, 1fr);
  }
}

.vb-item {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vb-badge {
  font-size: 11px;
  font-weight: 700;
}

.vb-badge-gold { color: var(--accent-gold-bright); }
.vb-badge-cyan { color: #7dd3fc; }
.vb-badge-emerald { color: #6ee7b7; }

.vb-item strong {
  font-family: var(--font-display);
  font-size: 22px;
  color: #fff;
}

.vb-item p {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.4;
}

.chart-14d-bars {
  display: grid;
  grid-template-columns: repeat(14, 1fr);
  gap: 5px;
  align-items: end;
  height: 140px;
  padding-top: 18px;
}

.chart-14d-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  gap: 5px;
}

.chart-14d-val {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent-gold-bright);
  font-weight: 700;
}

.chart-14d-bar {
  width: 100%;
  max-width: 28px;
  min-height: 6px;
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, #f5c451 0%, #8b5cf6 100%);
  transition: height 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.chart-14d-lbl {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--text-muted);
}

.leaderboard-full-list,
.mini-leaderboard-list,
.mini-audit-list,
.audit-logs-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lb-row {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.lb-rank-name {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lb-rank-badge {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(245, 196, 81, 0.16);
  color: var(--accent-gold-bright);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-metrics-right {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
}

.lb-total-pill {
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(245, 196, 81, 0.18);
  border: 1px solid rgba(245, 196, 81, 0.4);
  color: var(--accent-gold-bright);
  font-family: var(--font-mono);
  font-weight: 700;
}

/* Audit Log Cards */
.audit-item {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(16, 16, 28, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.audit-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.audit-action-pill {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(139, 92, 246, 0.2);
  color: #c4b5fd;
}

.audit-action-pill.pill-danger {
  background: rgba(244, 63, 94, 0.22);
  color: #fda4af;
}

.audit-summary {
  font-size: 13px;
  color: var(--text-primary);
}

.audit-meta {
  font-size: 11px;
  color: var(--text-muted);
}

/* ==========================================================================
   BULK BAR & PARTICIPANTS CARDS
   ========================================================================== */
.bulk-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  margin-bottom: 12px;
}

.select-all-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
}

.bulk-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-btn-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.admin-btn-sm:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.admin-btn-sm:not(:disabled):hover {
  background: rgba(139, 92, 246, 0.25);
  border-color: var(--accent-gold);
}

.btn-danger-outline {
  border-color: rgba(244, 63, 94, 0.4);
  color: #fda4af;
}

/* Empty State */
.empty-state-card {
  padding: 44px 20px;
  border-radius: var(--radius-xl);
  background: rgba(16, 16, 28, 0.72);
  border: 1px dashed rgba(255, 255, 255, 0.16);
  text-align: center;
}

.empty-orb {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(245, 196, 81, 0.14);
  color: var(--accent-gold);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.empty-state-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  margin-bottom: 6px;
}

.empty-state-card p {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 340px;
  margin: 0 auto;
}

/* Participant Cards Grid */
.participants-list-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 780px) {
  .participants-list-wrap {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

.participant-card {
  position: relative;
  padding: 15px;
  border-radius: 18px;
  background: rgba(16, 16, 28, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 9px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.participant-card:hover {
  border-color: rgba(245, 196, 81, 0.42);
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.65);
}

.participant-card.status-excluded {
  opacity: 0.65;
  border-color: rgba(244, 63, 94, 0.3);
}

.p-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.p-card-select {
  display: flex;
  align-items: center;
  gap: 8px;
}

.p-serial-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-gold-bright);
}

.p-ticket-code {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.p-badges-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.p-status-pill {
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 7px;
}

.pill-eligible {
  background: rgba(16, 185, 129, 0.16);
  color: #6ee7b7;
}

.pill-excluded {
  background: rgba(244, 63, 94, 0.18);
  color: #fda4af;
}

.pill-duplicate {
  background: rgba(245, 196, 81, 0.18);
  color: var(--accent-gold-bright);
}

.pill-promoter-tag {
  background: rgba(139, 92, 246, 0.18);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: #ddd6fe;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.p-card-main {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  cursor: pointer;
}

.p-full-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.p-phone {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: #c4b5fd;
}

.p-wish-snippet {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  border-left: 3px solid var(--accent-gold);
  font-size: 13px;
  line-height: 1.42;
  color: var(--text-secondary);
  cursor: pointer;
}

.p-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11.5px;
  color: var(--text-muted);
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.p-open-btn {
  background: none;
  border: none;
  color: var(--accent-gold-bright);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

/* ==========================================================================
   LOTOTRON SECTION
   ========================================================================== */
.lototron-hero-card {
  padding: 22px 18px;
  border-radius: var(--radius-2xl);
  background: rgba(16, 16, 28, 0.86);
  border: 1px solid rgba(245, 196, 81, 0.35);
  box-shadow: 0 24px 50px -12px rgba(0, 0, 0, 0.8);
  margin-bottom: 16px;
}

.lototron-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.lototron-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
}

.lototron-desc {
  font-size: 13px;
  line-height: 1.48;
  color: var(--text-secondary);
  max-width: 620px;
}

.lototron-counter-badge {
  padding: 10px 16px;
  border-radius: 16px;
  background: rgba(245, 196, 81, 0.14);
  border: 1px solid rgba(245, 196, 81, 0.42);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--accent-gold-bright);
}

.lototron-counter-badge strong {
  font-family: var(--font-display);
  font-size: 18px;
  color: #fff;
}

.lototron-rule-bar {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  margin-bottom: 16px;
}

.lototron-filters-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-copy-lototron-hero {
  margin-bottom: 16px;
}

.lototron-actions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

@media (min-width: 720px) {
  .lototron-actions-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.admin-action-card {
  padding: 14px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.admin-action-card:hover,
.admin-action-card:active {
  background: rgba(139, 92, 246, 0.2);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

.action-icon {
  font-size: 18px;
  margin-bottom: 2px;
}

.admin-action-card strong {
  font-size: 13px;
}

.admin-action-card span {
  font-size: 11px;
  color: var(--text-muted);
}

.lototron-preview-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.mono-count {
  font-family: var(--font-mono);
  color: var(--accent-gold);
}

.lototron-textarea {
  width: 100%;
  min-height: 200px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(6, 6, 12, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f8fafc;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.65;
  resize: vertical;
  outline: none;
}

/* Crypto Draw Box */
.crypto-draw-box {
  border-radius: 18px;
  background: rgba(16, 16, 28, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.11);
  overflow: hidden;
}

.crypto-draw-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}

.crypto-draw-summary::-webkit-details-marker {
  display: none;
}

.crypto-draw-body {
  padding: 14px 18px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.crypto-reel-stage {
  padding: 22px 16px;
  border-radius: 16px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.22), rgba(8, 8, 16, 0.95));
  border: 1px solid rgba(245, 196, 81, 0.4);
  text-align: center;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.crypto-reel-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--accent-gold-bright);
}

.crypto-reel-sub {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================================================
   SETTINGS & WIDE MODALS FOR PROMOTER CREATION / MANAGEMENT
   ========================================================================== */
.settings-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 860px) {
  .settings-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.settings-card {
  padding: 20px 18px;
  border-radius: var(--radius-xl);
  background: rgba(16, 16, 28, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.settings-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  margin-bottom: 8px;
}

.setting-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.setting-field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Wide Modal Sheet for Create / Manage Promoter */
.modal-sheet-wide {
  max-width: 840px !important;
}

.promoter-modal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 740px) {
  .promoter-modal-grid {
    grid-template-columns: 1.35fr 0.9fr;
    align-items: start;
  }
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 520px) {
  .form-row-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.badge-mode-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.badge-mode-pill {
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.badge-mode-pill.active {
  background: rgba(245, 196, 81, 0.16);
  border-color: var(--accent-gold);
  color: #fff;
}

.personal-links-accordion {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.personal-links-accordion summary {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent-gold-bright);
  cursor: pointer;
}

.accordion-inner {
  margin-top: 10px;
}

.cp-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.promoter-badge-preview-col {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.09);
  text-align: center;
}

.live-badge-mount {
  margin-top: 10px;
}

.badge-preview-caption {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Credentials Summary Box */
.credentials-summary-box {
  padding: 16px;
  border-radius: 16px;
  background: rgba(8, 8, 16, 0.92);
  border: 1px solid rgba(245, 196, 81, 0.42);
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 16px;
}

.cred-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}

.cred-row span {
  color: var(--text-muted);
}

.cred-highlight {
  padding: 3px 9px;
  border-radius: 8px;
  background: rgba(245, 196, 81, 0.2);
  color: #fff !important;
  font-size: 14px;
}

.mp-security-zone {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mp-security-zone h4 {
  font-size: 13px;
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.mp-sec-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Detail Modal */
.detail-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.detail-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-label {
  font-size: 11.5px;
  color: var(--text-muted);
}

.detail-val {
  font-size: 15px;
  color: var(--text-primary);
}

.detail-wish-box {
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--accent-gold);
  font-size: 14px;
  line-height: 1.48;
}

.detail-actions-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 10px;
}
