/* ============================================================
   CourseStatus.app — main stylesheet
   Donkergroen + goud, mobile-first
   ============================================================ */

:root {
    --green-deep: #1B3D2A;
    --green-forest: #14532D;
    --green-mid: #2D6A4F;
    --green-light: #95D5B2;
    --gold: #C9A961;
    --gold-light: #E6CB8E;
    --gold-dark: #A88940;
    --cream: #F4F1E8;
    --cream-light: #FAF8F0;
    --paper: #EDE8D8;
    --line: #DDD6C0;
    --ink: #1A2920;
    --ink-soft: #4A5650;
    --muted: #8B958D;
    --white: #FFFFFF;
    --red: #B33A3A;
    --red-soft: #FCE9E9;
    --green-status: #2D8659;
    --green-status-soft: #E5F2EB;
    --blue-soft: #E8EEF4;
    --blue: #3D6FB3;
    --shadow-sm: 0 1px 2px rgba(27, 61, 42, 0.06), 0 1px 3px rgba(27, 61, 42, 0.04);
    --shadow-md: 0 4px 12px rgba(27, 61, 42, 0.08), 0 2px 4px rgba(27, 61, 42, 0.04);
    --shadow-lg: 0 12px 32px rgba(27, 61, 42, 0.14), 0 4px 8px rgba(27, 61, 42, 0.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    min-height: 100%;
    /* Vangnet: ook al zou ergens een element net iets te breed worden, de
       pagina blijft horizontaal vast op de viewport-breedte. Voorkomt het
       anti-app gevoel van zijwaarts kunnen wegslepen. */
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--cream);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

a { color: inherit; }

/* iOS Safari auto-zoom op focus voorkomen: élk invoerveld moet minstens
   16px font-size hebben. .input-field en .notes-area pakken dit al expliciet
   af, deze regel is een safety net voor velden die buiten die klassen vallen
   (bv. pin-builder rijtjes, dynamisch toegevoegde rows, native date pickers). */
input, select, textarea {
    font-size: 16px;
}

/* ========== LOGIN / SETUP CONTAINER ========== */

.auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--cream);
    padding: 28px 24px 24px;
    max-width: 440px;
    margin: 0 auto;
}

.lang-pills {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 28px;
}

.lang-pill {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--ink-soft);
    padding: 6px 14px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}
.lang-pill:hover { background: var(--cream-light); border-color: var(--green-deep); }
.lang-pill.active {
    background: var(--green-deep);
    color: var(--cream);
    border-color: var(--green-deep);
}

.login-logo-wrap {
    display: flex;
    justify-content: center;
    margin: 8px 0 16px;
}
.login-logo-img {
    height: 200px;
    width: auto;
    display: block;
    max-width: 100%;
}

.login-tagline {
    text-align: center;
    font-size: 14px;
    color: var(--ink-soft);
    font-weight: 400;
    margin-bottom: 14px;
    padding: 0 10px;
}
.login-divider {
    width: 50px; height: 2px;
    background: var(--green-deep);
    margin: 0 auto 24px;
    border-radius: 2px;
}

.auth-card {
    background: var(--white);
    border-radius: 14px;
    border-top: 3px solid var(--green-deep);
    padding: 18px 18px 22px;
    box-shadow: var(--shadow-md);
}

.auth-tabs {
    display: flex;
    background: var(--paper);
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 22px;
}
.auth-tab {
    flex: 1;
    background: transparent;
    border: none;
    padding: 11px 12px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-soft);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    text-align: center;
}
.auth-tab.active {
    background: var(--green-deep);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.input-group { margin-bottom: 16px; }
.input-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--ink-soft);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 7px;
}
.input-field {
    width: 100%;
    background: var(--cream-light);
    border: 1px solid var(--line);
    color: var(--ink);
    padding: 13px 14px;
    border-radius: 10px;
    font-family: inherit;
    /* iOS Safari zoomt automatisch in zodra je focus geeft aan een veld met
       font-size < 16px. Die zoom maakt de viewport breder dan het scherm en
       laat de pagina horizontaal scrollen → heel anti-app. 16px is daarom de
       minimum-grootte voor élk invoerveld. */
    font-size: 16px;
    transition: all 0.2s;
}
.input-field:focus {
    outline: none;
    border-color: var(--green-deep);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(27, 61, 42, 0.12);
}
.input-field::placeholder { color: var(--muted); }

/* Selects: custom chevron rechts met voldoende padding zodat de pijl
   niet tegen de rand plakt en de tekst er niet onder loopt. */
select.input-field {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    padding-right: 38px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M3 5 L6 8 L9 5' stroke='%231B3D2A' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 12px;
    background-color: var(--cream-light);
}
select.input-field:disabled {
    opacity: 0.6;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M3 5 L6 8 L9 5' stroke='%238B958D' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}

.forgot-link {
    text-align: right;
    margin: -4px 2px 16px;
}
.forgot-link a {
    color: var(--green-deep);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}
.forgot-link a:hover { text-decoration: underline; }

.btn-login {
    width: 100%;
    background: var(--green-deep);
    color: var(--white);
    border: none;
    padding: 15px 20px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: var(--shadow-sm);
}
.btn-login:hover {
    background: var(--green-forest);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.btn-login:active { transform: translateY(0); }

.install-pill-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
}
/* Tekstlink "Hoe installeren?" naar /install — altijd zichtbaar onder de pill.
   Voor iOS Safari is dit de enige manier om de uitlegpagina te bereiken,
   want beforeinstallprompt vuurt daar niet. */
.install-howto-link {
    font-size: 13px;
    color: var(--green-deep);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}
.install-howto-link:hover { color: var(--ink); }
.install-pill {
    background: var(--white);
    border: 1.5px solid var(--green-deep);
    color: var(--green-deep);
    padding: 11px 26px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
}
.install-pill:hover {
    background: var(--green-deep);
    color: var(--white);
}
.install-pill svg { width: 16px; height: 16px; }

.login-footer {
    margin-top: auto;
    padding-top: 32px;
    text-align: center;
    font-size: 11px;
    letter-spacing: 1.2px;
    color: var(--muted);
    text-transform: uppercase;
    font-weight: 500;
}
.login-footer .row1 { margin-bottom: 4px; }
.login-footer .sep { margin: 0 8px; color: var(--ink-soft); }
.login-footer a { color: var(--muted); text-decoration: none; }
.login-footer a:hover { color: var(--green-deep); }

/* Foutmelding / flash */
.alert {
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 16px;
    font-size: 14px;
}
.alert.error {
    background: var(--red-soft);
    color: var(--red);
    border: 1px solid rgba(179, 58, 58, 0.2);
}
.alert.success {
    background: var(--green-status-soft);
    color: var(--green-status);
    border: 1px solid rgba(45, 134, 89, 0.2);
}

/* ========== DASHBOARD ========== */

.dashboard {
    background: var(--cream);
    min-height: 100vh;
    max-width: 440px;
    margin: 0 auto;
    position: relative;
}

/* === Lichte header (cream, logo+welkom side-by-side, light iconen rechts) === */
.dash-header {
    background: var(--cream);
    color: var(--ink);
    padding: 14px 18px 14px;
}

.dash-header-top {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.dash-logo-mini {
    width: 64px; height: 64px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dash-logo-mini img {
    width: 100%; height: 100%;
    object-fit: contain;
}

.dash-greeting-block {
    flex: 1;
    min-width: 0;
    padding-top: 2px;
}
.dash-greeting-hi {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 1px;
    line-height: 1.25;
}
.dash-greeting-name {
    font-family: 'Lora', 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--green-deep);
    line-height: 1.15;
    margin-bottom: 4px;
    word-wrap: break-word;
}
.dash-club-name {
    font-size: 12px;
    color: var(--ink-soft);
    font-weight: 500;
    letter-spacing: 0.2px;
    line-height: 1.3;
}

/* Icon-knoppen: wit gevuld, donkergroene rand, donkergroen icoon (light style) */
.dash-actions {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    flex-shrink: 0;
    padding-top: 4px;
}
.icon-btn {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--white);
    border: 1.5px solid var(--green-deep);
    color: var(--green-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    padding: 0;
}
.icon-btn:hover {
    background: var(--cream-light);
}
.icon-btn:active { transform: scale(0.96); }
.icon-btn svg {
    width: 18px;
    height: 18px;
    color: var(--green-deep);
    stroke: var(--green-deep);
}

/* Hamburger menu (dropdown-overlay à la wegolf) */
.dash-menu {
    position: absolute;
    top: 60px;
    right: 18px;
    width: max-content;
    min-width: 180px;
    max-width: calc(100% - 36px);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(27, 61, 42, 0.16), 0 2px 6px rgba(0,0,0,0.06);
    padding: 8px 0;
    z-index: 100;
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    transform-origin: top right;
}
.dash-menu.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.dash-menu-inner {
    display: flex;
    flex-direction: column;
}
.dash-menu-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px;
    color: var(--green-deep);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: background 0.15s;
    border: none;
}
.dash-menu-item:hover { background: var(--cream-light); }
.dash-menu-item svg {
    width: 18px;
    height: 18px;
    color: var(--green-deep);
    stroke: var(--green-deep);
    flex-shrink: 0;
}
.dash-menu-divider {
    height: 1px;
    background: var(--line);
    margin: 6px 18px;
}
.dash-menu-item.danger { color: var(--red); }
.dash-menu-item.danger svg { color: var(--red); stroke: var(--red); }

.dash-body { padding: 14px 18px 100px; }

.section-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 4px 6px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--line);
}

/* Course cards */
.course-card {
    background: var(--white);
    border-radius: 18px;
    padding: 18px 18px 14px;
    margin-bottom: 14px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
}
.course-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}
.course-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--green-status);
}
.course-card.closed::before { background: var(--red); }

.course-card-head {
    margin-bottom: 14px;
}
.course-name-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
}
.course-name {
    font-family: 'Lora', 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: 0.2px;
    line-height: 1.15;
}
.course-sub {
    font-size: 12px;
    color: var(--muted);
    font-weight: 500;
    display: block;
}

/* Open/Gesloten slider (op course-card) */
.open-slider {
    display: inline-flex;
    background: var(--paper);
    border-radius: 999px;
    padding: 3px;
    flex-shrink: 0;
    border: 1px solid var(--line);
}
.open-slider label {
    position: relative;
    cursor: pointer;
    display: block;
}
.open-slider input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.open-slider .opt {
    display: block;
    padding: 5px 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--muted);
    border-radius: 999px;
    transition: all 0.2s;
}
.open-slider input[value="1"]:checked + .opt {
    background: var(--green-status);
    color: var(--white);
    box-shadow: 0 1px 3px rgba(45, 134, 89, 0.3);
}
.open-slider input[value="0"]:checked + .opt {
    background: var(--red);
    color: var(--white);
    box-shadow: 0 1px 3px rgba(179, 58, 58, 0.3);
}

/* Sticky bar voor "Push updates online" (zelfde gedrag als .save-bar op detail) */
.publish-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 440px;
    background: linear-gradient(180deg, transparent 0%, var(--cream) 30%);
    padding: 22px 18px 16px;
    z-index: 10;
    pointer-events: none;
}
.publish-bar > form,
.publish-bar > * { pointer-events: auto; }
.publish-bar .publish-btn { margin-top: 0; }

/* Extra padding-bottom op dash-body zodat content niet verdwijnt onder de bar */
.dashboard.has-sticky-publish .dash-body {
    padding-bottom: 130px;
}

/* "Push updates online" knop (helemaal onderaan dashboard) — light style */
.publish-btn {
    width: 100%;
    background: var(--white);
    color: var(--green-deep);
    border: 1.5px solid var(--green-deep);
    padding: 15px 24px;
    border-radius: 14px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}
.publish-btn:hover {
    background: var(--green-deep);
    color: var(--white);
}
.publish-btn:hover svg { stroke: var(--white); color: var(--white); }
.publish-btn:active { transform: scale(0.99); }
.publish-btn svg { width: 18px; height: 18px; color: var(--green-deep); stroke: var(--green-deep); transition: all 0.2s; }

/* Footer voor practice/driving range (geen knoppen, alleen update info) */
.simple-footer {
    padding-top: 10px;
    border-top: 1px dashed var(--line);
    font-size: 11px;
    color: var(--muted);
}
.status-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: var(--green-status-soft);
    color: var(--green-status);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.status-badge.closed { background: var(--red-soft); color: var(--red); }
.status-badge::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.icon-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}
.icon-tile {
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    background: var(--cream-light);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.2s;
}
.icon-tile img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}
.icon-tile.active {
    background: linear-gradient(140deg, #EAF3EC 0%, #DDE9DE 100%);
    border-color: rgba(45, 134, 89, 0.35);
}
.icon-tile.no { background: var(--paper); }
.icon-tile.no img {
    filter: grayscale(100%);
    opacity: 0.32;
}
.icon-tile.no::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(135deg, transparent 47%, rgba(179, 58, 58, 0.55) 47%, rgba(179, 58, 58, 0.55) 53%, transparent 53%);
    border-radius: inherit;
    pointer-events: none;
}

/* Pin-position icon-tile: zelfde groen-stijl als andere actieve iconen */
.icon-tile.pin-tile {
    background: linear-gradient(140deg, #EAF3EC 0%, #DDE9DE 100%);
    border-color: rgba(45, 134, 89, 0.35);
}
.icon-tile.pin-tile .pin-circle {
    width: 70%;
    height: 70%;
    border-radius: 50%;
    border: 2px solid var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Lora', serif;
    font-weight: 700;
    font-size: 22px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}
.meta-chip {
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 4px 9px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    color: var(--ink-soft);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.meta-chip.no { color: var(--muted); opacity: 0.65; text-decoration: line-through; }
.meta-chip.greens {
    background: linear-gradient(140deg, #EAF3EC 0%, #DDE9DE 100%);
    border-color: rgba(45, 134, 89, 0.25);
    color: var(--green-status);
    font-weight: 600;
}
.meta-chip.greens.winter {
    background: linear-gradient(140deg, var(--blue-soft) 0%, #D9E2EC 100%);
    border-color: rgba(61, 111, 179, 0.25);
    color: var(--blue);
}
.pin-chip {
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 3px 9px 3px 4px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.pin-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    border: 1.5px solid var(--ink);
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px dashed var(--line);
    gap: 12px;
}
/* Gestapelde variant: knoppen boven, tekst op 1 lijn eronder rechts.
   Wordt gebruikt op user-cards waar de "Laatste login: dd/mm hh:mm" anders
   te breed wordt en op 2 regels breekt. */
.course-footer.footer-stacked {
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}
.course-footer.footer-stacked .last-update {
    white-space: nowrap;
}
.last-update {
    font-size: 11px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 4px;
}
.quick-update-btn {
    background: transparent;
    border: 1px solid var(--green-deep);
    color: var(--green-deep);
    padding: 6px 12px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    line-height: 1.2;
}
.quick-update-btn:hover {
    background: var(--green-deep);
    color: var(--white);
}
.quick-update-btn svg { width: 12px; height: 12px; }

/* Bewerk knop — primary action, donkergroen */
.edit-btn {
    background: transparent;
    border: 1px solid var(--green-deep);
    color: var(--green-deep);
    padding: 6px 12px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    line-height: 1.2;
}
.edit-btn:hover {
    background: var(--green-deep);
    color: var(--white);
}
.edit-btn svg { width: 12px; height: 12px; }

/* Footer actions: beide knoppen rechts boven */
.course-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

/* ========== COURSE DETAIL ========== */

.detail-body {
    padding: 14px 18px 130px;
}

/* Edit-banner: subtiele balk die aangeeft welke baan wordt bewerkt */
.edit-banner {
    background: var(--white);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--line);
    border-left: 4px solid var(--green-deep);
}
.banner-back-icon {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--cream-light);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-deep);
    flex-shrink: 0;
    text-decoration: none;
    transition: all 0.2s;
}
.banner-back-icon:hover { background: var(--green-deep); color: var(--white); }
.banner-back-icon svg { width: 14px; height: 14px; }
.banner-body { flex: 1; min-width: 0; }
.banner-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 2px;
}
.banner-title {
    font-family: 'Lora', 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--green-deep);
    line-height: 1.15;
}
.banner-sub {
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
}

/* Big Open/Closed toggle */
.open-toggle {
    background: var(--white);
    border-radius: 16px;
    padding: 6px;
    display: flex;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
    margin-bottom: 22px;
}
.open-toggle label {
    flex: 1;
    cursor: pointer;
    position: relative;
}
.open-toggle input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.open-toggle .opt {
    background: transparent;
    padding: 14px 12px;
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    text-align: center;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.open-toggle input[value="1"]:checked + .opt {
    background: linear-gradient(135deg, #2D8659 0%, #1F6B43 100%);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(45, 134, 89, 0.3);
}
.open-toggle input[value="0"]:checked + .opt {
    background: linear-gradient(135deg, #B33A3A 0%, #8E2727 100%);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(179, 58, 58, 0.3);
}
.open-toggle .opt svg { width: 16px; height: 16px; }

/* Parameter blocks */
.param-group {
    background: var(--white);
    border-radius: 16px;
    padding: 16px 18px;
    margin-bottom: 14px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
}
.param-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--paper);
    gap: 12px;
}
.param-row:last-child { border-bottom: none; padding-bottom: 0; }
.param-row:first-child { padding-top: 0; }
.param-label { font-size: 15px; font-weight: 500; color: var(--ink); }
.param-sub { font-size: 11px; color: var(--muted); margin-top: 2px; }

/* Icoon links naast elke parameter (zoals op het dashboard) */
.param-row-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}
.param-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(140deg, #EAF3EC 0%, #DDE9DE 100%);
    border: 1px solid rgba(45, 134, 89, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.param-icon img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}
/* Wanneer een bool-row "uit" staat: icoon dimmer (geeft visuele feedback) */
.param-row.is-off .param-icon img {
    filter: grayscale(60%);
    opacity: 0.55;
}

/* Toggle switch (boolean parameters) */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
    flex: 0 0 auto;
}
.switch input { opacity: 0; width: 0; height: 0; }
.switch .slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #D5D2C7;
    border-radius: 999px;
    transition: 0.3s;
}
.switch .slider::before {
    content: '';
    position: absolute;
    height: 22px; width: 22px;
    left: 3px; bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.switch input:checked + .slider {
    background: linear-gradient(135deg, var(--green-status) 0%, var(--green-mid) 100%);
}
.switch input:checked + .slider::before { transform: translateX(22px); }

/* Segmented control (enum parameters) */
.seg {
    display: inline-flex;
    background: var(--paper);
    border-radius: 8px;
    padding: 3px;
    gap: 2px;
    flex: 0 0 auto;
}
.seg label { position: relative; }
.seg input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.seg .opt {
    background: transparent;
    padding: 6px 12px;
    border-radius: 6px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-soft);
    cursor: pointer;
    transition: all 0.2s;
    display: inline-block;
}
.seg input:checked + .opt {
    background: var(--white);
    color: var(--green-deep);
    box-shadow: var(--shadow-sm);
}

/* Taal-selector op de profielpagina — drie pills die de volle breedte
   verdelen, met de ISO-code groot en de taalnaam eronder. */
.locale-seg {
    display: flex;
    width: 100%;
    background: var(--paper);
    border-radius: 10px;
    padding: 4px;
    gap: 4px;
}
.locale-seg label { flex: 1 1 0; position: relative; }
.locale-seg input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.locale-seg .opt {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 10px 8px;
    background: transparent;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--ink-soft);
}
.locale-seg .locale-code {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.6px;
}
.locale-seg .locale-name {
    font-size: 11px;
    color: var(--muted);
}
.locale-seg input:checked + .opt {
    background: var(--white);
    color: var(--green-deep);
    box-shadow: var(--shadow-sm);
}
.locale-seg input:checked + .opt .locale-name { color: var(--ink-soft); }

/* Pin position selector (zonder kleur-namen onder de cirkels) */
.pin-row {
    flex-direction: column;
    align-items: stretch;
}
.pin-row .param-head {
    margin-bottom: 10px;
}
.pin-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(52px, 1fr));
    gap: 10px;
}
.pin-option {
    position: relative;
    aspect-ratio: 1;
    cursor: pointer;
}
.pin-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.pin-option .pin-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.2s;
    background: var(--white);
}
.pin-option input:checked + .pin-circle {
    transform: scale(1.1);
    border-color: var(--green-deep);
    box-shadow: 0 0 0 3px rgba(27, 61, 42, 0.2), var(--shadow-md);
}

/* Notes textarea */
.notes-area {
    width: 100%;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
    font-family: inherit;
    /* Net als .input-field: minstens 16px om iOS-autozoom te vermijden. */
    font-size: 16px;
    color: var(--ink);
    resize: none;
    min-height: 64px;
    box-shadow: var(--shadow-sm);
}
.notes-area:focus {
    outline: none;
    border-color: var(--green-deep);
    box-shadow: 0 0 0 3px rgba(27, 61, 42, 0.12);
}

/* Save bar (sticky bottom) */
.save-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 440px;
    background: linear-gradient(180deg, transparent 0%, var(--cream) 30%);
    padding: 24px 18px 18px;
    display: flex;
    gap: 10px;
    z-index: 10;
}
.save-main {
    flex: 1;
    background: var(--white);
    color: var(--green-deep);
    border: 1.5px solid var(--green-deep);
    padding: 14px;
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.save-main:hover {
    background: var(--green-deep);
    color: var(--white);
}
.save-main:hover svg { stroke: var(--white); color: var(--white); }
.save-main:active { transform: scale(0.99); }
.save-main svg { width: 16px; height: 16px; color: var(--green-deep); transition: all 0.2s; }

/* ========== SUCCESS PAGE (light stijl, geen goud) ========== */
.success-screen {
    min-height: 100vh;
    max-width: 440px;
    margin: 0 auto;
    background: var(--cream);
    color: var(--ink);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 32px;
}
.success-check {
    width: 96px; height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green-status) 0%, var(--green-mid) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    animation: success-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 24px rgba(45, 134, 89, 0.25);
}
@keyframes success-pop {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
.success-check svg { width: 48px; height: 48px; color: var(--white); stroke: var(--white); }
.success-title {
    font-family: 'Lora', serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--green-deep);
    margin-bottom: 10px;
}
.success-sub {
    font-size: 14px;
    color: var(--ink-soft);
    margin-bottom: 32px;
    line-height: 1.5;
    max-width: 280px;
}
.success-meta {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 36px;
    min-width: 240px;
    box-shadow: var(--shadow-sm);
}
.success-meta-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 4px 0;
}
.success-meta-row span:first-child { color: var(--muted); }
.success-meta-row span:last-child { color: var(--green-deep); font-weight: 500; }

.btn-secondary {
    background: var(--white);
    border: 1.5px solid var(--green-deep);
    color: var(--green-deep);
    padding: 12px 28px;
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
}
.btn-secondary:hover { background: var(--green-deep); color: var(--white); }

/* ========== ACTIVITY LOG ========== */

.activity-filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 18px;
}
.activity-filters .input-field {
    font-size: 13px;
    padding: 10px 12px;
}
.activity-filters .quick-update-btn { padding: 10px 14px; font-size: 13px; }

.activity-table {
    background: var(--white);
    border-radius: 14px;
    border: 1px solid var(--line);
    overflow: hidden;
    margin-bottom: 16px;
}
.activity-row {
    display: flex;
    gap: 14px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--paper);
}
.activity-row:last-child { border-bottom: none; }
.activity-row:hover { background: var(--cream-light); }

.activity-time {
    flex: 0 0 auto;
    text-align: center;
    min-width: 48px;
}
.time-date {
    font-size: 11px;
    font-weight: 600;
    color: var(--green-deep);
    letter-spacing: 0.5px;
}
.time-clock {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
}

.activity-body {
    flex: 1;
    min-width: 0;
}
.activity-who {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 2px;
}
.activity-club {
    color: var(--ink-soft);
    font-weight: 500;
}
.activity-what {
    font-size: 14px;
    color: var(--ink);
    line-height: 1.4;
}
.activity-what strong {
    font-weight: 600;
    color: var(--green-deep);
}
.activity-detail {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-top: 3px;
}
/* "naar"-waarde in de baan-status diff (greens: winter → zomer): accent kleur + onderstreping */
.activity-detail .diff-to {
    color: var(--green-deep);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
}
.page-info {
    font-size: 12px;
    color: var(--muted);
}

/* ========== ADMIN CLUBS ========== */

.club-card {
    background: var(--white);
    border-radius: 14px;
    border: 1px solid var(--line);
    border-left: 4px solid var(--green-deep);
    padding: 14px 18px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.club-card.inactive {
    border-left-color: var(--muted);
    opacity: 0.7;
}
.club-card-body {
    flex: 1;
    min-width: 0;
}
.club-card-name {
    font-family: 'Lora', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--green-deep);
}
.club-card-meta {
    font-size: 12px;
    color: var(--muted);
    margin-top: 3px;
}
.club-form .input-group { margin-bottom: 14px; }

/* Pin-position builder rijen */
.pin-option-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto auto;
    gap: 8px;
    margin-bottom: 8px;
    align-items: center;
}
.pin-option-row .input-field {
    padding: 8px 10px;
    font-size: 13px;
}
.pin-color-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--cream-light);
}
.pin-color-toggle input[type="checkbox"] {
    margin: 0;
}
.pin-color-toggle input[type="color"] {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
}
.pin-remove-btn {
    background: var(--white);
    border: 1px solid var(--red);
    color: var(--red);
    width: 32px; height: 32px;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}
.pin-remove-btn:hover {
    background: var(--red);
    color: var(--white);
}
.club-secret {
    background: var(--cream-light);
    border: 1px dashed var(--line);
    padding: 10px 12px;
    border-radius: 8px;
    font-family: monospace;
    font-size: 12px;
    color: var(--ink-soft);
    word-break: break-all;
    user-select: all;
}

/* ========== STATISTIEKEN ========== */

.stats-filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 18px;
}
.stats-filter-label {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.stats-filter-label span {
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.stats-block {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 14px;
}
.stats-block-head {
    border-bottom: 1px dashed var(--line);
    padding-bottom: 12px;
    margin-bottom: 14px;
}
.stats-block-title {
    font-family: 'Lora', 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--green-deep);
    line-height: 1.15;
}
.stats-block-sub {
    font-size: 12px;
    color: var(--muted);
    margin-top: 3px;
}
.stats-block-meta {
    font-size: 11px;
    color: var(--ink-soft);
    margin-top: 4px;
    font-weight: 500;
}
.stats-empty {
    font-size: 13px;
    color: var(--muted);
    text-align: center;
    padding: 14px 0;
    font-style: italic;
}

.stats-row {
    display: grid;
    grid-template-columns: minmax(110px, 1.5fr) minmax(80px, 1.4fr) 36px 56px;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--paper);
}
.stats-row:last-child { border-bottom: none; }
.stats-row-label {
    font-size: 13px;
    color: var(--ink);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.stats-row-bar {
    height: 8px;
    background: var(--paper);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}
.stats-row-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--green-status) 0%, var(--green-mid) 100%);
    border-radius: 4px;
    transition: width 0.4s ease;
}
.stats-row-count {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-soft);
    text-align: right;
}
.stats-row-pct {
    font-size: 13px;
    font-weight: 600;
    color: var(--green-deep);
    text-align: right;
}

.stats-pin-section {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed var(--line);
}
.stats-pin-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.stats-pin-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 13px;
    border: 1.5px solid transparent;
}

/* ========== API DOCS ========== */

/* Desktop-breedte enkel voor de api-docs pagina (andere pagina's blijven 440px) */
@media (min-width: 900px) {
    .dashboard.dashboard-wide {
        max-width: 1080px;
    }
    .dashboard-wide .dash-body {
        padding-left: 24px;
        padding-right: 24px;
    }
}

/* Code-block met lijnnummers en copy-knop */
.code-block {
    position: relative;
    margin: 10px 0;
}
.code-block .code-copy {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(245, 242, 235, 0.1);
    border: 1px solid rgba(245, 242, 235, 0.25);
    color: var(--gold-light);
    padding: 4px 10px;
    border-radius: 6px;
    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: all 0.2s;
    z-index: 2;
}
.code-block .code-copy:hover {
    background: rgba(245, 242, 235, 0.18);
    color: var(--white);
}
.code-block .code-copy.copied {
    background: var(--green-status);
    color: var(--white);
    border-color: var(--green-status);
}
.code-block pre {
    background: #1B3D2A;
    color: #E6CB8E;
    padding: 14px 0 14px 0;
    border-radius: 10px;
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: 12.5px;
    line-height: 1.6;
    overflow-x: auto;
    margin: 0;
    counter-reset: line;
}
.code-block pre code {
    display: block;
    font-family: inherit;
}
.code-block pre .ln {
    display: block;
    counter-increment: line;
    position: relative;
    padding: 0 16px 0 56px;
    white-space: pre;
    min-height: 1.6em;
}
.code-block pre .ln::before {
    content: counter(line);
    position: absolute;
    left: 0;
    top: 0;
    width: 42px;
    padding-right: 12px;
    text-align: right;
    color: rgba(230, 203, 142, 0.35);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    user-select: none;
    font-variant-numeric: tabular-nums;
}

.docs-section {
    background: var(--white);
    border-radius: 14px;
    border: 1px solid var(--line);
    padding: 18px 20px;
    margin-bottom: 16px;
}
.docs-h2 {
    font-family: 'Lora', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--green-deep);
    margin: 0 0 10px;
}
.docs-h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    margin: 18px 0 8px;
    letter-spacing: 0.2px;
}
.docs-p {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.55;
    margin: 0 0 10px;
}
.docs-tip {
    background: var(--cream-light);
    border-left: 3px solid var(--green-deep);
    padding: 10px 14px;
    border-radius: 6px;
    margin-top: 14px;
    font-size: 13px;
}
.docs-code {
    background: #1B3D2A;
    color: #E6CB8E;
    padding: 14px 16px;
    border-radius: 10px;
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: 12.5px;
    line-height: 1.55;
    overflow-x: auto;
    margin: 10px 0;
    white-space: pre;
}
.docs-code .docs-method {
    display: inline-block;
    background: var(--green-status);
    color: var(--white);
    padding: 1px 8px;
    border-radius: 4px;
    font-weight: 600;
    margin-right: 8px;
}
.docs-p code,
.docs-ul code,
.docs-table code,
.docs-tip code {
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 1px 6px;
    border-radius: 4px;
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: 12px;
    color: var(--green-deep);
}
.docs-ul, .docs-ol {
    margin: 8px 0 8px 20px;
    padding: 0;
}
.docs-ul li, .docs-ol li {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.55;
    margin-bottom: 6px;
}
.docs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 8px 0;
    font-size: 13px;
}
.docs-table th, .docs-table td {
    text-align: left;
    padding: 8px 12px;
    border-bottom: 1px solid var(--paper);
}
.docs-table th {
    color: var(--muted);
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.docs-table td:first-child { width: 70px; }
.docs-secret-wrap {
    margin: 10px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.docs-secret-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 0.8px;
    text-transform: uppercase;
}
.docs-copy { align-self: flex-start; }

/* ========== SOFTWARE BY (footer op elke pagina) ========== */

.powered-by {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 28px 18px 18px;
    max-width: 440px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.2s;
}
.powered-by:hover {
    opacity: 1;
}
.powered-by img {
    height: 16px;
    width: auto;
    display: block;
}

/* ========== INSTALL & DISCLAIMER PAGES ========== */

.install-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px 18px 14px;
    margin-bottom: 14px;
    box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}
.install-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: var(--green-deep);
}
.install-card-head svg {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    color: var(--green-deep);
}
.install-card-head h2 {
    font-family: 'Lora', serif;
    font-weight: 600;
    font-size: 18px;
    margin: 0;
    color: var(--green-deep);
}
.install-steps {
    margin: 4px 0 0;
    padding-left: 22px;
    color: var(--ink);
    font-size: 14px;
    line-height: 1.55;
}
.install-steps li { margin: 6px 0; }
.install-steps strong { color: var(--green-deep); }
.install-note {
    margin: 10px 0 0;
    font-size: 13px;
    color: var(--ink-soft);
    font-style: italic;
    line-height: 1.5;
}

/* Pill-vormige "Terug"-knop onderaan op statische pagina's */
.btn-back-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green-deep);
    color: var(--cream);
    padding: 11px 26px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s;
}
.btn-back-pill:hover { background: var(--ink); }

/* ========== UTILS ========== */

.text-center { text-align: center; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mt-2 { margin-top: 16px; }
