/* RCS Kalender Connect v1.5.7 */
/* Basis */
.rcs-wrap {
  color: #005599;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 12px;
  box-sizing: border-box;
  background: transparent;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Section met ronde hoeken; overflow hidden zodat zebra rond meeloopt */
.rcs-card {
  margin: 0 auto 16px auto;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 16px;
  overflow: hidden;
}

/* Heading balk boven de tabel: #005599; datum links uitgelijnd */
.rcs-heading {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 14px;
  background: #005599;
  border-bottom: 0;
}

.rcs-date { color: #FFFFFF; font-weight: 400; }

/* Tabel met zebra, afgeronde onderhoeken + geen randen tussen cellen */
.rcs-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: transparent;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  overflow: hidden;
}

.rcs-table tbody td {
  border: 0;
  color: #005599;
  vertical-align: middle;
  font-weight: 400;
}

.rcs-table tbody tr:nth-child(odd) td { background: #FFFFFF; }
.rcs-table tbody tr:nth-child(even) td { background: #E5E5E5; } /* GEWIJZIGD: was #F2F5F8 */

/* Kolommen */
.col-time { text-align: left; white-space: nowrap; }
.col-match { text-align: left; }
.col-loc { text-align: left; white-space: nowrap; }

/* --- SITE MODE (voor website) --- */
.rcs-site .rcs-date { font-size: 14px; font-weight: 700; color: #FFFFFF; } /* bold, wit */
.rcs-site .rcs-table tbody td { font-size: 14px; padding: 10px 12px; }
.rcs-site .col-time { width: 120px; }
.rcs-site .col-loc { width: 240px; } /* iets breder voor volledig adres */
@media (max-width: 640px) {
  .rcs-site .col-loc { display: none; } /* locatie verbergen op telefoon */
}

/* --- TV MODE (1920x1080) --- */
/* Header font-size gelijk aan celtekst en bold; kolombreedtes zoals eerdere versie */
.rcs-tv { padding: 16px; }
.rcs-tv .rcs-heading { background: #005599; }
.rcs-tv .rcs-table tbody td {
  font-size: clamp(22px, 2.8vw, 50px);
  padding: clamp(14px, 2.0vw, 30px) clamp(18px, 2.4vw, 36px);
}
.rcs-tv .rcs-date {
  font-size: clamp(22px, 2.8vw, 50px); /* zelfde als rest */
  font-weight: 700;                     /* bold */
  color: #FFFFFF;
}
.rcs-tv .col-time { width: clamp(120px, 12vw, 280px); }
.rcs-tv .col-loc { width: clamp(140px, 14vw, 360px); font-size: 0.85em; } /* locatie iets kleiner */

/* --- WIDGET MODE --- */
/* Compacte widget: 2 kolommen (tijd, wedstrijd), geen locatie */
.rcs-widget .rcs-date { font-size: 14px; font-weight: 700; color: #FFFFFF; }
.rcs-widget .rcs-table tbody td { font-size: 14px; padding: 8px 10px; }
.rcs-widget .col-time { width: 110px; }
.rcs-widget .col-loc { display: none !important; } /* for safety */

/* Foutmelding */
.rcs-error {
  font-size: 16px;
  text-align: center;
  padding: 20px 0;
}
