/* =====================================================
   FONT
===================================================== */
@font-face {
  font-family: 'EDO SZ';
  src: url('/assets/fonts/edosz.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* =====================================================
   VARIABELEN
===================================================== */
:root {
  --header-height: 120px;
  --menu-width: 240px;
  --rood: rgb(186, 12, 47);
  --groen: rgb(0, 122, 51);
}

/* =====================================================
   RESET / BASE
===================================================== */
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #fff;
  overflow-x: hidden;
}

/* =====================================================
   HEADER
===================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--header-height);
  background: #fff;
  display: flex;
  align-items: center;
  padding: 0 20px;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo img { height: 91px; } /* 70px + 30% */

.header-title {
  flex: 1;
  text-align: center;
  font-family: 'EDO SZ', sans-serif;
  font-size: 1.9rem;
  color: #000;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.25);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.header-right a {
  font-size: 30px;
  color: var(--rood);
  text-decoration: none;
  line-height: 1;
}

.header-right a:hover {
  opacity: 0.85;
}
/* =====================================================
   HEADER TITLE – DESKTOP vs MOBILE
===================================================== */

.title-mobile {
  display: none;
}

.header-sponsor-title {
  display: inline-block;
}

.sponsor-title-rotator {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  transition: opacity 0.22s ease, transform 0.22s ease, background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, color 0.35s ease;
  max-width: min(100%, 52rem);
}

.sponsor-title-rotator.is-fading {
  opacity: 0.35;
  transform: translateY(2px);
}

.sponsor-title-rotator.is-sponsor-thanks {
  color: #4a3500;
  background: linear-gradient(135deg, #fff9e6 0%, #ffe9a3 38%, #f0c84a 72%, #d4a017 100%);
  border: 2px solid #b8860b;
  box-shadow:
    0 0 0 1px rgba(255, 236, 179, 0.9),
    0 0 0 4px rgba(184, 134, 11, 0.16),
    0 6px 18px rgba(120, 85, 8, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  text-shadow: none;
  animation: sponsorThanksGlow 2.8s ease-in-out infinite alternate;
}

.sponsor-thanks-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  flex-wrap: wrap;
  line-height: 1.25;
}

.sponsor-thanks-icon {
  color: #9a7209;
  font-size: 0.82em;
  filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.65));
}

.sponsor-thanks-text {
  font-size: 0.92em;
  letter-spacing: 0.01em;
}

.sponsor-thanks-firma {
  font-weight: 800;
  color: #3d2b00;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

@keyframes sponsorThanksGlow {
  from {
    box-shadow:
      0 0 0 1px rgba(255, 236, 179, 0.85),
      0 0 0 3px rgba(184, 134, 11, 0.12),
      0 4px 14px rgba(120, 85, 8, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.65);
  }
  to {
    box-shadow:
      0 0 0 1px rgba(255, 248, 220, 1),
      0 0 0 5px rgba(212, 160, 23, 0.22),
      0 8px 22px rgba(120, 85, 8, 0.34),
      inset 0 1px 0 rgba(255, 255, 255, 0.85);
  }
}

@media (max-width: 600px) {

  .title-desktop {
    display: none;
  }

  .title-mobile {
    display: block;
    font-size: 1.15rem;
    line-height: 1.3;
    text-align: center;
    padding: 6px 10px;
    white-space: normal;
  }

  .sponsor-title-rotator {
    padding: 6px 12px;
    max-width: 100%;
  }

  .sponsor-thanks-text {
    font-size: 0.95em;
  }

  .sponsor-thanks-firma {
    white-space: normal;
  }

}

/* =====================================================
   HAMBURGER (button-achtige styling, blijft jouw bars)
===================================================== */
.hamburger {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 2px solid rgba(186,12,47,.25);
  background: rgba(186,12,47,.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 3px;
  background: var(--rood);
  margin: 4px 0;
  border-radius: 3px;
  transition: background .2s ease, transform .2s ease, opacity .2s ease;
}

.hamburger:hover span { background: var(--groen); }

/* optioneel X-animatie */
body.menu-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .hamburger span:nth-child(2) { opacity: 0; }
body.menu-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================
   STRUCTUUR: header + layout + footer
===================================================== */
html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

.layout {
    flex:1 0 auto;
  display: flex;
  margin-top: var(--header-height);
}

/* =====================================================
   SIDEBAR
===================================================== */
.sidebar {
  width: var(--menu-width);
  background: var(--rood);
  padding: 15px 0;
  min-height: auto;
}

.sidebar a,
.sidebar span {
  display: block;
  padding: 12px 20px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.sidebar a:hover,
.sidebar span:hover {
  background: rgba(255,255,255,0.15);
}

.sidebar .beheer { background: var(--groen); }
.sidebar .logout { background: #8b001f; margin-top: 10px; }

.sidebar .submenu span { opacity: .9; }
.sidebar .submenu a { font-weight: 600; padding-left: 34px; }

/* =====================================================
   MAIN CONTENT
===================================================== */
.main {
  flex: 1;
  padding: 30px;
  background: #fff;
  min-width: 0;
}

/* =====================================================
   PAGINA TITELS – UNIFORM (H1)
===================================================== */

.main h1 {
  font-family: 'EDO SZ', sans-serif;
  color: rgb(186, 12, 47); /* SC ’t Maantje rood */
  font-size: 2.4rem;
  text-align: center;
  margin-bottom: 25px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.15);
}

/* mobiel iets compacter */
@media (max-width: 600px) {
  .main h1 {
    font-size: 2rem;
  }
}


/* =====================================================
   HERO (ongewijzigd)
===================================================== */
.hero {
  position: relative;
  height: 60vh;
  min-height: 350px;
  background: #fff;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease;
}
.hero-slide.active { opacity: 1; z-index: 1; }

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.fade-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(255,255,255,0) 45%,
    rgba(255,255,255,0.6) 75%,
    rgba(255,255,255,1) 100%
  );
  pointer-events: none;
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 3;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.active .hero-overlay { opacity: 1; }

.hero-overlay h2 {
  font-family: 'EDO SZ', sans-serif;
  font-size: 2.2rem;
  color: #fff;
  text-shadow: 2px 2px 6px #000;
  margin-bottom: 15px;
}

.hero-overlay .btn {
  background: var(--groen);
  color: #fff;
  padding: 12px 26px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
}
.hero-overlay .btn:hover { background: var(--rood); }

/* =====================================================
   ESSEVEE VOETBAL – STARTPAGINA layout (leden + hero + klassement)
===================================================== */
.index-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
  margin-bottom: 22px;
}

/* Rijhoogte volgt het klassement rechts; leden/hero vullen die hoogte. */
.index-hero-standings {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  height: auto;
  align-self: start;
}

.index-hero-members {
  position: relative;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  align-self: stretch;
  /* Geen intrinsieke inhoudshoogte → pagina groeit niet mee met ledenlijst */
  height: auto;
}

.home-members-credits {
  position: absolute;
  inset: 0;
  width: 100%;
  height: auto;
  min-height: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e4ebe6;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.home-members-credits-viewport {
  position: relative;
  z-index: 2;
  flex: 1;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.home-members-credits-track {
  will-change: transform;
  animation: home-members-scroll var(--credits-duration, 30s) linear infinite;
}

.home-members-credits-track--static {
  animation: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  height: 100%;
}

.home-members-credits-track--static .home-members-credits-block[aria-hidden="true"] {
  display: none;
}

@keyframes home-members-scroll {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(calc(-1 * var(--credits-scroll-distance, 50%)));
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-members-credits-track {
    animation: none;
  }
}

.home-members-credits-fade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background:
    linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0) 14%, rgba(255, 255, 255, 0) 86%, #fff 100%);
}

.home-members-credits-block {
  padding: 28px 12px 32px;
  text-align: center;
}

.home-members-section {
  margin-bottom: 1.6rem;
}

.home-members-section:last-child {
  margin-bottom: 0;
}

.home-members-section-title {
  margin: 0 0 0.85rem;
  font-family: 'EDO SZ', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-members-section--gold .home-members-section-title {
  color: #b8860b;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.home-members-section--silver .home-members-section-title {
  color: #6b6b78;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

.home-members-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-members-name {
  margin: 0.32rem 0;
  font-size: 0.74rem;
  line-height: 1.4;
  letter-spacing: 0.03em;
}

.home-members-name--gold {
  color: #c9a227;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

.home-members-name--silver {
  color: #7a7a86;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

.home-members-empty {
  margin: 0;
  padding: 1.25rem 0.75rem;
  color: #777;
  font-size: 0.78rem;
  line-height: 1.45;
  text-align: center;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero vult dezelfde hoogte als het klassement (slides zijn absolute). */
.index-hero-grid .hero {
  height: auto;
  min-height: 280px;
  align-self: stretch;
}

.essevee-standings-hero {
  width: 100%;
  height: auto;
  min-height: 280px;
  background: #fff;
  border: 1px solid #e4ebe6;
  border-radius: 12px;
  padding: 14px 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: visible;
  display: flex;
  flex-direction: column;
}

.essevee-standings-title--hero {
  margin: 0 0 10px !important;
  font-size: 0.86rem !important;
  text-align: center;
}

.index-hero-grid .essevee-team-logo {
  width: 10px;
  height: 10px;
}

.index-hero-grid .essevee-standings-table--points .essevee-team-logo,
.index-hero-grid .essevee-standings-table .essevee-team-logo {
  width: 10px;
  height: 10px;
}

.index-hero-grid .essevee-team-name {
  font-size: 0.72rem;
}

.index-hero-grid .essevee-col-points {
  font-size: 0.8rem;
}

.index-hero-grid .essevee-standings-table-wrap {
  overflow: visible;
  flex: none;
}

.index-hero-grid .essevee-standings-table,
.index-hero-grid .essevee-standings-table td,
.index-hero-grid .essevee-standings-table th {
  font-size: 0.78rem;
}

@media (max-width: 900px) {
  .index-hero-grid {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .index-hero-standings {
    align-self: stretch;
    height: auto;
  }

  /* Gestapeld: vaste scrollhoogte voor credits (klassement staat niet meer ernaast) */
  .index-hero-members {
    height: 280px;
    min-height: 280px;
    max-height: 280px;
  }

  .index-hero-grid .hero {
    height: 42vh;
    min-height: 220px;
  }

  .essevee-standings-hero {
    min-height: 220px;
    height: auto;
  }
}

/* =====================================================
   ESSEVEE VOETBAL – STARTPAGINA
===================================================== */
.essevee-voetbal-home {
  border-top: 3px solid var(--groen);
  border-bottom: 3px solid var(--rood);
  background: linear-gradient(180deg, #f8fbf9 0%, #ffffff 100%);
  padding: 28px 20px 32px;
}

.essevee-voetbal-home-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.essevee-voetbal-home-header {
  text-align: center;
  margin-bottom: 22px;
}

.essevee-voetbal-home-title {
  font-family: 'EDO SZ', sans-serif;
  color: var(--groen);
  font-size: 2rem;
  margin: 0 0 6px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.08);
}

.essevee-voetbal-home-sub {
  margin: 0;
  color: #555;
  font-size: 0.95rem;
}

.essevee-voetbal-home-sub a {
  color: var(--rood);
  font-weight: 600;
}

.essevee-voetbal-grid {
  display: grid;
  /* Essevee: links match(s), rechts klassement (ongeveer 1/4) */
  grid-template-columns: 3fr 1.1fr;
  gap: 20px;
  align-items: start;
}

.essevee-voetbal-matches {
  display: grid;
  gap: 14px;
}

.essevee-match-row {
  border: 1px solid #e4ebe6;
  border-radius: 12px;
  padding: 14px 16px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.essevee-match-row--last {
  border-left: 5px solid var(--rood);
}

.essevee-match-row--next {
  border-left: 5px solid var(--groen);
}

.essevee-match-row--live {
  border-left: 5px solid var(--rood);
  background: linear-gradient(135deg, #fff8f8 0%, #ffffff 100%);
  animation: essevee-live-pulse 2.5s ease-in-out infinite;
}

a.essevee-match-row--link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

a.essevee-match-row--link:hover,
a.essevee-match-row--link:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(186, 12, 47, 0.18);
  outline: none;
}

.essevee-live-open-hint {
  display: inline-block;
  margin-left: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--rood);
  opacity: 0.85;
}

.essevee-match-row-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.essevee-match-row-label {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #666;
}

.essevee-match-row-date {
  font-size: 0.88rem;
  color: #444;
  white-space: nowrap;
}

.essevee-match-row-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.essevee-match-row-teams .essevee-match-score {
  font-family: 'EDO SZ', sans-serif;
  font-size: 1.9rem;
  color: #111;
  font-weight: 500;
  letter-spacing: 0.04em;
  min-width: 70px;
  text-align: center;
}

.essevee-match-row-teams .essevee-match-team,
.essevee-match-row-teams .essevee-match-team--away {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.essevee-match-team--away {
  justify-content: flex-end;
}

.essevee-team-logo {
  /* Wordt gebruikt in match-rijen en (overschreven) in het klassement */
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex-shrink: 0;
}

.essevee-standings-table--points .essevee-team-logo,
.essevee-standings-table .essevee-team-logo {
  /* Klassement-logo's veel kleiner */
  width: 14px;
  height: 14px;
}

.essevee-team-name {
  font-size: 0.98rem;
  font-weight: 800;
  color: #222;
}

.essevee-match-minute {
  font-weight: 700;
  color: var(--rood);
  margin-left: 8px;
}

/* Index – compacte wedstrijdtegels (ca. 75% hoogte) */
.essevee-matches-only.essevee-voetbal-home {
  padding: 21px 15px 24px;
}

.essevee-matches-only .essevee-voetbal-matches {
  gap: 10px;
}

.essevee-matches-only .essevee-match-row {
  padding: 10px 12px;
  border-radius: 9px;
}

.essevee-matches-only .essevee-match-row--last,
.essevee-matches-only .essevee-match-row--next,
.essevee-matches-only .essevee-match-row--live {
  border-left-width: 4px;
}

.essevee-matches-only .essevee-match-row-meta {
  margin-bottom: 7px;
  gap: 8px;
}

.essevee-matches-only .essevee-match-row-label {
  font-size: 0.6rem;
}

.essevee-matches-only .essevee-match-row-date {
  font-size: 0.66rem;
}

.essevee-matches-only .essevee-match-row-teams {
  gap: 9px;
}

.essevee-matches-only .essevee-match-row-teams .essevee-match-score {
  font-size: 1.425rem;
  min-width: 52px;
}

.essevee-matches-only .essevee-match-row-teams .essevee-match-team,
.essevee-matches-only .essevee-match-row-teams .essevee-match-team--away {
  gap: 7px;
}

.essevee-matches-only .essevee-team-logo {
  width: 23px;
  height: 23px;
}

.essevee-matches-only .essevee-team-name {
  font-size: 0.74rem;
}

.essevee-matches-only .essevee-match-minute {
  margin-left: 6px;
  font-size: 0.85em;
}

.essevee-match-card {
  border: 1px solid #e4ebe6;
  border-radius: 12px;
  padding: 16px 18px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.essevee-match-card--last {
  border-left: 5px solid var(--rood);
}

.essevee-match-card--next {
  border-left: 5px solid var(--groen);
}

.essevee-match-card--live {
  border-left: 5px solid var(--rood);
  background: linear-gradient(135deg, #fff8f8 0%, #ffffff 100%);
  animation: essevee-live-pulse 2.5s ease-in-out infinite;
}

@keyframes essevee-live-pulse {
  0%, 100% { box-shadow: 0 2px 10px rgba(186, 12, 47, 0.08); }
  50% { box-shadow: 0 2px 16px rgba(186, 12, 47, 0.22); }
}

.essevee-live-badge {
  color: var(--rood);
  margin-right: 4px;
  animation: essevee-blink 1.2s step-end infinite;
}

@keyframes essevee-blink {
  50% { opacity: 0.2; }
}

.essevee-match-minute {
  font-weight: 700;
  color: var(--rood);
  margin-left: 6px;
}

.essevee-match-status {
  margin: 0 0 8px;
  font-size: 0.85rem;
  color: #666;
}

.essevee-live-events {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  font-size: 0.85rem;
  color: #444;
}

.essevee-live-events li {
  padding: 3px 0;
  border-top: 1px solid #f0f0f0;
}

.essevee-ev-min {
  display: inline-block;
  min-width: 28px;
  font-weight: 700;
  color: #888;
}

.essevee-voetbal-updated {
  margin: 6px 0 0;
  font-size: 0.8rem;
  color: #888;
}

.essevee-match-label {
  margin: 0 0 4px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #666;
}

.essevee-match-comp {
  margin: 0 0 6px;
  font-size: 0.82rem;
  color: #888;
}

.essevee-match-date {
  margin: 0 0 8px;
  font-size: 0.9rem;
  color: #444;
}

.essevee-match-teams {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: #222;
}

.essevee-match-score {
  margin: 0 0 10px;
  font-family: 'EDO SZ', sans-serif;
  font-size: 1.75rem;
  color: var(--rood);
  letter-spacing: 0.04em;
}

.essevee-match-link {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--groen);
  text-decoration: none;
}

.essevee-match-link:hover {
  color: var(--rood);
  text-decoration: underline;
}

.essevee-voetbal-standings {
  border: 1px solid #e4ebe6;
  border-radius: 12px;
  padding: 16px 14px 12px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow-x: auto;
}

.essevee-standings-title {
  margin: 0 0 12px;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: #333;
}

.essevee-standings-widget {
  min-height: 120px;
}

.essevee-standings-widget table {
  width: 100%;
  font-size: 0.88rem;
}

.essevee-standings-table--points th,
.essevee-standings-table--points td,
.essevee-standings-table--points tr,
.essevee-standings-table--points table {
  font-size: 0.9rem;
}

.essevee-standings-table--points thead th {
  background: #f4f8f5;
  color: #444;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 8px 8px;
  text-align: left;
}

.essevee-standings-table--points tbody td {
  padding: 8px 8px;
  border-bottom: 1px solid #eee;
}

.essevee-standings-team {
  display: flex;
  align-items: center;
  gap: 10px;
}

.essevee-col-points {
  text-align: right;
  white-space: nowrap;
}

/* New markup uses these classes */
.essevee-standings-table--points,
.essevee-standings-table--points table {
  width: 100%;
}

.essevee-standings-widget tr.essevee-row-highlight,
.essevee-standings-table tr.essevee-row-highlight {
  background: rgba(0, 122, 51, 0.15);
  font-weight: 700;
}

.essevee-standings-table-wrap {
  overflow-x: auto;
}

.essevee-standings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.essevee-standings-table th,
.essevee-standings-table td {
  padding: 6px 8px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.essevee-standings-table th {
  background: #f4f8f5;
  color: #444;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.essevee-standings-table td:nth-child(n+3) {
  text-align: center;
}

.essevee-standings-empty {
  text-align: center;
  padding: 1rem 0.5rem;
  margin: 0;
}

.essevee-voetbal-credit {
  margin: 10px 0 0;
  text-align: center;
}

@media (max-width: 640px) {
  .essevee-voetbal-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   SPONSOR SLIDER (ongewijzigd)
===================================================== */
.sponsor-bar {
  width: 100%;
  overflow: hidden;
  background: #fff;
  border-top: 3px solid var(--rood);
  border-bottom: 3px solid var(--rood);
  padding: 10px 0;
}
.sponsor-track {
  display: flex;
  width: max-content;
  animation: sponsor-scroll 40s linear infinite;
}
.sponsor-item {
  width: 220px;
  margin: 0 20px;
  text-align: center;
}
.sponsor-item img {
  max-height: 80px;
  object-fit: contain;
  display: block;
  margin: 0 auto 6px;
}
.sponsor-name { font-family: 'EDO SZ', sans-serif; font-weight: bold; }
.sponsor-desc { font-size: 0.85rem; line-height: 1.3; }

@keyframes sponsor-scroll {
  from { transform: translateX(100%); }
  to   { transform: translateX(-100%); }
}

/* =====================================================
   FOOTER (ongewijzigd)
===================================================== */
.site-footer {
  width: 100%;
  background: repeating-linear-gradient(
    -45deg,
    var(--rood),
    var(--rood) 40px,
    #fff 40px,
    #fff 80px,
    var(--groen) 80px,
    var(--groen) 120px
  );
  padding: 30px 20px;
}

.footer-kolommen {
  display: flex;
  gap: 20px;
  justify-content: space-around;
  flex-wrap: wrap;
}

.footer-kolommen div {
  background: rgba(255,255,255,0.85);
  padding: 15px;
  border-radius: 8px;
  min-width: 220px;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  font-weight: bold;
  color: #fff;
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000;
}

/* =====================================================
   OFF-CANVAS (MOBIEL) — stabiel
===================================================== */
.menu-backdrop {
  display: none;
}

@media (max-width: 900px) {

  /* Sidebar wordt off-canvas */
  .sidebar {
    position: fixed;
    top: var(--header-height);
    left: 0;
    height: calc(100vh - var(--header-height));
    transform: translateX(-105%);
    transition: transform 0.25s ease;
    z-index: 1100;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.menu-open .sidebar {
    transform: translateX(0);
  }

  /* Backdrop over content */
  .menu-backdrop {
    display: block;
    position: fixed;
    top: var(--header-height);
    left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 1050;
  }
  body.menu-open .menu-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  /* Main blijft altijd full width (geen margin-left push!) */
  .main { padding: 20px; }
}

/* DESKTOP */
@media (min-width: 901px) {
  /* Hamburger verbergen op desktop */
  .hamburger { display: none; }

  /* Sidebar gewoon in de flow links, main krijgt GEEN extra margin-left */
  .sidebar { position: relative; transform: none !important; }
}

/* =====================================================
   HEADER – MOBILE FINAL FINAL FIX
===================================================== */
@media (max-width: 900px) {

  .site-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto auto;
    row-gap: 10px;
    height: auto;
    padding: 10px 14px 12px;
  }

  /* TITEL BOVEN */
  .header-title {
    grid-column: 1 / -1;
    grid-row: 1;
    text-align: center;
    font-size: 1.35rem;
    line-height: 1.2;
    white-space: normal;
  }

  /* HAMBURGER LINKS */
  .header-left {
    grid-column: 1;
    grid-row: 2;
    justify-content: flex-start;
  }

  /* LOGO PERFECT IN HET MIDDEN */
  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .logo img {
    height: 68px; /* 52px + 30% */
  }

  /* FACEBOOK RECHTS */
  .header-right {
    grid-column: 3;
    grid-row: 2;
    justify-self: end;
  }

  .header-right a {
    font-size: 28px;
  }
}
/* =====================================================
   FORMS – SC 'T MAANTJE
===================================================== */

.form-maantje {
  max-width: 420px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 6px;
  border: 2px solid #ddd;
  font-size: 1rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.form-group input:focus {
  outline: none;
  border-color: rgb(0, 122, 51);
  box-shadow: 0 0 0 3px rgba(0, 122, 51, 0.2);
}

/* Login box */
.login-box {
  max-width: 460px;
  margin: 40px auto;
  background: #fff;
  padding: 32px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* Alerts (Bootstrap-look, zonder Bootstrap) */
.alert {
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 16px;
  font-weight: 600;
}

.alert-danger {
  background: #fbe9eb;
  color: #8a0018;
  border: 1px solid #f3b5bf;
}

.alert-warning {
  background: #fff6db;
  color: #8a6d00;
  border: 1px solid #ffe8a1;
}
/* =====================================================
   LOGIN BUTTON – SC 'T MAANTJE
===================================================== */
.btn-login {
  width: 100%;
  margin-top: 22px;
  padding: 14px 18px;
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;

  background: rgb(186, 12, 47); /* SC 't Maantje rood */
  color: #fff;
  border: none;
  border-radius: 10px;

  cursor: pointer;
  transition: background-color .25s ease, transform .15s ease, box-shadow .15s ease;
}

.btn-login:hover {
  background: rgb(160, 8, 40);
}

.btn-login:active {
  transform: translateY(1px);
}

.btn-login:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(186, 12, 47, 0.35);
}
/* =====================================================
   DASHBOARD (FINAL)
===================================================== */

.dashboard-welcome {
  font-size: 1.25rem;
  margin-bottom: 10px;
  text-align: center;
}

.dashboard-welcome-inline {
  margin-bottom: 0;
}

/* Puntensaldo kaart PERFECT gecentreerd */
.dashboard-card {
  background: #fff;
  border: 2px solid rgb(0, 122, 51);
  padding: 14px 24px;
  border-radius: 14px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;

  box-shadow: 0 2px 6px rgba(0,0,0,0.15);

  margin: 0 auto 8px auto;
}


.dashboard-card img {
  width: 40px;
}

.dashboard-card span {
  font-size: 24px;
  font-weight: 800;
  color: rgb(0, 122, 51);
}

/* Actieknoppen netjes gecentreerd */
.dashboard-actions {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 12px;
}


/* =====================================================
   DASHBOARD – ACTION BUTTONS
===================================================== */

.dashboard-actions {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.action-btn {
  background: rgb(0, 122, 51);
  color: #fff;
  padding: 14px 24px;
  font-size: 0.95rem;
  border-radius: 12px;

  display: inline-flex;
  align-items: center;
  gap: 14px;

  font-weight: 700;
  text-decoration: none;

  box-shadow:
    inset 0 0 0 2px rgba(255,255,255,0.12),
    0 4px 14px rgba(0,0,0,0.16);

  transition: transform .15s ease, box-shadow .15s ease, background-color .2s ease;
}

.action-btn:hover {
  background: rgb(0, 100, 45);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}

.action-btn img {
  width: 30px;
  filter:
    drop-shadow(0 0 3px rgba(255,255,255,0.7));
}


.action-btn img {
  width: 22px;
}

/* mobiel iets compacter */
@media (max-width: 600px) {
  .dashboard-welcome {
    font-size: 1.15rem;
  }
  .action-btn {
    width: 100%;
    justify-content: center;
  }
}
/* =====================================================
   DASHBOARD – LAYOUT FIX
===================================================== */

.main {
  min-height: auto;
}

/* centrale uitlijning dashboard */
.main h1,
.main h2,
.dashboard-welcome {
  text-align: center;
}

.dashboard-card {
  margin-left: auto;
  margin-right: auto;
}

.main {
  display: flex;
  flex-direction: column;
}

/* =====================================================
   LIDKAART – TIER SURFACES (gedeeld dashboard + bestellen)
===================================================== */

.lidkaart-tier-card {
  position: relative;
  overflow: hidden;
}

.lidkaart-tier-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 60%
  );
  transform: translateX(-120%);
  animation: lidkaart-shimmer 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.lidkaart-tier-card > * {
  position: relative;
  z-index: 2;
}

.lidkaart-tier-card {
  position: relative;
  overflow: hidden;
}

.lidkaart-tier-card.lidkaart-wit,
.product-card.lidkaart-tier-card.lidkaart-wit {
  background: linear-gradient(145deg, #ffffff 0%, #f7f7f7 45%, #ececec 100%) !important;
  border-top: 4px solid #d8d8d8;
}

.lidkaart-tier-card.lidkaart-zilver,
.product-card.lidkaart-tier-card.lidkaart-zilver {
  background: linear-gradient(
    145deg,
    #fafafa 0%,
    #d4d4d4 22%,
    #f0f0f0 45%,
    #b8b8b8 68%,
    #e6e6e6 100%
  ) !important;
  background-size: 200% 200% !important;
  animation: lidkaart-metal 7s ease infinite;
  border-top: 4px solid #9e9e9e;
  color: #1a1a1a;
}

.lidkaart-tier-card.lidkaart-goud,
.product-card.lidkaart-tier-card.lidkaart-goud {
  background: linear-gradient(
    145deg,
    #fff9e6 0%,
    #f5e6b8 20%,
    #e8c547 45%,
    #d4af37 65%,
    #f5e6b8 85%,
    #fff4cc 100%
  ) !important;
  background-size: 220% 220% !important;
  animation: lidkaart-metal 6s ease infinite;
  border-top: 4px solid #b8860b;
  color: #3d2f00;
}

.lidkaart-tier-card.lidkaart-goud .lidkaart-tier-title,
.lidkaart-goud .wallet-kaart-title,
.lidkaart-goud .lidkaart-tier-title {
  color: #5c4200;
}

.lidkaart-none {
  background: linear-gradient(135deg, #f8faf8, #eef5f0);
  border-top: 4px solid #cfe3d4;
}

@keyframes lidkaart-shimmer {
  0%, 70% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

@keyframes lidkaart-metal {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .lidkaart-tier-card::before,
  .lidkaart-tier-card.lidkaart-zilver,
  .lidkaart-tier-card.lidkaart-goud,
  .product-card.lidkaart-tier-card.lidkaart-zilver,
  .product-card.lidkaart-tier-card.lidkaart-goud {
    animation: none;
  }
}

/* Lidmaatschap – tier-kaarten (gedeeld lidworden + bestellen) */
.lidkaart-tiers-grid.webshop-grid {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}

@media (max-width: 860px) {
  .lidkaart-tiers-grid.webshop-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    max-width: 320px;
  }
}

.lidkaart-tier-card.product-card {
  text-align: left;
  padding: 1.35rem 1.25rem 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.lidkaart-tier-title {
  margin-top: 0;
  text-align: center;
  font-size: 1.45rem;
  letter-spacing: 0.04em;
}

.lidkaart-tier-price {
  text-align: center;
  font-weight: 700;
  font-size: 1.15rem;
}

.lidkaart-tier-features {
  font-size: 0.92rem;
  padding-left: 1.1rem;
  margin: 0 0 1rem;
  min-height: 5.5rem;
}

/* Lidmaatschap – Zilver/Goud extra in de kijker */
.lidkaart-tiers-grid {
  align-items: stretch;
}

@media (min-width: 880px) {
  .lidkaart-tiers-grid {
    grid-template-columns: 0.92fr 1.06fr 1.1fr;
    gap: 24px;
    align-items: center;
  }
}

.lidkaart-tier-card.lidkaart-wit {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.lidkaart-tier-card.lidkaart-zilver {
  box-shadow:
    0 14px 36px rgba(80, 80, 80, 0.28),
    0 0 0 2px rgba(120, 120, 120, 0.45);
}

.lidkaart-tier-card.lidkaart-goud {
  box-shadow:
    0 16px 40px rgba(184, 134, 11, 0.38),
    0 0 0 2px rgba(184, 134, 11, 0.55);
}

@media (min-width: 880px) {
  .lidkaart-tier-card.lidkaart-zilver {
    transform: scale(1.03);
    z-index: 2;
  }

  .lidkaart-tier-card.lidkaart-goud {
    transform: scale(1.05);
    z-index: 3;
  }
}

.lidkaart-tier-card.lidkaart-zilver .lidkaart-tier-title {
  font-size: 1.32rem;
  font-weight: 800;
}

.lidkaart-tier-card.lidkaart-goud .lidkaart-tier-title {
  font-size: 1.42rem;
  font-weight: 900;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}

.lidkaart-tier-card.lidkaart-zilver .lidkaart-tier-price,
.lidkaart-tier-card.lidkaart-goud .lidkaart-tier-price {
  font-size: 1.12rem;
  font-weight: 800;
}

.lidkaart-tier-ribbon {
  position: absolute;
  top: 14px;
  right: 0;
  padding: 6px 14px 6px 12px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 8px 0 0 8px;
  z-index: 4;
  box-shadow: -2px 3px 10px rgba(0, 0, 0, 0.18);
}

.lidkaart-tier-ribbon-zilver {
  background: linear-gradient(135deg, #f5f5f5, #bdbdbd);
  color: #1a1a1a;
  border: 1px solid #9e9e9e;
  border-right: none;
}

.lidkaart-tier-ribbon-goud {
  background: linear-gradient(135deg, #fff8dc, #e8c547, #d4af37);
  color: #3d2f00;
  border: 1px solid #b8860b;
  border-right: none;
}

.lidkaart-tier-card.lidkaart-zilver .lidkaart-tier-features li,
.lidkaart-tier-card.lidkaart-goud .lidkaart-tier-features li {
  font-weight: 600;
}

.lidkaart-tier-card.lidkaart-goud .btn-primary-maantje {
  box-shadow: 0 6px 18px rgba(184, 134, 11, 0.35);
}

/* Tier-pills (beheer, lijsten) */
.tier-pill {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.tier-pill small {
  font-weight: 600;
  opacity: 0.85;
}

.tier-pill-none {
  background: #f0f0f0;
  color: #666;
}

.tier-pill-wit {
  background: linear-gradient(135deg, #fff, #ececec);
  border: 1px solid #d8d8d8;
  color: #333;
}

.tier-pill-zilver {
  background: linear-gradient(135deg, #f5f5f5, #c8c8c8, #e0e0e0);
  border: 1px solid #9e9e9e;
  color: #1a1a1a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.tier-pill-goud {
  background: linear-gradient(135deg, #fff4cc, #e8c547, #f5e6b8);
  border: 1px solid #b8860b;
  color: #5c4200;
  box-shadow: 0 2px 10px rgba(184, 134, 11, 0.25);
}

/* Dashboard / banner – lidgeld tier-knoppen */
.lidgeld-tier-btn.lidmaatschap-btn-wit {
  background: linear-gradient(135deg, #ffffff, #f0f0f0, #ececec) !important;
  border: 2px solid #d0d0d0 !important;
  color: #1a1a1a !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1) !important;
}

.lidgeld-tier-btn.lidmaatschap-btn-wit:hover {
  background: linear-gradient(135deg, #fafafa, #e8e8e8, #e0e0e0) !important;
  color: #000 !important;
}

.lidgeld-tier-btn.lidmaatschap-btn-zilver {
  background: linear-gradient(135deg, #f0f0f0, #c0c0c0, #e8e8e8) !important;
  border: 2px solid #9e9e9e !important;
  color: #1a1a1a !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14) !important;
}

.lidgeld-tier-btn.lidmaatschap-btn-goud {
  background: linear-gradient(135deg, #fff4cc, #e8c547, #f5e6b8) !important;
  border: 2px solid #b8860b !important;
  color: #5c4200 !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 16px rgba(184, 134, 11, 0.3) !important;
}

.wallet-membership-badge.lidkaart-zilver {
  padding: 7px 16px;
  font-size: 0.95rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.wallet-membership-badge.lidkaart-goud {
  padding: 7px 18px;
  font-size: 1rem;
  box-shadow: 0 3px 12px rgba(184, 134, 11, 0.28);
  animation: lidkaart-metal 6s ease infinite;
  background-size: 200% 200%;
}

@media (prefers-reduced-motion: reduce) {
  .wallet-membership-badge.lidkaart-goud {
    animation: none;
  }
}

/* Dashboard – lidkaart QR-tegel */
.wallet-kaart-banner-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0 0 1.25rem;
}

.wallet-kaart-banner {
  box-sizing: border-box;
  width: min(100%, 420px);
  margin: 0 auto;
  padding: 1.1rem 1.15rem 1.15rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  text-align: center;
}

.wallet-kaart-banner.lidkaart-wit {
  background: linear-gradient(145deg, #ffffff 0%, #f7f7f7 45%, #ececec 100%);
  border-top: 4px solid #d8d8d8;
}

.wallet-kaart-banner.lidkaart-zilver {
  background: linear-gradient(
    145deg,
    #fafafa 0%,
    #d4d4d4 22%,
    #f0f0f0 45%,
    #b8b8b8 68%,
    #e6e6e6 100%
  );
  background-size: 200% 200%;
  animation: lidkaart-metal 7s ease infinite;
  border-top: 4px solid #9e9e9e;
  color: #1a1a1a;
}

.wallet-kaart-banner.lidkaart-goud {
  background: linear-gradient(
    145deg,
    #fff9e6 0%,
    #f5e6b8 20%,
    #e8c547 45%,
    #d4af37 65%,
    #f5e6b8 85%,
    #fff4cc 100%
  );
  background-size: 220% 220%;
  animation: lidkaart-metal 6s ease infinite;
  border-top: 4px solid #b8860b;
  color: #3d2f00;
}

.wallet-kaart-banner.lidkaart-none {
  background: linear-gradient(135deg, #f8faf8, #eef5f0);
  border-top: 4px solid #cfe3d4;
}

.wallet-kaart-title {
  margin-top: 0;
  font-size: 1.1rem;
  text-align: center;
}

.wallet-kaart-saldo {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.wallet-kaart-saldo .action-btn {
  margin-top: 6px;
}

.wallet-kaart-qr-hint {
  margin: 0 0 8px;
  font-size: 0.88rem;
  opacity: 0.85;
}

.wallet-kaart-qr-box {
  text-align: center;
  background: #fff;
  padding: 10px;
  border-radius: 10px;
}

.wallet-kaart-qr-box img {
  max-width: 100%;
  height: auto;
}

/* Dashboard – saldo en QR gescheiden */
.wallet-dashboard-wrap {
  width: 100%;
  max-width: 560px;
  margin: 0 auto 1.25rem;
}

.wallet-membership-badge {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  background: #eef5f0;
  border: 1px solid #cfe3d4;
  color: #1b5e20;
  text-align: center;
}

.wallet-volmachten-collapse {
  margin-top: 12px;
  text-align: left;
}

.wallet-volmachten-toggle,
.wallet-verloren-toggle,
.wallet-eticket-toggle {
  box-sizing: border-box;
  min-height: 52px;
  font-size: 1rem;
  line-height: 1.3;
}

.wallet-volmachten-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #cfe3d4;
  border-radius: 12px;
  background: #f7fbf8;
  color: #1b5e20;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.wallet-volmachten-toggle:hover,
.wallet-volmachten-toggle:focus-visible {
  border-color: #007A33;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 122, 51, 0.18);
}

.wallet-volmachten-toggle-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.wallet-volmachten-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 6px;
  border-radius: 999px;
  background: #007A33;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

.wallet-volmachten-chevron {
  color: #666;
  transition: transform 0.2s ease;
}

.wallet-volmachten-toggle.is-open .wallet-volmachten-chevron {
  transform: rotate(180deg);
}

.wallet-volmachten-body {
  margin-top: 10px;
}

.wallet-volmachten-body[hidden] {
  display: none !important;
}

.wallet-volmachten-manage {
  margin-bottom: 10px;
}


.wallet-membership-badge.lidkaart-wit {
  background: #f5f5f5;
  border-color: #d8d8d8;
  color: #333;
}

.wallet-membership-badge.lidkaart-zilver {
  background: linear-gradient(135deg, #f0f0f0, #d8d8d8);
  border-color: #9e9e9e;
  color: #1a1a1a;
}

.wallet-membership-badge.lidkaart-goud {
  background: linear-gradient(135deg, #fff4cc, #e8c547);
  border-color: #b8860b;
  color: #5c4200;
}

.wallet-dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 520px) {
  .wallet-dashboard-grid {
    grid-template-columns: 1fr;
  }
}

.wallet-panel {
  box-sizing: border-box;
  padding: 1rem 1rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
  text-align: center;
}

.wallet-panel-title {
  margin: 0 0 4px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #555;
}

.wallet-panel-saldo {
  border-top: 4px solid #007a33;
}

.wallet-panel-qr {
  border-top: 4px solid #1a5276;
}

.wallet-panel-desc {
  margin: 0 0 10px;
  font-size: 0.85rem;
  line-height: 1.45;
  color: #555;
}

.wallet-kaart-saldo-amount {
  margin: 4px 0 12px;
  font-size: 1.45rem;
  line-height: 1.3;
}

.wallet-kaart-saldo-amount strong {
  color: #007a33;
}

.wallet-overzet-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  margin: 12px 0 0;
  text-align: left;
}

.wallet-overzet-form[hidden] {
  display: none !important;
}

.wallet-overzet-hint {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #555;
}

.wallet-overzet-bron-saldo {
  margin: 6px 0 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #333;
  font-weight: 600;
}

.wallet-overzet-bron-saldo[hidden] {
  display: none !important;
}

.wallet-panel-actions .action-btn {
  display: inline-flex;
  padding: 6px 12px;
  font-size: 0.86rem;
}

.wallet-panel-volmachten {
  margin-top: 12px;
  border-top: 4px solid #6b6b78;
  text-align: left;
}

.wallet-volmachten-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wallet-volmacht-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #e8ece9;
  border-radius: 10px;
  background: #fafbfa;
}

.wallet-volmacht-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.wallet-volmacht-naam {
  font-size: 0.95rem;
  color: #222;
}

.wallet-volmacht-tier {
  font-size: 0.78rem;
  color: #666;
}

.wallet-volmacht-saldo {
  font-size: 1.05rem;
  font-weight: 700;
  color: #007a33;
}

.wallet-volmacht-verloren {
  margin-top: 4px;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgb(186, 12, 47);
}

.wallet-volmacht-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wallet-volmacht-actions .action-btn {
  padding: 8px 12px;
  font-size: 0.85rem;
}

.wallet-qr-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #1a5276;
  border-radius: 10px;
  background: #f4f9fc;
  color: #1a5276;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.wallet-qr-unit {
  width: 100%;
}

.wallet-groepspot-qr-block .wallet-qr-unit + .wallet-qr-unit {
  margin-top: 8px;
}

.wallet-qr-toggle-btn:hover {
  background: #e8f4fa;
}

.wallet-groepspot-qr-block {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(26, 82, 118, 0.18);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wallet-groepspot-qr-heading {
  margin: 0 0 2px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #1a5276;
  text-align: left;
}

.wallet-groepspot-qr-btn {
  border-color: #007a33;
  background: #f3faf5;
  color: #0b5c2c;
}

.wallet-groepspot-qr-btn:hover {
  background: #e6f5ec;
}

.wallet-groepspot-qr-btn[aria-expanded="true"] {
  background: #d9f0e2;
}

.wallet-groepspot-qr-reveal {
  text-align: center;
}

.wallet-groepspot-qr-link {
  margin: 8px 0 0;
  font-size: 0.85rem;
}

.wallet-groepspot-qr-link a {
  color: #007a33;
  font-weight: 600;
}

.wallet-qr-reveal {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(0, 0, 0, 0.12);
}

.wallet-qr-reveal[hidden] {
  display: none !important;
}

.wallet-qr-hide-btn {
  margin-top: 10px;
  padding: 0;
  border: none;
  background: none;
  color: #666;
  font-size: 0.85rem;
  text-decoration: underline;
  cursor: pointer;
  font-family: inherit;
}

.wallet-membership-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.wallet-panel-verloren {
  margin-top: 10px;
  border-top: 4px solid #ba0c2f;
  text-align: center;
}

.wallet-verloren-collapse {
  margin-top: 12px;
  text-align: left;
}

.wallet-eticket-block {
  margin-top: 12px;
  text-align: center;
}

.wallet-panel-eticket-rit {
  border-top: 4px solid #ba0c2f;
}

.wallet-eticket-boven {
  margin: 0 0 12px;
}

.wallet-eticket-boven-item + .wallet-eticket-boven-item {
  margin-top: 14px;
}

.wallet-eticket-rit-title {
  text-transform: none;
  letter-spacing: 0;
  font-size: 1rem;
  color: #222;
}

.wallet-eticket-rit-vervoer {
  margin: 8px 0 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: #ba0c2f;
}

.wallet-eticket-collapse {
  margin-top: 12px;
  text-align: left;
}

.wallet-eticket-block .wallet-eticket-collapse {
  margin-top: 0;
}

.wallet-eticket-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #e8d48a;
  border-radius: 12px;
  background: #fff8dc;
  color: #6b5300;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.wallet-eticket-toggle:hover,
.wallet-eticket-toggle:focus-visible {
  border-color: #d4af37;
  outline: none;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.28);
}

.wallet-eticket-toggle.is-open {
  border-color: #d4af37;
  background: #fffef5;
}

.wallet-eticket-toggle-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.wallet-eticket-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 6px;
  border-radius: 999px;
  background: #007A33;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

.wallet-eticket-chevron {
  color: #666;
  transition: transform 0.2s ease;
}

.wallet-eticket-toggle.is-open .wallet-eticket-chevron {
  transform: rotate(180deg);
}

.wallet-eticket-body {
  margin-top: 10px;
}

.wallet-eticket-body[hidden] {
  display: none !important;
}

.wallet-panel-eticket {
  margin-top: 0;
  border-top: 4px solid #d4af37;
  text-align: left;
}

.wallet-eticket-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wallet-eticket-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #e8ece9;
  border-radius: 10px;
  background: #fafbfa;
}

.wallet-eticket-naam {
  font-size: 0.95rem;
  color: #222;
}

.wallet-eticket-actions {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 8px;
}

.wallet-eticket-link {
  box-sizing: border-box;
  display: flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #e8d48a;
  border-radius: 12px;
  background: #fff8dc;
  color: #6b5300;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.wallet-eticket-link:hover,
.wallet-eticket-link:focus-visible {
  border-color: #d4af37;
  background: #ffe9a8;
  color: #5a4600;
  outline: none;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.28);
}

.wallet-eticket-link-full {
  background: #fffef5;
}

.wallet-eticket-vervoer-block {
  margin: 2px 0 0;
  padding: 10px 12px;
  border: 1px solid #cfe6d6;
  border-radius: 12px;
  background: #f3faf5;
  text-align: left;
}

.wallet-eticket-info-wedstrijd,
.wallet-eticket-info-vervoer {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.wallet-eticket-info-wedstrijd {
  color: #222;
}

.wallet-eticket-info-vervoer {
  margin-top: 2px;
  color: #0d4d28;
}

.wallet-verloren-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #e8c5cc;
  border-radius: 12px;
  background: #fff8f9;
  color: #8a0a24;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.wallet-verloren-toggle:hover,
.wallet-verloren-toggle:focus-visible {
  border-color: #ba0c2f;
  outline: none;
  box-shadow: 0 0 0 3px rgba(186, 12, 47, 0.15);
}

.wallet-verloren-toggle.is-open {
  border-color: #ba0c2f;
  background: #fff;
}

.wallet-verloren-toggle-label {
  text-align: left;
}

.wallet-verloren-chevron {
  color: #999;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.wallet-verloren-toggle.is-open .wallet-verloren-chevron {
  transform: rotate(180deg);
}

.wallet-verloren-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  margin: 0;
  text-align: left;
}

.wallet-verloren-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.wallet-verloren-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #444;
}

.wallet-verloren-optional {
  font-weight: 500;
  color: #888;
}

.wallet-verloren-select,
.wallet-verloren-textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d8d8d8;
  border-radius: 10px;
  background: #fafafa;
  font: inherit;
  font-size: 0.92rem;
  color: #222;
  box-sizing: border-box;
  appearance: auto;
}

.wallet-verloren-select:focus,
.wallet-verloren-textarea:focus {
  outline: none;
  border-color: #ba0c2f;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(186, 12, 47, 0.12);
}

.wallet-verloren-textarea {
  resize: vertical;
  min-height: 4.5rem;
  line-height: 1.4;
}

.wallet-panel-verloren .wallet-panel-actions {
  margin-top: 2px;
}

.wallet-verloren-status {
  margin: 0;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.88rem;
  line-height: 1.4;
  text-align: left;
}

.wallet-verloren-status[hidden] {
  display: none !important;
}

.wallet-verloren-status.is-ok {
  background: #e8f5e9;
  border: 1px solid #81c784;
  color: #1b5e20;
}

.wallet-verloren-status.is-error {
  background: #fdecef;
  border: 1px solid #f1a7b5;
  color: #8a0a24;
}

.wallet-pay-confirm {
  margin: 0 0 10px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #e8f5e9;
  border: 1px solid #81c784;
  color: #1b5e20;
  font-size: 0.88rem;
  line-height: 1.4;
  text-align: left;
}

.wallet-pay-confirm[hidden] {
  display: none !important;
}

/* Dashboard – puntensaldo (goud) */
.dashboard-punten-banner-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 0 0 1.25rem;
}

.dashboard-punten-banner {
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  width: min(100%, 420px);
  margin: 0 auto;
  padding: 1rem 1.15rem 1.1rem;
  border-radius: 12px;
  border: 1px solid #c9a227;
  border-top: 4px solid #b8860b;
  box-shadow: 0 8px 22px rgba(184, 134, 11, 0.22);
  text-align: center;
  color: #3d2f00;
  background: linear-gradient(
    145deg,
    #fff9e6 0%,
    #f5e6b8 20%,
    #e8c547 45%,
    #d4af37 65%,
    #f5e6b8 85%,
    #fff4cc 100%
  );
  background-size: 220% 220%;
  animation: dashboard-punten-metal 6s ease infinite;
}

.dashboard-punten-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.6) 50%, transparent 60%);
  transform: translateX(-120%);
  animation: dashboard-punten-shimmer 4.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.dashboard-punten-banner > * {
  position: relative;
  z-index: 2;
}

.dashboard-punten-label {
  margin: 0 0 4px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5c4200;
  opacity: 0.9;
}

.dashboard-punten-amount {
  margin: 0 0 12px;
  font-size: 1.45rem;
  line-height: 1.3;
  color: #3d2f00;
}

.dashboard-punten-amount strong {
  font-size: 1.65rem;
  color: #5c4200;
}

.dashboard-punten-hint {
  margin: 0.15rem 0 0.55rem;
  font-size: 0.78rem;
  line-height: 1.35;
  color: rgba(61, 47, 0, 0.85);
}

.dashboard-punten-opbouw {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0.55rem 0.65rem;
  text-align: left;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  border: 1px solid rgba(184, 134, 11, 0.35);
}

.dashboard-punten-opbouw li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.82rem;
  padding: 0.15rem 0;
  border-bottom: 1px solid rgba(184, 134, 11, 0.2);
}

.dashboard-punten-opbouw li:last-child {
  border-bottom: 0;
}

.dashboard-punten-historiek-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  color: #fff8e7;
  background: linear-gradient(180deg, #8b6914 0%, #6b4f0a 100%);
  border: 1px solid #5c4200;
  box-shadow: 0 2px 6px rgba(60, 47, 0, 0.25);
  transition: background 0.15s ease, transform 0.15s ease;
}

.dashboard-punten-historiek-link:hover,
.dashboard-punten-historiek-link:focus {
  color: #fff;
  background: linear-gradient(180deg, #a67c00 0%, #7a5c08 100%);
  text-decoration: none;
  transform: translateY(-1px);
}

.dashboard-sponsor-card {
  max-width: 760px;
  margin: 20px auto 10px;
  padding: 18px 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 122, 51, 0.08), rgba(255, 255, 255, 0.96));
  border: 1px solid rgba(0, 122, 51, 0.18);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.dashboard-sponsor-card.formula-wit {
  background: linear-gradient(135deg, rgba(0, 122, 51, 0.08), rgba(255, 255, 255, 0.96));
  border: 1px solid rgba(0, 122, 51, 0.22);
}

.dashboard-sponsor-card.formula-zilver {
  background: linear-gradient(135deg, rgba(100, 116, 139, 0.12), rgba(255, 255, 255, 0.96));
  border: 1px solid rgba(90, 104, 120, 0.35);
}

.dashboard-sponsor-card.formula-goud {
  background: linear-gradient(135deg, rgba(196, 154, 34, 0.18), rgba(255, 255, 255, 0.96));
  border: 1px solid rgba(196, 154, 34, 0.55);
  box-shadow: 0 10px 26px rgba(196, 154, 34, 0.18);
}

.dashboard-sponsor-eyebrow {
  margin: 0 0 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #007a33;
}

.dashboard-sponsor-title {
  margin: 0 0 10px;
  font-size: 1.45rem;
  color: #111;
}

.dashboard-sponsor-tier {
  display: inline-block;
  margin-left: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(186, 12, 47, 0.1);
  color: rgb(186, 12, 47);
  font-size: 0.9rem;
  vertical-align: middle;
}

.dashboard-sponsor-card.formula-zilver .dashboard-sponsor-tier {
  background: rgba(90, 104, 120, 0.14);
  color: rgb(72, 83, 96);
}

.dashboard-sponsor-card.formula-goud .dashboard-sponsor-tier {
  background: rgba(196, 154, 34, 0.16);
  color: #7a5c08;
}

.dashboard-sponsor-status {
  margin: 0 auto 14px;
  max-width: 620px;
  font-size: 0.98rem;
}

.dashboard-sponsor-status-paid {
  color: #14532d;
}

.dashboard-sponsor-status-open {
  color: rgb(186, 12, 47);
}

.dashboard-sponsor-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

@keyframes dashboard-punten-shimmer {
  0%, 65% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

@keyframes dashboard-punten-metal {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .dashboard-punten-banner,
  .dashboard-punten-banner::before {
    animation: none;
  }
}

.dashboard-ambassadeur-banner {
  box-sizing: border-box;
  width: min(100%, 480px);
  margin: 0 auto 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: 12px;
  border: 1px solid #9bc4a8;
  border-top: 4px solid #007a33;
  background: linear-gradient(145deg, #f3faf5 0%, #e8f5ec 100%);
  text-align: center;
  color: #1a3d26;
}

.dashboard-ambassadeur-eyebrow {
  margin: 0 0 4px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #007a33;
}

.dashboard-ambassadeur-text {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.4;
}

/* =====================================================
   SIDEBAR – MIJN ACCOUNT DROPDOWN
===================================================== */

.menu-dropdown {
  display: block;
}

.menu-dropdown-toggle {
  width: 100%;
  background: none;
  border: none;
  padding: 12px 20px;
  text-align: left;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-dropdown-toggle:hover {
  background: rgba(255,255,255,0.15);
}

.menu-dropdown-items {
  display: none;
  flex-direction: column;
  background: rgba(0,0,0,0.15);
}

.menu-dropdown-items a {
  padding: 10px 30px;
  font-weight: normal;
  color: #fff;
  text-decoration: none;
}

.menu-dropdown-items a:hover {
  background: rgba(255,255,255,0.2);
}

/* open state */
.menu-dropdown.open .menu-dropdown-items {
  display: flex;
}

.menu-dropdown.open .caret {
  transform: rotate(180deg);
}

.caret {
  transition: transform 0.2s ease;
}
/* =====================================================
   SIDEBAR – MIJN ACCOUNT TOGGLE FIX
===================================================== */

.menu-dropdown-toggle {
  font-size: 1rem;              /* zelfde grootte als andere items */
  font-weight: bold;
  line-height: 1.4;

  padding: 12px 20px;
  margin: 0;

  color: #fff;
  background: none;
  border: none;

  width: 100%;
  text-align: left;

  cursor: pointer;
}

/* caret netjes uitlijnen */
.menu-dropdown-toggle .caret {
  font-size: 0.9em;
}

/* ===============================
   FORMULIER – ACCOUNT
================================= */
.form-card {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  padding: 35px 40px;
  border-radius: 18px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  border: 2px solid rgb(0, 122, 51);
}

.form-card label {
  display: block;
  font-weight: 600;
  margin-top: 18px;
  margin-bottom: 6px;
  color: #333;
}

.form-control {
  width: 100%;
  border-radius: 10px;
  padding: 12px 14px;
  border: 2px solid #ddd;
  font-size: 16px;
  transition: all 0.25s ease;
}

.form-control:focus {
  outline: none;
  border-color: rgb(0, 122, 51);
  box-shadow: 0 0 0 3px rgba(0, 122, 51, 0.2);
}

/* ===============================
   ALERT – WAARSCHUWING
================================= */
.alert-warning-wide {
  background: rgba(186, 12, 47, 0.12); /* licht rood transparant */
  border-left: 6px solid rgb(186, 12, 47);
  padding: 18px 22px;
  border-radius: 12px;
  margin: 20px 0 30px;
  font-size: 16px;
  line-height: 1.5;
  color: #5a0000;
}
/* ===============================
   PRIMAIRE ACTIE KNOP
================================= */
.btn-primary-maantje {
  background: rgb(0, 122, 51);
  color: #fff;
  padding: 16px 34px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 30px auto 0;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: all 0.25s ease;
}

.btn-primary-maantje:hover {
  background: rgb(186, 12, 47);
  transform: translateY(-1px);
}

.btn-primary-maantje .btn-icon {
  width: 22px;
  filter: drop-shadow(0 0 2px white);
}
/* ===============================
   STATUS MELDINGEN
================================= */

.status-ok {
  background: rgba(0, 122, 51, 0.12);
  border-left: 6px solid rgb(0, 122, 51);
  padding: 16px 22px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-weight: 600;
  color: #004d21;
}

/* EXTRA BELANGRIJK – EMAIL WIJZIGING */
.status-warning-strong {
  background: rgba(186, 12, 47, 0.12);
  border-left: 6px solid rgb(186, 12, 47);
  padding: 18px 22px;
  border-radius: 12px;
  margin-bottom: 25px;
  font-size: 17px;
  font-weight: 700;
  color: #5a0000;
}

.lidgeld-vernieuw-banner-wrap {
  max-width: 640px;
  margin: 0 auto 1.25rem;
}

.lidgeld-vernieuw-banner {
  text-align: left;
  font-weight: 600;
}

.lidkaart-gevonden-banner,
.status-warning-strong.lidkaart-gevonden-banner,
.status-warning-strong.terugbetaling-tegoed-banner {
  background: rgba(0, 122, 51, 0.12);
  border-left-color: #007a33;
  color: #0d3d22;
}

.lidkaart-verloren-banner {
  background: rgba(186, 12, 47, 0.14);
  border-left-color: rgb(186, 12, 47);
}

.lidgeld-vernieuw-title {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 800;
}

.lidgeld-vernieuw-text {
  margin: 0 0 10px;
  font-size: 0.98rem;
  line-height: 1.55;
  font-weight: 600;
}

.lidgeld-vernieuw-list {
  margin: 0 0 14px 1.2rem;
  padding: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 600;
}

.lidgeld-vernieuw-tier-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0 0 14px;
}

.lidgeld-tier-btn {
  padding: 10px 16px;
  font-size: 0.92rem;
  min-width: 140px;
  justify-content: center;
}

.lidgeld-tier-btn-current {
  opacity: 0.75;
  pointer-events: none;
}

.lidgeld-vernieuw-actions {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.lidgeld-vernieuw-btn {
  padding: 8px 14px;
  font-size: 0.9rem;
}
/* =========================
   OPSLAAN KNOP (ACCOUNT)
========================= */

.btn-save {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  background: #007a33;
  color: #ffffff;

  padding: 14px 34px;
  font-size: 17px;
  font-weight: 700;

  border: none;
  border-radius: 12px;
  cursor: pointer;

  margin: 30px auto 0;
  box-shadow: 0 6px 16px rgba(0, 122, 51, 0.35);

  transition: all 0.2s ease;
}

.btn-save img {
  filter: brightness(0) invert(1); /* icoon wit */
}

.btn-save:hover {
  background: #005f29;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 122, 51, 0.45);
}

.btn-save:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0, 122, 51, 0.35);
}

.vg-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: stretch;
  margin-top: 30px;
}
.vg-form-actions .btn-save {
  margin: 0;
  min-width: 200px;
  min-height: 52px;
  text-decoration: none;
  box-sizing: border-box;
  white-space: nowrap;
}
.vg-form-actions .vg-btn-back {
  background: #5a5a5a;
  box-shadow: none;
}
.vg-form-actions .vg-btn-back:hover {
  background: #444;
}

.vm-info {
  background: rgba(186, 12, 47, 0.08);
  border-left: 6px solid rgb(186, 12, 47);
  padding: 18px 24px;
  border-radius: 12px;
  max-width: 900px;
  margin: 0 auto 30px;
}
.vm-info ul {
  margin: 10px 0 0;
  padding-left: 20px;
}
.vm-info li {
  margin-bottom: 6px;
}
.vm-actions {
  text-align: center;
  margin: 30px 0 40px;
}

.vm-btn {
  display: inline-block;
  background: rgb(0, 122, 51); /* groen */
  color: #fff;
  padding: 14px 32px;
  font-size: 17px;
  font-weight: bold;
  border-radius: 14px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.1s ease;
}

.vm-btn:hover {
  background: rgb(186, 12, 47); /* rood bij hover */
  transform: translateY(-1px);
}

.vm-section {
  max-width: 900px;
  margin: 0 auto 40px;
}

.vm-section h2 {
  margin-bottom: 14px;
}

.vm-card {
  background: #fff;
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  margin-bottom: 12px;
}

.vm-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
}

.vm-actions-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

@media (max-width: 640px) {
  .vm-actions-inline {
    gap: 12px;
  }
}

.vm-name {
  font-weight: 600;
}

.vm-status {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.vm-status.ok {
  background: #d2f5d2;
  color: #155724;
}

.vm-status.pending {
  background: #fff3cd;
  color: #856404;
}

.vm-delete {
  color: #ba0c2f;
  font-weight: 600;
  text-decoration: none;
}

.vm-delete:hover {
  text-decoration: underline;
}
.btn-success-small,
.btn-danger-small {
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  display: inline-block;
  font-size: inherit;
  font-family: inherit;
  line-height: 1.3;
}

.btn-success-small {
  background: #007a33;
  color: #fff;
}

.btn-success-small:hover {
  background: #006428;
  color: #fff;
  text-decoration: none;
}

.btn-groepspot-small {
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #ede4a8;
  cursor: pointer;
  display: inline-block;
  font-size: inherit;
  font-family: inherit;
  line-height: 1.3;
  background: #fef9e3;
  color: #5a5228;
}

.btn-groepspot-small:hover {
  background: #fdf3c8;
  color: #4a4420;
  text-decoration: none;
}

.btn-danger-small {
  background: #ba0c2f;
  color: #fff;
}
.vm-btn.rood {
  background: rgb(186, 12, 47);
}

.vm-btn.rood:hover {
  background: rgb(140, 8, 35);
}
/* Forceer perfecte centrering van primaire CTA */
.btn-primary-maantje {
  display: inline-flex;
  margin-left: auto;
  margin-right: auto;
}
/* ===============================
   BEDANKT PAGINA
================================= */

.thankyou-card {
  background: #fff;
  border-radius: 16px;
  padding: 50px 40px;
  max-width: 600px;
  margin: 0 auto;

  box-shadow: 0 8px 24px rgba(0,0,0,0.15);

  text-align: center;

  animation: zoomFadeIn 0.8s ease forwards;
  opacity: 0;
  transform: scale(0.95);
}

@keyframes zoomFadeIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.emoji {
  font-size: 3.2rem;
  margin-bottom: 20px;
  animation: bounce 1.4s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.thankyou-title {
  font-family: 'EDO SZ', sans-serif;
  font-size: 2.2rem;
  color: var(--groen);
  margin-bottom: 18px;
}

.thankyou-text {
  font-size: 1.15rem;
  color: #333;
  line-height: 1.5;
  margin-bottom: 32px;
}

.btn-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
/* ===============================
   SPONSORS PAGINA – LOGO FIX
   (alleen sponsors.php)
================================= */

.sponsors-page .sponsor-card img {
  width: 140px;
  height: 80px;
  object-fit: contain;
  display: block;
}

/* mobiel iets compacter */
@media (max-width: 600px) {
  .sponsors-page .sponsor-card img {
    width: 120px;
    height: 70px;
  }
}
/* ===============================
   SPONSORS PAGINA – VISUELE UPGRADE
================================= */

.sponsors-page {
  margin-top: 30px;
}

.sponsors-page .sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 28px;
}

.sponsors-page .sponsor-card {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  height: 230px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  position: relative;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  cursor: pointer;

  transition: transform .2s ease, box-shadow .2s ease;
}

.sponsors-page .sponsor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.22);
}

.sponsors-page .sponsor-logo-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sponsors-page .sponsor-card img {
  width: 140px;
  height: 80px;
  object-fit: contain;
}

.sponsors-page .sponsor-name {
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: 12px;
  text-align: center;
  color: #333;
}

/* Hover overlay */
.sponsors-page .sponsor-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  padding: 18px;
  font-size: 0.95rem;
  line-height: 1.4;

  opacity: 0;
  border-radius: 18px;
  transition: opacity .25s ease;
}

.sponsors-page .sponsor-card:hover .sponsor-overlay {
  opacity: 1;
}

/* visuele klik-indicatie */
.sponsors-page .sponsor-card::after {
  content: "↗";
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 16px;
  color: #fff;
  opacity: 0;
  transition: opacity .25s ease;
}

.sponsors-page .sponsor-card:hover::after {
  opacity: 1;
}

/* mobiel */
@media (max-width: 600px) {
  .sponsors-page .sponsor-card {
    height: 200px;
  }
}

/* ===============================
   WEBSHOP
================================= */

.webshop-page {
  max-width: 1200px;
  margin: 0 auto;
}

.webshop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 30px;
}

.product-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.14);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.product-image {
  background: #f7f7f7;
  padding: 20px;
  text-align: center;
}

.product-image img {
  max-height: 180px;
  object-fit: contain;
}

.product-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.product-desc {
  font-size: 0.95rem;
  color: #555;
  flex: 1;
  margin-bottom: 12px;
}

.product-price {
  margin-bottom: 14px;
  font-size: 1rem;
  font-weight: normal;
  color: #222;
}

.product-price .webshop-prijs-normaal {
  font-size: 1.15rem;
  font-weight: 800;
  color: #007a33;
}

.webshop-prijs-regel {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.webshop-prijs-regel-korting {
  margin-bottom: 0;
  padding-top: 4px;
  border-top: 1px dashed #e0e0e0;
}

.webshop-prijs-label {
  font-size: 0.82rem;
  color: #666;
  font-weight: 500;
}

.webshop-korting-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 22px 24px;
  border-radius: 14px;
  margin: 0 auto 28px;
  max-width: 640px;
  border: 2px solid #ddd;
  background: #f8f9fa;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.webshop-korting-banner.webshop-korting-zilver {
  background: linear-gradient(135deg, #f8f8f8 0%, #e8e8e8 100%);
  border-color: #a8a8a8;
}

.webshop-korting-banner.webshop-korting-goud {
  background: linear-gradient(135deg, #fff9e6 0%, #f0dfa0 100%);
  border-color: #c9a227;
  box-shadow: 0 4px 16px rgba(184, 134, 11, 0.15);
}

.webshop-korting-banner-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.45;
  color: #1a1a1a;
  max-width: 520px;
}

.webshop-korting-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.webshop-korting-zilver .webshop-korting-badge {
  background: #5c636a;
  color: #fff;
}

.webshop-korting-goud .webshop-korting-badge {
  background: #9a7209;
  color: #fff;
}

.webshop-korting-sub {
  font-size: 0.9rem;
  color: #555;
  margin: 0;
}

.webshop-korting-uitzondering {
  font-size: 0.85rem;
  color: #6b4a0a;
  margin: 0;
  max-width: 520px;
  line-height: 1.4;
}

.webshop-geen-korting-label {
  font-size: 0.82rem;
  color: #8b4513;
  font-weight: 600;
}

.webshop-korting-hint {
  margin: 0 0 20px;
  font-size: 0.95rem;
}

.product-price .webshop-prijs-regel:not(.webshop-prijs-regel-korting) .webshop-prijs-label,
.product-price .webshop-prijs-regel:not(.webshop-prijs-regel-korting) .webshop-prijs-oud {
  color: #1a1a1a;
  font-weight: 400;
}

.product-price .webshop-prijs-oud {
  text-decoration: line-through;
  color: #1a1a1a;
  font-weight: 400;
  font-size: 1rem;
}

.webshop-prijs-korting {
  color: #007a33;
  font-weight: 800;
  font-size: 1.35rem;
}

.order-total-muted {
  color: #666;
  font-size: 0.95rem;
}

.order-total-discount {
  color: #007a33;
  font-size: 0.95rem;
}

.product-form label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 10px;
  display: block;
}

.product-form select,
.product-form input[type="number"] {
  width: 100%;
  padding: 8px 10px;
  margin-top: 4px;
  margin-bottom: 10px;
  border-radius: 8px;
  border: 2px solid #ddd;
}

.product-form button {
  margin-top: auto;
}
/* === Afrekenen – overzicht & acties === */

.ef-card-soft {
  background: #fafafa;
  border: 1px solid #e5e5e5;
}

.table-clean th {
  background: #f4f4f4;
  font-weight: 600;
}

.table-clean tfoot th {
  font-size: 1.05rem;
}

.checkout-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-top: 25px;
}

.checkout-actions .btn-lg {
  padding: 12px 26px;
  font-size: 1.05rem;
}
/* ================================
   AFREKENEN & WINKELMAND – UI FIX
================================ */

.ef-card-soft {
  background: #fafafa;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 20px;
}

.table-clean th {
  background: #f4f4f4;
  font-weight: 600;
}

.table-clean td,
.table-clean th {
  vertical-align: middle;
}

.checkout-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-top: 25px;
}

.btn-maantje-primary {
  background: rgb(186, 12, 47);
  color: #fff;
  padding: 12px 26px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-maantje-primary:hover {
  background: rgb(0, 122, 51);
}

.btn-maantje-outline {
  border: 2px solid rgb(186, 12, 47);
  color: rgb(186, 12, 47);
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
}

.btn-maantje-outline:hover {
  background: rgb(186, 12, 47);
  color: #fff;
}
/* ================================
   OVERZICHT BESTELLING
================================ */

.order-summary {
  background: #fafafa;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 20px;
}

.table-clean {
  margin-bottom: 0;
}

.table-clean th {
  background: #f1f1f1;
  font-weight: 600;
}

.table-clean td,
.table-clean th {
  padding: 10px;
}

.order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 2px solid #ddd;
  font-size: 1.2rem;
}

.order-total strong {
  color: rgb(186, 12, 47);
}
/* ================================
   WINKELMAND
================================ */

.table-clean {
  background: #fafafa;
  border-radius: 10px;
  overflow: hidden;
}

.table-clean thead th {
  background: #f1f1f1;
  font-weight: 600;
}

.table-clean td,
.table-clean th {
  padding: 12px;
  vertical-align: middle;
}

.order-total-row th {
  font-size: 1.15rem;
  background: #fff;
  border-top: 2px solid #ddd;
}

.order-total-row th:last-child {
  color: rgb(186, 12, 47);
  font-weight: 700;
}

/* Actieknoppen onderaan */

.btn-maantje-outline {
  border: 2px solid rgb(186, 12, 47);
  color: rgb(186, 12, 47);
  background: transparent;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.btn-maantje-outline:hover {
  background: rgb(186, 12, 47);
  color: #fff;
}

.btn-maantje-secondary {
  background: #e5e5e5;
  color: #333;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}

.btn-maantje-secondary:hover {
  background: #d4d4d4;
}

.btn-maantje-primary {
  background: rgb(186, 12, 47);
  color: #fff;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

.btn-maantje-primary:hover {
  background: rgb(0, 122, 51);
}
.order-actions {
  clear: both;
}

.order-actions .btn-maantje-outline {
  margin-bottom: 6px;
}
/* Winkelmand – actieknoppen */
.cart-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.cart-actions > * {
  flex: 0 0 auto;
}

/* Mobiel: alles netjes onder elkaar */
@media (max-width: 768px) {
  .cart-actions {
    flex-direction: column;
  }

  .cart-actions a,
  .cart-actions button {
    width: 100%;
    text-align: center;
  }
}
.ef-card {
  overflow: visible !important;
}
/* 🔥 FIX winkelmand / afrekenen knoppen */
.ef-card,
.main,
.layout {
  overflow: visible !important;
}
.cart-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .cart-actions {
    flex-direction: column;
  }
}
/* =========================================
   FIX winkelmand / afrekenen layout
   ========================================= */
.layout,
.main,
.ef-card {
  height: auto !important;
  overflow: visible !important;
}

/* acties altijd zichtbaar */
.ef-card .mt-4 {
  padding-bottom: 20px;
}
/* Bootstrap-achtige helpers (nodig!) */
.mt-4 { margin-top: 1.5rem; }
.mb-3 { margin-bottom: 1rem; }

.d-flex { display: flex; }
.gap-2 { gap: 0.5rem; }

/* veiligheid: buttons nooit overlappen */
.mt-4 > div { display: block; }

#periodeError {
  display: none;
  color: #ba0c2f;
  font-weight: 700;
  margin-top: 6px;
}

input.invalid {
  border-color: #ba0c2f !important;
  box-shadow: 0 0 0 2px rgba(186,12,47,0.25);
}
/* Google Places dropdown – force correct layer */
.pac-container{
  z-index: 2147483647 !important;
}

}
.ef-card {
  position: relative;
  z-index: 1;
}
.dashboard-empty {
    text-align: center;
    opacity: 0.8;
}
.dashboard-section-title {
    text-align: center;
    color: var(--rood); /* SC 't Maantje rood */
    font-family: 'EDO SZ', sans-serif;
    letter-spacing: 1px;
    margin-top: 16px;
    margin-bottom: 8px;
}

}
.dashboard-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    text-align: center;
}
.dashboard-list li {
    margin-bottom: 10px;
    font-size: 15px;
}
.dashboard-list em {
    opacity: 0.7;
    font-style: italic;
}
/* Laatste 5 verplaatsingen centreren */
.dashboard-section {
    text-align: center;
}

.dashboard-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: inline-block; /* 🔑 dit centreert de lijst zelf */
}

.dashboard-list li {
    margin-bottom: 10px;
    text-align: center;
}
.btn-success {
    background-color: var(--groen);
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

.btn-success:hover {
    background-color: rgb(0, 100, 42); /* iets donkerder groen */
}
/* Gevalideerd (read-only) veld */
.field-validated {
    background-color: rgba(0, 122, 51, 0.08); /* licht SC ’t Maantje groen */
    border: 1px solid rgba(0, 122, 51, 0.4);
    color: #000;
    cursor: not-allowed;
}

/* Extra zekerheid: readonly inputs */
input[readonly] {
    opacity: 0.95;
}
/* Verplicht maar leeg veld */
.field-required {
    background-color: rgba(186, 12, 47, 0.08); /* licht rood */
    border: 1px solid rgba(186, 12, 47, 0.6);
}

/* Kleine waarschuwingstekst */
.status-warning {
    color: var(--rood);
    font-size: 13px;
}
.voorwaarden-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}

.voorwaarden-box {
    max-height: 420px;
    overflow-y: auto;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin: 20px 0;
    line-height: 1.6;
}

.voorwaarden-form {
    margin-top: 20px;
}

.checkbox {
    display: block;
    margin-bottom: 15px;
    font-weight: 500;
}

.btn-primary {
    background: #ba0c2f;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
}

.error-message {
    background: #ffe0e0;
    color: #900;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 10px;
}
.reglement-box {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #ddd;
    line-height: 1.7;
}
.form-control.is-invalid {
    border: 2px solid #c0392b;
    background-color: #fff5f5;
}

.invalid-feedback-custom {
    display: none;
    color: #c0392b;
    font-size: 0.9em;
    margin-top: 4px;
}
/* =====================================================
   SCTM FORM VALIDATION LIDWORDEN – ERROR STATES
===================================================== */

.form-card .form-control.sctm-invalid {
    border: 2px solid rgb(186, 12, 47) !important;
    background-color: rgba(186, 12, 47, 0.08) !important;
}

.form-card .sctm-error {
    color: rgb(186, 12, 47);
    font-size: 0.9rem;
    margin-top: 6px;
}
/* =====================================================
   SCTM – INVALID FIELD MUST OVERRIDE FOCUS
===================================================== */

.form-card .form-control.sctm-invalid {
    border: 2px solid rgb(186, 12, 47) !important;
    background-color: rgba(186, 12, 47, 0.08) !important;
}

/* ❗ OVERRIDE groene focus */
.form-card .form-control.sctm-invalid:focus {
    border: 2px solid rgb(186, 12, 47) !important;
    box-shadow: 0 0 0 3px rgba(186, 12, 47, 0.35) !important;
    outline: none;
}
.form-card .form-control.sctm-invalid::placeholder {
    color: rgba(186, 12, 47, 0.6);
}

/* =====================================================
   WACHTWOORD TONEN/VERBERGEN (oogje)
===================================================== */
/* Edge/Chrome native oogje uitzetten — anders twee iconen */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
  display: none;
}

.pw-toggle-wrap {
  position: relative;
  display: block;
  width: 100%;
}

.pw-toggle-wrap > input {
  width: 100%;
  padding-right: 44px !important;
  box-sizing: border-box;
}

.pw-toggle-btn {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: auto !important;
  width: 44px !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 6px 6px 0;
  background: transparent !important;
  box-shadow: none;
  color: #666;
  cursor: pointer;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 1.05rem;
  transform: none !important;
  z-index: 2;
}

.pw-toggle-btn:hover,
.pw-toggle-btn:focus {
  color: rgb(0, 122, 51);
  outline: none;
  background: transparent !important;
}

.pw-toggle-btn:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(0, 122, 51, 0.25);
}

/* =====================================================
   PWA INSTALL BANNER
===================================================== */
.pwa-install-banner {
  position: sticky;
  top: var(--header-height);
  z-index: 900;
  background: linear-gradient(135deg, #007A33 0%, #005c26 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.pwa-install-banner[hidden] {
  display: none !important;
}

.pwa-install-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 16px;
}

.pwa-install-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.92rem;
  line-height: 1.35;
}

.pwa-install-text strong {
  font-size: 1rem;
}

.pwa-install-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.pwa-install-btn {
  border: 0;
  background: #fff;
  color: #007A33;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
}

.pwa-install-btn:hover,
.pwa-install-btn:focus {
  background: #f0fff5;
  outline: none;
}

.pwa-install-dismiss {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  opacity: 0.85;
}

.pwa-install-dismiss:hover {
  opacity: 1;
}

@media (max-width: 640px) {
  .pwa-install-inner {
    padding: 10px 12px;
  }
  .pwa-install-text {
    font-size: 0.85rem;
  }
}

/* Push notification controls */
.pwa-push-card {
  border: 1px solid #d9e6dc;
  background: #f7fbf8;
  border-radius: 12px;
  padding: 16px 18px;
  margin: 16px 0 24px;
}

.pwa-push-card h3 {
  margin: 0 0 6px;
  color: #007A33;
  font-size: 1.15rem;
}

.pwa-push-card p {
  margin: 0 0 12px;
  color: #333;
  line-height: 1.45;
}

.pwa-push-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.pwa-push-btn {
  border: 0;
  background: #007A33;
  color: #fff;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 8px;
  cursor: pointer;
}

.pwa-push-btn.secondary {
  background: #fff;
  color: #007A33;
  border: 1px solid #007A33;
}

.pwa-push-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.pwa-push-card-simple {
  padding: 12px 14px;
  margin: 12px 0 18px;
}

.pwa-push-card-simple h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.pwa-push-card-simple p {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

/* Push prompt / dialog */
body.pwa-push-modal-open {
  overflow: hidden;
}

.pwa-push-prompt {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
}

.pwa-push-prompt[hidden] {
  display: none !important;
}

.pwa-push-prompt-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.pwa-push-prompt-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  margin-bottom: 12px;
  padding: 18px 16px 16px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.pwa-push-prompt-card h3 {
  margin: 0 0 8px;
  color: #007A33;
  font-size: 1.2rem;
}

.pwa-push-prompt-card > p {
  margin: 0 0 14px;
  color: #333;
  line-height: 1.45;
  font-size: 0.95rem;
}

.pwa-push-prompt-list {
  margin: 0 0 14px;
  padding-left: 1.2rem;
  color: #444;
  font-size: 0.92rem;
  line-height: 1.45;
  text-align: left;
}

.pwa-push-prompt-install {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f3fbf5;
  border: 1px solid #cfe3d4;
  font-size: 0.88rem;
  color: #1b5e20;
  text-align: left;
}

.pwa-push-prompt-install strong {
  display: block;
  margin-bottom: 2px;
}

.pwa-push-prompt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.pwa-push-prompt-more {
  margin: 12px 0 0;
  font-size: 0.85rem;
  color: #666;
}

.pwa-push-prompt-more a {
  color: #007A33;
  font-weight: 600;
}

@media (min-width: 640px) {
  .pwa-push-prompt {
    align-items: center;
  }
  .pwa-push-prompt-card {
    margin-bottom: 0;
  }
}

.dashboard-actions .action-btn .fa-bell {
  margin-right: 6px;
}

/* =====================================================
   JUPILER PRO LEAGUE PAGINA
===================================================== */
.jpl-page-content {
  max-width: 920px;
}

.jpl-page {
  padding-bottom: 1.5rem;
}

.jpl-page-header {
  margin: 0 0 1.5rem;
  text-align: center;
}

.jpl-page-intro {
  margin-top: -0.5rem;
  margin-bottom: 0;
}

.jpl-panel {
  margin-bottom: 1.5rem;
  padding: 1.15rem 1.1rem 1.3rem;
  background: linear-gradient(180deg, #f8fbf9 0%, #ffffff 55%);
  border: 1px solid #e4ebe6;
  border-top: 3px solid var(--groen);
  border-bottom: 3px solid var(--rood);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.jpl-panel--essevee {
  border-top-color: var(--rood);
  border-bottom-color: var(--groen);
}

.jpl-panel-head {
  margin-bottom: 1rem;
  text-align: center;
}

.jpl-panel h2 {
  margin: 0;
  font-family: 'EDO SZ', sans-serif;
  font-size: 1.55rem;
  font-weight: normal;
  color: var(--rood);
  letter-spacing: 0.02em;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.08);
}

.jpl-panel-sub {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: #555;
}

.jpl-round-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem 0.7rem;
  margin: 0 0 1rem;
}

.jpl-round-badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(0, 122, 51, 0.12);
  color: var(--groen);
  font-size: 0.8rem;
  font-weight: 700;
}

.jpl-round-note-text {
  font-size: 0.88rem;
  color: #555;
}

.jpl-pending-hint,
.jpl-pending-marker {
  color: var(--rood);
  font-weight: 700;
}

.jpl-standings-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e8eee9;
}

.jpl-standings-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.jpl-standings-table thead th {
  background: #f4f8f5;
  color: #444;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.65rem 0.45rem;
  text-align: center;
  white-space: nowrap;
  border-bottom: 2px solid #dfe9e2;
}

.jpl-standings-table thead th.jpl-col-club {
  text-align: left;
  padding-left: 0.75rem;
}

.jpl-standings-table tbody td {
  padding: 0.6rem 0.45rem;
  border-bottom: 1px solid #f0f0f0;
  text-align: center;
  vertical-align: middle;
}

.jpl-standings-table tbody tr:nth-child(even) {
  background: #fafcfa;
}

.jpl-standings-table tbody td.jpl-col-club {
  text-align: left;
  padding-left: 0.75rem;
}

.jpl-standings-table .essevee-standings-team {
  gap: 8px;
}

.jpl-standings-table .essevee-team-logo {
  width: 24px;
  height: 24px;
}

.jpl-standings-table .essevee-team-name {
  font-size: 0.9rem;
  font-weight: 600;
}

.jpl-standings-table tr.essevee-row-highlight {
  background: rgba(0, 122, 51, 0.14) !important;
  box-shadow: inset 4px 0 0 var(--groen);
}

.jpl-standings-table tr.essevee-row-highlight .essevee-team-name {
  color: var(--groen);
  font-weight: 800;
}

.jpl-col-rank {
  width: 2rem;
  color: #666;
  font-weight: 700;
}

.jpl-col-pts {
  font-weight: 800;
  color: var(--groen);
  font-size: 1rem;
}

.jpl-col-gd {
  font-weight: 700;
}

.jpl-row-pending .essevee-team-name {
  font-weight: 700;
}

.jpl-empty {
  margin: 0;
  text-align: center;
  color: #666;
  font-size: 0.95rem;
  padding: 0.5rem 0;
}

.jpl-empty--inline {
  padding: 0.85rem 0.9rem 1rem;
  text-align: left;
}

.jpl-essevee-matches {
  gap: 12px;
}

.jpl-essevee-matches .essevee-match-row {
  margin: 0;
}

.jpl-match-events {
  margin-top: 0.75rem;
  border-top: 1px dashed #e0e8e2;
  padding-top: 0.55rem;
}

.jpl-match-events-summary {
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--groen);
  list-style: none;
  user-select: none;
}

.jpl-match-events-summary::-webkit-details-marker {
  display: none;
}

.jpl-match-events-summary::before {
  content: '▸ ';
  display: inline-block;
  transition: transform 0.15s ease;
}

.jpl-match-events[open] .jpl-match-events-summary::before {
  transform: rotate(90deg);
}

.jpl-match-events-body {
  margin-top: 0.55rem;
}

.jpl-match-events-status {
  margin: 0;
  font-size: 0.85rem;
  color: #666;
}

.jpl-match-events-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.jpl-match-event {
  display: grid;
  grid-template-columns: 2.4rem 1.4rem 1fr;
  gap: 0.35rem;
  align-items: start;
  font-size: 0.88rem;
  padding: 0.4rem 0.55rem;
  background: #f8fbf9;
  border-radius: 8px;
}

.jpl-match-event--home {
  grid-template-columns: 2.4rem 1.4rem minmax(0, 1fr);
  justify-items: start;
  text-align: left;
  margin-right: 18%;
  box-shadow: inset 3px 0 0 var(--groen);
}

.jpl-match-event--away {
  grid-template-columns: minmax(0, 1fr) 1.4rem 2.4rem;
  justify-items: end;
  text-align: right;
  margin-left: 18%;
  background: #fff8f8;
  box-shadow: inset -3px 0 0 var(--rood);
}

.jpl-match-event--unknown {
  margin: 0 8%;
  text-align: center;
  justify-items: center;
}

.jpl-match-event--away .jpl-match-event-min {
  text-align: left;
}

.jpl-match-event-min {
  font-weight: 800;
  color: #555;
  text-align: right;
}

.jpl-match-event-icon {
  text-align: center;
}

.jpl-match-event-text {
  color: #222;
  line-height: 1.3;
  min-width: 0;
}

.jpl-fixture-status {
  margin-left: 0.35rem;
  color: #777;
  font-weight: 600;
  font-size: 0.85em;
}

.jpl-rounds-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.jpl-round-details {
  border: 1px solid #e4ebe6;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.jpl-round-details.is-current {
  border-color: rgba(0, 122, 51, 0.45);
  box-shadow: 0 2px 10px rgba(0, 122, 51, 0.08);
}

.jpl-round-details[open] .jpl-round-summary {
  background: #f4f8f5;
  border-bottom: 1px solid #e4ebe6;
}

.jpl-round-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  user-select: none;
  transition: background 0.15s ease;
}

.jpl-round-summary:hover {
  background: #f8fbf9;
}

.jpl-round-summary::-webkit-details-marker {
  display: none;
}

.jpl-round-summary-label {
  font-size: 1rem;
  color: #222;
}

.jpl-round-details.is-current .jpl-round-summary-label {
  color: var(--groen);
}

.jpl-round-summary-count {
  flex-shrink: 0;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  background: rgba(186, 12, 47, 0.08);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--rood);
}

.jpl-round-details.is-current .jpl-round-summary-count {
  background: rgba(0, 122, 51, 0.12);
  color: var(--groen);
}

.jpl-round-details .jpl-fixture-list--round {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0.75rem 0.85rem;
}

.jpl-fixture-row {
  padding: 0.7rem 0.45rem;
  border-top: 1px solid #eee;
}

.jpl-fixture-row:first-child {
  border-top: none;
}

.jpl-fixture-row.is-essevee {
  background: rgba(186, 12, 47, 0.08);
  border-radius: 8px;
  margin: 0.2rem 0;
  padding-left: 0.55rem;
  padding-right: 0.55rem;
  border-top-color: transparent;
  box-shadow: inset 3px 0 0 var(--rood);
}

.jpl-fixture-row.is-live {
  background: rgba(0, 122, 51, 0.07);
}

.jpl-live-badge {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--rood);
  animation: essevee-blink 1.2s step-end infinite;
}

.jpl-fixture-row.is-live .jpl-fixture-score {
  min-width: 4.4rem;
  background: rgba(0, 122, 51, 0.12);
  color: #0a5c2c;
}

.jpl-fixture-teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.45rem;
}

.jpl-fixture-teams--compact {
  gap: 0.35rem;
}

.jpl-fixture-team {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.jpl-fixture-team--away {
  justify-content: flex-end;
  text-align: right;
}

.jpl-fixture-team img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex-shrink: 0;
}

.jpl-fixture-team span {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  word-break: break-word;
}

.jpl-fixture-score {
  min-width: 3.4rem;
  padding: 0.25rem 0.4rem;
  text-align: center;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: #222;
  background: #f4f8f5;
  border-radius: 8px;
}

.jpl-fixture-row.is-essevee .jpl-fixture-score {
  background: rgba(186, 12, 47, 0.1);
  color: var(--rood);
}

.jpl-fixture-sub {
  margin-top: 0.3rem;
  font-size: 0.75rem;
  color: #888;
  text-align: center;
}

.jpl-home-link-wrap {
  margin: 0.65rem 0 0;
  text-align: center;
}

.jpl-home-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--groen);
  text-decoration: none;
}

.jpl-home-link:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .jpl-page-content.main {
    padding: 18px 14px 28px;
  }

  .jpl-panel {
    padding: 1rem 0.75rem 1.1rem;
    border-radius: 10px;
  }

  .jpl-panel h2 {
    font-size: 1.35rem;
  }

  .jpl-standings-table {
    min-width: 0;
    font-size: 0.8rem;
  }

  .jpl-standings-table thead th,
  .jpl-standings-table tbody td {
    padding: 0.45rem 0.28rem;
  }

  .jpl-standings-table thead th.jpl-col-club,
  .jpl-standings-table tbody td.jpl-col-club {
    padding-left: 0.5rem;
  }

  .jpl-hide-xs {
    display: none;
  }

  .jpl-standings-table .essevee-team-logo {
    width: 18px;
    height: 18px;
  }

  .jpl-standings-table .essevee-team-name {
    font-size: 0.78rem;
  }

  .jpl-fixture-team img {
    width: 22px;
    height: 22px;
  }

  .jpl-fixture-team span {
    font-size: 0.8rem;
  }

  .jpl-fixture-score {
    min-width: 2.8rem;
    font-size: 0.92rem;
  }
}
