/* BRABR — tema dinâmico (admin) */
:root {
  --theme-accent: #22c55e;
  --theme-accent-hover: #16a34a;
  --theme-accent-secondary: #34d399;
  --theme-bg-body: #03150f;
  --theme-bg-card: #06251c;
  --theme-bg-header: #04261c;
  --theme-bg-input: #04140f;
  --theme-text-secondary: #6ee7b7;
  --theme-brand-bar: #059669;
  --theme-tabbar-bg: #1a2c38;
  --theme-tabbar-border: #2f4553;
  --theme-warning: #f59e0b;
  --theme-danger: #ef4444;
  --accent-green: #22c55e;
  --accent-green-hover: #16a34a;
  --accent-hover: #16a34a;
  --accent: #34d399;
  --accent-h: #059669;
  --header-bg: #03150f;
  --wallet-bg: #06251c;
  --bg-body: #03150f;
  --bg-darker: #04140f;
  --bg-card: #06251c;
  --bg-hover: #06251c;
  --bg-input: #04140f;
  --bg-3: #06251c;
  --bg-4: #06251c;
  --text-secondary: #6ee7b7;
  --text-gray: #6ee7b7;
  --text-3: #6ee7b7;
  --brand-violet-2: #059669;
  --accent-dim: rgba(34,197,94,0.12);
  --accent-bd: rgba(34,197,94,0.28);
  --accent-bd2: rgba(34,197,94,0.55);
  --live-color: #34d399;
  --live-dim: rgba(52,211,153,0.13);
  --live-bd: rgba(52,211,153,0.28);
  --warning: #f59e0b;
  --danger: #ef4444;
  --tabbar-bg: #1a2c38;
  --tabbar-border: #2f4553;
  --tabbar-active: #22c55e;
}

html, body {
  background: #03150f !important;
  color: #fff !important;
}

.main-header {
  background: linear-gradient(180deg, #04261c 0%, #03150f 120%) !important;
}

.main-header.br-header {
  background: linear-gradient(180deg, #04261c 0%, #059669 100%) !important;
  border-bottom-color: rgba(34,197,94,0.28) !important;
}

.br-header-deposit-btn {
  background: linear-gradient(180deg, #34d399, #22c55e) !important;
  color: #03150f !important;
  box-shadow: 0 6px 18px rgba(34,197,94,0.12) !important;
}
.br-header-deposit-btn:hover {
  background: linear-gradient(180deg, #34d399, #16a34a) !important;
}

.br-header-balance-pill,
.br-header-balance-pill.balance-display {
  background: #ffffff !important;
  color: #0f172a !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
}
.br-header-balance-pill:hover,
.br-header-balance-pill.balance-display:hover {
  background: #ffffff !important;
  border-color: transparent !important;
}
.br-header-balance-pill #headerBalance {
  color: #0f172a !important;
}
.br-header-balance-pill .br-header-chevron {
  color: #475569 !important;
}
.br-header-balance-pill .br-header-refresh {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}
.br-header-balance-pill .br-header-refresh:hover {
  background: #e2e8f0 !important;
}

.br-header-guest-btn--primary {
  background: linear-gradient(135deg, #34d399, #22c55e, #16a34a) !important;
  color: #03150f !important;
  font-weight: 900 !important;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.2) inset,
    0 8px 24px rgba(34,197,94,0.12),
    0 0 28px rgba(34,197,94,0.28) !important;
}
.br-header-guest-btn--primary:hover {
  background: linear-gradient(135deg, #34d399, #16a34a, #16a34a) !important;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.28) inset,
    0 10px 28px rgba(34,197,94,0.12),
    0 0 34px rgba(34,197,94,0.55) !important;
}

.br-header-icon-btn,
.br-header-guest-btn:not(.br-header-guest-btn--primary) {
  border-color: rgba(34,197,94,0.55) !important;
  background: rgba(34,197,94,0.12) !important;
}
.br-header-guest-btn:not(.br-header-guest-btn--primary) {
  background: transparent !important;
  border-color: rgba(34,197,94,0.28) !important;
  color: #6ee7b7 !important;
}
.br-header-icon-btn:hover {
  border-color: #34d399 !important;
  background: rgba(52,211,153,0.13) !important;
}

.br-header-logo-ring {
  background: conic-gradient(from 120deg, #f59e0b, #34d399, #22c55e, #059669, #f59e0b) !important;
  box-shadow: 0 0 16px rgba(34,197,94,0.12) !important;
}
.br-header-logo-ring::before {
  background: #04261c !important;
}

.br-header-greeting {
  color: #6ee7b7 !important;
}

#headerBalance.increasing {
  color: #22c55e !important;
}
#headerBalance.decreasing {
  color: #ef4444 !important;
}

.promo-strip {
  background: #059669 !important;
}

.promo-cta {
  background: #22c55e !important;
}
.promo-cta:hover {
  background: #16a34a !important;
}

.hdr-nav-link:hover i,
.hdr-nav-link.active i,
.hdr-nav-link.active {
  color: #22c55e !important;
}

.btn-primary,
.br-btn-primary,
.error-btn-primary {
  background: #22c55e !important;
  color: #04210f !important;
}
.btn-primary:hover,
.br-btn-primary:hover,
.error-btn-primary:hover {
  background: #16a34a !important;
}

.balance-display:not(.br-header-balance-pill),
.amount.increasing,
.bet-amount.win,
.legal-title,
.contact-link,
.footer-link:hover,
.nav-link.active {
  color: #22c55e !important;
}

.nav-link.active {
  border-bottom-color: #22c55e !important;
}

.main-nav {
  background: #04140f !important;
}

.btn-deposit-header,
.btn-ghost:hover,
.contact-horario i,
.payment-badge i {
  color: #22c55e !important;
}

/* Tabbar */
.tabbar {
  background: #1a2c38 !important;
  border-top-color: #2f4553 !important;
}
.tabbar-item:hover,
.tabbar-item.active {
  color: #22c55e !important;
}
.tabbar-item.active::after {
  background: #22c55e !important;
}

/* Cassino / jogos */
.pf-chip.active,
.game-provider,
.btn-ver-todos:hover,
.nav-btn:hover:not(:disabled) {
  color: #22c55e !important;
  border-color: rgba(34,197,94,0.28) !important;
}
.game-card:hover {
  border-color: rgba(34,197,94,0.28) !important;
}
.search-bar:focus-within {
  border-color: rgba(34,197,94,0.55) !important;
}

/* Admin preview badge */
.theme-preview-accent {
  background: #22c55e;
}
.theme-preview-bg {
  background: #03150f;
}
.theme-preview-card {
  background: #06251c;
}
