select option {
    color: #0f172a;
}

button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none !important;
}


/* ── Mobiele navigatie ───────────────────────────────────────────────────────── */
.nav-menu--hidden {
    display: none;
}

.nav-menu--visible {
    display: flex;
}

#mobileMenu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 85vw);
    background-color: #0c2340;
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.5rem;
    z-index: 200;
    overflow-y: auto;
    box-shadow: -8px 0 32px rgba(0,0,0,0.35);
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobileMenu.nav-menu--hidden {
    display: flex;
    transform: translateX(100%);
    pointer-events: none;
}

#mobileMenu.nav-menu--visible {
    transform: translateX(0);
    pointer-events: auto;
}

#mobileOverlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.55);
    z-index: 199;
    backdrop-filter: blur(2px);
}

.nav-mobile-link {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.15s, color 0.15s;
    text-decoration: none;
}

.nav-mobile-link:hover,
.nav-mobile-link.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.nav-mobile-link--accent {
    background-color: #489fdf;
    color: #ffffff;
    margin-top: 0.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(72, 159, 223, 0.3);
}

.nav-mobile-link--accent:hover {
    background-color: #3a8fd0;
}

.nav-mobile-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0.5rem 0;
}

/* ── Hamburger button ─────────────────────────────────────────────────────── */
#navToggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    background: rgba(255,255,255,0.1);
    border-radius: 0.5rem;
    gap: 5px;
    cursor: pointer;
    transition: background 0.15s;
    padding: 0;
    flex-shrink: 0;
}

#navToggle:hover {
    background: rgba(255,255,255,0.2);
}

#navToggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
}

#navToggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
#navToggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
#navToggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 768px) {
    #navToggle { display: none; }
    #mobileMenu { display: none !important; }
    #mobileOverlay { display: none !important; }
}

/* ── Privacy pagina prose stijlen ─────────────────────────────────────────── */
.prose h2 { font-size: 1.25rem; font-weight: 700; color: #0c2340; margin-top: 2rem; margin-bottom: 0.5rem; }
.prose p  { margin-bottom: 1rem; line-height: 1.75; color: #334155; }
.prose a  { color: #489fdf; text-decoration: underline; }
.prose a:hover { color: #0c2340; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.85rem; margin-bottom: 1.5rem; }
.prose th { background: #0c2340; color: #fff; padding: 8px 12px; text-align: left; font-weight: 600; }
.prose td { padding: 8px 12px; border-bottom: 1px solid #e2e8f0; vertical-align: top; }
.prose tr:nth-child(even) td { background: #f8fafc; }
@media (max-width: 640px) {
    .prose table, .prose thead, .prose tbody, .prose tr, .prose th, .prose td { display: block; }
    .prose th { display: none; }
    .prose td { border: none; border-bottom: 1px solid #e2e8f0; padding: 6px 0; }
    .prose td:first-child { font-weight: 600; color: #0c2340; padding-top: 12px; }
    .prose tr { border-bottom: 2px solid #cbd5e1; margin-bottom: 8px; }
}

/* ── Live wedstrijden: score aanpas-knoppen ──────────────────────────────── */
.score-adj-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.625rem;
    background: #e2e8f0;
    border: 1px solid #cbd5e1;
    color: #0c2340;
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s;
}
.score-adj-btn:hover:not(:disabled) {
    background: #489fdf;
    border-color: #489fdf;
    color: #ffffff;
}
.score-adj-btn:disabled {
    opacity: 0.30;
    cursor: not-allowed;
}
.score-adj-btn:focus-visible {
    outline: 2px solid #489fdf;
    outline-offset: 2px;
}

/* ── Live wedstrijden: wedstrijdbediening knoppen ────────────────────────── */
.match-ctrl-btn {
    border-radius: 0.875rem;
    padding: 0.5rem 0.25rem;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.35;
    border: none;
    cursor: pointer;
    color: #ffffff;
    text-align: center;
    background: #489fdf;
    transition: opacity 0.15s, transform 0.1s;
}
@media (min-width: 400px) {
    .match-ctrl-btn {
        padding: 0.625rem 0.5rem;
        font-size: 0.8rem;
    }
}
.match-ctrl-btn:hover:not(:disabled) {
    opacity: 0.88;
}
.match-ctrl-btn:active:not(:disabled) {
    transform: scale(0.97);
}
.match-ctrl-btn:disabled {
    opacity: 0.25;
    cursor: not-allowed;
}
.match-ctrl-btn:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.7);
    outline-offset: 2px;
}
.match-ctrl-btn--timeout {
    background: #0891b2;
}
.match-ctrl-btn--stop {
    background: #e2e8f0;
    border: 1px solid #cbd5e1;
    color: #0c2340;
}
.match-ctrl-btn--stop:hover:not(:disabled) {
    background: #cbd5e1;
    opacity: 1;
}
.match-ctrl-btn--stop-timeout {
    background: #dc2626;
}

/* ── Live wedstrijden: scorebord grid layout ─────────────────────────────── */

/* Mobiel: verticaal gestapeld */
.scoreboard-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

/* Vanaf tablet: 3 kolommen naast elkaar */
@media (min-width: 640px) {
    .scoreboard-grid {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        gap: 12px;
    }
}

/* Team-blokken op mobiel volledige breedte */
.scoreboard-grid > .rounded-3xl {
    width: 100%;
}

@media (min-width: 640px) {
    .scoreboard-grid > .rounded-3xl {
        width: auto;
    }
}

/* Score centrum: alles op één horizontale rij */
.scoreboard-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

/* Twee knoppen verticaal gestapeld (+ boven, − onder) */
.score-btns-col {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.score-digit {
    font-size: 2.75rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #ffffff;
    min-width: 2rem;
    text-align: center;
    line-height: 1;
}

@media (min-width: 640px) {
    .score-digit {
        font-size: 3rem;
        min-width: 2.25rem;
    }
}

@media (min-width: 768px) {
    .score-digit {
        font-size: 3.75rem;
        min-width: 2.75rem;
    }
}

/* Separator kolom: streepje + tijd netjes gecentreerd */
.score-sep-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0 4px;
}
/* Admin controls — standaard verborgen, zichtbaar na login */
/* adminControls zichtbaarheid wordt beheerd via de .hidden Tailwind class in JS */

/* ── Cookie consent banner ─────────────────────────────────────────────────── */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    background: #0c2340; color: #fff;
    box-shadow: 0 -2px 16px rgba(0,0,0,.25);
    animation: cookie-slide-up .3s ease;
}
@keyframes cookie-slide-up { from { transform: translateY(100%) } to { transform: translateY(0) } }
.cookie-inner {
    max-width: 1180px; margin: 0 auto;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
    padding: 14px 24px;
}
.cookie-text { margin: 0; font-size: 13px; line-height: 1.5; flex: 1; min-width: 200px; opacity: .9 }
.cookie-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0 }
.cookie-link { font-size: 13px; color: #489fdf; text-decoration: underline; white-space: nowrap }
.cookie-link:hover { color: #fff }
.cookie-btn {
    background: #489fdf; color: #fff; border: none; cursor: pointer;
    border-radius: 10px; padding: 8px 20px; font-size: 13px; font-weight: 600;
    white-space: nowrap; transition: background .15s;
}
.cookie-btn:hover { background: #60b0ef }

/* Gebruikersbeheer tabellen */
.left-align-table th {
  text-align: left;
}