/* Dark basis voor deze pagina */
body{
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  line-height:1.4;
  margin:0;
  background:#020617;
  color:#979db9;
}

/* Container onder de header (zelfde als results) */
.results-wrap{
  max-width:1100px;
  margin:0 auto 40px;
  padding:16px 16px 40px;
}

/* Kop + seizoenskeuze */
.season-picker{
  margin:10px 0 14px;
}

.season-picker-title{
  margin:0 0 8px;
  font-size:1.2rem;
  font-weight:600;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:#0ac54b;
}

/* Seizoensknoppen (buttons.seizoenen komt uit city.css; hier maken we het mooier) */
.buttons.seizoenen{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:4px 0 4px;
  padding:6px 0;
}

.buttons.seizoenen a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:110px;
  padding:6px 10px;
  border-radius:999px;
  background:#0f172a;
  color:#e5e7eb;
  border:1px solid rgba(148,163,184,0.7);
  font-size:.78rem;
  text-decoration:none;
  text-transform:uppercase;
  letter-spacing:.08em;
  transition:background .15s ease, transform .1s ease, box-shadow .15s ease, border-color .15s ease;
}

.buttons.seizoenen a:hover{
  background:#111827;
  box-shadow:0 8px 22px rgba(15,23,42,0.9);
  transform:translateY(-1px);
}

.buttons.seizoenen a.active{
  background:linear-gradient(90deg,#166534,#22c55e);
  border-color:#22c55e;
  color:#ecfdf5;
  box-shadow:0 10px 28px rgba(22,163,74,0.85);
}

/* Kop voor de tabel */
#seizoenhoofdstuk{
  margin:18px 0 4px;
  font-size:1.05rem;
  font-weight:600;
}

/* Notice onder de kop */
.notice{
  margin:0 0 10px;
  padding:6px 10px;
  border-radius:8px;
  background:#111827;
  color:#e5e7eb;
  font-size:.8rem;
  border:1px dashed rgba(148,163,184,0.7);
}

/* Tabel in dezelfde look als results.php */
.results-table{
  width:100%;
  border-collapse:collapse;
  margin-top:8px;
  background:rgba(15,23,42,0.96);
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 18px 40px rgba(15,23,42,0.9);
}

.results-table th,
.results-table td{
  padding:8px 10px;
  font-size:.85rem;
  border-bottom:1px solid rgba(148,163,184,0.18);
}

.results-table th{
  text-align:left;
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:.7rem;
  background:rgba(15,23,42,0.99);
  color:#cbd5f5;
}

.results-table tr:nth-child(even){
  background:rgba(15,23,42,0.92);
}

.results-table tr:hover{
  background:rgba(30,64,175,0.7);
}

/* Score kolom wat vetter */
.results-table td strong{
  font-weight:700;
}

/* Badges voor H/A en WDL (zelfde kleuren als results.php) */
.results-table .badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:2.4rem;
  padding:2px 8px;
  border-radius:999px;
  font-size:.75rem;
  border:1px solid transparent;
}

/* H/A */
.results-table .ha-h{
  background:rgba(22,163,74,0.16);
  color:#bbf7d0;
  border-color:rgba(22,163,74,0.75);
}
.results-table .ha-a{
  background:rgba(59,130,246,0.16);
  color:#bfdbfe;
  border-color:rgba(59,130,246,0.75);
}

/* W/D/L */
.results-table .wdl-w{
  background:#022c22;
  color:#4ade80;
  border-color:#16a34a;
}
.results-table .wdl-d{
  background:#1f2937;
  color:#facc15;
  border-color:#eab308;
}
.results-table .wdl-l{
  background:#450a0a;
  color:#fecaca;
  border-color:#ef4444;
}

/* Totaal / streaks tekst */
.muted{
  margin:8px 0 0;
  font-size:.8rem;
  color:#9ca3af;
}

/* Blok met eindstand / periodes */
.season-block{
  margin:18px 0 0;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:16px;
}

.season-item{
  background:#020617;
  border-radius:12px;
  padding:10px 10px 12px;
  border:1px solid rgba(148,163,184,0.35);
  box-shadow:0 16px 36px rgba(15,23,42,0.9);
}

.season-title{
  font-size:.8rem;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:#e5e7eb;
  margin:0 0 6px;
}

.season-item img{
  display:block;
  width:100%;
  border-radius:8px;
}

/* Info-knopje in de tabel */
.info-btn{
  border:0;
  background:#1d4ed8;
  color:#fff;
  cursor:pointer;
  font-size:0.72rem;
  padding:2px 8px;
  border-radius:999px;
  line-height:1.2;
  letter-spacing:.08em;
  text-transform:uppercase;
  transition:background .15s ease, box-shadow .15s ease, transform .1s ease;
}

.info-btn:hover{
  background:#2563eb;
  box-shadow:0 6px 18px rgba(37,99,235,0.85);
  transform:translateY(-1px);
}

.info-btn:active{
  transform:translateY(0);
  box-shadow:0 3px 10px rgba(37,99,235,0.8);
}

/* Tekstpanel / modal */
.tekstpanel{
  position:fixed;
  inset:0;
  background:rgba(15,23,42,0.85);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:9999;
}

.tekstpanel[hidden]{
  display:none;
}

.tekstpanel-inner{
  background:#020617;
  max-width:800px;
  width:90%;
  max-height:80vh;
  border-radius:12px;
  box-shadow:0 20px 50px rgba(0,0,0,0.7);
  padding:12px 14px 14px;
  display:flex;
  flex-direction:column;
  gap:8px;
  border:1px solid rgba(148,163,184,0.6);
}

.tekstpanel-inner h3{
  margin:0 0 4px;
  font-size:1rem;
  color:#e5e7eb;
}

.tekstpanel-close{
  align-self:flex-end;
  border:0;
  background:#e11d48;
  color:#fff;
  padding:4px 8px;
  border-radius:6px;
  cursor:pointer;
  font-size:0.85rem;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.tekstpanel-body{
  margin:0;
  white-space:pre-wrap;
  font-family:system-ui, -apple-system, Segoe UI, Roboto, monospace;
  font-size:0.9rem;
  overflow:auto;
  color:#e5e7eb;
}

/* Kleinere schermen */
@media (max-width: 700px){
  .results-wrap{
    padding:12px 10px 32px;
  }
  .buttons.seizoenen{
    gap:6px;
  }
  .results-table th,
  .results-table td{
    padding:6px 8px;
  }
}
