/**
 * Config Bot Overview - Modern 2025 Design
 * Glassmorphism, Gradients, Animations, Bento Grid
 */

/* ============================================
   Base Section
   ============================================ */
.overview-2025 {
  padding: 0;
  max-width: 100%;
}

/* ============================================
   Loading Skeleton
   ============================================ */
.overview-skeleton {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.skeleton-header {
  height: 100px;
  background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-secondary) 50%, var(--bg-tertiary) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 16px;
  margin-bottom: 24px;
}

.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.skeleton-card {
  height: 140px;
  background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-secondary) 50%, var(--bg-tertiary) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 16px;
}

.skeleton-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.skeleton-block {
  height: 300px;
  background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-secondary) 50%, var(--bg-tertiary) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 16px;
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* ============================================
   Health Banner
   ============================================ */
.health-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-radius: 20px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.health-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background: linear-gradient(135deg, currentColor 0%, transparent 60%);
  pointer-events: none;
}

.health-banner.excellent {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(6, 182, 212, 0.1) 100%);
  border-color: rgba(16, 185, 129, 0.3);
  color: #10b981;
}

.health-banner.good {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(139, 92, 246, 0.1) 100%);
  border-color: rgba(59, 130, 246, 0.3);
  color: #3b82f6;
}

.health-banner.warning {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(251, 191, 36, 0.1) 100%);
  border-color: rgba(245, 158, 11, 0.3);
  color: #f59e0b;
}

.health-banner.critical {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(245, 158, 11, 0.1) 100%);
  border-color: rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.health-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.health-score-ring {
  position: relative;
  width: 56px;
  height: 56px;
}

.health-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 3;
}

.ring-fill {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  transition: stroke-dasharray 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.health-percent {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.health-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.health-icon {
  font-size: 28px;
  line-height: 1;
}

.health-text h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.health-text p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 4px 0 0;
}

.health-checks {
  display: flex;
  gap: 20px;
}

.health-check {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.health-check.active {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

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

/* ============================================
   Bento Grid - Main Stats
   ============================================ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.bento-card {
  position: relative;
  padding: 24px;
  border-radius: 20px;
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.bento-card:hover .bento-glow {
  opacity: 1;
}

.bento-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.bento-players .bento-glow {
  background: radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.15), transparent 50%);
}

.bento-collections .bento-glow {
  background: radial-gradient(circle at 30% 30%, rgba(139, 92, 246, 0.15), transparent 50%);
}

.bento-champions .bento-glow {
  background: radial-gradient(circle at 30% 30%, rgba(251, 191, 36, 0.15), transparent 50%);
}

.bento-active .bento-glow {
  background: radial-gradient(circle at 30% 30%, rgba(16, 185, 129, 0.15), transparent 50%);
}

.bento-content {
  position: relative;
  z-index: 1;
}

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

.bento-icon {
  font-size: 28px;
  line-height: 1;
}

.bento-sparkline {
  width: 80px;
  height: 24px;
}

.sparkline-path {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.3s ease;
}

.sparkline-path.up {
  stroke: #10b981;
}

.sparkline-path.down {
  stroke: #ef4444;
}

.sparkline-path.neutral {
  stroke: #64748b;
}

.bento-value {
  font-size: 42px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}

.bento-label {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

.bento-trend {
  margin-top: 12px;
}

.trend-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.trend-badge.up {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.trend-badge.down {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.bento-meta {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-tertiary);
}

/* Bento Active - Mini Stats Grid */
.bento-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.mini-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  transition: background 0.3s ease;
}

.mini-stat:hover {
  background: rgba(255, 255, 255, 0.06);
}

.mini-icon {
  font-size: 20px;
  margin-bottom: 8px;
}

.mini-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.mini-label {
  font-size: 11px;
  color: var(--text-tertiary);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================
   Theme Showcase
   ============================================ */
.theme-showcase {
  position: relative;
  padding: 32px;
  border-radius: 24px;
  margin-bottom: 24px;
  overflow: hidden;
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.theme-showcase-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(139, 92, 246, 0.1) 0%,
    rgba(59, 130, 246, 0.05) 50%,
    rgba(16, 185, 129, 0.05) 100%
  );
  pointer-events: none;
}

.theme-showcase-bg::before {
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 40%);
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30%, 30%); }
}

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

.theme-main {
  flex: 1;
}

.theme-badge {
  display: inline-block;
  padding: 6px 14px;
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
  color: white;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.theme-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 16px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-edit-theme {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-edit-theme:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-edit-theme svg {
  opacity: 0.7;
}

.theme-metrics {
  display: flex;
  gap: 24px;
}

.theme-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.metric-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 3px solid var(--color, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.theme-metric:hover .metric-ring {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.theme-metric.highlight .metric-ring {
  background: rgba(251, 191, 36, 0.1);
}

.metric-label {
  font-size: 12px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================
   No Theme State
   ============================================ */
.no-theme-state {
  text-align: center;
  padding: 60px 40px;
  background: var(--bg-secondary);
  border-radius: 24px;
  margin-bottom: 24px;
  border: 2px dashed rgba(255, 255, 255, 0.1);
}

.no-theme-visual {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 24px;
}

.no-theme-icon {
  position: relative;
  z-index: 1;
  font-size: 60px;
  line-height: 100px;
}

.no-theme-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(59, 130, 246, 0.2));
  animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 0.2; }
  100% { transform: scale(1); opacity: 0.5; }
}

.no-theme-state h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px;
}

.no-theme-state p {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0 0 24px;
}

.btn-primary-glow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
  border: none;
  border-radius: 14px;
  color: white;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

.btn-primary-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(139, 92, 246, 0.4);
}

/* ============================================
   Two Column Layout
   ============================================ */
.overview-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

/* ============================================
   Glass Card
   ============================================ */
.glass-card {
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

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

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

.header-icon {
  font-size: 24px;
}

.card-header-modern h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.btn-link-modern {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--accent-primary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-link-modern:hover {
  background: rgba(139, 92, 246, 0.1);
}

.btn-link-modern svg {
  transition: transform 0.3s ease;
}

.btn-link-modern:hover svg {
  transform: translateX(4px);
}

/* Live Indicator */
.live-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(239, 68, 68, 0.1);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #ef4444;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  animation: live-pulse 1.5s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* ============================================
   Leaderboard
   ============================================ */
.leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.leaderboard-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 14px;
  transition: all 0.3s ease;
}

.leaderboard-item:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(4px);
}

.leaderboard-item.gold {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(245, 158, 11, 0.05));
  border: 1px solid rgba(251, 191, 36, 0.2);
}

.leaderboard-item.silver {
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.1), rgba(100, 116, 139, 0.05));
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.leaderboard-item.bronze {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.1), rgba(180, 83, 9, 0.05));
  border: 1px solid rgba(217, 119, 6, 0.2);
}

.rank-badge {
  font-size: 20px;
  min-width: 36px;
  text-align: center;
}

.player-info {
  flex: 1;
}

.player-name {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.player-progress-modern {
  display: flex;
  align-items: center;
  gap: 12px;
}

.progress-track {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill-animated {
  height: 100%;
  background: linear-gradient(90deg, #8b5cf6, #6366f1);
  border-radius: 3px;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.leaderboard-item.gold .progress-fill-animated {
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

.progress-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  min-width: 50px;
  text-align: right;
}

/* ============================================
   Activity Feed
   ============================================ */
.activity-feed {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 380px;
  overflow-y: auto;
}

.activity-feed::-webkit-scrollbar {
  width: 4px;
}

.activity-feed::-webkit-scrollbar-track {
  background: transparent;
}

.activity-feed::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.activity-item-modern {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.activity-item-modern:hover {
  background: rgba(255, 255, 255, 0.03);
}

.activity-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--activity-color, #8b5cf6) 15%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.activity-icon {
  font-size: 18px;
}

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

.activity-description {
  display: block;
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.activity-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}

.activity-type {
  font-weight: 600;
}

.activity-time {
  color: var(--text-tertiary);
}

/* ============================================
   Empty State
   ============================================ */
.empty-state-modern {
  text-align: center;
  padding: 40px 20px;
}

.empty-icon {
  font-size: 48px;
  opacity: 0.5;
  display: block;
  margin-bottom: 12px;
}

.empty-state-modern p {
  color: var(--text-tertiary);
  font-size: 14px;
  margin: 0;
}

/* ============================================
   Quick Actions
   ============================================ */
.quick-actions-modern {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.action-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 16px;
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.action-btn:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.12);
}

.action-btn:hover .action-icon-bg {
  transform: scale(1.5);
  opacity: 1;
}

.action-icon-bg {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  opacity: 0;
  transition: all 0.4s ease;
  pointer-events: none;
}

.action-icon-bg.campaigns {
  background: radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.15), transparent 50%);
}

.action-icon-bg.branding {
  background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.15), transparent 50%);
}

.action-icon-bg.notifications {
  background: radial-gradient(circle at 50% 50%, rgba(251, 191, 36, 0.15), transparent 50%);
}

.action-icon-bg.badges {
  background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.15), transparent 50%);
}

.action-icon {
  font-size: 28px;
  position: relative;
  z-index: 1;
}

.action-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.action-btn:hover .action-text {
  color: var(--text-primary);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1200px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .theme-showcase-content {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .theme-main {
    order: 1;
  }

  .theme-metrics {
    order: 2;
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .overview-columns {
    grid-template-columns: 1fr;
  }

  .health-banner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .health-content {
    flex-direction: column;
  }

  .health-checks {
    flex-wrap: wrap;
    justify-content: center;
  }

  .quick-actions-modern {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-value {
    font-size: 32px;
  }

  .theme-metrics {
    flex-wrap: wrap;
    gap: 16px;
  }

  .quick-actions-modern {
    grid-template-columns: 1fr;
  }

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

  .skeleton-content {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Light Mode Adjustments
   ============================================ */
[data-theme="light"] .bento-card,
[data-theme="light"] .glass-card,
[data-theme="light"] .theme-showcase,
[data-theme="light"] .action-btn {
  background: var(--bg-primary);
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .health-banner {
  border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .leaderboard-item {
  background: rgba(0, 0, 0, 0.02);
}

[data-theme="light"] .leaderboard-item:hover {
  background: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .mini-stat {
  background: rgba(0, 0, 0, 0.02);
}

[data-theme="light"] .mini-stat:hover {
  background: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .activity-item-modern:hover {
  background: rgba(0, 0, 0, 0.02);
}

[data-theme="light"] .progress-track {
  background: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .health-check {
  background: rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .no-theme-state {
  background: var(--bg-primary);
  border-color: rgba(0, 0, 0, 0.15);
}

/* ============================================
   Legacy Support (Keep old classes working)
   ============================================ */
.config-bot-section {
  animation: fadeInUp 0.3s ease-out;
}

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

.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px;
  gap: 16px;
}

.loading-state p {
  color: var(--text-secondary);
  margin: 0;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(139, 92, 246, 0.2);
  border-top-color: #8b5cf6;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
