.tscan-public {
    --tscan-navy: #003c4e;
    --tscan-orange: #ea5d1c;
    --tscan-orange-dark: #f08100;
    --tscan-text: #1b1b1a;
    --tscan-muted: #22595f;
    --tscan-border: #d5e1e3;
    --tscan-soft: #f3f7f7;
    width: 100%;
    max-width: 980px;
    margin: 28px auto;
    color: var(--tscan-text);
    font: inherit;
}

.tscan-public *,
.tscan-public *::before,
.tscan-public *::after {
    box-sizing: border-box;
}

.tscan-public__header {
    padding: 28px 32px;
    border-radius: 16px 16px 0 0;
    background: var(--tscan-navy);
    color: #fff;
}

.tscan-public__brand {
    margin-bottom: 6px;
    color: #fbb908;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.tscan-public__title {
    margin: 0;
    color: #fff;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.12;
}

.tscan-public__intro {
    max-width: 760px;
    margin: 10px 0 0;
    color: rgba(255, 255, 255, .84);
    font-size: 16px;
    line-height: 1.6;
}

.tscan-progress {
    padding: 18px 32px;
    border-right: 1px solid var(--tscan-border);
    border-left: 1px solid var(--tscan-border);
    background: #fff;
}

.tscan-progress__meta {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 9px;
    color: var(--tscan-muted);
    font-size: 13px;
    font-weight: 700;
}

.tscan-progress__meta span:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tscan-progress__track {
    overflow: hidden;
    height: 8px;
    border-radius: 999px;
    background: #e8edf1;
}

.tscan-progress__bar {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--tscan-orange);
    transition: width .25s ease;
}

.tscan-questionnaire {
    margin: 0;
    border: 1px solid var(--tscan-border);
    border-top: 0;
    border-radius: 0 0 16px 16px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(24, 50, 74, .10);
}

.tscan-form-page {
    padding: 30px 32px 12px;
}

.tscan-form-page[hidden] {
    display: none !important;
}

.tscan-form-page__heading {
    margin-bottom: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--tscan-border);
}

.tscan-form-page__eyebrow {
    margin-bottom: 4px;
    color: var(--tscan-orange);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.tscan-form-page__heading h3 {
    margin: 0;
    color: var(--tscan-navy);
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.2;
}

.tscan-form-page__part {
    display: inline-block;
    margin-left: 8px;
    color: var(--tscan-muted);
    font-size: .55em;
    font-weight: 600;
}

.tscan-form-page__description {
    max-width: 800px;
    margin-top: 10px;
    color: var(--tscan-muted);
    line-height: 1.6;
}

.tscan-form-page__description p {
    margin: 0;
}

.tscan-fields {
    display: grid;
    gap: 18px;
}

.tscan-field-public {
    padding: 20px;
    border: 1px solid var(--tscan-border);
    border-radius: 12px;
    background: #fff;
}

.tscan-field-public:focus-within {
    border-color: #a7b8c5;
    box-shadow: 0 0 0 3px rgba(24, 50, 74, .07);
}

.tscan-field-public__label {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 12px;
}

.tscan-field-public__label label {
    margin: 0;
    color: var(--tscan-text);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
}

.tscan-field-public__number {
    display: inline-flex;
    flex: 0 0 30px;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0 5px;
    border-radius: 8px;
    background: var(--tscan-navy);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.tscan-required {
    margin-left: 3px;
    color: #b8461b;
}

.tscan-field-public__help {
    margin: -4px 0 12px 41px;
    color: var(--tscan-muted);
    font-size: 13px;
    line-height: 1.5;
}

.tscan-field-public__help p {
    margin: 0;
}

.tscan-field-public__control input[type="text"],
.tscan-field-public__control input[type="email"],
.tscan-field-public__control input[type="number"],
.tscan-field-public__control input[type="date"],
.tscan-field-public__control textarea,
.tscan-field-public__conditional textarea {
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 11px 13px;
    border: 1px solid #b9c5ce;
    border-radius: 8px;
    background: #fff;
    color: var(--tscan-text);
    font: inherit;
    line-height: 1.4;
}

.tscan-field-public__control textarea,
.tscan-field-public__conditional textarea {
    min-height: 116px;
    resize: vertical;
}

.tscan-field-public__control input:focus,
.tscan-field-public__control textarea:focus,
.tscan-field-public__conditional textarea:focus {
    outline: 3px solid rgba(239, 125, 0, .18);
    border-color: var(--tscan-orange);
}

.tscan-choice-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.tscan-choice-list.is-checkbox {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.tscan-choice {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 48px;
    gap: 10px;
    margin: 0;
    padding: 11px 13px;
    border: 1px solid var(--tscan-border);
    border-radius: 8px;
    background: var(--tscan-soft);
    color: var(--tscan-text);
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.tscan-choice:hover {
    border-color: #aab8c2;
    background: #fff;
}

.tscan-choice:has(input:checked) {
    border-color: var(--tscan-orange);
    background: #fff7ee;
    box-shadow: 0 0 0 2px rgba(239, 125, 0, .10);
}

.tscan-choice input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--tscan-orange);
}

.tscan-choice span {
    font-weight: 600;
    line-height: 1.35;
}

.tscan-field-public__conditional {
    margin-top: 14px;
    padding: 16px;
    border-left: 4px solid var(--tscan-orange);
    border-radius: 8px;
    background: #fff8f0;
}

.tscan-field-public__conditional[hidden] {
    display: none !important;
}

.tscan-field-public__conditional label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.tscan-navigation {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
    padding: 22px 32px 28px;
    border-top: 1px solid var(--tscan-border);
}

.tscan-navigation__status {
    color: var(--tscan-muted);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.tscan-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    gap: 8px;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    font: inherit;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
}

.tscan-button[hidden] {
    display: none !important;
}

.tscan-button--primary {
    justify-self: end;
    border-color: var(--tscan-orange);
    background: var(--tscan-orange);
    color: #fff;
}

.tscan-button--primary:hover,
.tscan-button--primary:focus {
    border-color: var(--tscan-orange-dark);
    background: var(--tscan-orange-dark);
    color: #fff;
}

.tscan-button--secondary {
    justify-self: start;
    border-color: #aebbc5;
    background: #fff;
    color: var(--tscan-navy);
}

.tscan-button--secondary:hover,
.tscan-button--secondary:focus {
    border-color: var(--tscan-navy);
    background: var(--tscan-soft);
    color: var(--tscan-navy);
}

.tscan-button:focus-visible {
    outline: 3px solid rgba(239, 125, 0, .25);
    outline-offset: 2px;
}

.tscan-public-message {
    max-width: 900px;
    margin: 20px auto;
    padding: 18px 20px;
    border: 1px solid #d5e1e3;
    border-radius: 10px;
    background: #fff;
}

@media (max-width: 680px) {
    .tscan-public {
        margin: 16px auto;
    }

    .tscan-public__header,
    .tscan-progress,
    .tscan-form-page,
    .tscan-navigation {
        padding-right: 20px;
        padding-left: 20px;
    }

    .tscan-choice-list,
    .tscan-choice-list.is-checkbox {
        grid-template-columns: 1fr;
    }

    .tscan-field-public {
        padding: 16px;
    }

    .tscan-field-public__help {
        margin-left: 0;
    }

    .tscan-navigation {
        grid-template-columns: 1fr 1fr;
    }

    .tscan-navigation__status {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .tscan-button--secondary {
        grid-column: 1;
    }

    .tscan-button--primary {
        grid-column: 2;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tscan-progress__bar,
    .tscan-choice {
        transition: none;
    }
}

/* Topsport Flevoland house style - v0.10.0. */
.tscan-public {
    --tscan-brand-teal: #003c4e;
    --tscan-brand-teal-light: #22595f;
    --tscan-brand-orange: #ea5d1c;
    --tscan-brand-yellow: #fbb908;
    --tscan-brand-deep-orange: #f08100;
    --tscan-brand-red: #e40f17;
    --tscan-brand-green: #86bc24;
    --tscan-brand-black: #1b1b1a;
    --tscan-radius: 15px;
    max-width: 1280px;
}

.tscan-public__header {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 230px;
    padding: 28px 34px 34px;
    border-radius: var(--tscan-radius) var(--tscan-radius) 0 0;
    background: var(--tscan-brand-teal);
}

.tscan-public__header::before {
    position: absolute;
    z-index: -1;
    top: -190px;
    right: -110px;
    width: 560px;
    height: 360px;
    border: 4px solid var(--tscan-brand-yellow);
    border-right-color: var(--tscan-brand-orange);
    border-bottom-color: var(--tscan-brand-red);
    border-radius: 50%;
    content: "";
    opacity: .95;
    transform: rotate(-7deg);
}

.tscan-public__header::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--tscan-brand-yellow) 0%, var(--tscan-brand-deep-orange) 52%, var(--tscan-brand-red) 100%);
    content: "";
}

.tscan-public__brand {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
    margin-bottom: 14px;
    color: var(--tscan-brand-yellow);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.tscan-brand-logo {
    display: block;
    width: 156px;
    height: auto;
    max-width: 48vw;
}

.tscan-public__brand span {
    padding-left: 16px;
    border-left: 1px solid rgba(255, 255, 255, .32);
}

.tscan-public__title {
    max-width: 850px;
    font-weight: 900;
    letter-spacing: -.02em;
}

.tscan-public__intro {
    max-width: 880px;
    color: rgba(255, 255, 255, .9);
}

.tscan-progress {
    padding-top: 20px;
    padding-bottom: 20px;
    border-color: #cbdadd;
}

.tscan-progress__meta {
    color: var(--tscan-brand-teal-light);
}

.tscan-progress__track,
.tscan-portal-progress,
.tscan-admin-progress {
    background: rgba(0, 60, 78, .12);
}

.tscan-progress__bar {
    background: linear-gradient(90deg, var(--tscan-brand-yellow), var(--tscan-brand-deep-orange), var(--tscan-brand-red));
}

.tscan-questionnaire {
    border-color: #cbdadd;
    border-radius: 0 0 var(--tscan-radius) var(--tscan-radius);
    box-shadow: 0 14px 34px rgba(0, 60, 78, .11);
}

.tscan-form-page__eyebrow {
    color: var(--tscan-brand-orange);
}

.tscan-form-page__heading h3,
.tscan-field-public__label label {
    color: var(--tscan-brand-teal);
}

.tscan-field-public {
    border-color: #cbdadd;
    border-radius: var(--tscan-radius);
    box-shadow: 0 3px 12px rgba(0, 60, 78, .035);
}

.tscan-field-public:hover {
    border-color: rgba(0, 60, 78, .34);
}

.tscan-field-public:focus-within {
    border-color: var(--tscan-brand-orange);
    box-shadow: 0 0 0 4px rgba(234, 93, 28, .11);
}

.tscan-field-public__number {
    width: 32px;
    min-width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--tscan-brand-teal);
}

.tscan-required {
    color: var(--tscan-brand-red);
}

.tscan-field-public__control input[type="text"],
.tscan-field-public__control input[type="email"],
.tscan-field-public__control input[type="number"],
.tscan-field-public__control input[type="date"],
.tscan-field-public__control textarea,
.tscan-field-public__conditional textarea {
    border-color: #a9c0c5;
    border-radius: 10px;
}

.tscan-field-public__control input:focus,
.tscan-field-public__control textarea:focus,
.tscan-field-public__conditional textarea:focus {
    border-color: var(--tscan-brand-orange);
    outline: 3px solid rgba(234, 93, 28, .16);
}

.tscan-choice {
    border-color: #cbdadd;
    border-radius: 12px;
    background: rgba(0, 60, 78, .045);
}

.tscan-choice:hover {
    border-color: var(--tscan-brand-teal-light);
}

.tscan-choice:has(input:checked) {
    border-color: var(--tscan-brand-orange);
    background: rgba(251, 185, 8, .14);
    box-shadow: inset 4px 0 0 var(--tscan-brand-orange), 0 0 0 2px rgba(234, 93, 28, .08);
}

.tscan-choice input {
    accent-color: var(--tscan-brand-teal);
}

.tscan-field-public__conditional {
    border-left-color: var(--tscan-brand-orange);
    background: rgba(251, 185, 8, .11);
}

.tscan-button {
    border-radius: 10px;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}

.tscan-button--primary {
    border-color: var(--tscan-brand-teal);
    background: var(--tscan-brand-teal);
    color: #fff;
    box-shadow: inset 0 -4px 0 var(--tscan-brand-orange);
}

.tscan-button--primary:hover,
.tscan-button--primary:focus {
    border-color: var(--tscan-brand-teal-light);
    background: var(--tscan-brand-teal-light);
    color: #fff;
    box-shadow: inset 0 -4px 0 var(--tscan-brand-yellow), 0 5px 14px rgba(0, 60, 78, .18);
    transform: translateY(-1px);
}

.tscan-button--secondary {
    border-color: var(--tscan-brand-teal);
    color: var(--tscan-brand-teal);
}

.tscan-button--secondary:hover,
.tscan-button--secondary:focus {
    border-color: var(--tscan-brand-teal-light);
    background: rgba(0, 60, 78, .06);
    color: var(--tscan-brand-teal);
}

.tscan-button:focus-visible {
    outline-color: rgba(251, 185, 8, .55);
}

.tscan-public-message {
    border-left: 5px solid var(--tscan-brand-orange);
    border-radius: var(--tscan-radius);
}

@media (max-width: 680px) {
    .tscan-public__header {
        min-height: 0;
    }

    .tscan-public__header::before {
        top: -230px;
        right: -260px;
    }

    .tscan-public__brand {
        align-items: flex-start;
        flex-direction: column;
    }

    .tscan-public__brand span {
        padding-left: 0;
        border-left: 0;
    }
}
