/* BitBest — Vivid Tri-Color theme (orange #FF8000, yellow #FFFF00, lime #80FF00) */

html[data-theme="vivid"] {
  --color-1: #FF8000;
  --color-2: #FFFF00;
  --color-3: #80FF00;
}

html[data-theme="vivid"] .btn {
  letter-spacing: 0.02em;
  text-transform: none;
  border-radius: 10px;
  font-weight: 600;
}
html[data-theme="vivid"] .btn-glow { animation: none; }
html[data-theme="vivid"] .btn-primary {
  background: linear-gradient(135deg, var(--color-1), #e67300) !important;
  color: #1a1408 !important;
  box-shadow: 0 4px 14px rgba(255, 128, 0, 0.35);
}
html[data-theme="vivid"] .btn-primary:hover {
  background: linear-gradient(135deg, #e67300, #cc6600) !important;
}
html[data-theme="vivid"] .btn-outline {
  color: var(--color-1) !important;
  border-color: #fde68a !important;
}
html[data-theme="vivid"] .btn-outline:hover {
  background: #ffffff !important;
  border-color: var(--color-1) !important;
}
html[data-theme="vivid"] .gradient-text {
  background: linear-gradient(135deg, var(--color-1), var(--color-3)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

html[data-theme="vivid"] .header {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #fde68a;
  box-shadow: 0 1px 8px rgba(255, 128, 0, 0.06);
}
html[data-theme="vivid"] .nav a:hover { color: var(--color-1); }
html[data-theme="vivid"] .hero { background: #fff; padding-top: 120px; }
html[data-theme="vivid"] .hero-title { color: #1a1408; }
html[data-theme="vivid"] .stat-value { color: var(--color-1); }
html[data-theme="vivid"] .stat-card,
html[data-theme="vivid"] .bot-panel,
html[data-theme="vivid"] .commission-card,
html[data-theme="vivid"] .tier-card,
html[data-theme="vivid"] .step-card,
html[data-theme="vivid"] .dash-card,
html[data-theme="vivid"] .panel-box,
html[data-theme="vivid"] .auth-card {
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(255, 128, 0, 0.08);
  border-color: #fde68a !important;
}
html[data-theme="vivid"] .section-tag {
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(135deg, rgba(255, 255, 0, 0.25), rgba(128, 255, 0, 0.15));
  color: #b45309;
  border-radius: 20px;
  font-weight: 600;
  border: 1px solid rgba(255, 128, 0, 0.2);
}
html[data-theme="vivid"] .step-num {
  background: linear-gradient(135deg, var(--color-1), var(--color-3));
  color: #1a1408;
}
html[data-theme="vivid"] .auth-card {
  box-shadow: 0 12px 40px rgba(255, 128, 0, 0.1);
}
html[data-theme="vivid"] .auth-form input:focus,
html[data-theme="vivid"] .form-group input:focus {
  border-color: var(--color-1) !important;
  box-shadow: 0 0 0 3px rgba(255, 128, 0, 0.15);
}
html[data-theme="vivid"] .sidebar-nav a:hover,
html[data-theme="vivid"] .sidebar-nav a.active {
  background: rgba(255, 255, 0, 0.12) !important;
  color: #b45309 !important;
}
html[data-theme="vivid"] .sidebar-nav a.active {
  border-left: 3px solid var(--color-1);
}
html[data-theme="vivid"] .sidebar-nav a.active i { color: var(--color-1) !important; }
html[data-theme="vivid"] .mobile-nav-item.active { color: var(--color-1) !important; }
html[data-theme="vivid"] .dash-value.green,
html[data-theme="vivid"] .green,
html[data-theme="vivid"] .value.green { color: #5cb800 !important; }
html[data-theme="vivid"] .dash-value.cyan,
html[data-theme="vivid"] .cyan,
html[data-theme="vivid"] .value.cyan { color: var(--color-1) !important; }
html[data-theme="vivid"] .dash-value.purple,
html[data-theme="vivid"] .purple { color: var(--color-3) !important; }
html[data-theme="vivid"] .progress-fill {
  background: linear-gradient(90deg, var(--color-1), var(--color-3)) !important;
}
html[data-theme="vivid"] .bot-visual-face {
  border-color: var(--color-1) !important;
  box-shadow: 0 4px 16px rgba(255, 128, 0, 0.2) !important;
}
html[data-theme="vivid"] .bot-visual-eye { background: var(--color-1) !important; }
html[data-theme="vivid"] .bot-visual-mouth { border-bottom-color: var(--color-3) !important; }
html[data-theme="vivid"] .bot-dashboard-panel .panel-header {
  background: linear-gradient(135deg, rgba(255, 128, 0, 0.12), rgba(255, 255, 0, 0.08)) !important;
}
html[data-theme="vivid"] .tier-mobile-active,
html[data-theme="vivid"] .tier-row-active {
  border-color: var(--color-1) !important;
  background: rgba(255, 128, 0, 0.06) !important;
}
html[data-theme="vivid"] .status-pill-active {
  background: rgba(128, 255, 0, 0.15) !important;
  color: #5cb800 !important;
  border-color: rgba(128, 255, 0, 0.35) !important;
}
html[data-theme="vivid"] .flash-success {
  background: rgba(128, 255, 0, 0.12);
  color: #5cb800;
}
html[data-theme="vivid"] .flash-error {
  background: #fef2f2;
  color: #e63946;
}
html[data-theme="vivid"] .search-bar-inner:focus-within {
  border-color: var(--color-1);
  box-shadow: 0 0 0 3px rgba(255, 128, 0, 0.12);
}
html[data-theme="vivid"] .rw-icon,
html[data-theme="vivid"] .rw-code-value { color: var(--color-1); }
html[data-theme="vivid"] .footer {
  background: #ffffff;
  border-top: 1px solid #fde68a;
}

/* Homepage — no grey panels on white theme */
html[data-theme="vivid"] .panel-header {
  background: linear-gradient(135deg, rgba(255, 128, 0, 0.1), rgba(255, 255, 0, 0.08)) !important;
}
html[data-theme="vivid"] .terminal-log,
html[data-theme="vivid"] .metric,
html[data-theme="vivid"] .tier-bar,
html[data-theme="vivid"] .input-group input {
  background: #ffffff !important;
}
html[data-theme="vivid"] .bot-face {
  background: linear-gradient(145deg, #ffffff, rgba(255, 255, 0, 0.15)) !important;
  border-color: var(--color-1) !important;
}
html[data-theme="vivid"] .rw-icon {
  background: rgba(255, 128, 0, 0.08) !important;
  border: 1px solid #fde68a;
}
html[data-theme="vivid"] .dash-welcome {
  background: linear-gradient(135deg, rgba(255, 128, 0, 0.08), rgba(255, 255, 0, 0.06)) !important;
}
html[data-theme="vivid"] .dash-pill,
html[data-theme="vivid"] .responsive-table tbody tr,
html[data-theme="vivid"] .pagination a,
html[data-theme="vivid"] .filter-tabs a:not(.active),
html[data-theme="vivid"] .message-item,
html[data-theme="vivid"] .umb-icon,
html[data-theme="vivid"] .wallet-address,
html[data-theme="vivid"] .country-flag-display,
html[data-theme="vivid"] .next-rank-progress {
  background: #ffffff !important;
}
html[data-theme="vivid"] .next-rank-progress {
  border: 1px solid #fde68a;
}
html[data-theme="vivid"] .flash-error {
  background: rgba(230, 57, 70, 0.08) !important;
}
html[data-theme="vivid"] .auth-form input,
html[data-theme="vivid"] .form-group input,
html[data-theme="vivid"] .form-group select,
html[data-theme="vivid"] .form-group textarea {
  background: #ffffff !important;
}
html[data-theme="vivid"] .mobile-menu-btn {
  background: rgba(255, 128, 0, 0.1) !important;
}
html[data-theme="vivid"] .mobile-nav-item.active,
html[data-theme="vivid"] .mobile-nav-item:hover {
  background: rgba(255, 255, 0, 0.12) !important;
}
html[data-theme="vivid"] .cta-inner,
html[data-theme="vivid"] .commission-card,
html[data-theme="vivid"] .step-card {
  background: #ffffff !important;
}
html[data-theme="vivid"] .row-active,
html[data-theme="vivid"] .tier-row-active {
  background: #fffbeb !important;
}
html[data-theme="vivid"] .auth-card,
html[data-theme="vivid"] .alert-info {
  background: #ffffff !important;
}

@media (max-width: 768px) {
  html[data-theme="vivid"] .btn,
  html[data-theme="vivid"] .mobile-nav-item,
  html[data-theme="vivid"] .sidebar-nav a {
    min-height: 44px;
  }
  html[data-theme="vivid"] .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  html[data-theme="vivid"] .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}