/*
 * Huisstijl voor de app-pagina's (account, assistent, beheer): één bestand.
 * Samengevoegd op 2026-11-20 uit tokens.css, site.css, wizard.css, app.css en de oude app-theme.css,
 * in de volgorde waarin de browser ze laadde. Regels die nergens werden gebruikt of altijd werden
 * overschreven, zijn weggelaten. Nieuwe stijlen voor app-pagina's horen hier (onderaan of bij hun onderdeel).
 * Kiezerspagina's gebruiken nog site.css, app.css, stemhulp.css en voter-theme.css.
 */

/* ===== uit tokens.css ===== */

/* ===== uit site.css ===== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    background: var(--cream);
    color: var(--text);
    line-height: var(--leading-body);
    letter-spacing: var(--tracking-body);
    font-size: var(--text-base);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--brand);
    text-decoration: none;
}

a:hover {
    color: var(--brand-dark);
}

.eyebrow {
    display: inline-block;
    margin: 0 0 1rem;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand);
}


/* ---------- Buttons ---------- */
.btn {
    font-family: inherit;
}

.btn:hover {
    text-decoration: none;
}

.btn--primary:hover {
    transform: translateY(-1px);
}

.btn--secondary {
    border: 1px solid var(--border-strong);
}

.btn--ghost {
    border: 1px solid var(--border-strong);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(2.5rem, 2rem + 3vw, 4.5rem) 1.5rem clamp(4rem, 3rem + 4vw, 6rem);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: var(--text-display);
    font-weight: 600;
    line-height: var(--leading-display);
    letter-spacing: var(--tracking-display);
    margin: 0 0 1.25rem;
}

.hero h1 em {
    font-style: italic;
    color: var(--brand);
}

.browser {
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 4px rgba(15, 15, 18, 0.04),
        0 24px 48px rgba(15, 15, 18, 0.1);
    overflow: hidden;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ---------- Stats ---------- */
.stats {
    background: var(--ink);
    color: var(--text-on-dark);
    padding: clamp(2.5rem, 2rem + 2vw, 3.5rem) 1.5rem;
}

/* ---------- Sections ---------- */
.section {
    padding: var(--space-section) 1.5rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 920px;
    margin: 0 auto;
    align-items: stretch;
}

.pricing-card.is-hidden,
.pricing-card[hidden] {
    display: none !important;
}

.pricing-card__features[hidden] {
    display: none;
}

.pricing-card {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.4rem;
    display: flex;
    flex-direction: column;
}

.pricing-card--featured {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--text-on-dark);
    transform: scale(1.03);
    box-shadow: 0 24px 48px rgba(15, 15, 18, 0.2);
}

.pricing-card--featured h3,
.pricing-card--featured .pricing-card__price {
    color: #fff;
}

.pricing-card--featured .pricing-card__price-for,
.pricing-card--featured li {
    color: var(--text-on-dark-muted);
}

.pricing-card--featured .btn--primary {
    background: #fff;
    color: var(--ink);
}

.pricing-card--featured .btn--primary:hover {
    background: var(--cream);
}

.pricing-card--featured .btn--secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
}

.pricing-card {
    position: relative;
}

.pricing-card h3 {
    margin: 0 0 0.15rem;
    font-size: var(--text-base);
    font-weight: 600;
}

.pricing-card__price {
    font-family: var(--font-display);
    font-size: clamp(2rem, 1.6rem + 1vw, 2.75rem);
    font-weight: 600;
    color: var(--brand);
    margin: 0.5rem 0 0.1rem;
    line-height: 1;
    letter-spacing: var(--tracking-display);
}

.pricing-card__price-for {
    color: var(--text-muted);
    font-size: var(--text-xs);
    margin: 0 0 1rem;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    flex: 1;
}

.pricing-card li {
    padding: 0.28rem 0;
    font-size: var(--text-sm);
    color: var(--text-secondary);
    padding-left: 1.35rem;
    position: relative;
}

.pricing-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.55rem;
    height: 0.55rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%2315803d' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.pricing-card--featured li::before {
    filter: brightness(2);
}

.pricing-card .btn {
    width: 100%;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.step {
    text-align: center;
    padding: 1rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {

    .pricing-card--featured {
        transform: none;
    }
}
@media (max-width: 768px) {

    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* ─── Utility classes ────────────────────────────────────────────────────── */
.muted {
    color: var(--text-muted);
}

/* ===== uit tokens.css ===== */

/* Design tokens — gedeeld door site, app, wizard en stemhulp */
:root {
    --text-on-dark: #e2e8f0;
    --text-on-dark-muted: #a8b3c7;
    --success: #0f8a5f;
    --success-subtle: #d9f4e8;
    --danger: #be2f2f;
    --font-sans: "Archivo", system-ui, -apple-system, sans-serif;
    --tracking-body: 0.015em;
    --tracking-tight: 0.01em;
    --tracking-display: 0.02em;
    --leading-body: 1.65;
    --leading-display: 1.12;
    --text-xs: clamp(0.75rem, 0.72rem + 0.1vw, 0.8125rem);
    --text-sm: clamp(0.875rem, 0.84rem + 0.12vw, 0.9375rem);
    --text-base: clamp(1rem, 0.96rem + 0.15vw, 1.0625rem);
    --text-lg: clamp(1.125rem, 1.05rem + 0.3vw, 1.3rem);
    --text-xl: clamp(1.5rem, 1.35rem + 0.55vw, 2rem);
    --text-2xl: clamp(2rem, 1.7rem + 1vw, 2.75rem);
    --text-3xl: clamp(2.75rem, 2.2rem + 1.8vw, 4.25rem);
    --text-display: clamp(3rem, 2.4rem + 2.5vw, 5rem);
    --space-section: clamp(4rem, 3rem + 4vw, 7rem);
    --container: min(1140px, calc(100% - 3rem));
    --gray: var(--text-muted);
    --gray-dark: var(--text-secondary);
    --accent: var(--brand);
    --stem-card-pad: 2rem;
    --stem-gap-xl: 2rem;
    --stem-gap: 1.5rem;
    --stem-gap-sm: 1.25rem;
    --brand-pad: 1.25rem;
}

/* ===== uit wizard.css ===== */

.auth-page,
.dashboard-page,
.wizard-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}

.dashboard-page--wide {
    max-width: min(1180px, calc(100vw - 2.5rem));
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

/* Setup-wizard: ruim op desktop, meer inhoud per stap in één oogopslag */
.wizard-page--editor {
    max-width: min(1180px, calc(100vw - 2.5rem));
}

.auth-card,
.wizard-card {
    background: var(--surface);
    padding: 2rem;
}

.auth-card h1,
.wizard-card h1 {
    margin: 0 0 0.5rem;
}

.auth-card__lead,
.wizard-card__plan {
    color: var(--gray-dark);
    margin: 0 0 1.5rem;
}

.auth-form .form-group,
.wizard-form .form-group {
    margin-bottom: 1.1rem;
}

.auth-form label,
.wizard-form label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"],
.wizard-form input[type="text"],
.wizard-form input[type="email"],
.wizard-form input[type="file"],
.wizard-form input[type="color"],
.wizard-form select,
.wizard-form textarea {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--border);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.auth-form input[type="text"]:focus,
.auth-form input[type="email"]:focus,
.auth-form input[type="password"]:focus,
.wizard-form input[type="text"]:focus,
.wizard-form input[type="email"]:focus,
.wizard-form select:focus,
.wizard-form textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-glow);
}

.btn--block {
    width: 100%;
    margin-top: 0.5rem;
}

.auth-card__footer {
    margin: 1.25rem 0 0;
    text-align: center;
    font-size: 0.95rem;
    color: var(--gray-dark);
}

.alert {
    padding: 0.85rem 1rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.alert--error {
    border: 1px solid #fecaca;
}

.alert--info code {
    font-size: 0.875em;
    background: rgba(255, 255, 255, 0.6);
    padding: 0.1em 0.35em;
    border-radius: 4px;
}

.preview-hint__note {
    display: block;
    margin-top: 0.35rem;
    color: var(--text-muted, #71717a);
    font-size: 0.875rem;
}

.alert--success {
    border: 1px solid #bbf7d0;
}

.alert--warning {
    border: 1px solid #fde68a;
    font-weight: 400;
}

.alert--warning strong {
    font-weight: 700;
}

.alert__action {
    display: inline;
    margin-left: 0.5rem;
}

.wizard-progress {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.wizard-progress--7 {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.4rem;
}
@media (min-width: 900px) {

    .wizard-progress--7 {
        grid-template-columns: repeat(7, 1fr);
    }
}

.wizard-card__intro {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0 0 0.5rem;
}

.wizard-page--centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 10rem);
    max-width: 720px;
}

.wizard-card--welcome {
    width: 100%;
    max-width: 40rem;
    margin: 0 auto;
    padding: 2.25rem 2.5rem;
}

.wizard-card--welcome h1 {
    margin: 0 0 0.75rem;
    font-size: 1.65rem;
    line-height: 1.25;
}

.wizard-welcome__lead {
    margin: 0 0 1.25rem;
    font-size: 1.05rem;
    line-height: 1.55;
    color: var(--gray-dark);
}

.wizard-welcome__sublead {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink, #0f0f12);
    margin: 0 0 0.6rem;
}

.wizard-welcome__steps {
    margin: 0 0 1.25rem;
    padding-left: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--gray-dark);
    counter-reset: step-counter;
}

.wizard-welcome__steps li {
    padding-left: 0.25rem;
}

.wizard-welcome__steps strong {
    color: var(--ink, #0f0f12);
}

.wizard-welcome__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.wizard-progress__step {
    text-align: center;
    font-size: 0.75rem;
}

a.wizard-progress__step.is-clickable {
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s, opacity 0.15s;
}

a.wizard-progress__step.is-clickable:hover {
    opacity: 1;
}

.wizard-progress__label {
    display: block;
    margin-top: 0.15rem;
}

.input-addon {
    display: flex;
    align-items: stretch;
}

.input-addon input {
    flex: 1;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-addon__suffix {
    display: flex;
    align-items: center;
    padding: 0 0.85rem;
    background: #f1f5f9;
    border: 1px solid var(--border);
    border-left: none;
    border-radius: 0 4px 4px 0;
    font-size: 0.9rem;
    color: var(--gray-dark);
    white-space: nowrap;
}

.field-hint {
    margin: 0.35rem 0 0;
    font-size: 0.85rem;
    color: var(--gray);
}

.logo-preview {
    margin-bottom: 0.75rem;
}

.logo-preview img {
    max-height: 80px;
    max-width: 200px;
    object-fit: contain;
    border: 1px solid var(--border);
    border-radius: 3px;
    padding: 0.5rem;
    background: #fff;
}

.settings-fieldset {
    padding: 1rem 1.25rem;
    margin: 0 0 1rem;
}

.settings-fieldset legend {
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0 0.35rem;
}

.settings-check {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.65rem;
    cursor: pointer;
}

.settings-check:last-child {
    margin-bottom: 0;
}

.dynamic-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.dynamic-item {
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 1rem;
    background: var(--bg, #f8fafc);
}

.btn-remove-item {
    margin-top: 0.5rem;
    font-family: inherit;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.settings-fieldset__sub {
    margin-top: 1.15rem;
    padding-top: 1.15rem;
    border-top: 1px solid var(--border);
}

.settings-fieldset__sub-label {
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink, #0f0f12);
}
@media (min-width: 900px) {

    .wizard-page--editor .statement-item:not(.statement-item--with-positions) {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 1.25rem;
        align-items: start;
    }

    .wizard-page--editor .statement-item:not(.statement-item--with-positions) .btn-remove-item {
        grid-column: 1 / -1;
    }

    .wizard-page--editor .statement-item--with-positions .statement-item__fields {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 1.25rem;
        align-items: start;
    }

    .wizard-page--editor .statement-item--with-positions .statement-item__fields .btn-remove-item {
        grid-column: 1 / -1;
    }
}

.wizard-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.wizard-actions__end {
    margin-left: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
}

.wizard-payment-success,
.wizard-publish-success {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--brand-light);
    border: 1px solid rgba(38, 67, 221, 0.15);
    border-radius: var(--radius-xl);
    margin-bottom: 1rem;
}

.wizard-payment-success__icon,
.wizard-publish-success__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: var(--success-subtle);
    color: var(--success);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.wizard-payment-success__title,
.wizard-publish-success__title {
    margin: 0 0 0.5rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
}

.wizard-payment-success__lead,
.wizard-publish-success__lead {
    margin: 0 0 1rem;
    color: var(--text-secondary);
}

.wizard-publish-cta {
    padding: 1.5rem;
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
}

.wizard-publish-cta__lead {
    margin: 0 0 1rem;
    font-size: 1.05rem;
}

.wizard-btn-publish {
    min-width: 14rem;
}

.wizard-actions .btn--primary {
    margin-left: auto;
}

.dashboard-header h1 {
    margin: 0 0 0.35rem;
}

.dashboard-header p {
    margin: 0 0 1.5rem;
}

.dashboard-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0;
}

.dashboard-tabs__tab {
    display: inline-block;
    padding: 0.65rem 1rem;
    margin-bottom: -1px;
    border: 1px solid transparent;
    border-radius: 4px 4px 0 0;
    font-size: 0.95rem;
    text-decoration: none;
}

.dashboard-tabs__tab:hover {
    color: var(--brand-dark);
    background: var(--brand-light);
}

.dashboard-tabs__tab.is-active {
    background: var(--surface);
    border-bottom-color: var(--surface);
}

.account-settings {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.account-settings__card {
    background: var(--surface);
    padding: 1.5rem 1.75rem;
}

.account-settings__card h2 {
    margin: 0 0 1rem;
    font-size: 1.1rem;
}

.account-settings__card--danger {
    background: #fffbfb;
}

.account-details {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
    gap: 1rem 1.5rem;
    margin: 0 0 1.25rem;
}

.account-details dt {
    margin: 0 0 0.2rem;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--gray-dark);
}

.account-details dd {
    margin: 0;
    font-size: 0.95rem;
    overflow-wrap: anywhere;
}

/* Het e-mailadres krijgt een eigen regel: een lang adres loopt anders over de kolom ernaast heen. */
.account-details > div:first-child {
    grid-column: 1 / -1;
}

.account-form {
    max-width: 32rem;
}

.account-form .form-group {
    margin-bottom: 1rem;
}

.account-form--danger {
    max-width: 28rem;
}

.account-form--danger .settings-check {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 1rem 0;
    font-size: 0.9rem;
}

.is-hidden {
    display: none !important;
}

.subdomain-status.is-taken {
    color: var(--danger);
}

.subdomain-status.is-checking {
    color: var(--gray);
}

.form-row--3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.project-card h2 {
    margin: 0 0 0.25rem;
    font-size: 1.15rem;
}

.project-card__elections .muted {
    color: var(--gray);
}

.election-lifecycle {
    margin-top: 0.5rem;
}

.election-lifecycle__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
}

.election-lifecycle__hint {
    margin: 0;
    font-size: 0.85rem;
}

.inline-form {
    display: inline;
}
@media (max-width: 640px) {

    .wizard-progress {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row--3 {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .wizard-actions {
        flex-direction: column;
    }

    .wizard-actions .btn--primary {
        margin-left: 0;
    }
}

/* Supermod klantenoverzicht */
.supermod-page .dashboard-header {
    margin-bottom: 1.5rem;
}

.supermod-kpi {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 1.25rem 1.5rem;
    text-align: center;
}

.supermod-kpi__value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand, #3730a3);
    line-height: 1.1;
}

.supermod-kpi__label {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.9rem;
    color: var(--gray-dark);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.status-badge--draft {
    background: #f1f5f9;
    color: #475569;
}

.status-badge--ready {
    background: #dbeafe;
    color: #1d4ed8;
}

.status-badge--published {
    background: #dcfce7;
}

.status-badge--lifecycle.status-badge--awaiting_payment {
    outline: 1px solid #fbbf24;
}

.status-badge--supermod {
    background: #fef3c7;
    color: #b45309;
}

.access-password-panel {
    margin-top: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md, 4px);
    background: #f8fafc;
}

.access-password-panel.is-hidden {
    display: none;
}

.access-password-privacy {
    margin-bottom: 1rem;
}

.access-password-existing {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
}

.access-password-existing__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--border);
}

.access-password-existing__item:last-child {
    border-bottom: none;
}

.access-password-existing__label {
    font-weight: 600;
    font-size: 0.9rem;
}

.wizard-form input[type="password"] {
    width: 100%;
    padding: 0.7rem 0.9rem;
    font-family: inherit;
    font-size: 1rem;
}

/* Klant-statistieken (account/analytics.php) */
.analytics-page__back {
    margin: 0 0 1.25rem;
}

.analytics-page__back a {
    color: var(--text-muted, #64748b);
    text-decoration: none;
    font-size: 0.95rem;
}

.analytics-page__back a:hover {
    color: var(--brand, #1a56db);
}

.analytics-page__title {
    font-size: 1.15rem;
    color: var(--text-muted, #64748b);
    margin: 0.25rem 0 0.5rem;
}

.analytics-page__meta {
    margin: 0;
}

.analytics-kpis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.analytics-page__privacy {
    font-size: 0.9rem;
    color: var(--text-muted, #64748b);
    background: var(--surface-muted, #f8fafc);
    border-radius: var(--radius-md, 4px);
    padding: 0.85rem 1rem;
    margin: 0 0 1.5rem;
    line-height: 1.5;
}

.analytics-statements {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.analytics-statement {
    border: 1px solid var(--border, #e2e8f0);
    border-radius: var(--radius-md, 4px);
    padding: 1rem 1.25rem;
    background: #fff;
}

.analytics-statement__text {
    font-size: 1.05rem;
    margin: 0 0 0.75rem;
    line-height: 1.4;
}

.analytics-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.analytics-table th,
.analytics-table td {
    padding: 0.5rem 0.75rem 0.5rem 0;
    text-align: left;
    vertical-align: middle;
}

.analytics-table th {
    font-weight: 600;
    color: var(--text-muted, #64748b);
    font-size: 0.85rem;
}

.analytics-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.analytics-bar__fill {
    display: block;
    height: 8px;
    max-width: 100%;
    border-radius: 4px;
}

.analytics-bar__label {
    font-size: 0.85rem;
    color: var(--text-muted, #64748b);
    white-space: nowrap;
}

.analytics-page__actions {
    margin-top: 2rem;
}

.wizard-progress__step {
    border-color: var(--border-strong);
}

.wizard-progress__step.is-active {
    border-color: var(--brand);
}

.wizard-form input[type="text"],
.wizard-form input[type="email"],
.wizard-form input[type="file"],
.wizard-form input[type="color"],
.wizard-form input[type="password"],
.wizard-form select,
.wizard-form textarea,
.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
    border-color: var(--border-strong);
    border-radius: 4px;
    background: #fff;
}

/* ─── Dashboard: project-kaart + election-kaart (ecard) ──────────────────── */
/* Kleurvariabelen per fase, via de linkerrand */
.ecard--concept {
    --ecard-accent: var(--border-strong);
}

.ecard--awaiting_payment {
    --ecard-accent: #e8a020;
}

.ecard--scheduled {
    --ecard-accent: var(--brand);
}

.ecard--published {
    --ecard-accent: var(--success);
}

.ecard--ended {
    --ecard-accent: var(--text-muted);
}

.ecard {
    position: relative;
    background: var(--surface);
    border-left: 4px solid var(--ecard-accent, var(--border-strong));
    padding: 1.35rem 1.5rem 0;
    transition: box-shadow 0.18s ease, border-color 0.18s ease;
    overflow: hidden;
}

.ecard__title {
    margin: 0 0 0.2rem;
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 0.95rem + 0.35vw, 1.3rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: var(--tracking-display);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--ink);
}

.ecard__url {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.82rem;
    color: var(--brand);
    text-decoration: none;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: opacity 0.15s;
}

.ecard__url:hover {
    opacity: 0.75;
}

/* ─── Project-kaart wrapper ───────────────────────────────────────────────── */
.project-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.project-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: 0 2px 16px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.project-card__elections {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.project-card__elections > .ecard {
    border-radius: 0;
    border-top: none;
    border-right: none;
    border-bottom: none;
    box-shadow: none;
}

.project-card__elections > .ecard + .ecard {
    border-top: 1px solid var(--border);
}

/* ─── ecard responsive ───────────────────────────────────────────────────── */
@media (max-width: 600px) {

    .ecard {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* ─── Participants-tabel (account/participants.php) ─────────────────────── */
.participants-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1.5rem;
}

.participants-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    white-space: nowrap;
}

.participants-table th,
.participants-table td {
    border: 1px solid var(--border);
    padding: 0.5rem 0.75rem;
    text-align: left;
    vertical-align: top;
}

.participants-table th {
    background: var(--cream);
    font-weight: 700;
    position: sticky;
    top: 0;
}

.participants-table__stmt-th {
    min-width: 70px;
    text-align: center;
}

.participants-table__name {
    white-space: normal;
    min-width: 160px;
}

.participants-table__answer {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.participants-table__answer--filled {
    color: var(--text);
    font-weight: 600;
}

.participants-table__legend {
    font-size: 0.88rem;
    color: var(--text);
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.participants-table__legend h3 {
    font-size: 0.9rem;
    margin: 0 0 0.5rem;
}

.participants-table__legend p {
    margin: 0.2rem 0;
}

/* ─── Stap 5 organizer: inline standpunten per stelling ─────────────────── */
.statement-item--with-positions {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: var(--surface);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

.statement-item--with-positions .statement-item__fields {
    padding: 1.25rem 1.5rem 1rem;
    border-bottom: 1px solid var(--border);
}

.statement-item--with-positions .btn-remove-item {
    margin-top: 0.5rem;
}

.stmt-positions {
    padding: 1rem 1.5rem 1.25rem;
    background: #f2f4fd;
}

.stmt-positions__label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--brand);
    margin: 0 0 0.85rem;
}

.stmt-positions__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
}

.stmt-pos-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: box-shadow 0.15s;
}

.stmt-pos-card:focus-within {
    box-shadow: 0 0 0 3px var(--brand-glow);
    border-color: var(--brand);
}

.stmt-pos-card__name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ink);
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.stmt-pos-card__cat {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-muted);
}

.stmt-pos-card__select {
    width: 100%;
    padding: 0.45rem 0.6rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.88rem;
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    transition: border-color 0.15s;
}

.stmt-pos-card__select:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-glow);
}

.stmt-pos-card__explanation {
    width: 100%;
    padding: 0.45rem 0.6rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.82rem;
    color: var(--text);
    resize: vertical;
    transition: border-color 0.15s;
}

.stmt-pos-card__explanation:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-glow);
}

/* ══ Custom colour picker (stap 1) ════════════════════════════════════ */
.color-picker-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.color-picker-preview {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.1s;
}

.color-picker-preview:hover {
    transform: scale(1.05);
}

.color-picker-hex {
    flex: 1;
    font-family: var(--font-mono, monospace);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    max-width: 10rem;
}

.color-picker-palette {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    z-index: 50;
    background: var(--surface);
    padding: 1rem;
    box-shadow: 0 8px 24px rgba(15, 15, 18, 0.12);
    min-width: 260px;
}

.color-picker-palette[hidden] {
    display: none;
}

.color-picker-swatches {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.color-swatch {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.1s, border-color 0.1s;
    padding: 0;
    outline: none;
}

.color-swatch:hover {
    transform: scale(1.12);
    border-color: var(--ink);
}

.color-swatch.is-selected {
    border-color: var(--ink);
    transform: scale(1.08);
}

.color-picker-sliders {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow: visible;
    padding: 0 0 0.25rem;
}

.color-picker-slider-label {
    display: flex;
    justify-content: space-between;
    font-size: var(--text-xs, 0.75rem);
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.15rem;
}

.color-picker-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    outline: none;
    cursor: pointer;
    background: var(--border);
    position: relative;
    z-index: 0;
}

.color-picker-range--r {
    background: linear-gradient(to right, #000, #f00);
}

.color-picker-range--g {
    background: linear-gradient(to right, #000, #0f0);
}

.color-picker-range--b {
    background: linear-gradient(to right, #000, #00f);
}

.color-picker-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 2.5px solid var(--ink, #0f0f12);
    box-shadow: 0 1px 4px rgba(0,0,0,0.25);
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.color-picker-range::-webkit-slider-container {
    overflow: visible;
}

.color-picker-range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 2.5px solid var(--ink, #0f0f12);
    box-shadow: 0 1px 4px rgba(0,0,0,0.25);
    cursor: pointer;
}

.color-picker-range::-webkit-slider-runnable-track {
    border-radius: 3px;
    height: 6px;
}

.color-picker-range::-moz-range-track {
    border-radius: 3px;
    height: 6px;
}

/* ══ Step 6 stellingname ═══════════════════════════════════════════════ */
.stmt-block {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 1.25rem;
    overflow: hidden;
}

.stmt-block__header {
    padding: 1rem 1.25rem 0.75rem;
    border-bottom: 1px solid var(--border);
    background: var(--cream);
}

.stmt-block__num {
    font-size: var(--text-xs, 0.75rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.35rem;
}

.stmt-block__text {
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--text);
    margin: 0 0 0.25rem;
}

.stmt-block__dilemma {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin: 0;
}

.stmt-positions--inline {
    padding: 0.75rem 1.25rem 1rem;
}

/* ══ Invite flow (stap 6 invite-modus) ════════════════════════════════ */
.invite-send-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.invite-participants-preview {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
}

.invite-participants-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: var(--text-sm);
}

.invite-send-actions {
    margin-top: 0.5rem;
}

/* Ruimte tussen de knop "Uitnodigingen versturen" (of het overzicht) en het blok met logo's eronder. */
.participant-logos {
    margin-top: 2.5rem;
}

.invite-sent-banner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: var(--radius-md);
    padding: 0.9rem 1.25rem;
    margin-bottom: 1.5rem;
}

.invite-overview {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.invite-overview__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.invite-overview__score {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 3px;
    padding: 0.25rem 0.75rem;
}

.invite-row {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.invite-row__name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 10rem;
    font-size: var(--text-sm);
    font-weight: 500;
}

.invite-row__status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d1d5db;
    flex-shrink: 0;
}

.invite-row__status-label {
    font-size: var(--text-xs, 0.75rem);
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.invite-row__answers {
    width: 100%;
    margin-top: 0.5rem;
}

.invite-row__answers summary {
    cursor: pointer;
    font-size: var(--text-sm);
    font-weight: 500;
    padding: 0.25rem 0;
}

.invite-row__answers-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.invite-answer {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.6rem 0.75rem;
}

.invite-answer__stmt {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text);
    margin: 0 0 0.3rem;
}

.invite-answer__val {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin: 0;
}

.invite-answer__val.has-answer {
    color: var(--brand);
    font-weight: 600;
}

.invite-answer__expl {
    font-size: var(--text-xs, 0.75rem);
    color: var(--text-muted);
    margin: 0.2rem 0 0;
    font-style: italic;
}

/* ══ Stap 8: looptijd timing grid ═══════════════════════════════════════ */
.pub-timing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
@media (max-width: 560px) {

    .pub-timing-grid {
        grid-template-columns: 1fr;
    }
}

.field-label-hint {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-secondary, #6b7280);
    margin-left: 0.25rem;
}

/* Na publicatie: geen stellingen/deelnemers/categorieën toevoegen of verwijderen */
.is-content-locked [data-remove-item],
.is-content-locked #add-statement,
.is-content-locked #add-category,
.is-content-locked #add-participant {
    display: none;
}

/* ===== uit app.css ===== */

/* App-shell: account, wizard, admin, demo beheer */
body.page-app {
    min-height: 100vh;
}

/* Display headings in app UI */
.auth-card h1,
.wizard-card h1,
.dashboard-header h1 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 600;
    letter-spacing: var(--tracking-display);
    line-height: var(--leading-display);
}

.dashboard-header p,
.auth-card__lead {
    color: var(--text-secondary);
    line-height: var(--leading-body);
}

.dashboard-header {
    margin-bottom: 1.75rem;
}

.dashboard-tabs {
    margin-bottom: 1.5rem;
}


/* Demo banner */
.demo-banner {
    background: var(--ink);
    color: var(--text-on-dark-muted);
    text-align: center;
    font-size: var(--text-sm);
    padding: 0.5rem 1rem;
}

.demo-banner a {
    color: var(--text-on-dark);
    font-weight: 600;
    text-decoration: none;
}

.demo-banner a:hover {
    color: #fff;
}

/* App footer (stemhulp demo) */
.app-footer {
    max-width: 760px;
    margin: 0 auto;
    padding: 2rem 1.5rem 3rem;
    text-align: center;
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.app-footer a {
    font-weight: 600;
}

/* ─── Checkout / betaling ─────────────────────────────────────── */
.checkout-page {
    max-width: 540px;
    margin: 3rem auto;
    padding: 0 1.5rem;
}

.checkout-card {
    background: #fff;
    padding: 2rem 2.5rem;
}

.checkout-card h1 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 600;
    letter-spacing: var(--tracking-display);
    line-height: var(--leading-display);
    margin: 0 0 0.4rem;
}

.checkout-card__intro {
    color: var(--text-secondary);
    margin: 0 0 1.5rem;
}

.checkout-summary {
    overflow: hidden;
    margin-bottom: 1.75rem;
}

.checkout-summary__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-light, #e2e8f0);
    font-size: 0.9375rem;
}

.checkout-summary__row:last-child {
    border-bottom: none;
}

.checkout-summary__row--sub {
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.checkout-summary__row--total {
    font-size: 1rem;
}

.checkout-summary__row--total strong {
    font-size: 1.125rem;
}

.checkout-form {
    margin-bottom: 0.75rem;
}

.checkout-hint {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0 0 1.25rem;
    text-align: center;
}

.checkout-back {
    text-align: center;
    font-size: 0.875rem;
    margin: 1rem 0 0;
}

.checkout-card__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}

/* Auto-verlengen checkbox */
.checkout-autorenew {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 1.25rem 0;
    padding: 1rem 1.25rem;
    cursor: pointer;
}

.checkout-autorenew input[type="checkbox"] {
    margin-top: 0.1rem;
    flex-shrink: 0;
    width: 1.1em;
    height: 1.1em;
    cursor: pointer;
}

.checkout-autorenew span {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-size: 0.92rem;
}

.checkout-autorenew small {
    font-size: 0.82rem;
}

/* Kortingscode */
.checkout-discount-form {
    margin: 1.25rem 0 0.75rem;
}

.checkout-discount-row {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.checkout-discount-input {
    flex: 1;
    min-width: 140px;
    padding: 0.45rem 0.75rem;
    font-family: inherit;
    font-size: 0.92rem;
}

.checkout-discount-ok {
    margin: 0.45rem 0 0;
    font-size: 0.85rem;
    color: var(--success, #0f8a5f);
    font-weight: 600;
}

.checkout-summary__row--discount span:last-child {
    color: var(--success, #0f8a5f);
    font-weight: 700;
}

/* Wizard live-waarschuwing overlay */
.wizard-live-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(15, 23, 42, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(2px);
}

.wizard-live-overlay[hidden] {
    display: none;
}

.wizard-live-modal {
    background: var(--surface, #fff);
    padding: 2.5rem 2rem;
    max-width: 480px;
    width: 100%;
    text-align: center;
}

.wizard-live-modal__icon {
    font-size: 2.5rem;
}

.wizard-live-modal__title {
    margin: 0 0 0.85rem;
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--ink, #1e293b);
}

.wizard-live-modal__body {
    margin: 0 0 1.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary, #64748b);
    line-height: 1.6;
}

/* ─── Dashboard: stemhulpen actiebalk ───────────────────────── */
.stemhulpen-actions-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.stemhulpen-budget-hint {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.stemhulpen-budget-hint strong {
    color: var(--ink);
}

.stemhulpen-budget-hint--empty {
    color: var(--text-tertiary, #94a3b8);
}

/* ─── Dashboard: pakketten tab ───────────────────────────────── */
.bundles-panel {
    background: var(--white);
    padding: 1.5rem;
}

.bundles-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.bundle-card--expired {
    opacity: 0.75;
}

.bundles-panel__buy {
    padding-top: 1.5rem;
    margin-top: 0.5rem;
}

.bundles-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.bundle-buy-card {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.875rem 1rem;
    text-decoration: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.bundle-buy-card strong {
    color: var(--ink);
    font-size: 0.9rem;
}

.bundle-buy-card span {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* Tabs badge */
.dashboard-tabs__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: 1.25rem;
    margin-left: 0.35rem;
    font-size: 0.7rem;
    line-height: 1;
    vertical-align: middle;
}

/* ─── Checkout: plan picker ──────────────────────────────────── */
.checkout-plan-picker {
    display: grid;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
}

.checkout-plan-option {
    display: flex;
    text-decoration: none;
}

.checkout-plan-option strong {
    color: var(--ink);
    font-size: 0.9rem;
}

.checkout-plan-option span {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* ─── Wizard stap 7: bundel-keuze ────────────────────────────── */
.wizard-bundle-picker {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.wizard-bundle-picker__intro {
    margin: 0 0 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.bundle-option:has(input:checked) {
    border-color: var(--primary, #4f46e5);
    background: var(--primary-bg, #eef2ff);
}

/* ─── Dashboard pakketkiezer ─────────────────────────────────── */
.dashboard-pricing {
    margin-top: 0.5rem;
}

.dashboard-pricing__head h2 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    letter-spacing: var(--tracking-display);
    margin: 0 0 0.5rem;
}

.dashboard-pricing__head p {
    color: var(--text-secondary);
    margin: 0;
    max-width: 42rem;
}

/* Pakketten: meenemen naar volgende periode */
.bundle-carry {
    margin-top: 0.85rem;
    padding-top: 0.75rem;
}

.bundle-carry__title {
    margin: 0 0 0.25rem;
}

.bundle-carry .settings-check {
    margin: 0.4rem 0;
}

/* Link "Naar de inhoud": buiten beeld tot iemand met Tab erop komt. */
.skip-link {
    position: fixed;
    left: 1rem;
    top: -4rem;
    z-index: 1000;
    padding: 0.6rem 1rem;
    border-radius: 3px;
    background: #1b2440;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.skip-link:focus {
    top: 1rem;
}

main:focus {
    outline: none;
}

/* ===== uit app-theme.css ===== */

/* ==========================================================================
   Huisstijl "rood potlood" voor de app-pagina's (account, dashboard, wizard, afrekenen, beheer).
   Wordt als laatste geladen door stemhulp_layout_styles() en overschrijft site/app/wizard.css.
   Niet geladen op de stemhulp voor kiezers: daar hoort de huisstijl van de klant.
   ========================================================================== */
:root {
    --paper: #f6f1e7;
    --paper-deep: #eee6d6;
    --line: #d9cfbd;
    --red: #e3412b;
    --red-strong: #c4331d;
    --yellow: #f3d77b;
    --rose: #fbe3dd;
    --cream: var(--paper);
    --bg: var(--paper);
    --surface: #ffffff;
    --ink: #1b2440;
    --ink-soft: #3b4563;
    --border: rgba(27, 36, 64, 0.16);
    --border-strong: rgba(27, 36, 64, 0.34);
    --border-light: var(--line);
    --text: #1b2440;
    --text-secondary: #3b4563;
    --text-muted: #5f6680;
    --brand: var(--red-strong);
    --brand-dark: #9e2814;
    --red-hover: #a92a17;
    --green: #1d7a4b;
    --green-dark: #14603a;
    --brand-light: var(--rose);
    --brand-muted: #f0b9ad;
    --brand-glow: rgba(227, 65, 43, 0.22);
    --radius-sm: 3px;
    --radius-md: 4px;
    --radius-lg: 6px;
    --radius-xl: 6px;
    --font-display: "Besley", Georgia, "Times New Roman", serif;
}

body.page-app {
    background: var(--paper);
    color: var(--text);
}

.page-app h1,
.page-app h2,
.page-app h3 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--ink);
}

.page-app a:not(.btn) {
    color: var(--ink);
    text-decoration-color: var(--red);
    text-underline-offset: 3px;
}

.page-app :focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 2px;
}

/* ---------- Kop en logo ----------
   Precies zoals de kop van de homepage en de informatiepagina's (.h-header in css/home.css): zelfde hoogte,
   breedte, logo, letters en knoppen. Pas je daar iets aan, doe het dan hier ook. */
html {
    /* Altijd ruimte voor de schuifbalk, zodat de kop niet verspringt tussen korte en lange pagina's. */
    scrollbar-gutter: stable;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(246, 241, 231, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
    /* De app-pagina's hebben iets extra letterafstand; de kop volgt de homepage (normaal). */
    letter-spacing: normal;
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: min(1160px, calc(100% - 2.5rem));
    min-height: 4.25rem;
    margin-inline: auto;
}

/* Logo: het ingekleurde stemvakje vóór de naam (img/logo/stemhulp-icoon.svg). Als het krap wordt, geeft het logo mee. */
.site-logo {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    flex-shrink: 1;
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--ink);
    text-decoration: none;
}

.site-logo:hover {
    color: var(--ink);
    text-decoration: none;
}

.site-logo__icon-img {
    width: 1.55em;
    height: 1.55em;
    margin-right: 0.4em;
    flex: none;
}

.site-logo__dot {
    color: var(--red);
}

.site-nav {
    display: flex;
    flex: none;
    align-items: center;
    gap: 1.6rem;
    margin-left: auto;
    font-size: 0.95rem;
    font-weight: 600;
}

.site-nav a:not(.btn):not(.h-btn) {
    padding: 0.25rem 0;
    border-bottom: 2px solid transparent;
    color: var(--ink);
    text-decoration: none;
    white-space: nowrap;
}

.site-nav a:not(.btn):not(.h-btn):hover {
    border-bottom-color: var(--red);
}

.nav-user {
    font-weight: 500;
    color: var(--ink-soft);
}

/* Uitloggen gaat via een klein formulier (POST met token), maar de knop ziet eruit als een link. */
.logout-form {
    display: inline;
    margin: 0;
}

.link-button {
    appearance: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

.site-nav .link-button.nav-logout {
    padding: 0.25rem 0;
    border-bottom: 2px solid transparent;
    color: var(--ink);
    white-space: nowrap;
}

.site-nav .link-button.nav-logout:hover {
    border-bottom-color: var(--red);
}

.link-button.link-button--inline {
    color: var(--brand);
}

.link-button.link-button--inline:hover {
    color: var(--brand-dark);
}

/* Knoppen rechts in de kop (Mijn account, Inloggen): dezelfde als op de homepage. */
.site-header .h-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-sizing: border-box;
    min-height: 2.375rem;
    padding: 0.55rem 1rem;
    border: 1.5px solid transparent;
    border-radius: 3px;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.site-header .h-btn--ink {
    background: var(--ink);
    color: var(--paper);
}

.site-header .h-btn--ink:hover {
    background: var(--ink-soft);
    color: var(--paper);
}

.site-header .h-btn--line {
    border-color: var(--ink);
    background: transparent;
    color: var(--ink);
}

.site-header .h-btn--line:hover {
    background: var(--ink);
    color: var(--paper);
}

.site-header .h-btn__icon {
    display: none;
    width: 1.15rem;
    height: 1.15rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

@media (max-width: 768px) {
    .site-nav {
        gap: 0.9rem;
    }

    .site-nav .nav-user {
        display: none;
    }
}

@media (max-width: 520px) {
    .site-header__inner {
        width: calc(100% - 2rem);
        gap: 0.5rem;
    }
}

/* Smalle telefoons: logo iets kleiner, net als op de homepage. */
@media (max-width: 420px) {
    .site-logo {
        font-size: 1.2rem;
    }

    .site-logo__icon-img {
        width: 1.35em;
        height: 1.35em;
        margin-right: 0.3em;
    }
}

/* Telefoon: Mijn account alleen als icoon (vierkant), zoals op de homepage; de tekst blijft voor schermlezers. */
@media (max-width: 480px) {
    .site-header .h-btn--account {
        min-width: 2.375rem;
        padding: 0;
    }

    .site-header .h-btn--account .h-btn__icon {
        display: block;
    }

    .site-header .h-btn--account .h-btn__label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
}

@media (max-width: 380px) {
    .site-header .site-logo {
        font-size: 1.05rem;
    }
}

/* Beheerportaal: donkere balk met het label "Beheer", zodat je meteen ziet dat je niet in een klantaccount zit. */
.site-header--admin {
    background: var(--ink);
    border-bottom: 3px solid var(--red);
}

.site-header.site-header--admin .site-logo,
.site-header--admin .site-nav a:not(.btn),
.site-header.site-header--admin .nav-user {
    color: var(--paper);
}

.site-header--admin .site-nav a:not(.btn):hover {
    color: #fff;
    text-decoration: underline;
}

.site-header--admin .site-nav .link-button.nav-logout {
    border-bottom: 0;
    color: var(--paper);
}

.site-header--admin .site-nav .link-button.nav-logout:hover {
    color: #fff;
    text-decoration: underline;
}

.admin-badge {
    margin-left: 0.6rem;
    padding: 0.2rem 0.6rem;
    border-radius: 3px;
    background: var(--red);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.3;
}

.page-admin {
    background: #ece8df;
}

/* Tweestapsverificatie (admin/tweestaps.php) */
.auth-card--wide {
    max-width: 34rem;
}

.admin-2fa-steps {
    margin: 0 0 1.25rem;
    padding-left: 1.25rem;
    display: grid;
    gap: 0.85rem;
}

.admin-2fa-qr {
    margin: 0.75rem 0 0.5rem;
}

.admin-2fa-qr svg {
    display: block;
    width: 13rem;
    height: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius-md, 4px);
}

.admin-2fa-manual summary {
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--ink-soft);
}

.admin-2fa-key {
    display: inline-block;
    padding: 0.4rem 0.6rem;
    font-size: 1rem;
    letter-spacing: 0.08em;
    word-break: break-all;
}

.admin-2fa-code {
    font-size: 1.4rem;
    letter-spacing: 0.3em;
    text-align: center;
}

.admin-2fa-help {
    margin: 1rem 0 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.btn--secondary {
    box-shadow: none;
}

.btn--danger {
    border-color: var(--red-strong);
}

.btn:disabled,
.btn[aria-disabled="true"] {
    transform: none;
    box-shadow: none;
}

/* ---------- Kaarten ---------- */
.auth-card,
.wizard-card,
.checkout-card {
    border-radius: var(--radius-lg);
}

.account-settings__card,
.bundle-card,
.bundles-panel,
.ecard,
.settings-fieldset,
.dashboard-pricing {
    border-radius: var(--radius-lg);
    box-shadow: none;
}

.account-settings__card--danger {
    border-color: var(--red-strong);
}

/* Uitleg bovenaan een wizardstap: breed genoeg voor één regel op een gewoon scherm */
.wizard-card__intro {
    max-width: 64rem;
}

/* Ontbrekende standpunten (wizard stap 5): uitleg met knop "Toch doorgaan" */
.positions-missing {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem 1rem;
    margin: 0 0 1.25rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--paper);
}

.positions-missing p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--ink-soft);
}

/* ---------- Formulieren ---------- */
/*
 * Basis voor elk invulveld op de app-pagina's (ook nieuwe formulieren, zoals bij afrekenen).
 * :where() geeft deze regels geen gewicht, zodat specifiekere regels hieronder en in andere bestanden blijven gelden.
 */
:where(.page-app) :where( input[type="text"], input[type="email"], input[type="password"], input[type="date"], input[type="url"], input[type="tel"], input[type="number"], input[type="search"], textarea, select ) {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1.5px solid rgba(27, 36, 64, 0.55);
    border-radius: 4px;
    background: #fff;
    color: var(--ink);
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.4;
}

:where(.page-app) :where(textarea) {
    resize: vertical;
}

:where(.page-app) :where(input, textarea, select)::placeholder {
    color: var(--text-muted);
    opacity: 1;
}

:where(.page-app) :where( input[type="text"], input[type="email"], input[type="password"], input[type="date"], input[type="url"], input[type="tel"], input[type="number"], input[type="search"], textarea, select ):focus {
    outline: 3px solid var(--red);
    outline-offset: 1px;
    border-color: var(--ink);
    box-shadow: none;
}

:where(.page-app) :where(.form-group) > label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--ink);
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"],
.wizard-form input[type="text"],
.wizard-form input[type="email"],
.wizard-form input[type="password"],
.wizard-form input[type="date"],
.wizard-form input[type="file"],
.wizard-form select,
.wizard-form textarea,
.account-form input[type="text"],
.account-form input[type="password"],
.checkout-discount-input {
    border: 1.5px solid rgba(27, 36, 64, 0.55);
    border-radius: 4px;
    background: #fff;
}

.auth-form input:focus,
.wizard-form input:focus,
.wizard-form select:focus,
.wizard-form textarea:focus,
.account-form input:focus,
.checkout-discount-input:focus {
    outline: 3px solid var(--red);
    outline-offset: 1px;
    border-color: var(--ink);
    box-shadow: none;
}

.auth-form label,
.wizard-form label {
    color: var(--ink);
}

/* ---------- Wachtwoordeisen onder het wachtwoordveld (js/password-rules.js) ---------- */
.pw-rules {
    display: grid;
    gap: 0.3rem;
    margin: 0.6rem 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.875rem;
    color: var(--ink-soft);
}

/* Met JavaScript: dicht tot iemand het veld kiest, dan zacht openklappen */
.pw-rules--js {
    grid-template-rows: 0fr;
    gap: 0;
    margin-top: 0;
    opacity: 0;
    overflow: hidden;
    transition: grid-template-rows 0.3s ease, gap 0.3s ease, margin-top 0.3s ease, opacity 0.25s ease;
}

.pw-rules--js > li {
    min-height: 0;
    overflow: hidden;
}

.pw-rules--js.is-open {
    grid-template-rows: 1fr;
    gap: 0.3rem;
    margin-top: 0.6rem;
    opacity: 1;
}

.pw-rules li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s ease;
}

/* Rondje dat een vinkje wordt zodra aan de eis is voldaan */
.pw-rules__mark {
    position: relative;
    flex: none;
    width: 1rem;
    height: 1rem;
    border: 2px solid var(--line);
    border-radius: 50%;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.pw-rules__mark::after {
    content: "";
    position: absolute;
    left: 0.24rem;
    top: 0.06rem;
    width: 0.25rem;
    height: 0.48rem;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(40deg) scale(0);
    transition: transform 0.2s cubic-bezier(0.3, 1.6, 0.5, 1);
}

.pw-rules li.is-met {
    color: var(--green);
}

.pw-rules li.is-met .pw-rules__mark {
    background: var(--green);
    border-color: var(--green);
}

.pw-rules li.is-met .pw-rules__mark::after {
    transform: rotate(40deg) scale(1);
}
@media (prefers-reduced-motion: reduce) {

    .pw-rules--js,
    .pw-rules li,
    .pw-rules__mark,
    .pw-rules__mark::after {
        transition: none;
    }
}

/* ---------- Label met i-bolletje en uitleg (bijv. e-mailadres bij registreren) ---------- */
.label-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.4rem;
}

.label-row label {
    margin-bottom: 0;
}

.info-tip__btn {
    position: relative;
    display: block;
    width: 1.25rem;
    height: 1.25rem;
    padding: 0;
    border: 2px solid var(--ink-soft);
    border-radius: 50%;
    background: transparent;
    color: var(--ink-soft);
    cursor: help;
}

/* De i: een puntje en een streepje, getekend zodat hij altijd precies in het midden staat */
.info-tip__btn::before,
.info-tip__btn::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 2px;
    margin-left: -1px;
    border-radius: 1px;
    background: currentColor;
}

.info-tip__btn::before {
    top: 3px;
    height: 2px;
}

.info-tip__btn::after {
    top: 6px;
    height: 6px;
}

.info-tip__btn:hover,
.info-tip__btn:focus-visible,
.info-tip:focus-within .info-tip__btn {
    border-color: var(--red);
    color: var(--red);
}

.info-tip__bubble {
    position: absolute;
    left: 0;
    top: calc(100% + 0.5rem);
    z-index: 30;
    width: min(22rem, 100%);
    padding: 0.75rem 0.9rem;
    border-radius: 4px;
    background: var(--ink);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.45;
    box-shadow: 0 10px 24px -12px rgba(27, 36, 64, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}

.info-tip__bubble strong {
    color: #fff;
}

.info-tip:hover .info-tip__bubble,
.info-tip:focus-within .info-tip__bubble {
    opacity: 1;
    visibility: visible;
    transform: none;
}

/* ---------- Tabbladen en voortgang ---------- */
.dashboard-tabs__tab {
    font-weight: 700;
    color: var(--ink-soft);
}

/* Actief tabblad: licht vlak met een rechte rode streep precies over de grijze lijn */
.dashboard-tabs__tab {
    position: relative;
}

.dashboard-tabs__tab.is-active {
    color: var(--ink);
    border-color: transparent;
}

.dashboard-tabs__tab.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--red);
}

.dashboard-tabs__badge {
    width: auto;
    font-weight: 600;
}

/* Smal scherm: de vier tabbladen in twee rijen van twee, zodat ze allemaal in beeld blijven. */
@media (max-width: 640px) {

    .dashboard-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .dashboard-tabs__tab {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.4rem;
        text-align: center;
        white-space: nowrap;
    }
}

/* Stappen bovenin de wizard: nog te doen (rustig), afgerond (inkt met vinkje), huidige (stempel) */
.wizard-progress__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0.7rem 0.35rem 0.6rem;
    border: 1.5px solid var(--line);
    border-radius: 6px;
    background: #fff;
    color: var(--ink-soft);
    opacity: 1;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.wizard-progress__num {
    display: grid;
    place-items: center;
    width: 1.75rem;
    height: 1.75rem;
    border: 1.5px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--ink-soft);
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1;
}

.wizard-progress__label {
    margin: 0;
    color: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
}

.wizard-progress__step.is-done {
    border-color: rgba(27, 36, 64, 0.35);
    color: var(--ink);
    opacity: 1;
}

/* Afgerond: inktblauw rondje met wit vinkje in plaats van het nummer */
.wizard-progress__step.is-done .wizard-progress__num {
    position: relative;
    border-color: var(--ink);
    background: var(--ink);
    color: transparent;
}

.wizard-progress__step.is-done .wizard-progress__num::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 45%;
    width: 0.32rem;
    height: 0.6rem;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -50%) rotate(40deg);
}

.wizard-progress__step.is-active {
    border: 2px solid var(--ink);
    background: #fff;
    color: var(--ink);
}

.wizard-progress__step.is-active .wizard-progress__num {
    border-color: var(--red-strong);
    background: var(--red-strong);
    color: #fff;
}

a.wizard-progress__step.is-clickable:hover {
    border-color: var(--ink);
    background: var(--rose);
    box-shadow: none;
}

/* ---------- Meldingen ---------- */
.alert {
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
}

.alert--success {
    background: #e7f2ec;
    border-color: #b9dcc8;
    color: var(--green-dark);
}

.alert--error {
    background: var(--rose);
    border-color: var(--brand-muted);
    color: var(--red-hover);
}

.alert--warning {
    background: #fbf0d6;
    border-color: #ecd79a;
    color: #6b4400;
}

/* ---------- Verwijderen en offline halen: rustig omlijnd, pas bij aanwijzen vol rood ---------- */
.btn--danger {
    background: transparent;
    color: var(--red-strong);
    border: 2px solid var(--red-strong);
}

.btn--danger:hover {
    background: var(--red-strong);
    border-color: var(--red-strong);
    color: #fff;
}

/* ---------- Pakketkaarten ---------- */
.bundle-card {
    background: #fff;
    border-radius: 6px;
}

.bundle-card--expired {
    background: var(--paper);
    border-color: var(--line);
}

/* ---------- Mijn account: formulieren (hadden nog geen eigen opmaak) ---------- */
.account-form .form-group label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--ink);
}

.account-form input[type="text"],
.account-form input[type="password"],
.account-form input[type="email"] {
    width: 100%;
    max-width: 28rem;
    padding: 0.7rem 0.9rem;
    font: inherit;
    color: var(--text);
}

.account-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    gap: 1rem;
}


/* ---------- Pakketkaarten op het dashboard: zelfde kaarten als op de homepage ---------- */
.dashboard-pricing {
    border: 0;
    padding: 0;
    margin: 0;
    background: none;
}

.dashboard-pricing__head {
    margin-bottom: 2.25rem;
}

.dashboard-pricing .pricing-audience__note {
    margin: -1rem 0 2rem;
    color: var(--ink-soft);
}

.dashboard-pricing .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: none;
    margin: 0;
}

.dashboard-pricing .pricing-card,
.dashboard-pricing .pricing-card--featured {
    position: relative;
    padding: 2rem 1.75rem 1.75rem;
    background: var(--surface);
    color: var(--ink);
    border: 2px solid var(--ink);
    border-radius: var(--radius-lg);
    transform: none;
    box-shadow: none;
}

.dashboard-pricing .pricing-card h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--ink);
}

.dashboard-pricing .pricing-card__price {
    margin: 1rem 0 0;
    font-size: 2.75rem;
    font-weight: 600;
    color: var(--ink);
}

.dashboard-pricing .pricing-card__was {
    margin-left: 0.4rem;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.dashboard-pricing .pricing-card__price-for {
    margin: 0.4rem 0 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.dashboard-pricing .pricing-card__features {
    margin: 1.5rem 0 1.75rem;
    padding: 1.25rem 0 0;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 0.55rem;
    align-content: start;
}

.dashboard-pricing .pricing-card li {
    padding: 0 0 0 1.6rem;
    font-size: 0.95rem;
    color: var(--ink-soft);
}

.dashboard-pricing .pricing-card li::before {
    left: 0.25rem;
    top: 0.3em;
    width: 0.4rem;
    height: 0.8rem;
    background: none;
    border: solid var(--red);
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(40deg);
    filter: none;
}

.dashboard-pricing .pricing-card .btn {
    width: 100%;
    margin-top: auto;
}
@media (max-width: 860px) {

    .dashboard-pricing .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 26rem;
    }
}

/* ---------- Bestandskeuze (logo) en kleurkeuzevak in de wizard ---------- */
.file-pick {
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Het echte invoerveld blijft bruikbaar voor toetsenbord en schermlezer, maar is onzichtbaar. */
.file-pick__input {
    position: absolute;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    border: 0 !important;
    opacity: 0;
    overflow: hidden;
    clip-path: inset(50%);
    pointer-events: none;
}

.file-pick__btn {
    cursor: pointer;
    margin: 0;
}

.file-pick__input:focus-visible + .file-pick__btn {
    outline: 3px solid var(--brand-glow);
    outline-offset: 2px;
}

.file-pick__name {
    font-size: 0.9rem;
    color: var(--text-muted);
    min-width: 0;
    overflow-wrap: anywhere;
}

.file-pick.has-file .file-pick__name {
    color: var(--ink);
    font-weight: 600;
}

.color-picker-palette {
    border: 1.5px solid var(--ink);
    border-radius: var(--radius-md);
}

.color-picker-done {
    display: block;
    width: 100%;
    margin-top: 1rem;
}

/* ---------- Status van een pakket (dashboard en pakketdetails) ---------- */
.status-badge--active,
.status-badge--full,
.status-badge--expired,
.status-badge--pending {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 0.2rem 0.65rem;
    border: 1.5px solid var(--ink);
    border-radius: 3px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.status-badge--active {
    background: var(--ink);
    color: #fff;
}

.status-badge--full {
    background: var(--yellow);
    color: var(--ink);
}

.status-badge--expired {
    background: var(--paper-deep);
}

.status-badge--pending {
    background: var(--surface);
    color: var(--ink-soft);
}

/* ---------- Tabblad Pakketten: secties en kaarten zonder statuslabels ---------- */
.bundles-section + .bundles-section,
.bundles-section + .bundles-panel__buy {
    margin-top: 2.25rem;
}

.bundles-section__title {
    margin: 0 0 1rem;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
}

.bundles-section__hint {
    margin: -0.6rem 0 1rem;
    font-size: 0.9rem;
    color: var(--ink-soft);
    max-width: 44rem;
}

.bundles-section .bundles-list {
    margin-bottom: 0;
    align-items: start;
}

.bundle-card {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 1.15rem 1.25rem;
}

.bundle-card__title strong {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
}

.bundle-card__usage {
    display: grid;
    gap: 0.35rem;
}

.bundle-card__bar {
    display: block;
    height: 0.45rem;
    border: 1px solid var(--ink);
    border-radius: 3px;
    background: var(--paper);
    overflow: hidden;
}

.bundle-card__bar > span {
    display: block;
    height: 100%;
    background: var(--ink);
}

.bundle-card--full .bundle-card__bar > span {
    background: var(--red);
}

.bundle-card__usage-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink);
}

.bundle-card__meta {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.project-card__renew-badge {
    color: var(--ink-soft);
    font-size: 0.85rem;
    font-weight: 600;
}

.bundle-card__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    margin-top: auto;
    padding-top: 0.6rem;
    border-top: 1px solid var(--line);
}

.bundle-card__foot .bundle-card__details {
    margin-top: 0;
}

/* Kleine tekstknop (verlengen stoppen, weghalen) */
.bundle-card__link-btn {
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.bundle-card__link-btn:hover {
    color: var(--red-strong);
}

.bundle-carry {
    border-top: 1px dashed var(--line);
}

/* Inactief: rustiger, maar nog leesbaar */
.bundles-section--inactive .bundle-card {
    background: var(--paper);
    border-color: var(--line);
    opacity: 1;
}

.bundles-section--inactive .bundle-card__bar > span {
    background: var(--text-muted);
}

/* Betaling niet afgerond: compacte lijst */
.bundles-pending {
    display: grid;
    gap: 0.6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bundles-pending__item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem 1.25rem;
    padding: 0.8rem 1.1rem;
    border: 1.5px dashed var(--ink);
    border-radius: var(--radius-md);
    background: var(--paper);
}

.bundles-pending__name {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem 0.75rem;
}

.bundles-pending__name .muted {
    font-size: 0.85rem;
}

.bundles-pending__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Losse pakketten bijkopen */
.bundles-panel__buy {
    border-top: 1px solid var(--line);
}

.bundle-buy-card {
    border-radius: var(--radius-md);
    background: var(--surface);
}

/* ---------- Pakketkaart: naar de details ---------- */
.bundle-card__title {
    color: inherit;
    text-decoration: none;
}

.bundle-card__title:hover strong {
    text-decoration: underline;
    text-decoration-color: var(--red);
    text-underline-offset: 3px;
}

.bundle-card__details {
    align-self: flex-start;
    margin-top: 0.35rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ink);
    text-decoration: underline;
    text-decoration-color: var(--red);
    text-underline-offset: 3px;
}

/* ---------- Details van één pakket (account/bundle.php) ---------- */
.bundle-detail__back {
    margin: 0 0 1.25rem;
}

.bundle-detail__back a {
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
}

.bundle-detail__back a:hover {
    text-decoration: underline;
    text-decoration-color: var(--red);
}

.bundle-detail__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--line);
}

.bundle-detail__nr {
    margin: 0.3rem 0 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.bundle-detail__head h1 {
    margin: 0;
}

.bundle-detail__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: start;
}

.bundle-detail__card {
    padding: 1.5rem 1.6rem;
    background: var(--surface);
    border-radius: var(--radius-lg);
}

.bundle-detail__card h2,
.bundle-detail__usage h2 {
    margin: 0 0 1rem;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
}

.bundle-detail__facts {
    display: grid;
    margin: 0;
}

.bundle-detail__facts > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.6rem 0;
    border-top: 1px solid var(--line);
}

.bundle-detail__facts > div:first-child {
    border-top: 0;
    padding-top: 0;
}

.bundle-detail__facts dt {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.bundle-detail__facts dd {
    margin: 0;
    text-align: right;
    font-size: 0.9rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.bundle-detail__facts code {
    font-size: 0.8rem;
}

.bundle-detail__invoice {
    margin-top: 1.25rem;
    padding: 1rem 1.1rem;
    border: 1.5px dashed var(--ink);
    border-radius: var(--radius-md);
    background: var(--paper);
}

.bundle-detail__invoice p {
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
    color: var(--ink-soft);
}

.bundle-detail__invoices {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1.5px solid var(--ink);
}

.bundle-detail__invoices h3 {
    margin: 0 0 0.6rem;
    font-size: 0.95rem;
}

.bundle-detail__invoices ul {
    display: grid;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bundle-detail__invoices li {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.25rem 1rem;
    font-size: 0.9rem;
}

.bundle-detail__invoices a {
    font-weight: 700;
    color: var(--ink);
    text-decoration: underline;
    text-decoration-color: var(--red);
    text-underline-offset: 3px;
}

.checkout-billing__fields {
    padding: 0.25rem 1.1rem 0.4rem;
    border-top: 1px solid var(--line);
}

.checkout-billing__fields .form-group {
    margin: 0.9rem 0 0;
}

.checkout-billing__fields .billing-fields > .form-group:last-child {
    margin-bottom: 0.9rem;
}

/* Factuurgegevens (Mijn account en afrekenen): postcode en plaats naast elkaar onder de straat */
.billing-fields__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 0.9rem;
}

.account-settings__card > .field-hint + .account-form {
    margin-top: 1rem;
}

.account-form .billing-fields .form-group {
    margin-bottom: 0.9rem;
}

/* Even breed als de andere velden in Mijn account (die zijn maximaal 28rem) */
.account-form .billing-fields__row {
    max-width: 28rem;
}

.account-form .billing-fields__row input {
    max-width: none;
}

/* Keuzevakjes bij afrekenen (automatisch verlengen, onderwijs) */
.checkout-autorenew {
    background: var(--paper);
    border: 1.5px solid var(--ink);
    border-radius: var(--radius-md);
}

.checkout-autorenew input[type="checkbox"] {
    accent-color: var(--red-strong);
}

.checkout-onderwijs > p {
    font-size: 0.9rem;
    color: var(--ink-soft);
}

.checkout-summary {
    border: 1.5px solid var(--ink);
    border-radius: var(--radius-md);
}

.checkout-summary__row--total {
    background: var(--paper);
}

.bundle-detail__card > .btn {
    margin-top: 1.25rem;
}

.bundle-detail__usage {
    margin-top: 2.25rem;
}

.bundle-usage {
    display: grid;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bundle-usage__item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.35rem 1.5rem;
    padding: 1rem 1.25rem;
    background: var(--surface);
    border-radius: var(--radius-md);
}

.bundle-usage__main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
}

.bundle-usage__title {
    font-size: 1.05rem;
}

.bundle-usage__meta {
    grid-column: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.1rem;
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.bundle-usage__links {
    grid-column: 2;
    grid-row: 1 / span 2;
    display: flex;
    gap: 1rem;
    margin: 0;
    font-size: 0.875rem;
    font-weight: 700;
}

.bundle-usage__links a {
    color: var(--ink);
    text-decoration: underline;
    text-decoration-color: var(--red);
    text-underline-offset: 3px;
}
@media (max-width: 760px) {

    .bundle-detail__grid {
        grid-template-columns: 1fr;
    }

    .bundle-usage__item {
        grid-template-columns: 1fr;
    }

    .bundle-usage__links {
        grid-column: 1;
        grid-row: auto;
    }
}

/* ---------- Beheerders en instellingen van een pakket (account/bundle.php, beheerder.php, uitnodiging.php) ---------- */
.pkg-label {
    margin-top: 0.6rem;
}

.pkg-label__toggle {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--ink);
    cursor: pointer;
    text-decoration: underline;
    text-decoration-color: var(--red);
    text-underline-offset: 3px;
    list-style: none;
}

.pkg-label__toggle::-webkit-details-marker {
    display: none;
}

.pkg-label__form {
    margin-top: 0.75rem;
    max-width: 34rem;
}

.pkg-label__form label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 700;
    font-size: 0.9rem;
}

.pkg-label__row {
    display: flex;
    gap: 0.5rem;
}

.pkg-label__row input {
    flex: 1;
    min-width: 0;
}

.bundle-card__plan {
    display: block;
    margin-top: -0.15rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.bundle-detail > .pkg-settings,
.bundle-detail > .pkg-confirm,
.bundle-detail > .pkg-managers {
    margin-top: 2.25rem;
}

.pkg-settings__row {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr) minmax(0, 0.8fr) minmax(0, 1.6fr);
    gap: 0.75rem 1.25rem;
    align-items: start;
    padding: 1rem 0;
    border-top: 1px solid var(--line);
}

.pkg-settings__head {
    padding: 0.5rem 0;
    border-top: 0;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.pkg-settings__row select,
.pkg-settings__row input[type="text"],
.pkg-settings__row input[type="date"] {
    width: 100%;
    max-width: none;
}

.pkg-settings__help {
    margin: 0.2rem 0 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.pkg-settings__note {
    margin: 0.45rem 0 0;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-style: italic;
}

.pkg-settings__row[data-mode="maker"] {
    color: var(--text-secondary);
}

.pkg-color {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pkg-color input[type="text"] {
    max-width: 8.5rem;
    font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
}

.pkg-color input[type="color"] {
    width: 2.4rem;
    height: 2.4rem;
    padding: 0.15rem;
    border: 1.5px solid var(--ink);
    border-radius: var(--radius-sm);
    background: var(--surface);
}

.pkg-color__swatch {
    display: inline-block;
    flex: none;
    width: 1.6rem;
    height: 1.6rem;
    border: 1.5px solid var(--ink);
    border-radius: 50%;
    vertical-align: middle;
}

.pkg-logo {
    display: block;
    max-width: 9rem;
    max-height: 3.5rem;
    margin-bottom: 0.5rem;
    object-fit: contain;
}

.pkg-logo--small {
    display: inline-block;
    max-height: 2rem;
    margin: 0;
    vertical-align: middle;
}

.pkg-period {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.pkg-period label {
    display: grid;
    gap: 0.2rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.pkg-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    margin-top: 1.25rem;
}

.pkg-note {
    margin: 1.25rem 0 0;
    padding: 0.9rem 1.1rem;
    background: var(--paper);
    border-left: 3px solid var(--red);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.pkg-note h2 {
    margin: 0 0 0.5rem;
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--ink);
}

/* Bevestigen van verplichte wijzigingen */
.pkg-confirm {
    border-color: var(--red-strong);
    box-shadow: var(--shadow-stamp);
}

.pkg-confirm__list {
    display: grid;
    gap: 0.6rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.pkg-confirm__list li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.6rem;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

.pkg-confirm__online {
    margin-left: auto;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--red-strong);
}

.pkg-confirm__form {
    margin-top: 0.5rem;
}

.pkg-check {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-top: 1.1rem;
    font-weight: 700;
}

.pkg-check input {
    margin-top: 0.2rem;
}

/* Beheerders */
.pkg-managers__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
    margin-bottom: 1rem;
}

.pkg-managers__head h2 {
    margin-bottom: 0.35rem;
}

.pkg-managers__head p {
    margin: 0;
    max-width: 40rem;
}

.pkg-table-wrap {
    overflow-x: auto;
}

.pkg-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.925rem;
}

.pkg-table th {
    padding: 0.5rem 0.75rem 0.5rem 0;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-align: left;
    text-transform: uppercase;
    color: var(--text-muted);
    border-bottom: 1.5px solid var(--ink);
}

.pkg-table td {
    padding: 0.9rem 0.75rem 0.9rem 0;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
}

.pkg-small {
    font-size: 0.82rem;
}

.pkg-election + .pkg-election {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px dashed var(--line);
}

.pkg-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.9rem;
    margin-top: 0.35rem;
    font-size: 0.85rem;
    font-weight: 700;
}

.pkg-links a,
.pkg-linkbtn {
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    color: var(--ink);
    cursor: pointer;
    text-decoration: underline;
    text-decoration-color: var(--red);
    text-underline-offset: 3px;
}

.pkg-inline {
    display: inline;
    margin: 0;
}

.pkg-tag {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0.05rem 0.45rem;
    border: 1px solid var(--ink);
    border-radius: var(--radius-sm);
    font-size: 0.72rem;
    font-weight: 700;
    vertical-align: middle;
}

.pkg-tag--verplicht {
    background: var(--ink);
    color: var(--paper);
}

/* Uitnodigen */
.pkg-invite {
    max-width: 46rem;
}

.pkg-invite__head {
    margin-bottom: 1.5rem;
}

.pkg-invite__head h1 {
    margin: 0 0 0.5rem;
}

.pkg-invite__form .form-group + .form-group,
.pkg-invite__form .form-group + fieldset,
.pkg-invite__form fieldset + .form-group {
    margin-top: 1.25rem;
}

.pkg-invite__fact {
    margin: 0 0 1rem;
}

.pkg-invite__number {
    max-width: 6rem;
}

.pkg-invite__per {
    margin: 1.5rem 0 0;
    padding: 1.1rem 1.2rem 1.25rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--paper);
}

.pkg-invite__per legend {
    padding: 0 0.35rem;
    font-weight: 700;
}

.pkg-invite__how ol,
.pkg-invite__how p {
    margin: 0;
}

/* Uitnodiging aannemen */
.pkg-accept {
    max-width: 52rem;
}

.pkg-accept__head {
    margin-bottom: 1.5rem;
}

.pkg-accept__eyebrow {
    margin: 0 0 0.4rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--red-strong);
}

.pkg-accept__head h1 {
    margin: 0 0 0.6rem;
}

.pkg-accept__lead {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.pkg-accept__message {
    margin: 0 0 1.5rem;
    padding: 1rem 1.2rem;
    background: var(--surface);
    border-left: 3px solid var(--red);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.pkg-accept__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.pkg-accept__grid .bundle-detail__card:only-child {
    grid-column: 1 / -1;
}

.pkg-accept__key {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.pkg-accept__sub {
    margin: 0.75rem 0 0.4rem;
    font-weight: 700;
    font-size: 0.9rem;
}

.pkg-accept__sub:first-of-type {
    margin-top: 0;
}

.pkg-accept__fields {
    display: grid;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pkg-accept__fields li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.2rem 0.6rem;
}

.pkg-accept__fields .pkg-accept__key {
    min-width: 7.5rem;
}

.pkg-accept__card {
    margin-bottom: 1.5rem;
}

.pkg-accept__who {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}

.pkg-accept__who p {
    margin: 0;
}

.pkg-choices {
    display: grid;
    gap: 0.6rem;
    margin: 0;
    padding: 0;
    border: 0;
}

.pkg-choices legend {
    margin-bottom: 0.6rem;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
}

.pkg-choice {
    display: flex;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-md);
    cursor: pointer;
}

.pkg-choice:has(input:checked) {
    border-color: var(--ink);
    box-shadow: 3px 3px 0 var(--ink);
}

.pkg-choice input {
    margin-top: 0.25rem;
    accent-color: var(--red-strong);
}

.pkg-choice > span {
    display: grid;
    gap: 0.2rem;
}

.pkg-choice__changes {
    font-size: 0.875rem;
    color: var(--red-strong);
}

.pkg-choice--off {
    cursor: default;
    opacity: 0.6;
}

/* Assistent: velden die de organisatie heeft vastgelegd */
.form-group[data-pkg-locked] input,
.form-group[data-pkg-locked] textarea,
.pub-timing-grid[data-pkg-locked] input {
    background: var(--paper);
    color: var(--text-secondary);
}

.pkg-locked-note {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0 0.5rem;
    padding: 0.15rem 0.55rem;
    border: 1px solid var(--ink);
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--ink);
    background: var(--surface);
}

.pkg-locked-note::before {
    content: "";
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--ink);
}

.ecard__package {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--red-strong);
}
@media (max-width: 760px) {

    .pkg-settings__head {
        display: none;
    }

    .pkg-settings__row {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.6rem;
    }

    .pkg-settings__row[data-mode="maker"] [data-pkg-strength] {
        display: none;
    }

    .pkg-accept__grid {
        grid-template-columns: 1fr;
    }

    .pkg-table thead {
        display: none;
    }

    .pkg-table,
    .pkg-table tbody,
    .pkg-table tr,
    .pkg-table td {
        display: block;
        width: 100%;
    }

    .pkg-table tr {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--line);
    }

    .pkg-table td {
        padding: 0.3rem 0;
        border: 0;
    }

    .pkg-label__row {
        flex-direction: column;
    }
}

/* ---------- Status van een stemhulp (wizard en dashboard) ---------- */
.election-lifecycle {
    margin: 0.5rem 0 1.5rem;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
}

.election-lifecycle__hint {
    color: var(--ink-soft);
}

.status-badge--lifecycle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.22rem 0.7rem;
    border: 1.5px solid var(--ink);
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    outline: 0;
}

.status-badge--lifecycle::before {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: currentColor;
}

.status-badge--lifecycle.status-badge--concept {
    background: var(--surface);
    color: var(--ink-soft);
}

.status-badge--lifecycle.status-badge--scheduled,
.status-badge--lifecycle.status-badge--awaiting_payment {
    background: var(--yellow);
    color: var(--ink);
}

.status-badge--lifecycle.status-badge--published {
    background: var(--ink);
    color: #fff;
}

.status-badge--lifecycle.status-badge--published::before {
    background: var(--red);
    box-shadow: 0 0 0 3px rgba(227, 65, 43, 0.35);
}

.status-badge--lifecycle.status-badge--ended {
    background: var(--paper-deep);
    color: var(--ink-soft);
}

/* ---------- Na publiceren (wizard stap 8) ---------- */
.wizard-publish-success {
    padding: 2.25rem 1.75rem 1.75rem;
    background: var(--surface);
    border-radius: var(--radius-lg);
    margin: 0 0 1.5rem;
}

.wizard-publish-success__icon {
    display: inline-grid;
    place-items: center;
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 0.9rem;
    border: 2px solid var(--ink);
    border-radius: 50%;
}

.wizard-publish-success__icon svg {
    width: 1.6rem;
    height: 1.6rem;
}

.wizard-publish-success__icon--live {
    background: var(--ink);
    color: #fff;
}

.wizard-publish-success__icon--scheduled {
    background: var(--yellow);
    color: var(--ink);
}

.wizard-publish-success__title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--ink);
}

.wizard-publish-success__lead {
    color: var(--ink-soft);
}

.wizard-publish-success__url {
    margin: 1.25rem 0 0.4rem;
}

.wizard-publish-success .field-hint a {
    color: var(--ink);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--red);
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
}

/* Waarschuwing bij het openen van de wizard van een live stemhulp */
.wizard-live-modal {
    border-radius: var(--radius-lg);
}

.wizard-live-modal__icon {
    display: inline-grid;
    place-items: center;
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: 0.9rem;
    border: 2px solid var(--ink);
    border-radius: 50%;
    background: var(--yellow);
}

.wizard-live-modal__icon::before {
    content: "!";
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1;
    color: var(--ink);
}

.wizard-live-modal__title {
    font-weight: 600;
}

/* Onderwijskorting aanvragen, onder de pakketten */
.edu-callout {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: 2.5rem;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-lg);
}

.edu-callout__tag {
    flex: none;
    display: grid;
    place-items: center;
    font-weight: 600;
}

.edu-callout__body {
    flex: 1;
    min-width: 0;
}

.edu-callout__body h2 {
    margin: 0 0 0.3rem;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
}

.edu-callout__body p {
    margin: 0;
    font-size: 0.925rem;
    color: var(--ink-soft);
    max-width: 44rem;
}

.edu-callout .btn {
    flex: none;
}
@media (max-width: 720px) {

    .edu-callout {
        flex-direction: column;
        align-items: flex-start;
    }

    .edu-callout .btn {
        width: 100%;
    }
}

/* ---------- Wizard stap 4: groepen (optioneel) ---------- */
.groups-panel {
    margin-top: 0.9rem;
}

.groups-panel[hidden] {
    display: none;
}

/* Zonder groepen geen keuzelijst per deelnemer: naam en e-mail krijgen de ruimte */
#participants-list.is-ungrouped .participant-group-field {
    display: none;
}

/* Alleen op bredere schermen; op de telefoon blijft het één kolom (zie wizard.css). */
@media (min-width: 641px) {

    #participants-list.is-ungrouped .form-row--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ---------- Wizard stap 5: logo's van deelnemers ---------- */
.participant-logos__list {
    display: grid;
    gap: 0.6rem;
    margin: 0.75rem 0;
    padding: 0;
    list-style: none;
}

.participant-logos__item {
    display: grid;
    grid-template-columns: 3.25rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.9rem;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--surface);
}

.participant-logos__thumb {
    display: grid;
    place-items: center;
    width: 3.25rem;
    height: 3.25rem;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #fff;
    overflow: hidden;
}

.participant-logos__thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.participant-logos__none {
    font-size: 0.7rem;
    color: var(--ink-soft);
    text-align: center;
    line-height: 1.2;
}

.participant-logos__name {
    font-weight: 700;
}

.participant-logos__actions {
    display: grid;
    justify-items: end;
    gap: 0.35rem;
    font-size: 0.85rem;
}

.participant-logos__upload {
    justify-content: flex-end;
    gap: 0.5rem;
}

.participant-logos__upload .file-pick__name {
    max-width: 12rem;
    font-size: 0.8rem;
}

.participant-logos__upload .file-pick__name:empty {
    display: none;
}
@media (max-width: 640px) {

    .participant-logos__upload {
        justify-content: flex-start;
    }

    .participant-logos__item {
        grid-template-columns: 3.25rem minmax(0, 1fr);
    }

    .participant-logos__actions {
        grid-column: 1 / -1;
        justify-items: start;
    }
}

/* ---------- Wizard stap 6: voorbeeld van de stemhulp ---------- */
.wizard-preview {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}

.wizard-preview__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
    margin-bottom: 0.9rem;
}

.wizard-preview__title {
    margin: 0 0 0.25rem;
    font-size: 1.25rem;
}

.wizard-preview__frame {
    display: block;
    width: 100%;
    height: min(46rem, 80vh);
    border-radius: 6px;
    background: #f5f5f2;
}

/* ---------- Datumkiezer (js/datepicker.js) ---------- */
.dp {
    position: relative;
    max-width: 22rem;
}

.dp__field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    min-height: 2.9rem;
    padding: 0.6rem 0.85rem;
    border: 1.5px solid rgba(27, 36, 64, 0.55);
    border-radius: 4px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.dp__field:hover {
    border-color: var(--ink);
}

.dp__field:focus-visible,
.dp.is-open .dp__field {
    outline: 3px solid var(--red);
    outline-offset: 1px;
    border-color: var(--ink);
}

.dp__field.is-empty .dp__value {
    color: var(--ink-soft);
}

.dp__field:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

/* Kalendericoontje: lijntekening in inktkleur */
.dp__icon {
    flex: none;
    width: 1.2rem;
    height: 1.2rem;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2.5'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2.5'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E") center / contain no-repeat;
}

.dp__pop {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    z-index: 40;
    width: 19.5rem;
    max-width: calc(100vw - 2rem);
    padding: 0.85rem;
    border-radius: 6px;
    background: #fff;
}

.dp__pop[hidden] {
    display: none;
}

.dp__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.dp__title {
    margin: 0;
    font-family: var(--font-display, "Besley", Georgia, serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ink);
}

.dp__title::first-letter {
    text-transform: uppercase;
}

.dp__nav {
    display: grid;
    place-items: center;
    width: 2.2rem;
    height: 2.2rem;
    border: 1.5px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
}

.dp__nav:hover:not(:disabled) {
    border-color: var(--ink);
    background: var(--paper);
}

.dp__nav:disabled {
    opacity: 0.35;
    cursor: default;
}

.dp__chev {
    width: 0.5rem;
    height: 0.5rem;
    border: solid currentColor;
    border-width: 2px 2px 0 0;
    transform: translateX(-1px) rotate(45deg);
}

.dp__chev--left {
    transform: translateX(1px) rotate(-135deg);
}

.dp__grid {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.dp__grid th {
    padding: 0.3rem 0;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--ink-soft);
    text-align: center;
}

.dp__grid td {
    padding: 2px;
    text-align: center;
}

.dp__day {
    width: 100%;
    aspect-ratio: 1;
    max-width: 2.4rem;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 0.9rem;
    font-variant-numeric: tabular-nums;
    cursor: pointer;
}

.dp__day:hover:not(:disabled) {
    background: var(--rose);
}

.dp__day:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 1px;
}

.dp__day.is-other {
    color: #9aa0b4;
}

.dp__day.is-today {
    box-shadow: inset 0 0 0 1.5px var(--red);
    font-weight: 700;
}

.dp__day.is-selected {
    background: var(--red-strong);
    color: #fff;
    font-weight: 700;
    box-shadow: none;
}

.dp__day:disabled {
    color: #cdd0da;
    cursor: default;
}

.dp__foot {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    padding-top: 0.6rem;
    border-top: 1px solid var(--line);
}

.dp__link {
    padding: 0.3rem 0.2rem;
    border: 0;
    background: none;
    color: var(--ink);
    font: inherit;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--red);
    text-underline-offset: 4px;
    cursor: pointer;
}

.dp__link:disabled {
    opacity: 0.4;
    cursor: default;
}

/* ---------- Keuzelijsten (select) in de huisstijl ---------- */
.wizard-form select,
.account-form select,
.dashboard-page select,
select.stmt-pos-card__select {
    -webkit-appearance: none;
    appearance: none;
    padding-right: 2.4rem;
    border: 1.5px solid rgba(27, 36, 64, 0.55);
    border-radius: 4px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b2440' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.8rem center / 1rem;
    color: var(--ink);
    cursor: pointer;
}

.wizard-form select:hover,
.account-form select:hover,
.dashboard-page select:hover {
    border-color: var(--ink);
}

/* ---------- Wizard stap 2: voorbeeld van de stemhulp ---------- */
.wizard-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    gap: 2rem;
    align-items: start;
}

.wizard-split__preview {
    position: sticky;
    top: 1.25rem;
}
@media (max-width: 860px) {

    .wizard-split {
        grid-template-columns: minmax(0, 1fr);
    }

    .wizard-split__preview {
        position: static;
        order: -1;
    }
}

/* Op een telefoon: de zeven stappen als één compacte rij rondjes; de naam staat in de kaart eronder */
@media (max-width: 640px) {

    .wizard-progress.wizard-progress--7 {
        grid-template-columns: repeat(7, minmax(0, 1fr));
        gap: 0.3rem;
    }

    .wizard-progress--7 .wizard-progress__step {
        padding: 0.4rem 0;
        border-radius: 4px;
    }

    .wizard-progress--7 .wizard-progress__label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
}

/* ---------- Wizard stap 1: wachtwoorden voor kiezers (één kader, één regel per wachtwoord) ---------- */
.access-password-fieldset .access-password-panel {
    margin-top: 0.9rem;
    padding: 0.9rem 0 0;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
}

.access-password-fieldset .access-password-panel.is-hidden {
    display: none;
}

.access-password-fieldset .access-password-privacy {
    margin: 0 0 0.85rem;
}

.access-password-fieldset .access-password-existing {
    margin: 0 0 0.6rem;
    border-top: 1px solid var(--line);
}

.access-password-fieldset .access-password-existing__item {
    padding: 0.6rem 0.1rem;
    border-bottom: 1px solid var(--line);
}

.access-password-fieldset .access-password-existing__item:last-child {
    border-bottom: 1px solid var(--line);
}

.access-password-fieldset .access-passwords-new {
    display: grid;
    gap: 0.6rem;
    margin: 0 0 0.85rem;
}

.access-password-fieldset .access-password-item.dynamic-item {
    display: flex;
    align-items: flex-end;
    gap: 0.6rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.access-password-fieldset .access-password-item .form-group {
    flex: 1;
    min-width: 0;
    margin: 0;
}

.access-password-fieldset .access-password-item input[type="password"] {
    margin: 0;
}

.access-password-fieldset .access-password-item .btn-remove-item {
    flex: none;
    margin: 0 0 0.35rem;
    padding: 0.45rem 0.85rem;
    border: 1.5px solid var(--line);
    border-radius: 3px;
    background: #fff;
    color: var(--ink-soft);
    font-size: 0.85rem;
}

.access-password-fieldset .access-password-item .btn-remove-item:hover {
    border-color: var(--red-strong);
    color: var(--red-strong);
}

#statements-list {
    display: grid;
    gap: 0.9rem;
}

#statements-list .statement-item__fields,
#statements-list .form-group {
    width: 100%;
}

#statements-list textarea {
    width: 100%;
    box-sizing: border-box;
}

#add-statement {
    margin-top: 0.9rem;
}

#statements-list .statement-item:not(.statement-item--with-positions) {
    grid-template-columns: minmax(0, 1fr);
}

/* ---------- Wizard stap 4: geen e-mailkolom als de organisator zelf invult ---------- */
#participants-list.is-organizer .participant-email-group {
    display: none;
}
@media (min-width: 641px) {

    #participants-list.is-organizer .form-row--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

#participants-list.is-organizer.is-ungrouped .form-row--3 {
    grid-template-columns: minmax(0, 1fr);
}

/* ==========================================================================
   Dashboard: kaart per stemhulp (wie, wat nu, overige acties)
   ========================================================================== */
.project-list .project-card {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.project-list .project-card__elections {
    display: grid;
    gap: 1rem;
}

.project-list .project-card__elections > .ecard,
.project-list .project-card__elections > .ecard + .ecard {
    display: grid;
    gap: 1.1rem;
    padding: 1.3rem 1.4rem 1rem;
    border-radius: 6px;
    background: #fff;
    box-shadow: none;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

/* Kop: klantkleur met logo of beginletter, titel en adres, status */
.ecard__head {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.ecard__avatar {
    flex: none;
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    overflow: hidden;
    border-radius: 4px;
    background: var(--ec-brand, var(--ink));
    color: var(--ec-brand-text, #fff);
    font-family: var(--font-display, "Besley", Georgia, serif);
    font-size: 1.35rem;
    font-weight: 600;
}

.ecard__avatar img {
    width: 100%;
    height: 100%;
    padding: 0.3rem;
    object-fit: contain;
    background: #fff;
    border: 2px solid var(--ec-brand, var(--ink));
    border-radius: 4px;
    box-sizing: border-box;
}

.ecard__identity {
    flex: 1;
    min-width: 0;
}

.project-list .ecard__title {
    margin: 0;
    font-family: var(--font-display, "Besley", Georgia, serif);
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--ink);
    overflow-wrap: anywhere;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

.project-list .ecard__url {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: bottom;
    display: inline-block;
    margin-top: 0.15rem;
    color: var(--ink-soft);
    font-size: 0.875rem;
    text-decoration: underline;
    text-decoration-color: var(--line);
    text-underline-offset: 3px;
}

.project-list .ecard__url:hover {
    color: var(--ink);
    text-decoration-color: var(--red);
}

.ecard__status {
    flex: none;
}

.ecard__status-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: currentColor;
}

.ecard__status--published {
    background: #e8f4ed;
}

.ecard__status--scheduled {
    background: #fdf3d6;
    color: #8a5a00;
}

.ecard__status--ended,
.ecard__status--closed {
    background: #efeff0;
}

/* Wat nu: stap en voortgang, of de belangrijkste feiten */
.ecard__now {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.9rem 1.5rem;
    padding: 1rem 1.1rem;
    border-radius: 6px;
    background: var(--paper);
}

.ecard__progress {
    flex: 1;
    min-width: min(100%, 16rem);
}

.ecard__step {
    margin: 0 0 0.55rem;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.ecard__step strong {
    color: var(--ink);
}

.ecard__segments {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ecard__segment {
    height: 8px;
    border-radius: 3px;
    background: #fff;
    box-shadow: inset 0 0 0 1.5px var(--line);
}

.ecard__segment.is-done {
    background: var(--ink);
    box-shadow: none;
}

.ecard__segment.is-current {
    background: var(--red-strong);
    box-shadow: none;
}

.ecard__facts {
    flex: 1;
    display: grid;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--ink);
    font-size: 0.95rem;
}

.ecard__facts:empty {
    display: none;
}

.ecard__cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.ecard__cta:empty {
    display: none;
}

/* Deelnemers die al hebben gereageerd */
.ecard__participants {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1.25rem;
    font-size: 0.9rem;
}

.ecard__resp {
    display: inline-flex;
    align-items: baseline;
    gap: 0.4rem;
    color: var(--ink-soft);
    text-decoration: none;
}

.ecard__resp strong {
    color: var(--ink);
    font-size: 1.05rem;
}

.ecard__resp.is-complete strong {
    color: var(--green);
}

.ecard__resp:hover span {
    text-decoration: underline;
}

/* Overige acties: rustige links, verwijderen bescheiden rechts */
.ecard__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--line);
}

.ecard__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.25rem;
}

.ecard__link {
    padding: 0;
    border: 0;
    background: none;
    color: var(--ink);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--line);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    cursor: pointer;
}

.ecard__link:hover {
    text-decoration-color: var(--red);
}

.ecard__link--danger {
    color: var(--ink-soft);
    font-weight: 600;
}

.ecard__link--danger:hover {
    color: var(--red-strong);
    text-decoration-color: var(--red-strong);
}
@media (max-width: 560px) {

    .ecard__head {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        gap: 0.6rem 0.8rem;
    }

    .ecard__status {
        grid-column: 1 / -1;
        order: -1;
        justify-self: start;
    }

    .ecard__cta,
    .ecard__cta .btn {
        width: 100%;
    }

    .ecard__cta .btn {
        justify-content: center;
    }
}

/* ---------- Wizard stap 5: standpunt kiezen met knoppen in plaats van een keuzelijst ---------- */
.stmt-positions--inline .stmt-positions__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.6rem;
}

.stmt-positions--inline .stmt-pos-card {
    display: grid;
    grid-template-columns: minmax(9rem, 13rem) minmax(0, 1fr);
    align-items: center;
    gap: 0.6rem 1rem;
    padding: 0.75rem 0.9rem;
    border: 1.5px solid var(--line);
    border-radius: 6px;
    background: #fff;
}

.stmt-positions--inline .stmt-pos-card:focus-within {
    border-color: var(--ink);
    box-shadow: none;
}

.stmt-positions--inline .stmt-pos-card__explanation {
    grid-column: 1 / -1;
    width: 100%;
    box-sizing: border-box;
}

.pos-choice {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.pos-choice__option {
    position: relative;
    margin: 0;
    cursor: pointer;
}

.pos-choice__option input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.pos-choice__option span {
    display: inline-block;
    padding: 0.45rem 0.85rem;
    border: 1.5px solid var(--line);
    border-radius: 3px;
    background: #fff;
    color: var(--ink);
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.2;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.pos-choice__option:hover span {
    border-color: var(--ink);
}

.pos-choice__option input:focus-visible + span {
    outline: 3px solid var(--red);
    outline-offset: 2px;
}

/* Gekozen: groen voor eens, rood voor oneens, inkt voor neutraal (zoals in het standpuntenoverzicht) */
.pos-choice__option--agree input:checked + span {
    border-color: var(--green);
    background: var(--green);
    color: #fff;
}

.pos-choice__option--disagree input:checked + span {
    border-color: #b03a2b;
    background: #b03a2b;
    color: #fff;
}

.pos-choice__option--neutral input:checked + span {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}

.pos-choice:disabled .pos-choice__option {
    cursor: default;
}

.pos-choice:disabled .pos-choice__option span {
    opacity: 0.6;
}
@media (max-width: 640px) {

    .stmt-positions--inline .stmt-pos-card {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Inloggen: vinkje "ingelogd blijven" */
.auth-remember {
    margin: -0.25rem 0 1.1rem;
    font-size: 0.92rem;
}

/* ==========================================================================
   Zakelijke uitstraling (zelfde regels als de website, css/home.css):
   kleuren, lettertypes en ronde knoppen blijven; geen harde verschoven schaduwen, geen opspringende
   hover, niets scheef, en dunne randen om kaarten. Donkere randen blijven voor knoppen en selecties.
   ========================================================================== */
:root {
    --soft-shadow-hover: 0 2px 4px rgba(27, 36, 64, 0.08), 0 14px 32px rgba(27, 36, 64, 0.12);
    --card-line: rgba(27, 36, 64, 0.14);
}

.btn:hover,
.btn--danger:hover {
    transform: none;
    box-shadow: none;
}

/* Grote kaarten (inloggen, wizard, afrekenen): dunne rand en zachte schaduw */
.auth-card,
.wizard-card,
.checkout-card {
    border: 1px solid var(--card-line);
    box-shadow: var(--soft-shadow);
}

.account-settings__card,
.bundle-card,
.bundles-panel,
.ecard,
.settings-fieldset,
.bundle-detail__card,
.bundle-usage__item,
.project-list .project-card__elections > .ecard,
.project-list .project-card__elections > .ecard + .ecard {
    border: 1px solid var(--card-line);
}

.ecard:hover,
.bundle-card:hover,
.project-list .project-card__elections > .ecard:hover {
    transform: none;
    box-shadow: var(--soft-shadow);
}

/* Wizardstappen bovenaan: de huidige stap met een donkere rand, zonder sprong of harde schaduw */
.wizard-progress__step.is-active,
.wizard-progress--7 .wizard-progress__step.is-active {
    border-width: 1.5px;
    box-shadow: var(--soft-shadow);
    transform: none;
}

.bundle-buy-card {
    border: 1px solid var(--card-line);
}

.bundle-buy-card:hover {
    border-color: var(--ink);
    box-shadow: var(--soft-shadow);
}

/* Prijzen op het dashboard: witte kaarten met dunne rand, de populairste in inktblauw (zoals op de website) */
.dashboard-pricing .pricing-card {
    border: 1px solid var(--line);
    --badge-space: 2.1rem;
}

.dashboard-pricing .pricing-card--featured {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--paper);
    box-shadow: none;
}

.dashboard-pricing .pricing-card--featured h3,
.dashboard-pricing .pricing-card--featured .pricing-card__price {
    color: var(--paper);
}

.dashboard-pricing .pricing-card--featured .pricing-card__price-for,
.dashboard-pricing .pricing-card--featured .pricing-card__was,
.dashboard-pricing .pricing-card--featured li {
    color: #c9cedc;
}

.dashboard-pricing .pricing-card--featured .pricing-card__features {
    border-top-color: rgba(246, 241, 231, 0.18);
}

.dashboard-pricing .pricing-card--featured .btn--primary {
    background: var(--paper);
    border-color: var(--paper);
    color: var(--ink);
}

.dashboard-pricing .pricing-card--featured .btn--primary:hover {
    background: #fff;
    border-color: #fff;
}

.dashboard-pricing .pricing-card:not(.pricing-card--featured) > h3 {
    margin-top: var(--badge-space);
}

/* Na publiceren en de waarschuwing "stemhulp is live": geen harde schaduw, iconen recht */
.wizard-publish-success,
.wizard-live-modal {
    border: 1px solid var(--card-line);
    box-shadow: var(--soft-shadow-hover);
}

.wizard-publish-success__icon,
.wizard-live-modal__icon {
    border-width: 0;
    transform: none;
}

/* Datumkiezer en voorbeeld van de stemhulp */
.dp__pop {
    border: 1px solid var(--card-line);
    box-shadow: var(--soft-shadow-hover);
}

.wizard-preview__frame {
    border: 1px solid var(--card-line);
}

/* Onderwijskorting: een rustig, recht label in plaats van een scheef rondje */
.edu-callout {
    border: 1px solid var(--card-line);
    background: var(--surface);
}

.edu-callout__tag {
    width: auto;
    height: auto;
    padding: 0.3rem 0.65rem;
    border: 0;
    border-radius: 3px;
    background: var(--rose);
    font-family: inherit;
    font-size: 0.9rem;
    transform: none;
}

/* Bevestigingsvak "weer online zetten" (vanuit de offline-mail) */
.reopen-ask p {
    margin: 0 0 0.75rem;
}

.reopen-ask .inline-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

/* "Link toevoegen" onder een tekstvak (stap 8) */
.link-helper {
    margin-top: 0.5rem;
}

.link-helper__fields {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.75rem;
    margin-top: 0.75rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--line, rgba(26, 29, 41, 0.13));
    border-radius: 4px;
    background: var(--paper, #faf6ee);
}

.link-helper__fields[hidden] {
    display: none;
}

.link-helper__fields label {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1 1 12rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0;
}

/* Informatiemelding in de huisstijl (geen blauw vlak) */
.alert--info {
    background: var(--paper);
    border-color: var(--line);
    color: var(--ink);
}

/* Afrekenen: pakketkeuze in dezelfde stijl als de prijskaarten */
.checkout-plan-option {
    border: 1px solid var(--line);
    background: var(--surface);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.checkout-plan-option:hover {
    border-color: var(--ink-soft);
}

.checkout-plan-option.is-selected strong {
    color: var(--ink);
}

/* Stap 5 (uitnodigen): rustige vlakken in de huisstijl in plaats van felgroen */
.invite-sent-banner {
    background: var(--paper);
    border: 1px solid var(--line);
}

.invite-overview__score.is-complete {
    background: var(--paper-deep);
    color: var(--ink);
    border-color: var(--line);
}

.invite-row--done {
    background: var(--surface);
    border-color: var(--line);
}

.invite-row--done .invite-row__status-label {
    color: var(--green);
}

.invite-row__answers summary {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 3px;
    list-style: none;
}

.invite-row__answers summary::-webkit-details-marker {
    display: none;
}

.invite-row__answers summary::after {
    content: "";
    display: inline-block;
    width: 0.45em;
    height: 0.45em;
    margin-left: 0.5em;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-0.15em) rotate(45deg);
}

.invite-row__answers[open] summary::after {
    transform: translateY(0.05em) rotate(-135deg);
}

/* Vastgezette onderdelen na publicatie (bijv. antwoordtype): zichtbaar grijs en niet aanklikbaar */
.settings-fieldset:disabled {
    opacity: 0.55;
}

.settings-fieldset:disabled label,
.settings-fieldset:disabled input {
    cursor: not-allowed;
}

/* Statistieken: balk krimpt mee zodat "100%" binnen de kaart blijft, ook op de telefoon */
.analytics-bar {
    min-width: 0;
}

.analytics-bar__fill {
    width: calc(var(--pct, 0%) * 0.7);
    flex: 0 1 auto;
    background: var(--ink);
}

.analytics-table td:last-child {
    width: 45%;
}
@media (max-width: 520px) {

    .analytics-table th,
    .analytics-table td {
        padding-right: 0.5rem;
    }
}

/* Stap 5 (uitnodigen): deadline en wijzigingen door de organisator */
.invite-deadline {
    margin: 0 0 1.25rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.invite-deadline__status {
    margin: 0 0 0.75rem;
}

.invite-deadline__edit {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
}

.invite-deadline__edit label {
    margin: 0;
    font-weight: 600;
}

.invite-deadline__edit input[type="date"] {
    width: auto;
}

.position-changes p {
    margin: 0;
}

.position-changes__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.invite-row__changed {
    font-size: var(--text-xs, 0.75rem);
    font-weight: 600;
    padding: 0.15rem 0.55rem;
    border-radius: 3px;
    background: var(--yellow);
    color: var(--ink);
}

.invite-answer .pos-choice {
    margin: 0.4rem 0;
}

.invite-answer.is-changed {
    border-color: var(--ink-soft);
    box-shadow: inset 3px 0 0 var(--yellow);
}

.invite-answer__was {
    margin: 0.4rem 0 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Statistieken: knop om de PDF te downloaden */
.analytics-page__download {
    margin: 1rem 0 0;
}

/* Statistieken: begonnen en afgemaakt per dag */
.analytics-daily {
    margin: 1.5rem 0;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.analytics-daily__title {
    font-size: 1.15rem;
    margin: 0 0 0.35rem;
}

.analytics-daily__chart {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 160px;
    padding-bottom: 2px;
    border-bottom: 1px solid var(--line);
}

.analytics-daily__day {
    position: relative;
    flex: 1 1 0;
    min-width: 2px;
    height: 100%;
}

.analytics-daily__bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--h, 0%);
    border-radius: 4px 4px 0 0;
}

.analytics-daily__bar--started {
    background: var(--paper-deep);
}

.analytics-daily__bar--completed {
    left: 18%;
    right: 18%;
    background: var(--ink);
}

.analytics-daily__axis {
    display: flex;
    justify-content: space-between;
    margin-top: 0.35rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.analytics-daily__legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.6rem;
    margin: 0.75rem 0 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.analytics-daily__key {
    display: inline-block;
    width: 0.9rem;
    height: 0.9rem;
    border-radius: 3px;
}

.analytics-daily__key--started {
    background: var(--paper-deep);
    border: 1px solid var(--line);
}

.analytics-daily__key--completed {
    background: var(--ink);
    margin-left: 0.6rem;
}

.analytics-daily__table {
    margin-top: 0.75rem;
}

.analytics-daily__table summary {
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------- Ondersteuning: tickets (account/support.php en admin/support.php) ---------- */
.support-page {
    max-width: 860px;
}

.support-intro {
    margin: 0 0 1.25rem;
    color: var(--text-muted);
}

.support-ticket-head {
    margin-bottom: 1.25rem;
}

.support-ticket-head h2 {
    margin: 0 0 0.5rem;
}

.support-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.9rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.support-status--beantwoord {
    background: var(--paper-deep);
    color: var(--ink);
}

.support-status--gesloten {
    background: transparent;
    border: 1px solid var(--line);
}

.support-urgent {
    display: inline-block;
    padding: 0.15rem 0.55rem;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 700;
    background: var(--red-strong);
    color: #fff;
}

.support-new {
    margin: 0 0 2rem;
}

.support-form {
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.support-form h2 {
    font-size: 1.15rem;
    margin: 0 0 0.75rem;
}

.support-form__row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    gap: 0 1rem;
}

.support-form__actions {
    margin-top: 1rem;
}

/* Bevestigingsstap na 'Versturen' bij een nieuw ticket. */
.support-confirm {
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    border: 1.5px solid var(--ink);
    border-radius: var(--radius-md);
    background: var(--paper);
}

.support-confirm[hidden] {
    display: none;
}

.support-confirm p {
    margin: 0 0 0.85rem;
    font-weight: 600;
}

.support-confirm__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

/* Foutmelding onder een veld, in de huisstijl in plaats van het tekstballonnetje van de browser. */
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: var(--red-strong);
    box-shadow: 0 0 0 3px var(--brand-glow);
}

.form-group.has-error .file-pick__btn {
    border-color: var(--red-strong);
    color: var(--red-strong);
}

.field-error {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    margin: 0.45rem 0 0;
    color: var(--red-strong);
    font-size: 0.875rem;
    font-weight: 600;
}

.field-error::before {
    content: "!";
    flex: none;
    display: inline-grid;
    place-items: center;
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.05rem;
    border-radius: 50%;
    background: var(--red-strong);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1;
}

.support-close {
    margin-top: 0.75rem;
}

.support-list__title {
    font-size: 1.15rem;
    margin: 0 0 0.75rem;
}

.support-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
}

.support-list__item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.85rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    color: var(--ink);
    text-decoration: none;
}

.support-list__item:hover {
    border-color: var(--ink-soft);
}

/* Net aangemaakt ticket: even opvallen in de lijst. */
.support-list__item.is-new {
    border-color: var(--ink);
    box-shadow: 0 0 0 3px var(--brand-glow);
}

.support-list__name {
    font-weight: 700;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.support-list__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.support-thread {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.support-message {
    padding: 1rem 1.25rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.support-message--team {
    background: var(--paper);
}

.support-message__head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem;
    margin: 0 0 0.5rem;
    font-size: 0.9rem;
}

.support-message__body {
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.support-message__files {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.75rem 0 0;
}

.support-message__files img {
    width: 8rem;
    height: 5.5rem;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 3px;
    background: #fff;
}

.support-customer {
    margin: 0 0 1.25rem;
    padding: 0.85rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.support-customer p {
    margin: 0.2rem 0;
}

.support-filter a[aria-current="page"] {
    font-weight: 700;
    color: var(--ink);
}

/* ---------- Tweetalige velden in de wizard (inc/languages.php: stemhulp_wizard_i18n_field) ---------- */
.i18n-field {
    display: grid;
    gap: 0.4rem;
}

.i18n-field__row {
    display: block;
}

/* Engelse regel en taallabels alleen bij een tweetalige stemhulp. */
.i18n-field__row--en,
.i18n-field__tag {
    display: none;
}

.wizard-form[data-languages="both"] .i18n-field__row {
    display: grid;
    grid-template-columns: 2.4rem minmax(0, 1fr);
    align-items: start;
    gap: 0.5rem;
}

.wizard-form[data-languages="both"] .i18n-field__tag {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-top: 0.55rem;
    padding: 0.15rem 0;
    border-radius: 3px;
    background: var(--paper-deep);
    color: var(--ink-soft);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.wizard-form[data-languages="both"] .i18n-field__row--en .i18n-field__tag {
    background: var(--ink);
    color: #fff;
}

.stmt-pos-card__explanation-wrap {
    grid-column: 1 / -1;
}

.language-choice__hint {
    display: none;
    margin-top: 0.6rem;
}

.wizard-form[data-languages="en"] .language-choice__hint--en,
.wizard-form[data-languages="both"] .language-choice__hint--both {
    display: block;
}

/* ---------- Wizard stap 3: korte titels voor de pagina met extra belangrijke stellingen ---------- */
.short-title-advice[hidden],
.statement-item__short[hidden] {
    display: none;
}

.short-title-advice p {
    margin: 0;
}

.short-title-advice .short-title-advice__todo {
    margin-top: 0.4rem;
    font-weight: 700;
}

/* Teller onder het veld, rechts uitgelijnd (bij tweetalig in de kolom van het veld). */
.short-count {
    grid-column: 2;
    display: block;
    margin-top: 0.25rem;
    text-align: right;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

/* Minder beweging aangezet op het apparaat: alles staat stil. Animaties duren dan vrijwel niets
   (eindtoestand meteen zichtbaar, animationend komt nog wel), en niets herhaalt zich. */
@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-delay: 0s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0s !important;
    }
}

/* Bevestigingsvenster in de huisstijl (js/app.js), in plaats van de standaardmelding van de browser. */
.confirm-dialog {
    width: min(28rem, calc(100% - 2rem));
    padding: 1.5rem;
    border: 1px solid var(--card-line, var(--line));
    border-radius: 6px;
    background: var(--card, #fff);
    color: var(--ink);
    box-shadow: 0 24px 60px -20px rgba(27, 36, 64, 0.45);
}

.confirm-dialog::backdrop {
    background: rgba(27, 36, 64, 0.45);
}

.confirm-dialog__text {
    margin: 0 0 1.25rem;
    font-size: 1.05rem;
    line-height: 1.5;
}

.confirm-dialog__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.6rem;
}

/* Fout in een veld (js/app.js): rode rand en de melding direct onder het veld. */
input.is-invalid,
textarea.is-invalid,
select.is-invalid {
    border-color: var(--red-strong) !important;
    box-shadow: 0 0 0 3px rgba(196, 51, 29, 0.15) !important;
}

.field-invalid-msg {
    margin: 0.35rem 0 0 !important;
    color: var(--red-strong);
    font-size: 0.875rem;
    font-weight: 600;
}

/* Afrekenen: de drie pakketten onder elkaar, naam links en prijs rechts. */
.checkout-plan-picker {
    grid-template-columns: minmax(0, 1fr) !important;
}

.checkout-plan-option {
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
    gap: 1rem !important;
    padding: 0.85rem 1rem !important;
    border-radius: 4px !important;
}

.checkout-plan-option.is-selected {
    border-color: var(--ink) !important;
    box-shadow: inset 0 0 0 1px var(--ink);
}

/* Akkoord met de voorwaarden: één doorlopende alinea (de links stonden eerst elk op een eigen regel). */
.checkout-terms > span {
    display: block;
    line-height: 1.55;
}

/* Onderwijskorting: rustige zin onder het overzicht. */
.checkout-onderwijs-hint {
    margin: 0.75rem 0 0;
    color: var(--ink-soft);
    font-size: 0.875rem;
}

/* ==========================================================================
   Wizard: elk onderdeel binnen een stap als witte kaart met een rood rondje met nummer (inc/wizard_ui.php).
   Ingevuld = vinkje in plaats van het nummer. Zelfde rondjes als de stappen op de homepage.
   ========================================================================== */
.wz-sec {
    margin: 0 0 1rem;
    padding: 1.25rem 1.35rem 1.35rem;
    border: 1px solid var(--card-line, var(--line));
    border-radius: 6px;
    background: var(--card, #fff);
}

.wz-sec__head {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.wz-sec__nr {
    flex: none;
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--red-strong);
    color: #fff;
    font-family: var(--font-display, Georgia, serif);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
}

/* Nog niet af: een rustig rondje met rand (rood las als een foutmelding). Klaar: groen met vinkje. */
.wz-sec:not(.is-done) .wz-sec__nr {
    border: 2px solid var(--ink, #1b2440);
    background: #fff;
    color: var(--ink, #1b2440);
}

.wz-sec__titles {
    min-width: 0;
    padding-top: 0.2rem;
}

.wz-sec__title {
    margin: 0 !important;
    font-family: var(--font-display, Georgia, serif);
    font-size: 1.15rem !important;
    font-weight: 600;
    line-height: 1.3;
}

.wz-sec__hint {
    margin: 0.3rem 0 0;
    color: var(--text-muted, #5f6680);
    font-size: 0.9rem;
}

.wz-sec__body > .form-group:last-child,
.wz-sec__body > :last-child {
    margin-bottom: 0;
}

/* Kaders met de titel in de rand: binnen een genummerde kaart zonder eigen rand. */
.settings-fieldset--bare {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
}
@media (max-width: 560px) {

    .wz-sec {
        padding: 1rem 1rem 1.1rem;
    }
}

.wizard-form .bundle-option:has(input:checked) {
    border-color: var(--ink);
    background: var(--rose);
}

/* ==========================================================================
   Assistent, stap 3: tips en voorbeeldstellingen (inklapbaar), en knoppen om de volgorde te veranderen.
   ========================================================================== */
.stmt-help {
    display: grid;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
}

.stmt-help__panel {
    border: 1px solid rgba(27, 36, 64, 0.14);
    border-radius: 4px;
    background: #fbf8f2;
}

.stmt-help__panel > summary {
    padding: 0.8rem 1rem;
    cursor: pointer;
    font-weight: 700;
    list-style-position: inside;
}

.stmt-help__panel[open] > summary {
    border-bottom: 1px solid rgba(27, 36, 64, 0.1);
}

.stmt-help__panel > :not(summary) {
    margin-inline: 1rem;
}

.stmt-help__tips {
    display: grid;
    gap: 0.55rem;
    margin: 0.9rem 1rem 1rem;
    padding-left: 1.1rem;
}

.statement-item__tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
}

.statement-item__tools .btn-remove-item {
    margin-left: auto;
}

.btn-move {
    padding: 0.25rem 0.65rem;
    border: 1px solid rgba(27, 36, 64, 0.25);
    border-radius: 3px;
    background: #fff;
    color: var(--ink, #1b2440);
    font: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}

.btn-move:hover,
.btn-move:focus-visible {
    border-color: var(--ink, #1b2440);
}

.statement-item:first-child .btn-move[data-move="up"],
.statement-item:last-child .btn-move[data-move="down"] {
    visibility: hidden;
}

.statement-item.is-moved {
    animation: stmt-moved 0.6s ease-out;
}

@keyframes stmt-moved {
    from {
        box-shadow: 0 0 0 3px rgba(196, 51, 29, 0.35);
    }
}
@media (prefers-reduced-motion: reduce) {

    .statement-item.is-moved {
        animation: none;
    }
}

.invite-send-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.invite-overview__more {
    margin-left: auto;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ==========================================================================
   Pagina Deelnemers (account/participants.php, .pp-): voortgang, per deelnemer de status en wat je kunt doen.
   In de stijl van de assistent: witte kaarten, ronde knoppen, groen = ingevuld.
   ========================================================================== */
.pp {
    max-width: 960px;
}

.pp-back {
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink, #1b2440);
}

.pp-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.pp-head__kicker {
    margin: 0 0 0.2rem !important;
    color: var(--ink-soft, #3b4563);
    font-weight: 600;
}

.pp-head h1 {
    margin: 0;
}

.pp-card {
    margin-bottom: 1rem;
    padding: 1.25rem 1.4rem;
    border: 1px solid rgba(27, 36, 64, 0.14);
    border-radius: 6px;
    background: #fff;
}

.pp-summary__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem 1rem;
}

.pp-summary__count {
    margin: 0 !important;
    font-family: var(--font-display, Georgia, serif);
    font-size: 1.35rem;
}

.pp-bar {
    height: 8px;
    margin: 0.85rem 0 0.9rem;
    border-radius: 3px;
    background: #eee8dc;
    overflow: hidden;
}

.pp-bar > span {
    display: block;
    height: 100%;
    border-radius: inherit;
}

.pp-summary__info {
    margin: 0 !important;
    color: var(--ink-soft, #3b4563);
}

.pp-summary__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
}

.pp-pill--done {
    background: #dff1e6;
    color: var(--green-dark);
}

.pp-pill--wait {
    background: #fbe3dd;
    color: var(--red-hover);
}

.pp-list {
    display: grid;
    gap: 0.5rem;
    margin: 0 0 0.75rem;
    padding: 0;
    list-style: none;
}

.pp-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1.3fr) minmax(0, 1.2fr) auto;
    align-items: center;
    gap: 0.6rem 1rem;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(27, 36, 64, 0.14);
    border-radius: 6px;
    background: #fff;
}

.pp-avatar {
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    overflow: hidden;
    border-radius: 50%;
    background: #1b2440;
    color: #f6f1e7;
    font-size: 0.85rem;
    font-weight: 700;
}

.pp-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.pp-row__name,
.pp-row__email {
    margin: 0 !important;
    overflow-wrap: anywhere;
}

.pp-row__name {
    font-weight: 700;
}

.pp-row__group {
    margin-left: 0.4rem;
    color: var(--ink-muted, #5f6680);
    font-size: 0.85rem;
    font-weight: 600;
}

.pp-row__email {
    color: var(--ink-muted, #5f6680);
    font-size: 0.88rem;
}

.pp-row__status {
    display: grid;
    justify-items: start;
    gap: 0.2rem;
}

.pp-row__when {
    color: var(--ink-muted, #5f6680);
    font-size: 0.82rem;
}

.pp-row__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.4rem;
}

.pp-row__actions form {
    margin: 0;
}

.pp-note {
    margin: 0 0 1.25rem !important;
    color: var(--ink-muted, #5f6680);
    font-size: 0.88rem;
}

.pp-answers > summary {
    cursor: pointer;
    font-weight: 700;
}

.pp-answers[open] > summary {
    margin-bottom: 1rem;
}
@media (max-width: 760px) {

    .pp-row {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .pp-row__status,
    .pp-row__actions {
        grid-column: 2;
        justify-content: flex-start;
    }
}

/* ==========================================================================
   Voorbeeld van de uitnodigingsmail (wizard/invite-preview.php).
   ========================================================================== */
.mail-preview {
    max-width: 760px;
}

.mail-preview__head p {
    color: var(--ink-soft, #3b4563);
}

.mail-preview__frame {
    overflow: hidden;
    border: 1px solid rgba(27, 36, 64, 0.14);
    border-radius: 6px;
    background: #fff;
}

.mail-preview__subject {
    margin: 0 !important;
    padding: 0.8rem 1.1rem;
    border-bottom: 1px solid rgba(27, 36, 64, 0.1);
    font-weight: 700;
}

.mail-preview__subject span {
    color: var(--ink-muted, #5f6680);
    font-weight: 600;
}

.mail-preview__mail {
    display: block;
    width: 100%;
    height: 900px;
    border: 0;
}

.mail-preview__close {
    margin-top: 1rem !important;
    color: var(--ink-muted, #5f6680);
}

/* ==========================================================================
   Knoppen (hele app, vooral de assistent). Rond, stevig en rustig: donkerblauw voor de hoofdactie (met pijl bij
   "Volgende stap"), wit met rand voor tweede keuzes, tekstknoppen voor terug en naar het dashboard.
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.35rem;
    padding: 0.45rem 1.05rem;
    border: 1.5px solid transparent;
    border-radius: 3px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.btn:focus-visible {
    outline: 3px solid rgba(196, 51, 29, 0.45);
    outline-offset: 2px;
}

.btn:active:not(:disabled) {
    transform: translateY(1px);
}

.btn--secondary {
    background: #fff;
    color: var(--ink);
}

.btn--secondary:hover {
    border-color: var(--ink);
    background: #fff;
    color: var(--ink);
}

.btn--ghost {
    border-color: transparent;
    background: transparent;
    color: var(--ink);
}

.btn--ghost:hover {
    border-color: transparent;
    background: rgba(27, 36, 64, 0.06);
    color: var(--ink);
}

.btn--sm {
    min-height: 1.95rem;
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
}

.btn--lg {
    min-height: 2.65rem;
    padding: 0.55rem 1.35rem;
    font-size: 0.93rem;
}

/* Pijltjes: "Volgende stap" en "Starten" naar rechts, "Vorige" naar links. */
.wizard-actions .btn[data-action="next"]::after,
.wizard-welcome__actions .btn--primary::after {
    content: "";
    width: 0.9rem;
    height: 0.9rem;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform 0.2s ease;
}

.wizard-actions .btn[data-action="next"]:hover::after,
.wizard-welcome__actions .btn--primary:hover::after {
    transform: translateX(3px);
}

.wizard-actions .btn[data-action="prev"]::before {
    content: "";
    width: 1rem;
    height: 1rem;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11 6l-6 6 6 6'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11 6l-6 6 6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* De knoppenbalk onderaan de assistent blijft in beeld tijdens het scrollen. */
.wizard-page .wizard-actions {
    position: sticky;
    bottom: 0;
    z-index: 4;
    margin-inline: -0.25rem;
    padding: 0.7rem 0.25rem;
    border-top: 1px solid rgba(27, 36, 64, 0.12);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(6px);
}

/* "+ Stelling toevoegen" en dergelijke: een brede, gestippelde knop onder de lijst. */
.wizard-page #add-statement,
.wizard-page #add-participant,
.wizard-page #add-category,
.wizard-page #add-access-password {
    width: 100%;
    min-height: 2.6rem;
    margin-top: 0.5rem;
    border: 1.5px dashed rgba(27, 36, 64, 0.3);
    border-radius: 6px;
    background: #fff;
    color: var(--ink);
}

.wizard-page #add-statement:hover,
.wizard-page #add-participant:hover,
.wizard-page #add-category:hover,
.wizard-page #add-access-password:hover {
    border-style: solid;
    border-color: var(--ink);
    background: #fbf8f2;
}

/* Verwijderen: een kleine rode tekstknop met prullenbak. */
.btn-remove-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.7rem;
    border: 0;
    border-radius: 3px;
    background: transparent;
    color: var(--red-strong, #c4331d);
    font: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
}

.btn-remove-item::before {
    content: "";
    width: 0.95rem;
    height: 0.95rem;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M10 11v6M14 11v6M6 7l1 13h10l1-13M9 7V4h6v3'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M10 11v6M14 11v6M6 7l1 13h10l1-13M9 7V4h6v3'/%3E%3C/svg%3E") center / contain no-repeat;
}

.btn-remove-item:hover,
.btn-remove-item:focus-visible {
    background: #fbe3dd;
}

/* ==========================================================================
   Keuzekaarten (.wz-choices): elke keuze in de assistent als kaarten naast elkaar. Je kiest er zelf één;
   pas dan kun je verder. De gekozen kaart krijgt een donkere rand en een gevuld rondje.
   ========================================================================== */
.wz-choices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
    gap: 0.6rem;
}

.wz-choice,
.wizard-form label.wz-choice {
    position: relative;
    display: flex;
    margin: 0;
    color: var(--ink);
    font-size: inherit;
    font-weight: inherit;
    gap: 0.65rem;
    align-items: flex-start;
    padding: 0.7rem 0.9rem;
    border: 1.5px solid rgba(27, 36, 64, 0.18);
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.wz-choice:hover {
    border-color: rgba(27, 36, 64, 0.45);
}

.wz-choice__input {
    flex: none;
    appearance: none;
    -webkit-appearance: none;
    width: 1.1rem;
    height: 1.1rem;
    margin: 0.1rem 0 0;
    border: 2px solid rgba(27, 36, 64, 0.45);
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wz-choice__input:focus-visible {
    outline: 3px solid rgba(196, 51, 29, 0.45);
    outline-offset: 2px;
}

.wz-choice:has(.wz-choice__input:checked) {
    border-color: var(--ink);
    background: #fbf8f2;
    box-shadow: 0 0 0 1px var(--ink);
}

.wz-choice:has(.wz-choice__input:disabled) {
    cursor: default;
    opacity: 0.7;
}

.wz-choice__body {
    display: grid;
    gap: 0.15rem;
}

.wz-choice__title {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.3;
}

.wz-choice__hint {
    color: var(--ink-muted, #5f6680);
    font-size: 0.82rem;
    line-height: 1.45;
}

.wz-choices.is-missing .wz-choice,
.wz-choices:has(.is-invalid) .wz-choice {
    border-color: var(--red-strong, #c4331d);
}

.settings-fieldset__sub .wz-choices {
    margin-top: 0.4rem;
}

.language-choice .wz-choices {
    grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
}

/* Stap 2: het voorbeeld is de echte welkomstpagina in een venster. */
.wpv-device {
    overflow: hidden;
    border: 1px solid rgba(27, 36, 64, 0.16);
    border-radius: 6px;
    background: #f4f4f2;
    box-shadow: 0 10px 28px -14px rgba(27, 36, 64, 0.35);
}

.wpv-frame {
    display: block;
    width: 100%;
    height: 520px;
    border: 0;
}

/* Stap 3: keuze bij een al beantwoorde stelling die is aangepast. */
.stmt-change {
    margin: 0.2rem 0 1rem;
    padding: 0.8rem 0.9rem;
    border: 1px solid #f1c7bd;
    border-radius: 4px;
    background: #fff7f4;
}

.stmt-change__q {
    margin: 0 0 0.6rem !important;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--red-hover);
}

/* Pagina Deelnemers: kaart "Stellingen gewijzigd". */
.pp-reask {
    border-color: #f1c7bd;
    background: #fff7f4;
}

.pp-reask h2 {
    margin: 0 0 0.4rem;
    font-size: 1.2rem;
}

.pp-reask__form {
    display: grid;
    gap: 0.45rem;
    margin-top: 0.9rem;
}

.pp-reask__form label {
    margin-top: 0.4rem;
    font-size: 0.9rem;
    font-weight: 700;
}

.pp-reask__form textarea,
.pp-reask__form input[type="date"] {
    width: 100%;
    max-width: 40rem;
    padding: 0.6rem 0.75rem;
    border: 1px solid rgba(27, 36, 64, 0.55);
    border-radius: 4px;
    background: #fff;
    font: inherit;
}

.pp-reask__form input[type="date"] {
    max-width: 14rem;
}

.pp-reask__form .pp-note {
    margin: 0 !important;
}

.pp-reask__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.6rem;
}

.pp-row--open .pp-avatar {
    background: #c4331d;
}

/* ==========================================================================
   Stap 7, na publiceren: felicitatie en "Deel je stemhulp" (link, QR-code, mailtekst, insluitcode).
   Direct na publiceren (.is-fresh) springt het vinkje even op; verder rustig.
   ========================================================================== */
.wizard-publish-success {
    text-align: center;
}

.wizard-publish-success__url {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
}

.wizard-publish-success.is-fresh .wizard-publish-success__icon {
    animation: wz-pop 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.35) both;
    box-shadow: 0 0 0 0 rgba(27, 36, 64, 0.35);
}

.wizard-publish-success.is-fresh .wizard-publish-success__icon--live {
    animation: wz-pop 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.35) both, wz-ring 1.4s ease-out 0.4s 2;
}

@keyframes wz-pop {
    from { transform: scale(0.4); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes wz-ring {
    from { box-shadow: 0 0 0 0 rgba(27, 36, 64, 0.3); }
    to { box-shadow: 0 0 0 1.1rem rgba(27, 36, 64, 0); }
}
@media (prefers-reduced-motion: reduce) {

    .wizard-publish-success.is-fresh .wizard-publish-success__icon {
        animation: none;
    }
}

.share-kit {
    margin: 0 0 1.5rem;
}

.share-kit__head {
    margin: 0 0 1rem;
}

.share-kit__head h2 {
    margin: 0 0 0.25rem;
    font-size: 1.3rem;
    color: var(--ink);
}

.share-kit__head p {
    margin: 0;
    color: var(--ink-soft);
}

.share-kit__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.share-kit__item {
    display: grid;
    align-content: start;
    gap: 0.5rem;
    min-width: 0;
    padding: 1.1rem 1.2rem 1.2rem;
    border: 1px solid var(--card-line);
    border-radius: 6px;
    background: #fff;
}

.share-kit__item--wide {
    grid-column: 1 / -1;
}

.share-kit__item h3 {
    margin: 0;
    font-size: 1rem;
    color: var(--ink);
}

.share-kit__hint {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.86rem;
    line-height: 1.5;
}

.share-kit__copy {
    display: flex;
    gap: 0.45rem;
    align-items: center;
}

.share-kit__field {
    width: 100%;
    min-width: 0;
    padding: 0.5rem 0.7rem;
    border: 1.5px solid rgba(27, 36, 64, 0.18);
    border-radius: 4px;
    background: #fbf9f5;
    color: var(--ink);
    font: inherit;
    font-size: 0.9rem;
}

.share-kit__field:focus {
    outline: none;
    border-color: var(--ink);
    background: #fff;
}

.share-kit__copy .btn {
    flex: none;
}

.share-kit__text {
    resize: vertical;
    line-height: 1.55;
}

.share-kit__code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.78rem;
    resize: none;
}

.share-kit__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0.15rem 0 0;
}

.share-kit__item--qr {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
}

.share-kit__item--qr > div {
    display: grid;
    gap: 0.5rem;
}

.share-kit__qr {
    width: 8.5rem;
    padding: 0.3rem;
    border: 1px solid var(--card-line);
    border-radius: 4px;
    background: #fff;
}

.share-kit__qr svg {
    display: block;
    width: 100%;
    height: auto;
}

.share-kit__mails {
    display: grid;
    gap: 1rem;
}

.share-kit__mails--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.share-kit__mail {
    display: grid;
    gap: 0.35rem;
    min-width: 0;
}

.wizard-form .share-kit__mail label {
    margin: 0.35rem 0 0;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ink);
}

.share-kit__lang {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.share-kit__note {
    margin: 0.2rem 0 0;
    padding: 0.6rem 0.8rem;
    border-radius: 4px;
    background: #fbf3dc;
    color: var(--ink);
    font-size: 0.86rem;
}

.share-kit__foot {
    margin: 1rem 0 0;
    color: var(--ink-soft);
    font-size: 0.86rem;
    text-align: center;
}
@media (max-width: 720px) {

    .share-kit__grid,
    .share-kit__mails--2 {
        grid-template-columns: minmax(0, 1fr);
    }

    .share-kit__copy {
        flex-wrap: wrap;
    }

    .share-kit__copy .btn {
        width: 100%;
    }
}
@media (max-width: 420px) {

    .share-kit__item--qr {
        grid-template-columns: minmax(0, 1fr);
        justify-items: start;
    }
}

/* Stap 7, aankondigingspagina: de extra instellingen alleen als de aankondiging aan staat. */
.landing-status {
    margin-top: 0.55rem;
}

.landing-extra {
    margin-top: 0.9rem;
}

.landing-extra[hidden] {
    display: none;
}

.wizard-bundle-picker .wz-choices {
    margin: 0.5rem 0 0.4rem;
}

/* ==========================================================================
   Pakket kopen (account/checkout.php): links de stappen, rechts het overzicht met de prijs (blijft staan bij scrollen).
   ========================================================================== */
.checkout-page--wide {
    max-width: 1040px;
    margin-top: 1.5rem;
}

.checkout-back--top {
    margin: 0 0 0.9rem;
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 21rem;
    gap: 1.25rem;
    align-items: start;
}

.checkout-aside {
    position: sticky;
    top: 1rem;
}

.checkout-step {
    margin: 1.6rem 0 0;
    padding: 1.4rem 0 0;
    border-top: 1px solid var(--line);
}

.checkout-step__title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0 0 0.8rem;
    font-size: 1.08rem;
    color: var(--ink);
}

.checkout-step__nr {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
}

.checkout-step__hint {
    margin: 0.6rem 0 0;
    color: var(--ink-soft);
    font-size: 0.88rem;
}

.checkout-step__hint a {
    color: var(--ink);
    font-weight: 600;
}

.checkout-main .checkout-plan-picker {
    grid-template-columns: minmax(0, 1fr);
    margin: 0;
}

.checkout-main .checkout-billing__fields {
    padding: 0;
    border-top: 0;
}

.checkout-includes {
    display: grid;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.checkout-includes li {
    position: relative;
    padding-left: 1.6rem;
    color: var(--ink);
    line-height: 1.5;
}

.checkout-includes li::before {
    content: "";
    position: absolute;
    left: 0.2rem;
    top: 0.32rem;
    width: 0.75rem;
    height: 0.42rem;
    border: solid var(--ink);
    border-width: 0 0 2px 2px;
    transform: rotate(-45deg);
}

.checkout-pay {
    width: 100%;
    margin-top: 0.4rem;
}

.checkout-overview {
    padding: 1.3rem 1.3rem 1.2rem;
}

.checkout-overview__title {
    margin: 0 0 0.8rem;
    font-size: 1.05rem;
    color: var(--ink);
}

.checkout-overview .checkout-summary {
    margin-bottom: 1rem;
}

.checkout-discount-label {
    display: block;
    margin: 0 0 0.3rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ink);
}

.checkout-overview .checkout-discount-row {
    display: flex;
    gap: 0.4rem;
}

.checkout-overview .checkout-discount-input {
    flex: 1;
    min-width: 0;
}

.checkout-aside .checkout-onderwijs-hint {
    padding: 0 0.3rem;
    font-size: 0.85rem;
}
@media (max-width: 860px) {

    .checkout-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .checkout-aside {
        position: static;
        order: -1;
    }
}

.checkout-page--wide .checkout-back--top {
    text-align: left;
}

/* ==========================================================================
   Statistieken: vier kerncijfers bovenaan, en "Wie kwam bovenaan?" als lijst met balken.
   ========================================================================== */
.analytics-kpis--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.analytics-top {
    margin: 0 0 1.5rem;
    padding: 1.4rem 1.5rem;
    border: 1px solid var(--card-line);
    border-radius: 6px;
    background: #fff;
}

.analytics-top__intro {
    margin: 0 0 1rem;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.analytics-top__list {
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.analytics-top__row {
    display: grid;
    grid-template-columns: minmax(8rem, 14rem) minmax(0, 1fr) 7.5rem;
    gap: 0.9rem;
    align-items: center;
}

.analytics-top__name {
    color: var(--ink);
    font-weight: 600;
    overflow-wrap: anywhere;
}

.analytics-top__bar {
    height: 0.7rem;
    border-radius: 3px;
    background: var(--paper-deep);
    overflow: hidden;
}

.analytics-top__bar > span {
    display: block;
    width: var(--pct);
    min-width: 0.7rem;
    height: 100%;
    border-radius: 3px;
    background: var(--ink);
}

.analytics-top__count {
    color: var(--ink-soft);
    font-size: 0.88rem;
    text-align: right;
    white-space: nowrap;
}
@media (max-width: 720px) {

    .analytics-kpis--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .analytics-top__row {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0.3rem 0.8rem;
    }

    .analytics-top__bar {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}
@media (max-width: 600px) {

    .wizard-publish-success {
        padding: 1.5rem 1rem 1.25rem;
    }

    .wizard-publish-success__title {
        font-size: 1.35rem;
        line-height: 1.25;
    }

    .wizard-publish-success__url .btn {
        white-space: nowrap;
    }

    .share-kit__item {
        padding: 1rem;
    }
}

/* Registreren: korte geruststelling onder de introductie. */
.auth-assure {
    display: grid;
    gap: 0.45rem;
    margin: 0 0 1.4rem;
    padding: 0.9rem 1rem;
    border-radius: 4px;
    background: var(--paper);
    list-style: none;
    font-size: 0.9rem;
    line-height: 1.45;
}

.auth-assure li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--ink);
}

.auth-assure li::before {
    content: "";
    position: absolute;
    left: 0.15rem;
    top: 0.3rem;
    width: 0.7rem;
    height: 0.38rem;
    border: solid var(--ink);
    border-width: 0 0 2px 2px;
    transform: rotate(-45deg);
}

/* Dashboard-tabbladen op een smal scherm: één kader met vier even grote vlakken (twee rijen),
   het actieve tabblad wit. Groot genoeg om met de duim te raken (minstens 44px hoog). */
@media (max-width: 640px) {

    .dashboard-tabs {
        gap: 4px;
        padding: 4px;
        border: 0;
        border-radius: 6px;
        background: var(--paper-deep);
    }

    .dashboard-tabs__tab {
        min-height: 2.75rem;
        margin: 0;
        padding: 0.5rem;
        border: 0;
        border-radius: 4px;
        background: transparent;
        font-size: 0.9rem;
    }

    .dashboard-tabs__tab:hover {
        background: rgba(255, 255, 255, 0.5);
    }

    .dashboard-tabs__tab.is-active {
        background: #fff;
        box-shadow: 0 1px 3px rgba(27, 36, 64, 0.16);
    }

    .dashboard-tabs__tab.is-active::after {
        display: none;
    }

    .dashboard-tabs__badge {
        font-size: 0.68rem;
    }
}

/* Contrast (WCAG AA): groene melding "beschikbaar" en het label met de onderwijskorting iets donkerder. */
.subdomain-status.is-available {
    color: #0b7650;
}

.edu-callout__tag {
    color: var(--red-hover);
}

/* Ondersteuning: een gezicht bij het formulier, zodat duidelijk is dat er een mens antwoordt. */
.support-person {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin: 0.4rem 0 1.1rem;
    padding: 0.75rem 0.9rem;
    border-radius: 4px;
    background: var(--paper);
}

.support-person img {
    flex: none;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 20%;
}

.support-person p {
    margin: 0;
    color: var(--ink);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Dashboard: korte uitleg bovenaan een tabblad (bijv. Pakketten). */
.dashboard-tab-intro {
    max-width: 46rem;
    margin: -0.25rem 0 1.25rem;
    color: var(--ink-soft);
    font-size: 0.92rem;
}

/* ==========================================================================
   Knoppen, één huisstijl met de website (css/home.css, .h-btn):
   - hoofdknop (.btn--primary): rood met witte tekst, één per scherm;
   - tweede knop (.btn--secondary / .btn--outline): wit met een donkerblauwe rand;
   - .btn--ghost: alleen tekst; .btn--danger: rode tekst voor verwijderen.
   Bij aanwijzen komen alle knoppen 1px omhoog met een zachte schaduw, net als op de website.
   Maten: .btn--sm, standaard, .btn--lg (btn--small en btn--large werken nog, maar worden niet meer gebruikt).
   ========================================================================== */
.btn--primary,
.wizard-btn-publish.btn--primary {
    border-color: var(--red-strong);
    background: var(--red-strong);
    color: #fff;
}

.btn--primary:hover,
.wizard-btn-publish.btn--primary:hover {
    border-color: var(--red-hover);
    background: var(--red-hover);
    color: #fff;
}

.btn:hover:not(:disabled) {
    transform: translateY(-1px);
}

.btn--ghost:hover:not(:disabled),
.btn--danger:hover:not(:disabled) {
    transform: none;
}

/* ==========================================================================
   Stijl A, "Stembiljet": geen pillen. Hoeken 3px (knoppen, velden, labels) en 6px (kaarten); zie ook css/home.css.
   - Statuslabels zijn het rondje op een stembiljet: leeg = nog niet begonnen, half rood = bezig of wacht,
     helemaal rood (zoals met het rode potlood ingekleurd) = live of klaar, grijs = voorbij.
   - Hoofdknop: rood vlak met een donkere rand onderaan in plaats van een gloed.
   - Kaarten plat met een dunne lijn in plaats van een zwevende schaduw.
   ========================================================================== */
:root {
    --soft-shadow: 0 1px 0 rgba(27, 36, 64, 0.05);
    --shadow-stamp: 0 1px 0 rgba(27, 36, 64, 0.05);
}

/* Statuslabels */
.status-badge,
.ecard__status,
.support-status,
.pp-pill {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    background: none !important;
    box-shadow: none !important;
    color: var(--ink) !important;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
}

.status-badge::before,
.support-status::before,
.pp-pill::before,
.ecard__status .ecard__status-dot {
    content: "";
    flex: none;
    width: 0.8rem !important;
    height: 0.8rem !important;
    box-sizing: border-box;
    border-radius: 50% !important;
    border: 1.5px solid var(--ink);
    background: #fff !important;
    box-shadow: none !important;
    animation: none !important;
}

/* Half rood: ingepland, wacht op betaling, wacht, open bericht */
.status-badge--scheduled::before,
.status-badge--awaiting_payment::before,
.status-badge--ready::before,
.status-badge--pending::before,
.status-badge--supermod::before,
.support-status::before,
.pp-pill--wait::before,
.ecard__status--scheduled .ecard__status-dot {
    border-color: var(--red-strong);
    background: linear-gradient(90deg, var(--red-strong) 50%, #fff 50%) !important;
}

/* Helemaal rood: live, actief, ingevuld, beantwoord */
.status-badge--published::before,
.status-badge--active::before,
.support-status--beantwoord::before,
.pp-pill--done::before,
.ecard__status--published .ecard__status-dot {
    border-color: var(--red-strong);
    background: var(--red-strong) !important;
}

.status-badge--published,
.ecard__status--published {
    color: var(--red-hover) !important;
}

/* Vol (pakket helemaal gebruikt): donker ingekleurd */
.status-badge--full::before {
    background: var(--ink) !important;
}

/* Grijs: afgesloten, verlopen, gesloten */
.status-badge--ended::before,
.status-badge--expired::before,
.support-status--gesloten::before,
.ecard__status--ended .ecard__status-dot,
.ecard__status--closed .ecard__status-dot {
    border-color: #8a90a6;
    background: #d6d8e0 !important;
}

.status-badge--ended,
.status-badge--expired,
.support-status--gesloten,
.ecard__status--ended,
.ecard__status--closed {
    color: #5f6680 !important;
}

/* Tellers (zoals "34 over"): een klein vierkant vak, geen pil */
.dashboard-tabs__badge {
    padding: 0 0.35rem;
    border: 1px solid rgba(27, 36, 64, 0.45);
    border-radius: 2px;
    background: transparent;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}

/* Keuzes: het gekozen rondje helemaal rood ingekleurd, zoals op een stembiljet */
.wz-choice__input:checked {
    border-color: var(--red-strong);
    background: var(--red-strong);
    box-shadow: none;
}

.btn--secondary {
    border-color: rgba(27, 36, 64, 0.55);
}

.btn--secondary:hover {
    box-shadow: none;
}

/* Afgeronde onderdelen en voortgang: inkt, net als de vinkjes van de stappen bovenaan (groen blijft alleen voor "eens"). */
.wz-sec.is-done .wz-sec__nr,
.pp-row--done .pp-avatar,
.pp-bar > span,
.invite-row--done .invite-row__status-dot {
    border-color: var(--ink);
    background: var(--ink);
}

/* Knoppen vlak (keuze eigenaar, 2026-11-14): geen donkere rand onderaan; bij aanwijzen een donkerdere kleur. */
.btn--primary,
.wizard-btn-publish.btn--primary,
.btn--primary:hover,
.wizard-btn-publish.btn--primary:hover {
    box-shadow: none;
}

/* Stap 1, Statistieken: vinkjes in dezelfde kaarten als de keuzes, maar met een vierkant hokje (zoals een stembiljet). */
.stats-kinds {
    display: grid;
    gap: 0.4rem;
    margin-top: 0.9rem;
}

.stats-kinds__label {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ink);
}

.wz-choice__input--check,
.wz-choice__input--check:checked {
    border-radius: 3px;
}

.wz-choice__input--check:checked {
    border-color: var(--red-strong);
    background: var(--red-strong) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.8rem no-repeat;
    box-shadow: none;
}

.stats-choice .field-hint {
    margin-top: 0.7rem;
}

/* Stap 1, Statistieken: de soorten in drie kolommen (smaller: twee, op een telefoon één). */
.stats-kinds__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
}

.stats-kinds__last {
    margin: 0.2rem 0 0;
    color: var(--red-strong);
}

/* Statistiekenpagina: "geen opiniepeiling" (kader met balk bovenaan, geen zijbalk), drempel, kanaal/taal, overzicht per stelling. */
.analytics-note {
    margin: 0 0 1.5rem;
    border: 1px solid var(--card-line);
    border-top: 3px solid var(--ink);
    border-radius: 6px;
    background: #fff;
    padding: 0.9rem 1.2rem 1rem;
}

.analytics-note p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.92rem;
    line-height: 1.55;
}

.analytics-note .analytics-note__title {
    margin-bottom: 0.25rem;
    color: var(--ink);
    font-weight: 700;
}

.analytics-threshold {
    margin: 0 0 1.5rem;
    padding: 0.8rem 1rem;
    border: 1px dashed rgba(27, 36, 64, 0.35);
    border-radius: 6px;
    color: var(--ink-soft);
    font-size: 0.92rem;
}

.analytics-split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    gap: 0 1.5rem;
}
@media (min-width: 721px) {

    .analytics-split .analytics-top__row {
        grid-template-columns: minmax(6rem, 10rem) minmax(0, 1fr) 7.5rem;
    }
}

.analytics-overview {
    margin: 0 0 1.5rem;
    padding: 1.4rem 1.5rem;
    border: 1px solid var(--card-line);
    border-radius: 6px;
    background: #fff;
}

.analytics-overview__scroll {
    overflow-x: auto;
}

.analytics-overview__table th:not(:first-child),
.analytics-overview__table td:not(:first-child) {
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.analytics-overview__nr {
    display: inline-block;
    min-width: 1.4rem;
    color: var(--red-strong);
    font-weight: 700;
}

/* In de lijst met soorten zegt het rode vinkje al wat aan staat: geen zware rand om elke aangevinkte kaart. */
.stats-kinds__list .wz-choice {
    padding: 0.55rem 0.85rem;
}

.stats-kinds__list .wz-choice:has(.wz-choice__input:checked) {
    border-color: rgba(27, 36, 64, 0.18);
    background: #fff;
    box-shadow: none;
}

.stats-kinds__list .wz-choice:hover {
    border-color: rgba(27, 36, 64, 0.45);
}

.analytics-overview__table th:first-child,
.analytics-overview__table td:first-child {
    width: 100%;
    white-space: normal;
}

.analytics-overview__table th:not(:first-child),
.analytics-overview__table td:not(:first-child) {
    padding-left: 1.5rem;
}

.analytics-overview__table td:last-child {
    width: auto;
}
@media (max-width: 900px) {

    .stats-kinds__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 560px) {

    .stats-kinds__list {
        grid-template-columns: 1fr;
    }
}

/* ---------- Wizard stap 1: knop "Ga stemmen" (adres en korte regel, alleen bij "ja") ---------- */
.vote-link-panel {
    margin-top: 0.9rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--line);
}

.vote-link-panel .form-group:last-child {
    margin-bottom: 0;
}

/* ---------- Wizard stap 5: kandidaatprofielen (één blok per deelnemer) ---------- */
.participant-profile {
    padding: 1rem 0;
    border-top: 1px solid var(--line);
}

.participant-profile:first-of-type {
    margin-top: 0.5rem;
}

.participant-profile__name {
    margin: 0 0 0.6rem;
    font-weight: 700;
}

.participant-profile .form-group:last-child {
    margin-bottom: 0;
}

/* ---------- Wizard stap 5: automatische herinnering aan deelnemers ---------- */
.invite-reminder {
    margin: 1rem 0 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.invite-reminder__line {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin: 0;
    font-weight: 600;
    cursor: pointer;
}

.invite-reminder__line input {
    flex: none;
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.15rem;
    accent-color: var(--ink);
}

.invite-reminder__when {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin: 0.6rem 0 0 1.7rem;
}

.invite-reminder__when input[type="datetime-local"] {
    width: auto;
}

.invite-reminder__when.is-off {
    opacity: 0.5;
}

.invite-reminder__status {
    margin: 0.6rem 0 0 1.7rem;
    font-weight: 600;
}

.invite-reminder__status--warn {
    color: var(--danger, #b03a2b);
}

.invite-reminder > .field-hint {
    margin-left: 1.7rem;
}

/* Mail aan de organisator als deelnemers hebben ingevuld (onder de herinnering). */
.invite-notify {
    margin: 1rem 0 0;
    padding: 1rem 0 0;
    border: 0;
    border-top: 1px solid var(--line);
}

.invite-notify legend {
    padding: 0;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.invite-notify label.invite-notify__option {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0 0 0.35rem;
    font-weight: 400;
    cursor: pointer;
}

.invite-notify__option input {
    flex: none;
    width: 1.1rem;
    height: 1.1rem;
    margin: 0;
    accent-color: var(--ink);
}

.invite-notify .field-hint {
    margin-top: 0.4rem;
}

.invite-reminder__save {
    margin-top: 0.9rem;
}

/* Pakketinstellingen fase 2: voorstel-melding, vergrendelde hoofdvelden, keuzevakjes, onder pakket brengen */
.pkg-suggested-note {
    margin: 0 0 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
}

input[data-pkg-locked],
textarea[data-pkg-locked] {
    background: var(--paper);
    color: var(--text-secondary);
}

.pkg-stack {
    display: grid;
    gap: 0.5rem;
}

.pkg-checks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.3rem 1rem;
    font-size: 0.875rem;
}

.pkg-checks label {
    display: flex;
    gap: 0.4rem;
    align-items: flex-start;
}

.pkg-settings__row textarea,
.pkg-invite__per textarea {
    width: 100%;
}

.pkg-join {
    margin: 0 0 1rem;
    padding: 0.9rem 1.1rem;
    border: 1.5px solid var(--ink);
    border-radius: var(--radius-md);
    background: var(--paper);
}

.pkg-join p {
    margin: 0 0 0.5rem;
}

.pkg-join__title {
    font-weight: 700;
}
@media (max-width: 760px) {

    .pkg-checks {
        grid-template-columns: 1fr;
    }
}

/* Aanraakschermen: de kleine links op de stemhulpkaarten (Bewerken, Kopie maken, Verwijder) en de uitloglink
   krijgen een tikvlak van minstens 44px hoog, zodat je niet per ongeluk de buurlink raakt. */
@media (pointer: coarse) {

    .ecard__link,
    .nav-logout {
        display: inline-flex;
        align-items: center;
        min-height: 2.75rem;
    }
}

/* Telefoon: in de assistent stapelden de marges van pagina, kaart en onderdeel zich op, waardoor formulieren
   maar de helft van het scherm gebruikten. Hier smaller, zodat velden en stellingen de ruimte krijgen. */
@media (max-width: 640px) {

    .wizard-page.wizard-page--editor {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .wizard-page--editor .wizard-card {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .wizard-page--editor .wz-sec {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }
}

/* Telefoon: de knoppenbalk van de assistent stond als vier rijen onder elkaar (een kwart van het scherm).
   Nu twee rijen: Vorige en Naar dashboard naast elkaar, daaronder Opslaan en Volgende stap. */
@media (max-width: 640px) {

    .wizard-page .wizard-actions {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.4rem 0.5rem;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .wizard-page .wizard-actions > .btn--ghost {
        flex: 1 1 0;
        min-height: 2.5rem;
        padding: 0.3rem 0.5rem;
        font-size: 0.875rem;
    }

    .wizard-page .wizard-actions > .btn--secondary,
    .wizard-page .wizard-actions__end {
        flex: 1 1 40%;
        margin-left: 0;
    }

    .wizard-page .wizard-actions > .btn--ghost + .btn--secondary {
        flex-basis: 40%;
    }

    .wizard-page .wizard-actions__end .btn {
        width: 100%;
        margin-left: 0;
    }
}

/* Lege schermen: overal dezelfde opzet. Een korte zin over wat hier komt te staan en hooguit één knop om te
   beginnen (.empty-state). In een blok dat zelf al een knop heeft alleen de zin (.empty-state--compact). */
.empty-state {
    margin: 0;
    padding: 2.5rem 1.5rem;
    text-align: center;
    background: var(--card, #fff);
    border: 1px dashed var(--card-line, var(--border));
    border-radius: var(--radius-lg);
}

.empty-state h1,
.empty-state h2 {
    margin: 0 0 0.5rem;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
}

.empty-state p {
    max-width: 38rem;
    margin: 0 auto 1.25rem;
    color: var(--ink-soft);
}

.empty-state > p:last-child,
.empty-state > form:last-child,
.empty-state > .btn:last-child {
    margin-bottom: 0;
}

.empty-state .empty-state__note {
    margin: 1rem auto 0;
    font-size: 0.9rem;
    color: var(--gray-dark);
}

.empty-state--compact {
    padding: 0.9rem 1rem;
    text-align: left;
    font-size: 0.95rem;
    color: var(--gray-dark);
}

/* In het bevestigingsvenster is de bevestigknop altijd gevuld, ook bij verwijderen of offline halen. */
.confirm-dialog .btn--danger {
    border-color: var(--red-strong);
    background: var(--red-strong);
    color: #fff;
}

.confirm-dialog .btn--danger:hover {
    border-color: var(--red-hover);
    background: var(--red-hover);
    color: #fff;
}
