/* DebTab — Custom Styles */

body { font-family: "Segoe UI", system-ui, sans-serif; }

.hover-lift { transition: transform 0.15s ease, box-shadow 0.15s ease; }
.hover-lift:hover { transform: translateY(-2px); box-shadow: 0 0.5rem 1rem rgba(0,0,0,.12) !important; }

.team-card { transition: box-shadow 0.15s; }
.team-card:hover { box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,.12) !important; }

.badge { font-size: 0.75em; }

/* Ballot form */
.ironman-toggle { background: #fff3cd; border-radius: 4px; padding: 2px 6px; }
.score-input:focus { border-color: #0d6efd; box-shadow: 0 0 0 0.2rem rgba(13,110,253,.15); }

/* Tab tables */
.table th { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; }
.table td { vertical-align: middle; }

/* Position colour classes for BP */
.pos-og { border-left: 3px solid #0d6efd; }
.pos-oo { border-left: 3px solid #dc3545; }
.pos-cg { border-left: 3px solid #198754; }
.pos-co { border-left: 3px solid #ffc107; }

/* Navbar tweaks */
.navbar-dark .nav-link { color: rgba(255,255,255,0.8); }
.navbar-dark .nav-link:hover { color: #fff; }

/* ── Homepage ────────────────────────────────────── */

.dt-hero {
  background: linear-gradient(135deg, #1a1f36 0%, #212529 55%, #1d3d2f 100%);
  border-radius: 0.75rem;
}

/* "How it works" numbered circles */
.dt-step-num {
  width: 2.5rem;
  height: 2.5rem;
  background: #0d6efd;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
}

/* ── Mobile sub-nav ──────────────────────────────── */

/* On large screens the sub-nav is a standard horizontal navbar.
   On smaller screens Bootstrap collapses it — the toggler reveals
   a stacked vertical menu which is the safest approach for dropdowns. */
@media (max-width: 991.98px) {
  #tournamentSubNav .navbar-nav .nav-link { padding-top: 0.5rem; padding-bottom: 0.5rem; }
  #tournamentSubNav .dropdown-menu { position: static !important; box-shadow: none; border: 0; padding-left: 1rem; }
}
