/* ============================================================
   betting.css — styles for renderBettingBars output
   ============================================================ */

/* ── Group wrapper ── */
.betting-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ── Group title ── */
.betting-group__title {
  font-weight: 600;
  color: #93c5fd;
  text-align: center;
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

/* ── Single row ── */
.betting-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* ── Row header (label + percentage) ── */
.betting-row__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #d1d5db;
  font-size: 0.875rem;
}

.betting-row__header--sm {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-bottom: 0.125rem;
}

.betting-row__pct {
  font-weight: 500;
}

/* ── Row label (double type) ── */
.betting-row__label {
  color: #d1d5db;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

/* ── Double columns ── */
.betting-double-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

/* ── Bar track ── */
.betting-bar-track {
  position: relative;
  height: 0.75rem;
  border-radius: 9999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

/* ── Bar fill (width + background set inline via JS) ── */
.betting-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 9999px;
  transition: width 0.7s ease;
}
/* ============================================================
   LIGHT THEME OVERRIDES — betting.css
   ============================================================ */

[data-theme="light"] .betting-group__title {
  color: var(--lt-text);
}
[data-theme="light"] .betting-row__header {
  color: var(--lt-text-2);
}
[data-theme="light"] .betting-row__header--sm {
  color: var(--lt-text-3);
}
[data-theme="light"] .betting-row__label {
  color: var(--lt-text-2);
}
[data-theme="light"] .betting-bar-track {
  background: var(--lt-btn-bg);
}