/* =====================================================================
   WK Finale 2026 — De Kuip · Stylesheet
   Kleurenpalet en typografie volgens het Claude Design-bestand.
   ===================================================================== */

:root {
    --navy:        #0B1B3D;
    --navy-2:      #142A5E;
    --navy-soft:   #1B315F;
    --ink:         #0A0F1E;
    --paper:       #F7F4EC;
    --paper-2:     #FBFAF5;
    --white:       #FFFFFF;
    --orange:      #F76B15;
    --orange-2:    #FF8A3D;
    --orange-soft: #FFE2CC;
    --red:         #D7263D;
    --red-soft:    #FDE2E5;
    --green:       #2A8D5B;
    --green-soft:  #DDEFE3;
    --line:        rgba(11,27,61,0.10);
    --line-2:      rgba(11,27,61,0.18);
    --muted:       rgba(11,27,61,0.62);
    --muted-navy:  rgba(255,255,255,0.62);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
    font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--ink);
    background: var(--paper-2);
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Archivo', system-ui, sans-serif;
    margin: 0;
    letter-spacing: -0.02em;
    color: var(--ink);
}

p { margin: 0; }
a { color: inherit; }

/* ---------- Top navigatie ---------- */
.wk-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 40px;
    background: var(--navy);
    color: white;
    height: 72px;
}
.wk-nav-left  { display: flex; align-items: center; gap: 32px; }
.wk-nav-right { display: flex; align-items: center; gap: 10px; }

.wk-logo {
    display: flex; align-items: center; gap: 10px;
    font-family: 'Archivo'; font-weight: 900; font-size: 18px;
    letter-spacing: 0.04em; text-transform: uppercase;
    color: white; text-decoration: none;
}
.wk-logo-mark {
    width: 34px; height: 34px; border-radius: 8px;
    background: var(--orange); color: var(--navy);
    font-family: 'Archivo'; font-weight: 900; font-size: 16px;
    display: flex; align-items: center; justify-content: center;
}
.wk-nav-links {
    display: flex; gap: 24px;
    font-size: 14.5px; font-weight: 500;
    color: var(--muted-navy);
}
.wk-nav-links a { text-decoration: none; }
.wk-nav-links a.active,
.wk-nav-links a:hover { color: white; }

.wk-nav-user {
    display: flex; align-items: center; gap: 10px;
    color: white; font-size: 14px;
}
.wk-avatar {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--orange); color: var(--navy);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Archivo'; font-weight: 800;
}
.wk-avatar.admin { background: var(--red); color: white; }
.wk-user-meta { display: flex; flex-direction: column; line-height: 1.15; }
.wk-user-name { font-weight: 700; }
.wk-user-role { font-size: 11.5px; color: var(--muted-navy);
                text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; padding: 11px 18px; border-radius: 8px;
    font-weight: 700; font-size: 14px;
    border: 1px solid transparent; cursor: pointer;
    transition: transform .08s, background .15s, box-shadow .15s;
    text-decoration: none; white-space: nowrap;
    font-family: inherit;
}
.btn:active { transform: translateY(1px); }
.btn-primary       { background: var(--orange); color: white; }
.btn-primary:hover { background: var(--orange-2); }
.btn-dark          { background: var(--navy); color: white; }
.btn-dark:hover    { background: var(--navy-2); }
.btn-outline       { background: transparent; color: white; border-color: rgba(255,255,255,0.3); }
.btn-outline:hover { background: rgba(255,255,255,0.08); }
.btn-outline-dark  { background: transparent; color: var(--navy); border: 1px solid var(--line-2); }
.btn-outline-dark:hover { background: var(--paper); }
.btn-danger        { background: white; color: var(--red); border: 1px solid var(--red); }
.btn-danger:hover  { background: var(--red-soft); }
.btn-danger-solid  { background: var(--red); color: white; }
.btn-danger-solid:hover { background: #b81f33; }
.btn-lg    { padding: 14px 22px; font-size: 15px; }
.btn-sm    { padding: 7px 12px; font-size: 13px; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
    background: var(--navy);
    color: white;
    padding: 56px 40px 64px;
    position: relative;
    overflow: hidden;
}
.hero-stripes {
    position: absolute; inset: 0; opacity: 0.07; pointer-events: none;
    background: repeating-linear-gradient(135deg, transparent 0 30px, white 30px 32px);
}
.hero-grid {
    display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px;
    align-items: center; position: relative;
    max-width: 1200px; margin: 0 auto;
}
.hero-pills { display: flex; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.hero h1 {
    font-size: 84px; font-weight: 900; line-height: 0.95;
    letter-spacing: -0.035em; margin-bottom: 18px; color: white;
}
.hero h1 .accent { color: var(--orange); }
.hero-text p {
    font-size: 18px; color: rgba(255,255,255,0.78);
    max-width: 540px; line-height: 1.5; margin-bottom: 30px;
}
.hero-text p strong { color: white; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

.event-card {
    background: white; border-radius: 18px; padding: 24px;
    color: var(--ink); box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.event-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 14px; margin: 14px 0 16px;
}
.event-grid .label,
.label {
    font-size: 11.5px; font-weight: 800;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 4px;
}
.event-grid .big { font-family: 'Archivo'; font-weight: 800; font-size: 22px; }
.event-grid .muted { color: var(--muted); font-size: 13px; }
.event-pin {
    background: var(--paper); border-radius: 10px;
    padding: 10px 12px; display: flex; align-items: center;
    gap: 8px; font-size: 13.5px;
}
.event-pin .pin-ico { color: var(--orange); }
.event-spots {
    margin-top: 12px; font-size: 13.5px;
    color: var(--muted); text-align: center;
}

/* ---------- Pills ---------- */
.pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 10px; border-radius: 999px;
    font-size: 12px; font-weight: 700;
    letter-spacing: 0.03em; text-transform: uppercase;
}
.pill-orange { background: var(--orange-soft); color: var(--orange); }
.pill-green  { background: var(--green-soft);  color: var(--green); }
.pill-red    { background: var(--red-soft);    color: var(--red); }
.pill-navy   { background: var(--navy);        color: white; }
.pill-light  { background: var(--paper);       color: var(--navy); }
.pill-translucent { background: rgba(255,255,255,0.12); color: white; }

/* ---------- Body grid (home) ---------- */
.body-grid {
    padding: 48px 40px;
    display: grid; grid-template-columns: 1.1fr 1fr;
    gap: 36px; max-width: 1200px; margin: 0 auto;
}
.body-grid h2 {
    font-size: 32px; font-weight: 800;
    margin-bottom: 12px; margin-top: 12px;
}
.lead {
    font-size: 15.5px; color: var(--ink);
    line-height: 1.6; margin-bottom: 20px;
}
.steps {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.step {
    background: white; border: 1px solid var(--line);
    border-left: 3px solid var(--orange);
    border-radius: 14px; padding: 18px;
}
.step .num {
    font-family: 'Archivo'; font-weight: 900;
    color: var(--orange); font-size: 22px; margin-bottom: 4px;
}
.step .t { font-weight: 800; margin-bottom: 4px; font-size: 14.5px; }
.step .d { font-size: 13px; color: var(--muted); line-height: 1.5; }

.rules-card {
    background: white; border: 1px solid var(--line);
    border-radius: 14px; overflow: hidden;
}
.rule-row {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 18px; border-bottom: 1px solid var(--line);
}
.rule-row.alt { background: var(--paper-2); }
.rule-row:last-child { border-bottom: 0; }
.rule-ico {
    width: 28px; height: 28px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; font-weight: 800; font-size: 16px;
}
.rule-ico.ok { background: var(--green-soft); color: var(--green); }
.rule-ico.no { background: var(--red-soft);  color: var(--red); }
.rule-label { font-weight: 600; font-size: 14.5px; }

/* ---------- Pagina-layout ---------- */
.page-light { background: var(--paper-2); min-height: calc(100vh - 72px - 60px); padding: 40px 0 56px; }
.page-dark  { background: var(--navy); min-height: calc(100vh - 72px - 60px); position: relative; }
.page-wrap  { max-width: 1120px; margin: 0 auto; padding: 0 40px; }
.page-wrap.narrow { max-width: 880px; }
.page-wrap.wide   { max-width: 1240px; }

.page-head { margin-bottom: 24px; }
.page-title {
    font-size: 38px; font-weight: 800;
    margin-top: 10px; margin-bottom: 6px;
}
.page-lead { color: var(--muted); font-size: 15px; max-width: 620px; line-height: 1.5; }

.back-link {
    font-size: 13px; color: var(--muted);
    text-decoration: none; display: inline-block; margin-bottom: 6px;
}
.back-link:hover { color: var(--navy); }

/* ---------- Cards ---------- */
.card {
    background: white; border: 1px solid var(--line);
    border-radius: 14px; padding: 24px;
}
.card-shadow {
    box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(11,27,61,0.06);
}
.card-h {
    font-family: 'Archivo'; font-weight: 800;
    font-size: 18px; letter-spacing: -0.01em;
}
.card.no-pad { padding: 0; overflow: hidden; }
.card-navy   { background: var(--navy); color: white; border: none; }
.card-navy p { color: var(--muted-navy); font-size: 13px; margin-top: 6px; }
.card-danger { border-color: var(--red); background: #FFF8F9; }
.card-danger .muted { color: var(--muted); font-size: 13.5px; line-height: 1.5; margin: 6px 0 12px; }

.card-head {
    display: flex; justify-content: space-between;
    align-items: center; margin-bottom: 18px;
}

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 4px; }
.field.full { grid-column: 1 / -1; }
.field label {
    font-size: 12.5px; font-weight: 700; color: var(--navy);
    text-transform: uppercase; letter-spacing: 0.06em;
}
.field input, .field select {
    padding: 12px 14px;
    border: 1px solid var(--line-2);
    border-radius: 8px; background: white;
    font-family: inherit; font-size: 14.5px;
    transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus {
    outline: none; border-color: var(--orange);
    box-shadow: 0 0 0 3px var(--orange-soft);
}
.field .hint { font-size: 12.5px; color: var(--muted); }
.field-error input, .field-error select { border-color: var(--red); }
.field-error .errmsg {
    font-size: 12.5px; color: var(--red);
    font-weight: 600; display: flex; align-items: center; gap: 4px;
}
.errmsg::before { content: '!'; display: inline-block;
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--red); color: white; text-align: center;
    font-size: 10px; line-height: 14px; font-weight: 800;
}
.grid-2 {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 16px 18px;
}

/* Radio groep */
.radio-group { display: flex; gap: 10px; }
.radio {
    flex: 1; display: flex; align-items: center; gap: 10px;
    padding: 11px 14px; border: 1px solid var(--line-2);
    border-radius: 8px; cursor: pointer;
    background: white; font-size: 14px; font-weight: 500;
}
.radio input { accent-color: var(--orange); margin: 0; }
.radio.selected {
    border-color: var(--orange); background: var(--orange-soft);
    color: var(--navy); font-weight: 700;
}

/* Checkbox-rij */
.checkbox-row {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 13.5px; color: var(--ink);
    margin-bottom: 18px; cursor: pointer;
}
.checkbox-row input { margin-top: 3px; accent-color: var(--orange); }
.checkbox-row a { color: var(--orange); font-weight: 700; text-decoration: none; }
.checkbox-row a:hover { text-decoration: underline; }

.section-head {
    display: flex; align-items: center; gap: 10px; margin-bottom: 18px;
}
.section-head .muted { font-size: 13px; color: var(--muted); }

.hr {
    height: 1px; background: var(--line);
    border: 0; margin: 18px 0;
}

.form-actions {
    display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
}
.muted-link {
    font-size: 14px; color: var(--muted); text-decoration: none;
}
.muted-link strong { color: var(--navy); }
.muted-link:hover { color: var(--navy); }

/* ---------- Banners ---------- */
.banner {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 14px 16px; border-radius: 10px;
    font-size: 14px; line-height: 1.5; margin-bottom: 18px;
}
.banner-orange { background: var(--orange-soft); color: var(--navy); border: 1px solid var(--orange); }
.banner-red    { background: var(--red-soft);    color: var(--red);  border: 1px solid var(--red); }
.banner-success{ background: var(--green-soft);  color: var(--green);border: 1px solid var(--green); }
.banner-error  { background: var(--red-soft);    color: var(--red);  border: 1px solid var(--red); }
.banner-info   { background: var(--paper);       color: var(--navy); border: 1px solid var(--line-2); }
.banner-ico {
    flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 13px;
    background: currentColor; color: white;
}
.banner-orange .banner-ico { background: var(--orange); }
.banner-red    .banner-ico { background: var(--red); }
.banner-success .banner-ico { background: var(--green); }
.banner-error  .banner-ico { background: var(--red); }
.banner-info   .banner-ico { background: var(--navy); }

.flash-wrap { max-width: 1120px; margin: 18px auto 0; padding: 0 40px; }

.capacity { align-items: center; }
.capacity-text { flex: 1; }
.capacity-bar { min-width: 180px; }
.capacity-bar .bar {
    height: 8px; background: rgba(247,107,21,0.18);
    border-radius: 999px; overflow: hidden;
}
.capacity-bar .fill { height: 100%; background: var(--orange); }
.capacity-bar .mono {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px; color: var(--navy);
    margin-top: 4px; text-align: right;
}

/* ---------- Login ---------- */
.login-bg-stripes {
    position: absolute; inset: 0; opacity: 0.06; pointer-events: none;
    background: repeating-linear-gradient(135deg, transparent 0 30px, white 30px 32px);
}
.login-wrap {
    max-width: 480px; margin: 0 auto; padding: 48px 20px;
    position: relative;
}
.login-head { text-align: center; color: white; margin-bottom: 24px; }
.login-head h1 { font-size: 36px; font-weight: 800; color: white; margin-bottom: 8px; }
.login-head p  { color: var(--muted-navy); font-size: 15px; }

.login-card { padding: 0; overflow: hidden; }
.login-tabs {
    display: grid; grid-template-columns: 1fr 1fr;
    background: var(--paper); border-bottom: 1px solid var(--line);
}
.login-tab {
    padding: 16px 12px; text-align: center;
    background: transparent;
    border-bottom: 3px solid transparent;
    color: var(--muted); font-weight: 700; font-size: 14px;
    text-decoration: none; cursor: pointer;
}
.login-tab.active {
    background: white; color: var(--navy);
    border-bottom-color: var(--orange);
}
.login-body { padding: 28px; }
.login-body .field { margin-bottom: 16px; }
.forgot-row { text-align: right; margin: -8px 0 18px; }
.forgot-row a { font-size: 13px; color: var(--muted); text-decoration: none; }
.login-footer {
    text-align: center; margin-top: 16px;
    font-size: 14px; color: var(--muted);
}
.orange-link { color: var(--orange); font-weight: 700; text-decoration: none; }
.login-back  { text-align: center; margin-top: 18px; color: var(--muted-navy); font-size: 13px; }
.login-back a { color: white; text-decoration: none; }

/* ---------- Fan dashboard ---------- */
.status-banner {
    background: var(--navy); border-radius: 18px;
    padding: 28px 32px; color: white;
    display: grid; grid-template-columns: 1.4fr 1fr;
    gap: 24px; margin-bottom: 24px;
    position: relative; overflow: hidden;
}
.status-stripes {
    position: absolute; inset: 0; opacity: 0.07; pointer-events: none;
    background: repeating-linear-gradient(135deg, transparent 0 22px, white 22px 23px);
}
.status-left, .status-right { position: relative; }
.status-pills { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.status-title {
    font-family: 'Archivo'; font-size: 32px; font-weight: 800;
    margin-bottom: 6px; letter-spacing: -0.01em; color: white;
}
.status-sub { color: var(--muted-navy); font-size: 14.5px; line-height: 1.5; max-width: 480px; }
.status-right {
    background: rgba(255,255,255,0.08); border-radius: 12px;
    padding: 18px; border: 1px dashed rgba(255,255,255,0.25);
}
.status-right .label { color: var(--muted-navy); }
.status-date {
    font-family: 'Archivo'; font-weight: 800; font-size: 24px;
    line-height: 1.1; margin-bottom: 14px; color: white;
}
.status-note { color: var(--muted-navy); font-size: 13px; line-height: 1.5; }

.dash-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; }
.dash-fields {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 18px 24px;
}
.dash-fields .label { font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em;
                       text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.dash-fields .value { font-weight: 600; font-size: 15px; }

.dash-side { display: flex; flex-direction: column; gap: 18px; }

.big-num {
    font-family: 'Archivo'; font-size: 42px; font-weight: 900;
    line-height: 1; color: white;
}
.big-num.small { font-size: 38px; color: var(--ink); margin-top: 10px; }
.big-num .of {
    color: var(--muted-navy); font-weight: 700; font-size: 20px;
}
.card .big-num.small + p { margin-top: 6px; }

/* ---------- Admin dashboard ---------- */
.stats-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr;
    gap: 14px; margin-bottom: 20px;
}
.stat-big {
    display: flex; justify-content: space-between;
    align-items: flex-start; gap: 20px;
}
.stat-big .big-num { font-size: 54px; }
.stat-big .big-num .of { font-size: 24px; }
.stat-bar { width: 160px; }
.stat-bar .bar {
    height: 8px; background: rgba(255,255,255,0.15);
    border-radius: 999px; overflow: hidden;
}
.stat-bar .fill { height: 100%; background: var(--orange); }
.stat-bar .mono {
    font-family: 'JetBrains Mono', monospace; font-size: 11.5px;
    color: var(--muted-navy); margin-top: 6px; text-align: right;
}

.table-toolbar {
    padding: 16px 18px; display: flex; align-items: center;
    gap: 12px; border-bottom: 1px solid var(--line);
}
.search { position: relative; flex: 1; max-width: 360px; display: block; }
.search-ico {
    position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
    color: var(--muted); pointer-events: none;
}
.search input {
    width: 100%; padding: 9px 12px 9px 36px;
    border: 1px solid var(--line-2); border-radius: 8px;
    font-size: 14px; font-family: inherit;
}
.toolbar-meta { font-size: 13px; color: var(--muted); margin-left: auto; }

.table-wrap { overflow-x: auto; }
.tbl {
    width: 100%; border-collapse: separate; border-spacing: 0;
    font-size: 14px;
}
.tbl th {
    text-align: left; font-size: 11.5px; font-weight: 800;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--muted); padding: 12px 14px;
    border-bottom: 1px solid var(--line-2); background: var(--paper);
}
.tbl td {
    padding: 14px; border-bottom: 1px solid var(--line);
    vertical-align: middle;
}
.tbl tr:hover td { background: var(--paper-2); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .bold { font-weight: 700; }
.tbl .mono { font-family: 'JetBrains Mono', monospace; }
.tbl .small { font-size: 13px; }
.tbl .muted { color: var(--muted); }

/* ---------- Footer ---------- */
.wk-footer {
    padding: 18px 40px; background: var(--navy);
    color: var(--muted-navy); font-size: 12.5px;
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 32px;
}

/* ---------- Danger / delete card ---------- */
.danger-card { border-color: var(--red); }
.danger-head {
    display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px;
}
.danger-ico {
    width: 42px; height: 42px; border-radius: 10px;
    background: var(--red-soft); color: var(--red);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; font-size: 22px; font-weight: 800;
}
.danger-card .muted { color: var(--muted); }

/* ---------- Algemene utilities ---------- */
.mono { font-family: 'JetBrains Mono', monospace; }
.muted { color: var(--muted); }
.bold  { font-weight: 700; }

/* ---------- Responsief ---------- */
@media (max-width: 1000px) {
    .hero-grid       { grid-template-columns: 1fr; }
    .body-grid       { grid-template-columns: 1fr; padding: 32px 24px; }
    .status-banner   { grid-template-columns: 1fr; padding: 22px; }
    .dash-grid       { grid-template-columns: 1fr; }
    .stats-grid      { grid-template-columns: 1fr; }
    .stat-big        { flex-direction: column; }
    .hero h1         { font-size: 56px; }
    .page-title      { font-size: 30px; }
    .wk-nav-links    { display: none; }
    .page-wrap       { padding: 0 24px; }
    .flash-wrap      { padding: 0 24px; }
    .wk-nav          { padding: 14px 20px; }
    .hero            { padding: 36px 24px 44px; }
    .wk-footer       { padding: 16px 24px; flex-direction: column; gap: 6px; }
    .capacity        { flex-direction: column; align-items: stretch; }
    .capacity-bar    { min-width: 0; }
}

@media (max-width: 640px) {
    .grid-2       { grid-template-columns: 1fr; }
    .radio-group  { flex-direction: column; }
    .steps        { grid-template-columns: 1fr; }
    .dash-fields  { grid-template-columns: 1fr; }
    .form-actions { flex-direction: column; align-items: stretch; }
    .form-actions .btn { width: 100%; }
    .hero h1      { font-size: 44px; }
}
