/* ==========================================================================
   BET SOCCER - RUOTA DELLA FORTUNA PRONOSTICI CALCIO (STADIUM NEON THEME)
   ========================================================================== */

:root {
  --bs-bg-dark: #070b14;
  --bs-card-bg: rgba(15, 23, 42, 0.85);
  --bs-card-border: rgba(255, 255, 255, 0.08);
  --bs-primary-glow: #10b981;
  --bs-primary-subtle: rgba(16, 185, 129, 0.15);
  --bs-accent-gold: #f59e0b;
  --bs-accent-cyan: #06b6d4;
  --bs-accent-purple: #8b5cf6;
  --bs-text-main: #f8fafc;
  --bs-text-muted: #94a3b8;
  --bs-shadow-glow: 0 10px 35px -5px rgba(16, 185, 129, 0.25);
  --bs-shadow-gold: 0 10px 35px -5px rgba(245, 158, 11, 0.35);
  --bs-radius-lg: 20px;
  --bs-radius-md: 14px;
}

.bet-soccer-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 1rem 4rem;
  color: var(--bs-text-main);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  box-sizing: border-box;
}

/* --- Hero Banner --- */
.bs-hero {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.bs-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(6, 182, 212, 0.2));
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #34d399;
  margin-bottom: 0.75rem;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.bs-hero-title {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 0.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bs-hero-sub {
  color: var(--bs-text-muted);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  max-width: 680px;
  margin: 0 auto;
}

/* --- Match Setup Grid --- */
.bs-setup-card {
  background: var(--bs-card-bg);
  border: 1px solid var(--bs-card-border);
  border-radius: var(--bs-radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  margin-bottom: 2rem;
}

.bs-setup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bs-setup-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
}

.bs-quick-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.bs-btn-subtle {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--bs-text-main);
  border-radius: 8px;
  padding: 0.4rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.bs-btn-subtle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

/* --- Selectors Row --- */
.bs-selectors-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.25rem;
  align-items: center;
}

@media (max-width: 860px) {
  .bs-selectors-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.bs-team-box {
  position: relative;
}

.bs-team-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.bs-team-label.home-color { color: #38bdf8; }
.bs-team-label.away-color { color: #f43f5e; }

/* Custom Search Combo-Box */
.bs-combo-wrapper {
  position: relative;
}

.bs-combo-input-box {
  display: flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.95);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--bs-radius-md);
  padding: 0.6rem 0.9rem;
  gap: 0.6rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.bs-combo-input-box:focus-within,
.bs-combo-wrapper.is-open .bs-combo-input-box {
  border-color: var(--bs-primary-glow);
  box-shadow: 0 0 0 4px var(--bs-primary-subtle);
  background: #0f172a;
}

.bs-selected-badge {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.bs-combo-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  outline: none;
  width: 100%;
}

.bs-combo-input::placeholder {
  color: var(--bs-text-muted);
  font-weight: 400;
}

.bs-combo-clear {
  background: none;
  border: none;
  color: var(--bs-text-muted);
  cursor: pointer;
  padding: 0.2rem;
  display: none;
  font-size: 1rem;
}

.bs-combo-clear.is-visible { display: block; }
.bs-combo-clear:hover { color: #f43f5e; }

/* Dropdown list */
.bs-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--bs-radius-md);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
  max-height: 340px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.bs-combo-wrapper.is-open .bs-dropdown {
  display: block;
  animation: bsDropIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.bs-dropdown-filter-bar {
  display: flex;
  gap: 0.4rem;
  padding: 0.5rem 0.6rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
  white-space: nowrap;
}

.bs-tag-filter {
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--bs-text-muted);
  cursor: pointer;
  transition: all 0.15s;
}

.bs-tag-filter.is-active, .bs-tag-filter:hover {
  background: var(--bs-primary-glow);
  color: #000;
  font-weight: 700;
  border-color: var(--bs-primary-glow);
}

.bs-team-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: background 0.15s ease;
}

.bs-team-item:hover, .bs-team-item.is-focused {
  background: rgba(16, 185, 129, 0.12);
}

.bs-team-item-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.bs-team-flag {
  font-size: 1.3rem;
  line-height: 1;
}

.bs-team-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

.bs-team-country {
  font-size: 0.78rem;
  color: var(--bs-text-muted);
}

.bs-team-badge-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
}

.bs-team-badge-tag.serie-a { background: rgba(56, 189, 248, 0.15); color: #38bdf8; border-color: rgba(56, 189, 248, 0.3); }
.bs-team-badge-tag.premier { background: rgba(168, 85, 247, 0.15); color: #c084fc; border-color: rgba(168, 85, 247, 0.3); }
.bs-team-badge-tag.liga { background: rgba(234, 179, 8, 0.15); color: #facc15; border-color: rgba(234, 179, 8, 0.3); }
.bs-team-badge-tag.serie-b { background: rgba(16, 185, 129, 0.15); color: #34d399; border-color: rgba(16, 185, 129, 0.3); }
.bs-team-badge-tag.serie-c { background: rgba(249, 115, 22, 0.15); color: #fb923c; border-color: rgba(249, 115, 22, 0.3); }
.bs-team-badge-tag.serie-d { background: rgba(244, 63, 94, 0.15); color: #fb7185; border-color: rgba(244, 63, 94, 0.3); }

/* Custom Add Team Row in Dropdown */
.bs-add-custom-row {
  padding: 0.75rem 0.85rem;
  background: rgba(6, 182, 212, 0.08);
  border-top: 1px solid rgba(6, 182, 212, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: #38bdf8;
  font-size: 0.88rem;
  font-weight: 600;
}
.bs-add-custom-row:hover {
  background: rgba(6, 182, 212, 0.18);
}

/* VS Swap Button */
.bs-vs-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.bs-swap-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 2px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.bs-swap-btn:hover {
  transform: rotate(180deg) scale(1.1);
  border-color: var(--bs-primary-glow);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

.bs-vs-badge {
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--bs-text-muted);
  letter-spacing: 0.1em;
}

/* --- Live Clash Preview Stadium Bar --- */
.bs-matchup-preview {
  margin-top: 1.5rem;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--bs-radius-md);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1rem;
}

.bs-preview-team {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.bs-preview-team.away {
  flex-direction: row-reverse;
}

.bs-preview-flag {
  font-size: 2rem;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.bs-preview-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

.bs-preview-sub {
  font-size: 0.78rem;
  color: var(--bs-text-muted);
}

.bs-preview-vs-pill {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #000;
  font-weight: 900;
  font-size: 0.85rem;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}

/* --- WHEEL ARENA SECTION --- */
.bs-arena-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 992px) {
  .bs-arena-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.bs-wheel-card {
  background: var(--bs-card-bg);
  border: 1px solid var(--bs-card-border);
  border-radius: var(--bs-radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Wheel Canvas Wrapper */
.bs-wheel-stage {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1 / 1;
  margin: 1rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bs-wheel-glow-bg {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, rgba(6, 182, 212, 0.15) 50%, transparent 75%);
  filter: blur(25px);
  pointer-events: none;
  animation: bsPulseGlow 3s ease-in-out infinite alternate;
}

@keyframes bsPulseGlow {
  0% { transform: scale(0.95); opacity: 0.6; }
  100% { transform: scale(1.05); opacity: 1; }
}

#bsFortuneWheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7), 0 0 0 8px #0f172a, 0 0 0 11px rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: transform 0.1s linear;
}

/* Pointer Needle (Freccia superiore) */
.bs-wheel-pointer {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 38px;
  height: 48px;
  z-index: 10;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6));
  transform-origin: 50% 12px;
}

.bs-wheel-pointer.is-ticking {
  animation: bsNeedleBounce 0.08s ease-in-out infinite alternate;
}

@keyframes bsNeedleBounce {
  0% { transform: translateX(-50%) rotate(0deg); }
  50% { transform: translateX(-50%) rotate(-12deg); }
  100% { transform: translateX(-50%) rotate(8deg); }
}

/* Wheel Center Hub (Bottone / Tappo Centrale) */
.bs-wheel-center-hub {
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fef08a, #ca8a04 60%, #713f12 100%);
  border: 4px solid #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), inset 0 2px 4px rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  z-index: 8;
  cursor: pointer;
  user-select: none;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bs-wheel-center-hub:hover {
  transform: scale(1.08);
}

.bs-wheel-center-hub:active {
  transform: scale(0.95);
}

/* Wheel Settings & Controls Bar */
.bs-wheel-controls {
  width: 100%;
  margin-top: 1rem;
}

.bs-duration-bar {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.bs-duration-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--bs-text-muted);
  border-radius: 9999px;
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.bs-duration-btn.is-active {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  border-color: #34d399;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.bs-duration-btn:hover:not(.is-active) {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* Master Spin Button */
.bs-spin-cta {
  width: 100%;
  background: linear-gradient(135deg, #10b981 0%, #059669 45%, #047857 100%);
  border: 2px solid #34d399;
  border-radius: 16px;
  padding: 1.1rem 1.5rem;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.45), inset 0 2px 4px rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
}

.bs-spin-cta:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(16, 185, 129, 0.65), inset 0 2px 4px rgba(255, 255, 255, 0.5);
  filter: brightness(1.08);
}

.bs-spin-cta:active:not(:disabled) {
  transform: translateY(1px);
}

.bs-spin-cta:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  filter: grayscale(0.4);
}

/* Audio & Settings icons */
.bs-sub-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.bs-audio-toggle {
  background: none;
  border: none;
  color: var(--bs-text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.5rem;
  border-radius: 6px;
  transition: all 0.2s;
}

.bs-audio-toggle:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }

/* --- SIDEBAR: VERDICT & HISTORY --- */
.bs-verdict-card {
  background: var(--bs-card-bg);
  border: 1px solid var(--bs-card-border);
  border-radius: var(--bs-radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Result Spotlight Box */
.bs-result-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(6, 182, 212, 0.06));
  border: 2px dashed rgba(16, 185, 129, 0.35);
  border-radius: var(--bs-radius-md);
  padding: 1.5rem;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.bs-result-box.has-won {
  border-style: solid;
  border-color: #34d399;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(245, 158, 11, 0.12));
  box-shadow: 0 0 35px rgba(16, 185, 129, 0.3);
  animation: bsTrophyGlow 1s ease-in-out;
}

@keyframes bsTrophyGlow {
  0% { transform: scale(0.95); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

.bs-quote-badge {
  display: inline-block;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.bs-friend-phrase {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 800;
  color: #fbbf24;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.bs-outcome-display {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 0.5rem 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.bs-outcome-desc {
  font-size: 0.9rem;
  color: #cbd5e1;
  margin-bottom: 1rem;
}

.bs-meta-pills {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.bs-meta-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.bs-meta-pill.odd { color: #34d399; font-weight: 800; font-size: 0.95rem; }
.bs-meta-pill.risk-low { color: #38bdf8; }
.bs-meta-pill.risk-mid { color: #fbbf24; }
.bs-meta-pill.risk-high { color: #f43f5e; }

.bs-copy-btn {
  margin-top: 1rem;
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  border-radius: 10px;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.bs-copy-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
}

/* History List */
.bs-history-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bs-history-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-height: 240px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.bs-history-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  animation: bsFadeItem 0.2s ease;
}

@keyframes bsFadeItem {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}

.bs-history-match {
  font-weight: 600;
  color: #e2e8f0;
}

.bs-history-outcome {
  font-weight: 800;
  color: #34d399;
  background: rgba(16, 185, 129, 0.15);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-size: 0.8rem;
}

/* Suspense Progress Bar durante il giro da 30s */
.bs-suspense-box {
  width: 100%;
  margin-top: 1rem;
  display: none;
}

.bs-suspense-box.is-active {
  display: block;
}

.bs-suspense-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--bs-text-muted);
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.bs-suspense-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
}

.bs-suspense-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #38bdf8, #10b981, #f59e0b, #ef4444);
  border-radius: 9999px;
  transition: width 0.1s linear;
}

/* Toast alert notification */
.bs-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(50px);
  background: #0f172a;
  border: 1px solid #10b981;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  font-size: 0.9rem;
  font-weight: 700;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bs-toast.is-show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
