/* ============================================
   ASCENDSMURFS UNIFIED DASHBOARD THEME
   Design source: admin/settings.html
   Premium SaaS glassmorphism design system
   ============================================ */

/* ===== CSS VARIABLES (Match Admin) ===== */
:root {
  --admin-sidebar-width: 260px;
  --admin-bg: #05060A;
  --admin-sidebar-bg: rgba(10, 10, 18, 0.95);
  --admin-sidebar-border: rgba(255, 255, 255, 0.05);
  --admin-glow: rgba(139, 92, 246, 0.4);
  --admin-glow-soft: rgba(139, 92, 246, 0.15);
  --admin-accent: #8B5CF6;
  --admin-accent-dim: rgba(139, 92, 246, 0.1);
  --admin-text-primary: #F1F1F4;
  --admin-text-secondary: #8B8FA3;
  --admin-text-muted: #565969;
  --admin-hover-bg: rgba(139, 92, 246, 0.06);
  --admin-active-bg: rgba(139, 92, 246, 0.1);
  --admin-success: #00D4AA;
  --admin-warning: #F59E0B;
  --admin-danger: #EF4444;
  --admin-info: #3B82F6;
}

/* ===== GLOBAL RESET FOR DASHBOARD ===== */
body {
  background: var(--admin-bg) !important;
  min-height: 100vh;
}

/* ===== DASHBOARD LAYOUT ===== */
.dashboard-layout {
  display: grid;
  grid-template-columns: var(--admin-sidebar-width) 1fr;
  min-height: calc(100vh - 64px);
  transition: grid-template-columns 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== SIDEBAR (Admin-matching design) ===== */
.sidebar {
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  width: var(--admin-sidebar-width);
  background: var(--admin-sidebar-bg);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-right: 1px solid var(--admin-sidebar-border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: width 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
}

.sidebar::-webkit-scrollbar { width: 3px; }
.sidebar::-webkit-scrollbar-track { background: transparent; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.06); border-radius: 3px; }
.sidebar::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.1); }

/* Sidebar Header */
.sidebar-header {
  padding: 20px 14px 16px;
  border-bottom: 1px solid var(--admin-sidebar-border);
  flex-shrink: 0;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 6px;
  border-radius: 10px;
  transition: background 0.2s ease;
}

.sidebar-brand:hover { background: rgba(255,255,255,0.03); }

.sidebar-logo {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--admin-accent), #6D28D9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(139,92,246,0.12), inset 0 1px 0 rgba(255,255,255,0.15);
}

.sidebar-logo img { width: 22px; height: 22px; object-fit: contain; }

.sidebar-brand-text {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
}

.sidebar-brand-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--admin-text-primary);
  white-space: nowrap;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.sidebar-brand-subtitle {
  font-size: 0.65rem;
  color: var(--admin-text-muted);
  white-space: nowrap;
}

.sidebar-seller-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 3px 9px;
  background: rgba(0,212,170,0.08);
  border: 1px solid rgba(0,212,170,0.15);
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--admin-success);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.sidebar-seller-badge-dot {
  width: 5px;
  height: 5px;
  background: var(--admin-success);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(0,212,170,0.4);
  animation: seller-pulse 2.5s ease-in-out infinite;
}

@keyframes seller-pulse {
  0%, 100% { opacity: 0.6; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* Sidebar Navigation */
.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 10px 0;
  list-style: none;
  margin: 0;
}

.sidebar-group-label {
  display: flex;
  align-items: center;
  padding: 8px 18px 5px;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--admin-text-muted);
  white-space: nowrap;
  overflow: hidden;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 8px 16px;
  margin: 1px 8px;
  color: var(--admin-text-secondary);
  font-size: 0.82rem;
  font-weight: 450;
  text-decoration: none;
  border-radius: var(--admin-radius, 8px);
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  white-space: nowrap;
}

.sidebar-link .sidebar-icon {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.5;
  transition: all 0.18s ease;
}

.sidebar-link .sidebar-icon svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.7;
  stroke: currentColor;
  fill: none;
}

.sidebar-link:hover {
  background: var(--admin-hover-bg);
  color: var(--admin-text-primary);
}

.sidebar-link:hover .sidebar-icon { opacity: 0.9; }

.sidebar-link.active {
  background: var(--admin-active-bg);
  color: var(--admin-accent);
  font-weight: 500;
}

.sidebar-link.active .sidebar-icon {
  opacity: 1;
  filter: drop-shadow(0 0 5px rgba(139,92,246,0.25));
}

.sidebar-link.active::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5px;
  height: 45%;
  min-height: 18px;
  background: linear-gradient(180deg, var(--admin-accent), #6D28D9);
  border-radius: 0 3px 3px 0;
  box-shadow: 0 0 10px rgba(139,92,246,0.4);
}

.sidebar-link[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  padding: 5px 10px;
  background: rgba(16, 16, 28, 0.97);
  border: 1px solid var(--admin-sidebar-border);
  border-radius: 6px;
  color: var(--admin-text-primary);
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease;
  z-index: 1000;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.sidebar-link[data-tooltip]:hover::after { opacity: 1; }

/* Sidebar Divider */
.sidebar-divider {
  height: 1px;
  background: var(--admin-sidebar-border);
  margin: 6px 18px;
}

/* Sidebar Profile */
.sidebar-profile {
  padding: 12px 14px;
  border-top: 1px solid var(--admin-sidebar-border);
  flex-shrink: 0;
}

.sidebar-profile-inner {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  border-radius: var(--admin-radius, 8px);
  cursor: pointer;
  transition: all 0.18s ease;
  position: relative;
}

.sidebar-profile-inner:hover { background: var(--admin-hover-bg); }

.sidebar-profile-avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #6D28D9, #4F46E5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.75rem;
  color: #fff;
  flex-shrink: 0;
  position: relative;
}

.sidebar-profile-avatar::after {
  content: '';
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 9px;
  height: 9px;
  background: var(--admin-success);
  border-radius: 50%;
  border: 2px solid var(--admin-sidebar-bg);
}

.sidebar-profile-info { flex: 1; overflow: hidden; min-width: 0; }

.sidebar-profile-name {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--admin-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-profile-role {
  font-size: 0.6rem;
  color: var(--admin-text-muted);
  white-space: nowrap;
}

.sidebar-profile-chevron {
  width: 14px;
  height: 14px;
  color: var(--admin-text-muted);
  transition: transform 0.2s ease;
}

.sidebar-profile-dropdown {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 6px;
  right: 6px;
  background: rgba(14, 14, 26, 0.98);
  backdrop-filter: blur(24px);
  border: 1px solid var(--admin-sidebar-border);
  border-radius: 10px;
  padding: 5px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.18s ease;
  z-index: 200;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.sidebar-profile-dropdown.active { opacity: 1; visibility: visible; transform: translateY(0); }

.sidebar-dropdown-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 11px;
  color: var(--admin-text-secondary);
  font-size: 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.12s ease;
  text-decoration: none;
  white-space: nowrap;
}

.sidebar-dropdown-item:hover { background: var(--admin-hover-bg); color: var(--admin-text-primary); }
.sidebar-dropdown-item .sidebar-icon { width: 15px; height: 15px; opacity: 0.5; }
.sidebar-dropdown-item.danger { color: var(--admin-danger); }
.sidebar-dropdown-item.danger:hover { background: rgba(239, 68, 68, 0.08); }

.sidebar-dropdown-divider {
  height: 1px;
  background: var(--admin-sidebar-border);
  margin: 3px 0;
}

.sidebar-section {
  padding: 20px 20px 6px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--admin-text-muted);
  white-space: nowrap;
}

/* Legacy sidebar-nav list support */
.sidebar-nav li { margin: 1px 0; }

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  color: var(--admin-text-secondary);
  font-size: 0.85rem;
  font-weight: 450;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.sidebar-nav a:hover {
  background: var(--admin-hover-bg);
  color: var(--admin-text-primary);
  transform: translateX(2px);
}

.sidebar-nav a.active {
  background: var(--admin-active-bg);
  color: var(--admin-accent);
  font-weight: 500;
}

.sidebar-nav a.active::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 50%;
  min-height: 20px;
  background: linear-gradient(180deg, var(--admin-accent), #6D28D9);
  border-radius: 0 3px 3px 0;
  box-shadow: 0 0 12px var(--admin-glow);
}

/* ===== DASHBOARD CONTENT ===== */
.dashboard-content {
  padding: 32px 40px;
  min-height: calc(100vh - 64px);
  background: var(--admin-bg);
}

/* ===== DASHBOARD HERO / HEADER ===== */
.dash-hero {
  position: relative;
  padding: 32px;
  margin-bottom: 32px;
  background: rgba(15, 15, 25, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.dash-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.4), transparent);
}

.dash-hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.dash-hero:hover {
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.08);
}

.dash-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dash-hero-left h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--admin-text-primary);
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}

.dash-hero-left .subtitle {
  font-size: 0.85rem;
  color: var(--admin-text-muted);
  margin: 0;
}

.dash-hero-badges {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.dash-hero-right {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* ===== STAT CARDS (Premium Glass) ===== */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: rgba(15, 15, 25, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.stat-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(139, 92, 246, 0.08);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.stat-icon.purple { background: rgba(139, 92, 246, 0.12); color: var(--admin-accent); }
.stat-icon.blue { background: rgba(59, 130, 246, 0.12); color: var(--admin-info); }
.stat-icon.green { background: rgba(0, 212, 170, 0.12); color: var(--admin-success); }
.stat-icon.orange { background: rgba(245, 158, 11, 0.12); color: var(--admin-warning); }
.stat-icon.red { background: rgba(239, 68, 68, 0.12); color: var(--admin-danger); }
.stat-icon.teal { background: rgba(0, 229, 195, 0.12); color: #00E5C3; }

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--admin-text-primary);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--admin-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.stat-change {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  font-size: 0.75rem;
  font-weight: 500;
}

.stat-change.positive { color: var(--admin-success); }
.stat-change.negative { color: var(--admin-danger); }

/* ===== CARDS (Glass) ===== */
.card {
  background: rgba(15, 15, 25, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.2s ease;
  margin-bottom: 16px;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.08);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-header h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--admin-text-primary);
  margin: 0;
}

.card-body {
  padding: 0;
}

/* ===== TABLES (Glass) ===== */
.table-wrapper {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(15, 15, 25, 0.4);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

thead {
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: sticky;
  top: 0;
  z-index: 1;
}

th {
  padding: 12px 16px;
  text-align: left;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--admin-text-muted);
  white-space: nowrap;
}

td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  color: var(--admin-text-secondary);
}

tbody tr {
  transition: background 0.15s ease;
}

tbody tr:hover {
  background: rgba(139, 92, 246, 0.03);
}

tbody tr:last-child td {
  border-bottom: none;
}

/* ===== BUTTONS (Unified System) ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #8B5CF6, #6D28D9);
  color: #fff;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.25);
}

.btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--admin-text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--admin-text-primary);
}

.btn-ghost {
  background: transparent;
  color: var(--admin-text-secondary);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--admin-text-primary);
}

.btn-sm {
  padding: 5px 10px;
  font-size: 0.75rem;
  border-radius: 6px;
}

.btn-lg {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ===== BADGES (Pill System) ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.badge-primary {
  background: rgba(139, 92, 246, 0.15);
  color: var(--admin-accent);
}

.badge-success {
  background: rgba(0, 212, 170, 0.15);
  color: var(--admin-success);
}

.badge-warning {
  background: rgba(245, 158, 11, 0.15);
  color: var(--admin-warning);
}

.badge-danger {
  background: rgba(239, 68, 68, 0.15);
  color: var(--admin-danger);
}

.badge-info {
  background: rgba(59, 130, 246, 0.15);
  color: var(--admin-info);
}

.badge-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--admin-text-muted);
}

/* ===== SELLER STATUS CARD ===== */
.seller-status-card {
  background: rgba(15, 15, 25, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.2s ease;
}

.seller-status-card:hover {
  border-color: rgba(255, 255, 255, 0.08);
}

.seller-status-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.seller-status-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--admin-text-primary);
}

/* ===== MODERATION CARD ===== */
.moderation-card {
  background: rgba(15, 15, 25, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.2s ease;
}

.moderation-card:hover {
  border-color: rgba(255, 255, 255, 0.08);
}

.moderation-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.moderation-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--admin-text-primary);
}

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

.moderation-stat {
  text-align: center;
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 8px;
}

.moderation-stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--admin-text-primary);
}

.moderation-stat-label {
  font-size: 0.65rem;
  color: var(--admin-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* ===== WARNING ITEMS ===== */
.warning-item {
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  margin-bottom: 8px;
  transition: all 0.2s ease;
}

.warning-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.warning-item.high { border-left: 3px solid var(--admin-danger); }
.warning-item.medium { border-left: 3px solid var(--admin-warning); }
.warning-item.low { border-left: 3px solid var(--admin-info); }

.warning-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.warning-reason {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--admin-text-primary);
}

.warning-desc {
  font-size: 0.8rem;
  color: var(--admin-text-secondary);
}

.warning-meta {
  font-size: 0.7rem;
  color: var(--admin-text-muted);
}

/* ===== CHART (Premium Glass) ===== */
.chart-container {
  min-height: 200px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  padding: 16px 0;
}

.chart-bar {
  flex: 1;
  max-width: 40px;
  min-height: 4px;
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.6), rgba(139, 92, 246, 0.2));
  border-radius: 4px 4px 0 0;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
}

.chart-bar:hover {
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.8), rgba(139, 92, 246, 0.3));
  transform: scaleY(1.02);
  transform-origin: bottom;
}

/* ===== TOP PERFORMERS ===== */
.performer-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: background 0.15s ease;
}

.performer-item:hover {
  background: rgba(139, 92, 246, 0.03);
}

.performer-item:last-child {
  border-bottom: none;
}

.performer-img {
  width: 48px;
  height: 36px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.performer-info {
  flex: 1;
  min-width: 0;
}

.performer-title {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--admin-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.performer-meta {
  font-size: 0.7rem;
  color: var(--admin-text-muted);
}

.performer-price {
  font-weight: 600;
  color: var(--admin-accent);
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
}

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--admin-text-muted);
}

.empty-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  opacity: 0.5;
}

.empty-state h3 {
  font-size: 1rem;
  color: var(--admin-text-secondary);
  margin-bottom: 8px;
}

.empty-state p {
  font-size: 0.85rem;
}

/* ===== LOADING SKELETON ===== */
.skeleton {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 25%, rgba(255, 255, 255, 0.06) 50%, rgba(255, 255, 255, 0.03) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: 8px;
}

@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ===== GRID UTILITIES ===== */
.grid {
  display: grid;
  gap: 16px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ===== ANIMATIONS ===== */
@keyframes fade-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slide-up {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.stat-card, .card, .dash-hero {
  animation: fade-in 0.3s ease backwards;
}

.stat-card:nth-child(1) { animation-delay: 0.02s; }
.stat-card:nth-child(2) { animation-delay: 0.04s; }
.stat-card:nth-child(3) { animation-delay: 0.06s; }
.stat-card:nth-child(4) { animation-delay: 0.08s; }
.stat-card:nth-child(5) { animation-delay: 0.10s; }
.stat-card:nth-child(6) { animation-delay: 0.12s; }

/* ===== SCROLLBAR ===== */
.dashboard-content::-webkit-scrollbar { width: 6px; }
.dashboard-content::-webkit-scrollbar-track { background: transparent; }
.dashboard-content::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.08); border-radius: 3px; }

/* ===== RESPONSIVE — TABLET ===== */
@media (max-width: 1024px) and (min-width: 769px) {
  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: fixed;
    left: 0;
    top: 64px;
    height: calc(100vh - 64px);
    transform: translateX(-100%);
    z-index: 200;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.3);
    width: var(--admin-sidebar-width);
  }

  .sidebar.mobile-open {
    transform: translateX(0);
  }

  .dashboard-content {
    padding: 28px 24px;
  }

  .admin-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dash-hero {
    padding: 24px;
    margin-bottom: 24px;
  }

  .dash-hero-left h1 {
    font-size: 1.3rem;
  }

  .charts-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== RESPONSIVE — MOBILE ===== */
@media (max-width: 768px) {
  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: fixed;
    left: 0;
    top: 64px;
    height: calc(100vh - 64px);
    transform: translateX(-100%);
    z-index: 200;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.4);
    width: min(85vw, 300px);
  }

  .sidebar.mobile-open {
    transform: translateX(0);
  }

  .dashboard-content {
    padding: 20px 16px;
  }

  .admin-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .stat-card {
    padding: 16px;
  }

  .stat-value {
    font-size: 1.3rem;
  }

  .stat-label {
    font-size: 0.7rem;
  }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

  .dash-hero {
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 12px;
  }

  .dash-hero-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .dash-hero-left h1 {
    font-size: 1.2rem;
  }

  .dash-hero-left .subtitle {
    font-size: 0.8rem;
  }

  .dash-hero-right {
    width: 100%;
    display: flex;
    gap: 8px;
  }

  .dash-hero-right .btn {
    flex: 1;
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .moderation-stats {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .moderation-stat {
    padding: 10px;
  }

  .listing-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .listing-grid-thumb {
    height: 160px;
  }

  .listing-grid-body {
    padding: 12px;
  }

  .listing-grid-title {
    font-size: 0.85rem;
  }

  .listing-grid-price {
    font-size: 1rem;
  }

  .listing-grid-footer {
    padding: 10px 12px;
  }

  .filter-bar {
    flex-direction: column;
    gap: 8px;
    padding: 12px;
  }

  .filter-bar .form-input,
  .filter-bar .form-select {
    min-width: 100%;
    width: 100%;
  }

  .filter-bar .search-input {
    min-width: 100%;
  }

  .bulk-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 14px;
  }

  .bulk-bar .bulk-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .tabs, .tab-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    gap: 2px;
    padding: 3px;
  }

  .tabs::-webkit-scrollbar, .tab-nav::-webkit-scrollbar {
    display: none;
  }

  .tab, .tab-btn, .tab-button {
    white-space: nowrap;
    padding: 8px 14px;
    font-size: 0.8rem;
    flex-shrink: 0;
  }

  .table-wrapper {
    border-radius: 8px;
  }

  th {
    padding: 10px 12px;
    font-size: 0.6rem;
  }

  td {
    padding: 10px 12px;
    font-size: 0.8rem;
  }

  .performer-item {
    padding: 12px 14px;
    gap: 10px;
  }

  .performer-img {
    width: 40px;
    height: 30px;
  }

  .performer-title {
    font-size: 0.8rem;
  }

  .chart-container {
    min-height: 150px;
    padding: 12px 0;
  }

  .chart-bar {
    max-width: 28px;
  }

  .activity-item {
    padding: 12px 14px;
    gap: 10px;
  }

  .activity-icon {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
  }

  .activity-text {
    font-size: 0.78rem;
  }

  .seller-status-card {
    padding: 16px;
  }

  .seller-status-content {
    gap: 12px;
    flex-wrap: wrap;
  }

  .warning-item {
    padding: 10px;
  }

  .warning-desc {
    font-size: 0.78rem;
  }

  .empty-state {
    padding: 32px 16px;
  }

  .empty-icon {
    font-size: 2rem;
  }

  .empty-state h3 {
    font-size: 0.9rem;
  }

  .empty-state p {
    font-size: 0.8rem;
  }

  .pagination {
    gap: 3px;
    margin-top: 16px;
  }

  .pagination button {
    min-width: 30px;
    height: 30px;
    font-size: 0.75rem;
  }
}

/* ===== RESPONSIVE — SMALL PHONES ===== */
@media (max-width: 480px) {
  .dashboard-content {
    padding: 16px 12px;
  }

  .admin-stats-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .stat-card {
    padding: 14px;
  }

  .stat-icon {
    width: 32px;
    height: 32px;
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .stat-value {
    font-size: 1.2rem;
  }

  .stat-label {
    font-size: 0.65rem;
  }

  .dash-hero {
    padding: 16px;
  }

  .dash-hero-left h1 {
    font-size: 1.1rem;
  }

  .dash-hero-badges {
    gap: 6px;
  }

  .dash-hero-right {
    flex-direction: column;
  }

  .listing-grid-thumb {
    height: 140px;
  }

  .pagination button {
    min-width: 28px;
    height: 28px;
    font-size: 0.7rem;
  }
}

/* ===== Shared Dashboard Tab Styles ===== */
.tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: rgba(15, 15, 25, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  margin-bottom: 24px;
}

.tab {
  flex: 1;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--admin-text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--admin-text-primary);
}

.tab.active {
  background: rgba(139, 92, 246, 0.12);
  color: var(--admin-accent);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.1);
}

.tab-content {
  display: none;
}

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

.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: capitalize;
}

.status-badge.approved { background: rgba(0, 212, 170, 0.15); color: #00D4AA; }
.status-badge.pending { background: rgba(245, 158, 11, 0.15); color: #F59E0B; }
.status-badge.rejected { background: rgba(239, 68, 68, 0.15); color: #EF4444; }
.status-badge.sold { background: rgba(139, 92, 246, 0.15); color: #8B5CF6; }

.dash-hero {
  position: relative;
  padding: 32px;
  margin-bottom: 32px;
  background: rgba(15, 15, 25, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.dash-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.4), transparent);
}

.dash-hero:hover {
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.08);
}

/* ============================================================
   PREMIUM DESIGN SYSTEM v2 — Marketplace-grade UI
   ============================================================ */

/* ===== FORM INPUTS (Unified Premium) ===== */
.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--admin-text-secondary);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: var(--admin-text-primary);
  font-size: 0.85rem;
  font-family: inherit;
  transition: all 0.2s ease;
  outline: none;
  box-sizing: border-box;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1), 0 0 20px rgba(139, 92, 246, 0.05);
  background: rgba(255, 255, 255, 0.06);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--admin-text-muted);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238B8FA3' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}

.form-hint {
  font-size: 0.72rem;
  color: var(--admin-text-muted);
  margin-top: 5px;
}

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

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ===== MARKETPLACE LISTING GRID ===== */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.listing-grid-card {
  background: linear-gradient(135deg, rgba(15, 15, 25, 0.8) 0%, rgba(20, 20, 35, 0.6) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  cursor: pointer;
}

.listing-grid-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.listing-grid-card:hover {
  border-color: rgba(139, 92, 246, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(139, 92, 246, 0.1);
}

.listing-grid-card:hover::before {
  opacity: 1;
}

.listing-grid-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
}

.listing-grid-body {
  padding: 16px;
}

.listing-grid-game {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.12);
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--admin-accent);
  margin-bottom: 10px;
}

.listing-grid-game img {
  width: 14px;
  height: 14px;
  border-radius: 3px;
}

.listing-grid-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--admin-text-primary);
  margin-bottom: 10px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.listing-grid-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--admin-success);
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}

.listing-grid-stats {
  display: flex;
  gap: 12px;
  font-size: 0.72rem;
  color: var(--admin-text-muted);
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.listing-grid-stats span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.listing-grid-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.15);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.listing-grid-actions {
  display: flex;
  gap: 4px;
}

.listing-action-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--admin-text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.listing-action-btn:hover {
  background: rgba(139, 92, 246, 0.12);
  color: var(--admin-accent);
}

.listing-action-btn.danger:hover {
  background: rgba(239, 68, 68, 0.12);
  color: var(--admin-danger);
}

.listing-action-btn[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 8px;
  background: rgba(10, 10, 18, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--admin-text-primary);
  font-size: 0.68rem;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* ===== FILTER BAR ===== */
.filter-bar {
  display: flex;
  gap: 10px;
  padding: 14px 18px;
  background: rgba(15, 15, 25, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.filter-bar .form-input,
.filter-bar .form-select {
  width: auto;
  min-width: 140px;
  padding: 8px 12px;
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.03);
}

.filter-bar .search-input {
  flex: 1;
  min-width: 200px;
  position: relative;
}

.filter-bar .search-input input {
  width: 100%;
  padding: 8px 12px 8px 36px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: var(--admin-text-primary);
  font-size: 0.8rem;
  outline: none;
  transition: all 0.2s ease;
}

.filter-bar .search-input input:focus {
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.08);
}

.filter-bar .search-input svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--admin-text-muted);
  pointer-events: none;
}

/* ===== BULK ACTION BAR ===== */
.bulk-bar {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 12px;
  margin-bottom: 16px;
  animation: fade-in 0.2s ease;
}

.bulk-bar.active {
  display: flex;
}

.bulk-bar .bulk-count {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--admin-accent);
  white-space: nowrap;
}

.bulk-bar .bulk-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* ===== PREMIUM STAT CARDS v2 ===== */
.stat-card-v2 {
  background: linear-gradient(135deg, rgba(15, 15, 25, 0.8) 0%, rgba(20, 20, 35, 0.6) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 22px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.stat-card-v2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--stat-accent, rgba(139, 92, 246, 0.4)), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-card-v2:hover {
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.stat-card-v2:hover::before { opacity: 1; }

.stat-card-v2 .stat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.stat-card-v2 .stat-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.stat-card-v2 .stat-trend {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
}

.stat-card-v2 .stat-trend.up {
  background: rgba(0, 212, 170, 0.1);
  color: var(--admin-success);
}

.stat-card-v2 .stat-trend.down {
  background: rgba(239, 68, 68, 0.1);
  color: var(--admin-danger);
}

.stat-card-v2 .stat-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--admin-text-primary);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.stat-card-v2 .stat-label {
  font-size: 0.75rem;
  color: var(--admin-text-muted);
}

/* ===== ACTIVITY FEED ===== */
.activity-feed {
  padding: 0;
}

.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: background 0.15s ease;
}

.activity-item:hover {
  background: rgba(139, 92, 246, 0.03);
}

.activity-item:last-child {
  border-bottom: none;
}

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

.activity-icon.sale { background: rgba(0, 212, 170, 0.1); }
.activity-icon.order { background: rgba(59, 130, 246, 0.1); }
.activity-icon.review { background: rgba(245, 158, 11, 0.1); }
.activity-icon.listing { background: rgba(139, 92, 246, 0.1); }
.activity-icon.payout { background: rgba(0, 229, 195, 0.1); }

.activity-content {
  flex: 1;
  min-width: 0;
}

.activity-text {
  font-size: 0.82rem;
  color: var(--admin-text-secondary);
  line-height: 1.4;
}

.activity-text strong {
  color: var(--admin-text-primary);
  font-weight: 600;
}

.activity-time {
  font-size: 0.7rem;
  color: var(--admin-text-muted);
  margin-top: 3px;
}

/* ===== TOGGLE GROUP ===== */
.toggle-group {
  display: flex;
  gap: 3px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}

.toggle-btn {
  flex: 1;
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--admin-text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.toggle-btn.active {
  background: rgba(139, 92, 246, 0.15);
  color: var(--admin-accent);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.08);
}

/* ===== DROPDOWN SELECT (Custom) ===== */
.form-select-wrapper {
  position: relative;
}

.form-select-wrapper::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--admin-text-muted);
  pointer-events: none;
}

/* ===== PROGRESS BAR ===== */
.progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--admin-accent), #6D28D9);
  border-radius: 3px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== SKELETON CARD ===== */
.skeleton-card {
  background: rgba(15, 15, 25, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  overflow: hidden;
}

.skeleton-card .skeleton-thumb {
  width: 100%;
  height: 180px;
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.03) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
}

.skeleton-card .skeleton-body {
  padding: 16px;
}

.skeleton-card .skeleton-line {
  height: 12px;
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.03) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: 4px;
  margin-bottom: 10px;
}

.skeleton-card .skeleton-line:last-child {
  width: 60%;
  margin-bottom: 0;
}
