/* ==================================================================
LIJSTJES TREKKEN — wizard (draw/wizard/step1-3.php + head.php), resultaat (draw/result.php),
deelnemerspagina's (draw/list.php, draw/view.php, draw/error.php). Prefix dr-, enkel tokens. docs/ui/areas/drawings.md
Laadt vóór lt.css en lijstjestijd.css: regels die daar iets overschrijven beginnen met .dr.
================================================================== */
.dr { width: 100%; max-width: 1120px; margin: 0 auto; padding: 16px 0 80px; color: var(--lt-navy); }
.dr-mark { padding: 0 .12em; background: linear-gradient(transparent 14%, var(--lt-blue) 14%, var(--lt-blue) 92%, transparent 92%); color: var(--lt-white); font-style: italic; }
.dr strong, .dr b, .dr h1, .dr h2 { font-weight: 700; }
.dr-label { font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--lt-muted); }

/* kop: kicker, titel, stappen */
.dr-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 26px; }
.dr-head__text { display: flex; flex-direction: column; gap: 6px; }
.dr-kicker { font-size: .875rem; font-weight: 600; color: var(--lt-muted); }
.dr .dr-title { margin: 0; font-size: 2.625rem; line-height: 1.05; font-weight: 700; letter-spacing: -.01em; }
.dr-steps { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 8px; }
.dr-steps li { display: flex; align-items: center; gap: 8px; }
.dr-steps li + li::before { content: ''; width: 18px; height: 2px; background: var(--lt-border); }
.dr-step { height: 38px; padding: 0 14px 0 6px; border-radius: var(--lt-radius-pill); display: flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 600; color: var(--lt-muted); text-decoration: none; }
.dr-step__dot { width: 26px; height: 26px; border-radius: 50%; background: var(--lt-line); display: flex; align-items: center; justify-content: center; font-size: .8125rem; font-weight: 700; }
.dr-step.is-current { background: var(--lt-white); color: var(--lt-navy); }
.dr-step.is-current .dr-step__dot { background: var(--lt-blue); color: var(--lt-white); }
.dr-step.is-done { color: var(--lt-green-ink); }
.dr-step.is-done .dr-step__dot { background: var(--lt-mint-dark); color: var(--lt-green-ink); }
a.dr-step.is-done:hover { background: rgba(255, 255, 255, .6); color: var(--lt-green-ink); }

/* hoofdkaart + zijkant */
.dr-layout { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.dr-card { flex: 999 1 560px; min-width: 0; padding: 32px; border-radius: var(--lt-radius-lg); background: var(--lt-white); box-shadow: 0 2px 6px rgba(12, 35, 62, .05), 0 24px 56px rgba(12, 35, 62, .10); display: flex; flex-direction: column; gap: 22px; }
.dr-card > p, .dr-intro { margin: 0; font-size: 1rem; line-height: 1.55; color: #33475B; }
.dr-aside { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.dr-aside--wide { flex-basis: 420px; }
.dr-tips { padding: 22px; border-radius: 22px; background: rgba(255, 255, 255, .6); display: flex; flex-direction: column; gap: 14px; }
.dr-tips img { width: 100%; max-width: 260px; height: auto; align-self: center; }
.dr-tips strong { font-size: 1.0625rem; }
.dr-tips ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.dr-tips li { display: flex; gap: 10px; font-size: .875rem; line-height: 1.5; color: #33475B; }
.dr-tips li i { margin-top: 3px; color: var(--lt-green-ink); }
.dr-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.dr-foot--line { padding-top: 18px; border-top: 1px solid var(--lt-line); }
.dr-count { font-size: .9375rem; color: #33475B; }
.dr-count strong { color: var(--lt-navy); }
.dr .dr-btn { height: 48px; padding: 0 22px; font-size: .9375rem; }
.dr .dr-btn--go { height: 54px; padding: 0 28px; font-size: 1rem; background: var(--lt-green-ink); border-color: var(--lt-green-ink); color: var(--lt-white); }
.dr .dr-btn--go:hover { background: #127040; border-color: #127040; color: var(--lt-white); }
.dr-error { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--lt-radius); background: var(--lt-coral-soft); font-size: .875rem; line-height: 1.5; }
.dr-error > i { margin-top: 3px; color: var(--lt-danger); }

/* avatars (initiaal), kleur per volgorde */
.dr-av { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--lt-blue-soft); color: var(--lt-blue); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.dr-av--1 { background: #FFE3C6; color: #9A4A12; }
.dr-av--2 { background: var(--lt-mint-dark); color: var(--lt-green-ink); }
.dr-av--3 { background: #FFE0E7; color: #B4235A; }
.dr-av--4 { background: var(--lt-line); color: var(--lt-navy); }
.dr-av--me { background: var(--lt-blue); color: var(--lt-white); }
.dr-av--sm { width: 36px; height: 36px; font-size: .875rem; }

/* stap 1: organisator + deelnemers */
.dr-group { display: flex; flex-direction: column; gap: 10px; }
.dr-group__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.dr-note { font-size: .8125rem; color: var(--lt-muted); }
.dr-person { display: flex; align-items: center; gap: 12px; padding: 8px 6px 8px 14px; border: 1.5px solid var(--lt-line); border-radius: 16px; }
.dr-person--me { padding: 12px 14px; border: 0; background: var(--lt-blue-soft); }
.dr-person__fields { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.dr-person__fields .lt-field { margin: 0; }
.dr-person__fields .lt-field__label { font-size: .75rem; margin-bottom: 4px; color: var(--lt-muted); }
.dr-person .lt-input.is-invalid { border-color: var(--lt-danger); }
.dr-add { height: 56px; border: 1.5px dashed var(--lt-faint); border-radius: 16px; background: transparent; color: var(--lt-blue); font-size: .9375rem; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; }
.dr-add:hover { border-color: var(--lt-blue); background: var(--lt-blue-soft); }
.dr-linkbtn { border: 0; background: none; padding: 0; color: var(--lt-blue); font-size: .875rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; text-decoration: none; }
.dr-linkbtn:hover { text-decoration: underline; }
.dr-paste { padding: 16px; border-radius: 16px; background: var(--lt-surface); display: flex; flex-direction: column; gap: 10px; }
.dr-paste[hidden] { display: none; }
.dr-paste p { margin: 0; font-size: .875rem; color: #33475B; }
.dr-paste .lt-btn { align-self: flex-end; }

/* stap 2: uitsluitingen */
.dr-search { position: relative; }
.dr-search > i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--lt-faint); }
.dr-search .lt-input { padding-left: 42px; }
.dr-exlist { display: flex; flex-direction: column; }
.dr-ex { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 0; border-bottom: 1px solid var(--lt-line); }
.dr-ex[hidden] { display: none; }
.dr-ex__who { flex: 0 0 190px; min-width: 0; display: flex; align-items: center; gap: 10px; }
.dr-ex__who strong { font-size: .9375rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dr-ex__chips { flex: 1 1 260px; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.dr-ex__none { font-size: .875rem; color: var(--lt-faint); }
.dr-chip { height: 36px; padding: 0 4px 0 12px; border: 1.5px solid #F5B9AE; border-radius: var(--lt-radius-pill); background: var(--lt-coral-soft); color: var(--lt-danger); font-size: .875rem; font-weight: 600; display: inline-flex; align-items: center; gap: 2px; }
.dr-chip button { width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: inherit; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.dr-chip button:hover { background: rgba(200, 55, 45, .12); }
.dr-ex__add { height: 36px; padding: 0 14px; border: 1.5px dashed var(--lt-faint); border-radius: var(--lt-radius-pill); background: var(--lt-white); color: var(--lt-blue); font-size: .875rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.dr-ex__add:hover, .dr-ex__add[aria-expanded="true"] { border-style: solid; border-color: var(--lt-blue); background: var(--lt-blue-soft); }
.dr-picker { flex: 1 1 100%; max-width: 420px; margin-left: 204px; padding: 14px; border: 1px solid var(--lt-line); border-radius: 18px; background: var(--lt-white); box-shadow: 0 18px 40px rgba(12, 35, 62, .16); display: flex; flex-direction: column; gap: 10px; }
.dr-picker[hidden] { display: none; }
.dr-picker > strong { font-size: .875rem; }
.dr-picker .lt-input { height: 42px; }
.dr-picker__list { max-height: 232px; overflow-y: auto; margin: 0 -4px; display: flex; flex-direction: column; overscroll-behavior: contain; }
.dr-picker__opt { min-height: 44px; padding: 0 8px; border-radius: 10px; display: flex; align-items: center; gap: 12px; font-size: .9375rem; cursor: pointer; }
.dr-picker__opt:hover { background: var(--lt-surface); }
.dr-picker__opt[hidden] { display: none; }
.dr-picker__opt input { width: 18px; height: 18px; margin: 0; accent-color: var(--lt-danger); }
.dr-picker__opt:has(input:checked) { background: #FFF4F1; }
.dr-picker__empty { padding: 10px 8px; font-size: .875rem; color: var(--lt-muted); }
.dr-picker__empty[hidden] { display: none; }
.dr-picker__both { padding: 10px 12px; border-radius: 12px; background: var(--lt-surface); display: flex; align-items: center; gap: 10px; font-size: .875rem; cursor: pointer; }
.dr-picker__both input { width: 18px; height: 18px; margin: 0; accent-color: var(--lt-blue); }
.dr-picker .lt-btn { align-self: flex-end; }

/* stap 3: bericht, schakelaar, voorbeeldmail */
.dr-card .lt-field { margin: 0; }
.dr-switch { padding: 14px 16px; border-radius: 16px; background: var(--lt-surface); display: flex; align-items: flex-start; gap: 14px; cursor: pointer; }
.dr-switch .form-check { margin: 2px 0 0; padding: 0; min-height: 0; }
.dr-switch .form-check-input { margin: 0; float: none; }
.dr-switch__text { display: flex; flex-direction: column; gap: 2px; }
.dr-switch__text strong { font-size: .9375rem; font-weight: 700; color: var(--lt-navy); }
.dr-switch__text span { font-size: .8125rem; line-height: 1.45; color: var(--lt-muted); }
.dr-summary { padding: 12px 14px; border-radius: 14px; background: var(--lt-mint); color: var(--lt-green-ink); font-size: .875rem; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.dr-mail { padding: 18px; border-radius: 22px; background: #F3F1EC; }
.dr-mail iframe { display: block; width: 100%; height: 640px; border: 0; border-radius: 16px; background: var(--lt-white); box-shadow: 0 6px 20px rgba(12, 35, 62, .08); }

/* resultaat */
.dr-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 36px; margin-bottom: 26px; }
.dr-hero__text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 12px; }
.dr-hero img { flex: 0 1 380px; width: 380px; max-width: 100%; height: auto; }
.dr .dr-hero__title { margin: 0; font-size: 3rem; line-height: 1.02; font-weight: 700; letter-spacing: -.02em; }
.dr-hero__text p { margin: 0; max-width: 520px; font-size: 1.125rem; line-height: 1.55; color: #33475B; }
.dr-badge { align-self: flex-start; height: 30px; padding: 0 12px; border-radius: var(--lt-radius-pill); background: var(--lt-mint); color: var(--lt-green-ink); font-size: .8125rem; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.dr-results { gap: 0; }
.dr-results__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; }
.dr .dr-results__head h2 { margin: 0; font-size: 1.375rem; }
.dr-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: .8125rem; color: var(--lt-muted); }
.dr-legend span { display: flex; align-items: center; gap: 6px; }
.dr-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--lt-faint); }
.dr-dot--opened { background: var(--lt-blue); }
.dr-dot--ready { background: var(--lt-green-ink); }
.dr-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 14px 0; border-top: 1px solid var(--lt-line); }
.dr-row__who { flex: 1 1 240px; min-width: 0; display: flex; align-items: center; gap: 12px; }
.dr-row__who > span { min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.dr-row__who strong { font-size: 1rem; }
.dr-row__who small { font-size: .8125rem; color: var(--lt-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dr-row__picked { flex: 0 1 190px; display: flex; align-items: center; gap: 8px; font-size: .9375rem; }
.dr-row__picked > i { color: var(--lt-faint); }
.dr-row__secret { display: inline-flex; align-items: center; gap: 6px; color: var(--lt-muted); }
.dr-row__state { flex: 0 0 360px; display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.dr-pill { flex: none; height: 30px; padding: 0 12px; border-radius: var(--lt-radius-pill); background: var(--lt-surface); color: var(--lt-muted); font-size: .8125rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.dr-pill--opened { background: var(--lt-blue-soft); color: #2F3FC4; }
.dr-pill--ready { background: var(--lt-mint); color: var(--lt-green-ink); }
.dr .dr-row__resend { flex: none; height: 36px; padding: 0 12px; border-radius: var(--lt-radius-pill); }
.dr .dr-row__resend:hover { background: var(--lt-blue-soft); text-decoration: none; }
.dr-hints { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; }
.dr-hint { flex: 1 1 320px; padding: 20px 22px; border-radius: 20px; background: rgba(255, 255, 255, .65); display: flex; align-items: flex-start; gap: 14px; }
.dr-hint__icon { width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--lt-blue-soft); color: var(--lt-blue); display: flex; align-items: center; justify-content: center; }
.dr-hint__icon--green { background: var(--lt-mint); color: var(--lt-green-ink); }
.dr-hint > span { display: flex; flex-direction: column; gap: 4px; font-size: .875rem; line-height: 1.5; color: #33475B; }
.dr-hint strong { font-size: 1rem; color: var(--lt-navy); }
.dr .dr-hint a { margin-top: 4px; font-weight: 700; color: var(--lt-blue); text-decoration: none; }

/* deelnemer: maak je lijstje */
.dr-mine { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; padding-top: 24px; }
.dr-mine__text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.dr-mine__text > p { margin: 0; max-width: 520px; font-size: 1.125rem; line-height: 1.55; color: #33475B; }
.dr-mine > img { flex: 0 1 460px; width: 460px; max-width: 100%; height: auto; }
.dr-make { max-width: 560px; padding: 22px; border-radius: var(--lt-radius-lg); background: var(--lt-white); box-shadow: 0 2px 6px rgba(12, 35, 62, .05), 0 24px 56px rgba(12, 35, 62, .10); display: flex; flex-direction: column; gap: 12px; }
.dr .dr-make label { margin: 0; font-size: 1.375rem; font-weight: 700; color: var(--lt-navy); }
.dr-make label span { display: block; font-size: .875rem; font-weight: 400; color: var(--lt-muted); }
.dr-make > small { font-size: .875rem; color: var(--lt-muted); }
.dr .dr-make > small a { font-weight: 700; color: var(--lt-blue); text-decoration: none; }
.dr-buyfor { align-self: flex-start; padding: 10px 18px 10px 10px; border-radius: var(--lt-radius-pill); background: rgba(255, 255, 255, .7); display: inline-flex; align-items: center; gap: 12px; font-size: .9375rem; color: var(--lt-navy); text-decoration: none; }
.dr-buyfor:hover { background: var(--lt-white); color: var(--lt-navy); }
.dr-buyfor em { font-style: normal; font-weight: 700; color: var(--lt-blue); }

/* deelnemer: lijstje nog leeg / afgeschermd */
.dr-wait { max-width: 620px; margin: 24px auto 0; padding: 40px 48px; border-radius: 28px; background: var(--lt-white); box-shadow: 0 2px 6px rgba(12, 35, 62, .05), 0 24px 56px rgba(12, 35, 62, .10); display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.dr-wait img { width: 190px; height: auto; }
.dr .dr-wait h1 { margin: 0; font-size: 2.25rem; line-height: 1.1; font-weight: 800; }
.dr-wait p { margin: 0; max-width: 440px; font-size: 1rem; line-height: 1.55; color: #33475B; }
.dr-wait form { margin: 0; }
.dr-wait__done { padding: 14px 18px; border-radius: 16px; background: var(--lt-mint); color: var(--lt-green-ink); font-size: .9375rem; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.dr-wait__foot { width: 100%; margin-top: 4px; padding-top: 16px; border-top: 1px solid var(--lt-line); font-size: .875rem; color: #33475B; }
.dr .dr-wait__foot a { font-weight: 700; color: var(--lt-blue); text-decoration: none; }

@media (max-width: 767.98px) {
    .dr { padding: 4px 0 48px; }
    .dr .dr-title { font-size: 1.875rem; }
    .dr-step__label { display: none; }
    .dr-step { padding: 0 6px; }
    .dr-card { padding: 20px 16px; }
    .dr-person__fields { grid-template-columns: minmax(0, 1fr); }
    .dr-person .dr-av { display: none; }
    .dr-ex__who { flex-basis: 100%; }
    .dr-row__state { flex-basis: 100%; justify-content: space-between; }
    .dr-picker { margin-left: 0; max-width: none; }
    .dr .dr-hero__title { font-size: 2.5rem; }
    .dr-hero img { flex-basis: 220px; width: 220px; margin: 0 auto; }
    .dr-mine > img { flex-basis: 260px; width: 260px; margin: 0 auto; }
    .dr-wait { padding: 28px 20px; }
    .dr .dr-wait h1 { font-size: 1.75rem; }
    .dr-foot .lt-btn { flex: 1 1 auto; }
}
