/* 
   ==========================================================================
   BOOMIE STUDIO - STUDIO COMMAND CENTER & MASTER ADMIN STYLESHEET
   High-Fidelity Cybernetic Interface & Robust Control System
   ==========================================================================
*/

/* ADMIN ROOT */
.admin-wrapper {
  min-height: 100vh;
  background-color: var(--bg-void);
  background-image: 
    radial-gradient(ellipse at 20% 0%, rgba(255, 46, 126, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 100%, rgba(0, 240, 255, 0.08) 0%, transparent 60%);
  color: var(--text-main);
  font-family: var(--font-body);
}

/* ==========================================================================
   1. AUTH GATEWAY (LOCK SCREEN)
   ========================================================================== */
.auth-gate-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
}

.auth-card {
  width: 100%;
  max-width: 480px;
  padding: 40px;
  border-radius: 24px;
  border: 1px solid rgba(255, 46, 126, 0.25);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 46, 126, 0.15);
  background: rgba(14, 17, 26, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: fadeIn 0.4s ease-out;
}

.auth-header {
  text-align: center;
  margin-bottom: 30px;
}

.auth-logo-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 12px;
  color: #FFF;
}

.auth-logo-letter {
  color: var(--primary);
  text-shadow: 0 0 15px var(--primary-glow);
}

.auth-logo-svg {
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}

.auth-logo-text {
  letter-spacing: 2px;
}

.auth-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 2px;
  color: #FFF;
  margin-bottom: 6px;
}

.auth-sub {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.auth-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 25px;
  gap: 4px;
}

.auth-tab-btn {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-dim);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.auth-tab-btn.active {
  background: var(--primary-grad);
  color: #FFF;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.auth-form-view {
  display: none;
}

.auth-form-view.active {
  display: block;
}

.input-field-group {
  margin-bottom: 20px;
}

.input-field-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.password-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.password-input-wrap .field-icon {
  position: absolute;
  left: 16px;
  color: var(--primary);
  font-size: 1.05rem;
}

.password-input-wrap input {
  width: 100%;
  background: rgba(24, 28, 42, 0.8);
  border: 1px solid var(--border-medium);
  border-radius: 14px;
  padding: 14px 48px 14px 44px;
  color: #FFF;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.password-input-wrap input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 20px var(--primary-glow);
}

.pin-toggle-btn {
  position: absolute;
  right: 14px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  padding: 6px;
  transition: color 0.2s;
}

.pin-toggle-btn:hover {
  color: #FFF;
}

.field-hint {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.field-hint code {
  color: var(--secondary);
  background: rgba(0, 240, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

.auth-options {
  margin-bottom: 25px;
}

.checkbox-container {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-dim);
  cursor: pointer;
  user-select: none;
}

.checkbox-container input {
  display: none;
}

.checkmark {
  width: 18px;
  height: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-medium);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.checkbox-container input:checked + .checkmark {
  background: var(--primary);
  border-color: var(--primary);
}

.checkbox-container input:checked + .checkmark::after {
  content: "✓";
  color: #FFF;
  font-size: 11px;
  font-weight: 900;
}

.btn-block {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  font-size: 0.95rem;
  border-radius: 12px;
}

.google-auth-note {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: center;
}

.google-auth-note code {
  color: var(--secondary);
}

.auth-error-pill {
  margin-top: 18px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #F87171;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-footer {
  margin-top: 30px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.auth-back-link {
  color: var(--text-dim);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.auth-back-link:hover {
  color: var(--primary);
}

/* ==========================================================================
   2. MAIN DASHBOARD LAYOUT & TOPBAR
   ========================================================================== */
.dashboard-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.admin-topbar {
  height: 68px;
  background: rgba(10, 12, 18, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 50;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.icon-btn-ghost {
  background: none;
  border: 1px solid var(--border-subtle);
  color: var(--text-dim);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.icon-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #FFF;
  border-color: var(--border-medium);
}

.topbar-brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-brand .brand-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  color: #FFF;
  letter-spacing: 1.5px;
}

.badge-role {
  background: rgba(255, 46, 126, 0.15);
  border: 1px solid var(--primary);
  color: var(--primary);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 1px;
}

.cloud-status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
}

.status-dot.online {
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
}

.status-dot.syncing {
  background: var(--secondary);
  animation: pulse 1s infinite alternate;
}

.topbar-center {
  flex: 1;
  max-width: 480px;
  margin: 0 20px;
}

.admin-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.admin-search-wrap .search-icon {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.admin-search-wrap input {
  width: 100%;
  background: rgba(18, 22, 34, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  padding: 8px 38px 8px 36px;
  color: #FFF;
  font-size: 0.85rem;
  outline: none;
  transition: all 0.2s;
}

.admin-search-wrap input:focus {
  border-color: var(--secondary);
  background: rgba(24, 30, 48, 0.9);
  box-shadow: 0 0 15px var(--secondary-glow);
}

.search-kbd {
  position: absolute;
  right: 12px;
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.7rem;
  color: var(--text-muted);
  pointer-events: none;
}

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

.topbar-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-dim);
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.topbar-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFF;
  border-color: var(--border-medium);
}

.topbar-btn.secondary {
  color: var(--secondary);
  border-color: rgba(0, 240, 255, 0.25);
}

.admin-profile-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 6px 4px 10px;
  background: rgba(24, 28, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
}

.admin-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: #FFF;
  box-shadow: 0 0 10px var(--primary-glow);
}

.admin-user-info {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.admin-user-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #FFF;
}

.admin-user-badge {
  font-size: 0.65rem;
  color: var(--secondary);
}

.logout-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.logout-btn:hover {
  color: #F87171;
  background: rgba(239, 68, 68, 0.15);
}

/* ==========================================================================
   3. SIDEBAR NAVIGATION
   ========================================================================== */
.admin-layout {
  display: flex;
  flex: 1;
}

.admin-sidebar {
  width: 250px;
  background: #090B10;
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 14px;
  position: sticky;
  top: 68px;
  height: calc(100vh - 68px);
  overflow-y: auto;
  transition: transform 0.3s ease;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.nav-section-title {
  font-family: var(--font-main);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin: 16px 8px 6px;
}

.nav-tab-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: none;
  border: none;
  border-radius: 10px;
  color: var(--text-dim);
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
}

.nav-tab-item .nav-icon {
  font-size: 1rem;
  width: 20px;
  text-align: center;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-tab-item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #FFF;
}

.nav-tab-item:hover .nav-icon {
  color: var(--secondary);
}

.nav-tab-item.active {
  background: rgba(255, 46, 126, 0.12);
  color: #FFF;
  border: 1px solid rgba(255, 46, 126, 0.3);
  box-shadow: 0 0 20px rgba(255, 46, 126, 0.15);
}

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

.tab-badge {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
}

.tab-badge.highlight {
  background: rgba(0, 240, 255, 0.15);
  color: var(--secondary);
}

.tab-badge.green {
  background: rgba(16, 185, 129, 0.2);
  color: #10B981;
}

.sidebar-footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

.sync-info-card {
  background: rgba(16, 20, 32, 0.6);
  border: 1px solid var(--border-subtle);
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.75rem;
}

.sync-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}

.sync-label {
  color: var(--text-muted);
}

.sync-val {
  font-weight: 600;
}

.text-cyan { color: var(--secondary) !important; }
.text-magenta { color: var(--primary) !important; }
.text-gold { color: var(--accent) !important; }
.text-purple { color: var(--accent-purple) !important; }
.text-green { color: #10B981 !important; }
.text-red { color: #EF4444 !important; }
.text-blue { color: #3B82F6 !important; }

.sync-progress {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 6px;
}

.sync-bar {
  height: 100%;
  background: var(--secondary-grad);
}

.keyboard-shortcuts-hint {
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 10px;
}

.keyboard-shortcuts-hint kbd {
  background: rgba(255, 255, 255, 0.08);
  padding: 1px 4px;
  border-radius: 3px;
}

/* ==========================================================================
   4. MAIN CONTENT & TABS
   ========================================================================== */
.admin-main {
  flex: 1;
  padding: 30px;
  overflow-y: auto;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.admin-tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

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

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

.tab-header-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  flex-wrap: wrap;
  gap: 15px;
}

.tab-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 1px;
  color: #FFF;
  margin-bottom: 4px;
}

.tab-subtitle {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.tab-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==========================================================================
   5. OVERVIEW COMMAND CENTER
   ========================================================================== */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.kpi-card {
  background: rgba(16, 20, 32, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s, border-color 0.2s;
}

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

.card-magenta { border-top: 3px solid var(--primary); }
.card-cyan { border-top: 3px solid var(--secondary); }
.card-gold { border-top: 3px solid var(--accent); }
.card-purple { border-top: 3px solid var(--accent-purple); }

.kpi-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.card-magenta .kpi-icon-wrap { color: var(--primary); background: rgba(255, 46, 126, 0.15); }
.card-cyan .kpi-icon-wrap { color: var(--secondary); background: rgba(0, 240, 255, 0.15); }
.card-gold .kpi-icon-wrap { color: var(--accent); background: rgba(255, 230, 0, 0.15); }
.card-purple .kpi-icon-wrap { color: var(--accent-purple); background: rgba(168, 85, 247, 0.15); }

.kpi-info {
  display: flex;
  flex-direction: column;
}

.kpi-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.kpi-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: #FFF;
  line-height: 1.2;
}

.kpi-trend {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.overview-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
}

.admin-box {
  background: rgba(16, 20, 32, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 24px;
}

.box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 12px;
}

.box-title {
  font-family: var(--font-main);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #FFF;
  display: flex;
  align-items: center;
  gap: 10px;
}

.box-desc {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 20px;
}

.box-actions-row {
  display: flex;
  gap: 12px;
}

.btn-sm {
  padding: 5px 12px;
  font-size: 0.8rem;
  border-radius: 6px;
  cursor: pointer;
}

.btn-ghost {
  background: none;
  border: 1px solid var(--border-subtle);
  color: var(--text-dim);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #FFF;
}

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

.quick-tile {
  background: rgba(24, 28, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.2s;
}

.quick-tile i {
  font-size: 1.3rem;
  color: var(--secondary);
  transition: transform 0.2s;
}

.quick-tile span {
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
}

.quick-tile:hover {
  background: rgba(30, 36, 56, 0.9);
  color: #FFF;
  border-color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--secondary-glow);
}

.quick-tile:hover i {
  transform: scale(1.15);
}

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

.featured-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(24, 28, 42, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
}

.featured-item-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.featured-item-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.featured-item-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #FFF;
}

.featured-item-cat {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.activity-timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 280px;
  overflow-y: auto;
}

.activity-entry {
  display: flex;
  gap: 12px;
  font-size: 0.85rem;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.activity-bullet {
  color: var(--secondary);
  margin-top: 2px;
}

.activity-text {
  flex: 1;
  color: var(--text-dim);
}

.activity-text strong {
  color: #FFF;
}

.activity-time {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.health-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.health-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: rgba(24, 28, 42, 0.4);
  border-radius: 10px;
}

.health-meta {
  display: flex;
  flex-direction: column;
}

.health-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFF;
}

.health-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.health-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.health-badge.good {
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* ==========================================================================
   6. TOOLBARS & FORM CONTROLS
   ========================================================================== */
.admin-toolbar {
  padding: 16px 20px;
  margin-bottom: 20px;
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.toolbar-search {
  flex: 1;
  min-width: 250px;
  position: relative;
  display: flex;
  align-items: center;
}

.toolbar-search i {
  position: absolute;
  left: 14px;
  color: var(--primary);
}

.toolbar-search input {
  width: 100%;
  background: rgba(24, 28, 42, 0.7);
  border: 1px solid var(--border-medium);
  border-radius: 10px;
  padding: 10px 14px 10px 38px;
  color: #FFF;
  font-size: 0.9rem;
  outline: none;
}

.toolbar-search input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
}

.toolbar-filters {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.admin-select {
  background: rgba(24, 28, 42, 0.8);
  border: 1px solid var(--border-subtle);
  color: #FFF;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  outline: none;
  cursor: pointer;
}

.admin-select:focus {
  border-color: var(--secondary);
}

.games-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 16px;
  padding: 0 4px;
}

/* ==========================================================================
   7. ARCADE GAMES GRID & CARDS
   ========================================================================== */
.games-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.game-admin-card {
  background: rgba(16, 20, 32, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s var(--smooth);
  position: relative;
  overflow: hidden;
}

.game-admin-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-medium);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.7);
}

.card-top-row {
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
}

.game-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.game-card-meta {
  flex: 1;
}

.game-pill-row {
  display: flex;
  gap: 6px;
  margin-bottom: 4px;
}

.pill-cat {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--secondary);
  background: rgba(0, 240, 255, 0.1);
  padding: 2px 7px;
  border-radius: 4px;
}

.pill-feat {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(255, 230, 0, 0.15);
  padding: 2px 7px;
  border-radius: 4px;
}

.game-card-title {
  font-family: var(--font-main);
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFF;
  margin-bottom: 2px;
}

.game-card-id {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: monospace;
}

.game-card-desc {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.game-card-metrics {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 10px;
  margin-bottom: 14px;
}

.card-actions-row {
  display: flex;
  gap: 8px;
}

.btn-card-action {
  flex: 1;
  padding: 7px 10px;
  font-size: 0.8rem;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-card-action:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFF;
}

.btn-card-action.play:hover {
  background: rgba(0, 240, 255, 0.15);
  color: var(--secondary);
  border-color: var(--secondary);
}

.btn-card-action.edit:hover {
  background: rgba(255, 46, 126, 0.15);
  color: var(--primary);
  border-color: var(--primary);
}

.btn-card-action.feat.active {
  background: rgba(255, 230, 0, 0.15);
  color: var(--accent);
  border-color: var(--accent);
}

.btn-card-action.del:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #F87171;
  border-color: #EF4444;
}

/* ==========================================================================
   8. COMMUNITY SUBMISSIONS MODERATION
   ========================================================================== */
.community-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

.community-card {
  background: rgba(16, 20, 32, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.comm-author-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.comm-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--secondary-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #0A0C12;
}

.comm-author-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #FFF;
}

.comm-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.comm-title {
  font-family: var(--font-main);
  font-size: 1.2rem;
  font-weight: 700;
  color: #FFF;
  margin-bottom: 6px;
}

.comm-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

/* ==========================================================================
   9. DEVLOGS & ARTICLES TABLE
   ========================================================================== */
.blogs-admin-table-wrap {
  overflow-x: auto;
  border-radius: 16px;
}

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

.admin-table th {
  background: rgba(24, 28, 42, 0.8);
  padding: 14px 18px;
  font-family: var(--font-main);
  font-weight: 700;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border-medium);
  letter-spacing: 0.5px;
}

.admin-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-dim);
}

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

.table-article-title {
  font-weight: 700;
  color: #FFF;
  font-size: 0.95rem;
  margin-bottom: 3px;
}

.table-article-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  max-width: 400px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.table-tag {
  background: rgba(168, 85, 247, 0.15);
  color: var(--accent-purple);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
}

/* ==========================================================================
   10. SITE CUSTOMIZER & FORMS
   ========================================================================== */
.customizer-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dim);
}

.form-group.full { width: 100%; }
.form-group.half { width: calc(50% - 8px); }
.form-group.third { width: calc(33.333% - 11px); }
.form-group.two-thirds { width: calc(66.666% - 5px); }

.admin-input, .admin-textarea {
  background: rgba(24, 28, 42, 0.7);
  border: 1px solid var(--border-medium);
  border-radius: 10px;
  padding: 10px 14px;
  color: #FFF;
  font-size: 0.9rem;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.admin-input:focus, .admin-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
}

.feature-switches-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.switch-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: rgba(24, 28, 42, 0.4);
  border-radius: 12px;
}

.switch-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #FFF;
}

.switch-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* TOGGLE SWITCH COMPONENT */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(255, 255, 255, 0.15);
  transition: .3s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
}

input:checked + .slider:before {
  transform: translateX(22px);
}

/* ==========================================================================
   11. LIVE ANNOUNCEMENT BANNER
   ========================================================================== */
.banner-preview-stage {
  padding: 20px;
  background: rgba(5, 6, 8, 0.8);
  border-radius: 12px;
  border: 1px dashed var(--border-medium);
  margin-top: 10px;
}

.live-announcement-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 12px 24px;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.live-announcement-bar.theme-cyber {
  background: linear-gradient(90deg, #FF2E7E 0%, #FF659F 50%, #FF2E7E 100%);
  color: #FFF;
  box-shadow: 0 4px 25px var(--primary-glow);
}

.live-announcement-bar.theme-cyan {
  background: linear-gradient(90deg, #00F0FF 0%, #0088FF 100%);
  color: #0A0C12;
  box-shadow: 0 4px 25px var(--secondary-glow);
}

.live-announcement-bar.theme-gold {
  background: linear-gradient(90deg, #FFE600 0%, #FF9900 100%);
  color: #0A0C12;
  box-shadow: 0 4px 25px var(--accent-glow);
}

.live-announcement-bar.theme-matrix {
  background: linear-gradient(90deg, #10B981 0%, #059669 100%);
  color: #FFF;
  box-shadow: 0 4px 25px var(--accent-green-glow);
}

.ann-badge {
  background: rgba(0, 0, 0, 0.3);
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.ann-btn {
  background: #FFF;
  color: #0A0C12;
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s;
}

.ann-btn:hover {
  transform: scale(1.05);
}

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

.style-choice {
  background: rgba(24, 28, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.style-choice input {
  display: none;
}

.style-choice.active {
  border-color: var(--primary);
  background: rgba(255, 46, 126, 0.1);
  color: #FFF;
}

.style-swatch {
  width: 100%;
  height: 20px;
  border-radius: 4px;
}

.swatch-cyber { background: var(--primary-grad); }
.swatch-cyan { background: var(--secondary-grad); }
.swatch-gold { background: var(--accent-grad); }
.swatch-matrix { background: var(--accent-green-grad); }

/* ==========================================================================
   12. BACKUP & CLOUD
   ========================================================================== */
.backup-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.file-drop-area {
  border: 2px dashed var(--border-medium);
  border-radius: 14px;
  padding: 30px;
  text-align: center;
  color: var(--text-dim);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: all 0.2s;
}

.file-drop-area:hover {
  border-color: var(--secondary);
  background: rgba(0, 240, 255, 0.05);
  color: #FFF;
}

.drop-icon {
  font-size: 2rem;
  color: var(--secondary);
}

.border-red {
  border-color: rgba(239, 68, 68, 0.3) !important;
}

.btn-danger {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: #FFF;
}

/* ==========================================================================
   13. MODALS & PREVIEWS
   ========================================================================== */
.admin-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease-out;
}

.admin-modal-container {
  width: 100%;
  max-width: 1000px;
  max-height: 90vh;
  background: #0E111A;
  border: 1px solid var(--border-medium);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9);
  overflow: hidden;
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: #FFF;
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

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

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

.modal-body-scroll {
  padding: 24px;
  overflow-y: auto;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  background: rgba(14, 17, 26, 0.5);
}

.color-picker-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.color-picker-wrap input[type="color"] {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 8px;
  background: none;
  cursor: pointer;
}

.icon-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-preview-box {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(255, 46, 126, 0.15);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.icon-preset-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.icon-preset-chips .chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-dim);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.78rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s;
}

.icon-preset-chips .chip:hover {
  background: rgba(255, 46, 126, 0.15);
  color: var(--primary);
  border-color: var(--primary);
}

.preview-title {
  font-family: var(--font-main);
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.game-card-preview {
  background: rgba(16, 20, 32, 0.9);
  border: 1px solid var(--primary);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 12px 35px var(--primary-glow);
}

.card-icon-area {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 16px;
}

.preview-card-name {
  font-family: var(--font-main);
  font-size: 1.4rem;
  font-weight: 700;
  color: #FFF;
  margin-bottom: 6px;
}

.preview-card-desc {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 16px;
}

.preview-stats-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.rating-stars {
  color: var(--accent);
  font-weight: 700;
}

/* PLAYTEST MODAL */
.playtest-modal-wrap {
  max-width: 900px;
  height: 650px;
}

.playtest-body {
  flex: 1;
  background: #000;
  position: relative;
}

.playtest-body iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================================================
   14. TOAST NOTIFICATIONS
   ========================================================================== */
.toast-stack {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast-pill {
  padding: 12px 20px;
  border-radius: 12px;
  background: rgba(14, 17, 26, 0.95);
  border: 1px solid var(--border-medium);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  color: #FFF;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
  animation: slideInRight 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-pill.success {
  border-color: #10B981;
}

.toast-pill.success i {
  color: #10B981;
}

.toast-pill.error {
  border-color: #EF4444;
}

.toast-pill.error i {
  color: #EF4444;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   14B. ADS & MONETIZATION STYLES
   ========================================================================== */
.ads-status-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 26px;
  margin-bottom: 24px;
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 16px;
  flex-wrap: wrap;
  gap: 20px;
}

.ads-status-left {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 750px;
}

.ads-status-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.ads-status-title {
  margin: 0 0 6px;
  color: #FFF;
  font-size: 1.05rem;
  font-weight: 700;
}

.ads-status-desc {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.6;
}

.ads-status-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.ads-badge-item {
  background: rgba(10, 11, 14, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 8px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ads-badge-item .badge-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ads-badge-item .badge-val {
  font-size: 0.88rem;
  font-weight: 700;
}

.code-pill {
  background: rgba(0, 240, 255, 0.1);
  color: #00F0FF;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-family: monospace;
}

.ads-nav-toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 14px;
}

.ads-tab-pills {
  display: flex;
  background: rgba(18, 22, 34, 0.9);
  padding: 4px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  gap: 6px;
}

.ads-pill-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  padding: 9px 18px;
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.ads-pill-btn:hover {
  color: #FFF;
  background: rgba(255, 255, 255, 0.05);
}

.ads-pill-btn.active {
  background: var(--primary-grad);
  color: #FFF;
  box-shadow: 0 4px 15px rgba(255, 46, 126, 0.35);
}

.ads-pill-btn .pill-count {
  background: rgba(0, 0, 0, 0.25);
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 10px;
}

.ad-preset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.preset-card {
  background: rgba(18, 22, 34, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  position: relative;
}

.preset-card:hover {
  border-color: var(--secondary);
  background: rgba(0, 240, 255, 0.05);
  transform: translateY(-2px);
}

.preset-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.preset-icon.google { background: rgba(234, 67, 53, 0.15); color: #EA4335; }
.preset-icon.meta { background: rgba(24, 119, 242, 0.15); color: #1877F2; }
.preset-icon.unity { background: rgba(255, 255, 255, 0.15); color: #FFF; }
.preset-icon.applovin { background: rgba(0, 240, 255, 0.15); color: #00F0FF; }
.preset-icon.ironsource { background: rgba(59, 130, 246, 0.15); color: #3B82F6; }
.preset-icon.mintegral { background: rgba(16, 185, 129, 0.15); color: #10B981; }

.preset-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.preset-info strong {
  font-size: 0.88rem;
  color: #FFF;
  margin-bottom: 2px;
}

.preset-info span {
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.preset-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.ads-preview-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

@media (max-width: 1024px) {
  .ads-preview-grid {
    grid-template-columns: 1fr;
  }
}

.ads-code-box {
  background: #060709;
  border: 1px solid var(--border-medium);
  border-radius: 12px;
  padding: 16px 20px;
  min-height: 220px;
  max-height: 380px;
  overflow-y: auto;
}

.ads-code-box pre {
  margin: 0;
  font-family: 'Fira Code', 'Courier New', monospace;
  font-size: 0.86rem;
  line-height: 1.7;
  color: #00F0FF;
}

.deploy-steps-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.deploy-step-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-grad);
  color: #FFF;
  font-weight: 800;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-content strong {
  font-size: 0.88rem;
  color: #FFF;
  display: block;
  margin-bottom: 3px;
}

.step-content p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.badge-tag-type {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
}
.badge-tag-type.direct {
  background: rgba(16, 185, 129, 0.2);
  color: #10B981;
}
.badge-tag-type.reseller {
  background: rgba(245, 158, 11, 0.2);
  color: #F59E0B;
}

/* ==========================================================================
   15. RESPONSIVENESS
   ========================================================================== */
@media (max-width: 1024px) {
  .admin-sidebar {
    position: fixed;
    left: -250px;
    z-index: 60;
  }
  .admin-sidebar.open {
    transform: translateX(250px);
  }
  .overview-grid, .customizer-form-grid, .backup-cards-grid, .modal-body-grid {
    grid-template-columns: 1fr;
  }
  .btn-label-desktop {
    display: none;
  }
}

@media (max-width: 768px) {
  .admin-main {
    padding: 16px;
  }
  .topbar-center {
    display: none;
  }
  .form-group.half, .form-group.third, .form-group.two-thirds {
    width: 100%;
  }
  .banner-style-selector {
    grid-template-columns: 1fr 1fr;
  }
}
