/* ── BetBot CMS – Custom Styles ─────────────────────────────────────────── */

/* ── Result row colours ──────────────────────────────────────────────────── */
.result-hit  { background-color: #d1e7dd !important; }   /* Bootstrap table-success */
.result-miss { background-color: #f8d7da !important; }   /* Bootstrap table-danger  */

/* ── Confidence badge ────────────────────────────────────────────────────── */
.confidence-badge {
  display: inline-block;
  min-width: 2rem;
  padding: .2em .5em;
  border-radius: 9999px;
  font-weight: 700;
  font-size: .85em;
  color: #fff;
}
.conf-low    { background: #dc3545; }   /* 1-3 */
.conf-mid    { background: #fd7e14; }   /* 4-6 */
.conf-high   { background: #198754; }   /* 7-10 */

/* ── Status badges ───────────────────────────────────────────────────────── */
.status-badge {
  font-size: .75em;
  padding: .2em .5em;
  border-radius: 4px;
  font-weight: 600;
}
.status-upcoming  { background: #0dcaf0; color: #000; }
.status-live      { background: #dc3545; color: #fff; animation: pulse 1s infinite; }
.status-finished  { background: #6c757d; color: #fff; }
.status-postponed { background: #ffc107; color: #000; }
.status-cancelled { background: #343a40; color: #fff; }

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

/* ── Mobile card ─────────────────────────────────────────────────────────── */
.match-card {
  border: 1px solid #dee2e6;
  border-radius: 8px;
  margin-bottom: .6rem;
  overflow: hidden;
}

.match-card .col-left {
  background: #f8f9fa;
  padding: .6rem .5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  text-align: center;
  border-right: 1px solid #dee2e6;
}

.match-card .col-mid {
  padding: .5rem .6rem;
  font-size: .8rem;
  border-right: 1px solid #dee2e6;
}

.match-card .col-right {
  padding: .5rem .6rem;
  font-size: .78rem;
  text-align: center;
}

.match-card .score-line {
  font-size: 1rem;
  font-weight: 700;
}

.match-card .team-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .3rem;
}

.match-card .rec-label {
  color: #6c757d;
  font-size: .7rem;
}

/* ── PC table ────────────────────────────────────────────────────────────── */
#pcTable td, #pcTable th {
  vertical-align: middle;
  white-space: nowrap;
}

/* ── Spinner overlay ─────────────────────────────────────────────────────── */
#loadingBar .progress {
  height: 6px;
}

/* ── Scrollable modal ────────────────────────────────────────────────────── */
.modal-dialog-scrollable .modal-body {
  max-height: 70vh;
  overflow-y: auto;
}
