/* ===== Global Layout ===== */

body {
  margin: 0;
  padding: 0;
  background: #1b1f29;
  font-family: "Inter", "Segoe UI", sans-serif;
  color: #e6e9ef;
}

#season-root {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
}


/* ===== Panels ===== */

.panel {
  background: #232836;
  border: 1px solid #2f3547;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.panel-main {
  background: #252b3a;
}

.panel-sub {
  background: #1f2431;
}


/* ===== Typography ===== */

h1, h2, h3 {
  margin: 0 0 12px 0;
  font-weight: 600;
  color: #ffffff;
}

h1 {
  font-size: 28px;
}

h2 {
  font-size: 22px;
}

h3 {
  font-size: 18px;
}

p, li, span {
  font-size: 15px;
  line-height: 1.5;
  color: #c7cbd6;
}


/* ===== Buttons ===== */

button {
  background: #3a4a6a;
  color: #ffffff;
  border: none;
  padding: 12px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  transition: background 0.2s ease;
}

button:hover {
  background: #4a5c80;
}

button:disabled {
  background: #2d3444;
  opacity: 0.5;
  cursor: not-allowed;
}

button.selected {
  background: #5c7ad1;
}


/* ===== Track Cards ===== */

.track-card {
  background: #2a3040;
  border: 1px solid #343b4d;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
}

.track-index {
  font-size: 14px;
  opacity: 0.7;
}

.track-name {
  font-size: 17px;
  font-weight: 600;
  margin: 4px 0;
}

.track-meta {
  font-size: 13px;
  opacity: 0.8;
  display: flex;
  gap: 12px;
}


/* ===== Seed Panel ===== */

.seed-row {
  font-family: monospace;
  font-size: 14px;
  margin-bottom: 6px;
}

.seed-row code {
  background: #11141c;
  padding: 3px 6px;
  border-radius: 4px;
}


/* ===== Standings Table ===== */

.standings-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.standings-table th {
  text-align: left;
  padding: 8px;
  background: #2d3344;
  font-weight: 600;
  font-size: 14px;
}

.standings-table td {
  padding: 8px;
  border-bottom: 1px solid #2f3547;
  font-size: 14px;
}

.standings-table.compact td,
.standings-table.compact th {
  padding: 4px 6px;
  font-size: 13px;
}


/* ===== Utility ===== */

ul {
  margin: 0;
  padding-left: 20px;
}

a {
  color: #7aa2ff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}
