.flowschedule {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0;
}
.flowschedule-week {
    --flowschedule-card-bg: #fff;
    --flowschedule-soft-bg: rgba(0,0,0,.035);
    --flowschedule-border: rgba(0,0,0,.1);
    --flowschedule-shadow: 0 8px 24px rgba(0,0,0,.08);
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(150px, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
    overflow-x: auto;
    overflow-y: visible;
    padding: .25rem .25rem 1rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
}
.flowschedule-week::-webkit-scrollbar {
    height: 10px;
}
.flowschedule-week::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(0,0,0,.22);
}
.flowschedule-day-column {
    display: flex;
    flex-direction: column;
    gap: .85rem;
    min-width: 0;
    scroll-snap-align: start;
}
.flowschedule-day-title {
    position: sticky;
    top: 0;
    z-index: 1;
    margin: 0;
    padding: .85rem 1rem;
    border: 1px solid var(--flowschedule-border);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.84));
    box-shadow: 0 3px 14px rgba(0,0,0,.05);
    font-size: 1.05rem;
    line-height: 1.2;
}
.flowschedule-day-items {
    display: flex;
    flex-direction: column;
    gap: .85rem;
}
.flowschedule-card-slot {
    position: relative;
    min-height: 135px;
}
.flowschedule-card {
    border: 1px solid var(--flowschedule-border, rgba(0,0,0,.12));
    border-radius: 18px;
    padding: 1.15rem;
    background: var(--flowschedule-card-bg, #fff);
    box-shadow: 0 4px 18px rgba(0,0,0,.06);
}
.flowschedule-rooster-card {
    position: relative;
    overflow: hidden;
    height: auto;
    min-height: 135px;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.flowschedule-rooster-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: currentColor;
    opacity: .18;
}
.flowschedule-rooster-card:hover,
.flowschedule-rooster-card.is-hovered,
.flowschedule-rooster-card:focus,
.flowschedule-rooster-card:focus-within:not(.is-route-clicked) {
    transform: translateY(-4px) scale(1.025);
    box-shadow: 0 16px 38px rgba(0,0,0,.16);
    border-color: rgba(0,0,0,.2);
    z-index: 3;
}
.flowschedule-card h3 {
    margin: .3rem 0 .45rem;
    font-size: 1.18rem;
    line-height: 1.22;
}
.flowschedule-meta {
    font-size: .92rem;
    opacity: .75;
    font-weight: 700;
    transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.flowschedule-button:hover,
.flowschedule-button:focus-visible {
    transform: translateY(-1px);
}
.flowschedule-location {
    font-weight: 700;
    margin: .35rem 0 0;
}
.flowschedule-card-extra {
    max-height: 0;
    opacity: 0;
    transform: translateY(8px);
    overflow: hidden;
    transition: max-height .28s ease, opacity .22s ease, transform .22s ease, margin-top .22s ease;
}
.flowschedule-rooster-card:hover .flowschedule-card-extra,
.flowschedule-rooster-card.is-hovered .flowschedule-card-extra,
.flowschedule-rooster-card:focus .flowschedule-card-extra,
.flowschedule-rooster-card:focus-within:not(.is-route-clicked) .flowschedule-card-extra {
    max-height: 360px;
    opacity: 1;
    transform: translateY(0);
    margin-top: .85rem;
}
.flowschedule-desc {
    margin: 0 0 .85rem;
    font-size: .95rem;
    line-height: 1.45;
}
.flowschedule-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    padding: .58rem .95rem;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid var(--flowschedule-button-border, currentColor);
    font-weight: 700;
}
.flowschedule-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    align-items: center;
}
.flowschedule-route-button {
    background: var(--flowschedule-route-bg, transparent);
    color: var(--flowschedule-route-text, currentColor);
    border-color: var(--flowschedule-route-border, var(--flowschedule-route-bg, currentColor));
}
.flowschedule-route-button:hover,
.flowschedule-route-button:focus-visible {
    background: var(--flowschedule-route-hover-bg, var(--flowschedule-route-bg, transparent));
    color: var(--flowschedule-route-hover-text, var(--flowschedule-route-text, currentColor));
    border-color: var(--flowschedule-route-hover-border, var(--flowschedule-route-hover-bg, var(--flowschedule-route-border, currentColor)));
}
.flowschedule-info-button {
    background: var(--flowschedule-info-bg, transparent);
    color: var(--flowschedule-info-text, currentColor);
    border-color: var(--flowschedule-info-border, var(--flowschedule-info-text, currentColor));
}
.flowschedule-info-button:hover,
.flowschedule-info-button:focus-visible {
    background: var(--flowschedule-info-hover-bg, var(--flowschedule-info-bg, transparent));
    color: var(--flowschedule-info-hover-text, var(--flowschedule-info-text, currentColor));
    border-color: var(--flowschedule-info-hover-border, var(--flowschedule-info-hover-text, var(--flowschedule-info-border, currentColor)));
}
.flowschedule-trial-button {
    background: var(--flowschedule-trial-bg, transparent);
    color: var(--flowschedule-trial-text, currentColor);
    border-color: var(--flowschedule-trial-border, var(--flowschedule-trial-bg, currentColor));
}
.flowschedule-trial-button:hover,
.flowschedule-trial-button:focus-visible {
    background: var(--flowschedule-trial-hover-bg, var(--flowschedule-trial-bg, transparent));
    color: var(--flowschedule-trial-hover-text, var(--flowschedule-trial-text, currentColor));
    border-color: var(--flowschedule-trial-hover-border, var(--flowschedule-trial-hover-bg, var(--flowschedule-trial-border, currentColor)));
}
.flowschedule-route-button::after,
.flowschedule-info-button::after,
.flowschedule-trial-button::after {
    content: "›";
    font-size: 1.15em;
    line-height: 1;
}
@media (min-width: 720px) {
    .flowschedule:not(.flowschedule-rooster) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .flowschedule-week {
        grid-auto-columns: minmax(150px, 1fr);
    }
}
@media (min-width: 1100px) {
    .flowschedule-week {
        grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
        grid-auto-flow: initial;
        grid-auto-columns: initial;
    }
}
@media (prefers-reduced-motion: reduce) {
    .flowschedule-rooster-card,
    .flowschedule-card-extra {
        transition: none;
    }
    .flowschedule-rooster-card:hover,
    .flowschedule-rooster-card:focus-within,
    .flowschedule-rooster-card:focus,
    .flowschedule-rooster-card:focus-within:not(.is-route-clicked) {
        transform: none;
    }
}

.flowschedule-rooster-shell {
    --flowschedule-accent: var(--flowschedule-filter-bg, #1f6f62);
    position: relative;
    margin: 1.5rem 0;
}
.flowschedule-rooster-filter {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin: 0 0 .9rem;
    padding: .35rem;
    width: fit-content;
    max-width: 100%;
    border: 1px solid var(--flowschedule-border, rgba(0,0,0,.1));
    border-radius: 999px;
    background: rgba(255,255,255,.72);
    box-shadow: 0 5px 20px rgba(0,0,0,.06);
}
.flowschedule-filter-button {
    appearance: none;
    border: 0;
    border-radius: 999px;
    padding: .62rem .95rem;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font-weight: 800;
    line-height: 1;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.flowschedule-filter-button:hover,
.flowschedule-filter-button:focus-visible {
    transform: translateY(-1px);
    outline: none;
    box-shadow: 0 8px 20px rgba(0,0,0,.1);
}
.flowschedule-filter-button.is-active {
    background: var(--flowschedule-filter-bg, var(--flowschedule-accent));
    color: var(--flowschedule-filter-text, #fff);
    box-shadow: 0 8px 22px rgba(0,0,0,.14);
}
.flowschedule-scroll-wrap {
    position: relative;
}
.flowschedule-rooster-shell .flowschedule-week {
    margin: 0;
    scroll-behavior: smooth;
    scrollbar-width: thin;
}
.flowschedule-scroll-arrow {
    position: absolute;
    top: 50%;
    z-index: 8;
    width: 2.65rem;
    height: 2.65rem;
    transform: translateY(-50%);
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 999px;
    background: var(--flowschedule-arrow-bg, rgba(255,255,255,.94));
    color: var(--flowschedule-arrow-text, inherit);
    box-shadow: 0 10px 30px rgba(0,0,0,.18);
    cursor: pointer;
    font-size: 2rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.flowschedule-scroll-arrow:hover,
.flowschedule-scroll-arrow:focus-visible {
    transform: translateY(-50%) scale(1.08);
    outline: none;
    box-shadow: 0 14px 36px rgba(0,0,0,.22);
}
.flowschedule-scroll-arrow[hidden] {
    display: none !important;
}
.flowschedule-scroll-arrow-left {
    left: .4rem;
}
.flowschedule-scroll-arrow-right {
    right: .4rem;
}
.flowschedule-rooster-shell.has-left-scroll .flowschedule-scroll-wrap::before,
.flowschedule-rooster-shell.has-right-scroll .flowschedule-scroll-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: .8rem;
    z-index: 4;
    width: 3.4rem;
    pointer-events: none;
}
.flowschedule-rooster-shell.has-left-scroll .flowschedule-scroll-wrap::before {
    left: 0;
    background: linear-gradient(90deg, rgba(255,255,255,.95), rgba(255,255,255,0));
}
.flowschedule-rooster-shell.has-right-scroll .flowschedule-scroll-wrap::after {
    right: 0;
    background: linear-gradient(270deg, rgba(255,255,255,.95), rgba(255,255,255,0));
}
.flowschedule-empty-message {
    margin: 1rem 0 0;
    padding: 1rem;
    border-radius: 16px;
    background: var(--flowschedule-soft-bg, rgba(0,0,0,.04));
    font-weight: 700;
}
.flowschedule-day-column[hidden],
.flowschedule-rooster-card[hidden],
.flowschedule-empty-message[hidden] {
    display: none !important;
}
@media (max-width: 560px) {
    .flowschedule-rooster-filter {
        width: 100%;
        border-radius: 18px;
    }
    .flowschedule-filter-button {
        flex: 1 1 auto;
    }
    .flowschedule-scroll-arrow {
        width: 2.35rem;
        height: 2.35rem;
        font-size: 1.7rem;
    }
}

/* Verbeterde rooster-navigatie: pijlen buiten de dagtegels en zachtere randen */
.flowschedule-scroll-wrap {
    padding-inline: 3.45rem;
}
.flowschedule-rooster-shell .flowschedule-week {
    padding-inline: .75rem;
}
.flowschedule-scroll-arrow-left {
    left: .15rem;
}
.flowschedule-scroll-arrow-right {
    right: .15rem;
}
.flowschedule-rooster-shell.has-left-scroll .flowschedule-scroll-wrap::before,
.flowschedule-rooster-shell.has-right-scroll .flowschedule-scroll-wrap::after {
    width: 2.65rem;
    bottom: 0;
}
.flowschedule-rooster-shell.has-left-scroll .flowschedule-scroll-wrap::before {
    left: 3.45rem;
}
.flowschedule-rooster-shell.has-right-scroll .flowschedule-scroll-wrap::after {
    right: 3.45rem;
}

@media (max-width: 640px) {
    .flowschedule-scroll-wrap {
        padding-inline: 0;
    }
    .flowschedule-rooster-shell .flowschedule-week,
    .flowschedule-week {
        display: flex;
        flex-direction: column;
        overflow: visible;
        padding: 0;
        gap: 1.15rem;
        scroll-snap-type: none;
    }
    .flowschedule-day-column {
        width: 100%;
        gap: .7rem;
        scroll-snap-align: none;
    }
    .flowschedule-day-title {
        position: static;
        border-radius: 16px;
        padding: .75rem .9rem;
    }
    .flowschedule-rooster-card {
        min-height: 0;
        overflow: visible;
    }
    .flowschedule-rooster-card:hover,
    .flowschedule-rooster-card:focus,
    .flowschedule-rooster-card:focus-within:not(.is-route-clicked) {
        transform: none;
    }
    .flowschedule-card-extra,
    .flowschedule-rooster-card:hover .flowschedule-card-extra,
    .flowschedule-rooster-card:focus .flowschedule-card-extra,
    .flowschedule-rooster-card:focus-within:not(.is-route-clicked) .flowschedule-card-extra {
        max-height: none;
        opacity: 1;
        transform: none;
        overflow: visible;
        margin-top: .85rem;
    }
    .flowschedule-scroll-arrow,
    .flowschedule-rooster-shell.has-left-scroll .flowschedule-scroll-wrap::before,
    .flowschedule-rooster-shell.has-right-scroll .flowschedule-scroll-wrap::after {
        display: none !important;
    }
}


/* Compacte rooster-navigatie: pijlen boven de tegels, direct onder filter */
.flowschedule-scroll-controls {
    display: flex;
    justify-content: flex-end;
    gap: .55rem;
    margin: -.35rem 0 .7rem;
    min-height: 2.65rem;
}
.flowschedule-scroll-controls .flowschedule-scroll-arrow {
    position: static;
    transform: none;
    width: 2.45rem;
    height: 2.45rem;
    font-size: 1.85rem;
}
.flowschedule-scroll-controls .flowschedule-scroll-arrow:hover,
.flowschedule-scroll-controls .flowschedule-scroll-arrow:focus-visible {
    transform: translateY(-1px) scale(1.04);
}
.flowschedule-scroll-wrap {
    padding-inline: 0;
}
.flowschedule-rooster-shell .flowschedule-week {
    padding-inline: .25rem;
}
.flowschedule-rooster-shell.has-left-scroll .flowschedule-scroll-wrap::before,
.flowschedule-rooster-shell.has-right-scroll .flowschedule-scroll-wrap::after {
    width: 1.25rem;
    bottom: 0;
}
.flowschedule-rooster-shell.has-left-scroll .flowschedule-scroll-wrap::before {
    left: 0;
}
.flowschedule-rooster-shell.has-right-scroll .flowschedule-scroll-wrap::after {
    right: 0;
}
@media (max-width: 640px) {
    .flowschedule-scroll-controls {
        display: none !important;
    }
}




/* Versie 2.4.11: compactere dagkolommen; alleen scroll als het echt nodig is; hoverkaart blijft binnen zichtbaar rooster. */
@media (min-width: 641px) {
    .flowschedule-rooster-shell,
    .flowschedule-scroll-wrap,
    .flowschedule-day-column,
    .flowschedule-day-items,
    .flowschedule-card-slot {
        overflow: visible;
    }

    /* Belangrijk: de week zelf moet horizontaal kunnen blijven scrollen. */
    .flowschedule-rooster-shell .flowschedule-week {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(150px, 1fr);
        overflow-x: auto;
        overflow-y: visible;
    }

    .flowschedule-card-slot {
        position: relative;
        min-height: 135px;
        z-index: 1;
    }

    .flowschedule-card-slot:hover,
    .flowschedule-card-slot:focus-within {
        z-index: 100;
    }

    .flowschedule-card-slot[hidden] {
        display: none !important;
    }

    .flowschedule-card-slot > .flowschedule-rooster-card {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        min-height: 135px;
        overflow: hidden;
        transform-origin: center top;
        transition: width .24s ease, min-height .24s ease, transform .24s ease, box-shadow .24s ease, border-color .24s ease;
    }

    .flowschedule-card-slot > .flowschedule-rooster-card:hover,
    .flowschedule-card-slot > .flowschedule-rooster-card.is-hovered,
    .flowschedule-card-slot > .flowschedule-rooster-card:focus,
    .flowschedule-card-slot > .flowschedule-rooster-card:focus-within:not(.is-route-clicked) {
        width: min(390px, calc(100vw - 32px));
        min-height: 260px;
        overflow: visible;
        transform: translate(-50%, -6px);
        left: 50%;
        right: auto;
        box-shadow: 0 24px 58px rgba(0,0,0,.22);
        border-color: rgba(0,0,0,.24);
        z-index: 120;
    }

    .flowschedule-card-slot > .flowschedule-rooster-card.flowschedule-expand-left:hover,
    .flowschedule-card-slot > .flowschedule-rooster-card.flowschedule-expand-left.is-hovered,
    .flowschedule-card-slot > .flowschedule-rooster-card.flowschedule-expand-left:focus,
    .flowschedule-card-slot > .flowschedule-rooster-card.flowschedule-expand-left:focus-within:not(.is-route-clicked) {
        left: auto;
        right: 0;
        transform: translate(0, -6px);
    }

    .flowschedule-card-slot > .flowschedule-rooster-card.flowschedule-expand-right:hover,
    .flowschedule-card-slot > .flowschedule-rooster-card.flowschedule-expand-right.is-hovered,
    .flowschedule-card-slot > .flowschedule-rooster-card.flowschedule-expand-right:focus,
    .flowschedule-card-slot > .flowschedule-rooster-card.flowschedule-expand-right:focus-within:not(.is-route-clicked) {
        left: 0;
        right: auto;
        transform: translate(0, -6px);
    }


    .flowschedule-card-slot:first-child > .flowschedule-rooster-card:hover,
    .flowschedule-card-slot:first-child > .flowschedule-rooster-card.is-hovered,
    .flowschedule-card-slot:first-child > .flowschedule-rooster-card:focus,
    .flowschedule-card-slot:first-child > .flowschedule-rooster-card:focus-within:not(.is-route-clicked),
    .flowschedule-day-column:first-child .flowschedule-card-slot > .flowschedule-rooster-card:hover,
    .flowschedule-day-column:first-child .flowschedule-card-slot > .flowschedule-rooster-card.is-hovered,
    .flowschedule-day-column:first-child .flowschedule-card-slot > .flowschedule-rooster-card:focus,
    .flowschedule-day-column:first-child .flowschedule-card-slot > .flowschedule-rooster-card:focus-within:not(.is-route-clicked) {
        left: 0;
        transform: translate(0, -6px);
    }

    .flowschedule-day-column:last-child .flowschedule-card-slot > .flowschedule-rooster-card:hover,
    .flowschedule-day-column:last-child .flowschedule-card-slot > .flowschedule-rooster-card.is-hovered,
    .flowschedule-day-column:last-child .flowschedule-card-slot > .flowschedule-rooster-card:focus,
    .flowschedule-day-column:last-child .flowschedule-card-slot > .flowschedule-rooster-card:focus-within:not(.is-route-clicked) {
        left: auto;
        right: 0;
        transform: translate(0, -6px);
    }

    .flowschedule-card-slot > .flowschedule-rooster-card .flowschedule-card-extra {
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        overflow: hidden;
        margin-top: 0;
        transform: translateY(8px);
        transition: max-height .24s ease, opacity .2s ease, transform .22s ease, margin-top .22s ease, visibility .2s ease;
    }

    .flowschedule-card-slot > .flowschedule-rooster-card:hover .flowschedule-card-extra,
    .flowschedule-card-slot > .flowschedule-rooster-card.is-hovered .flowschedule-card-extra,
    .flowschedule-card-slot > .flowschedule-rooster-card:focus .flowschedule-card-extra,
    .flowschedule-card-slot > .flowschedule-rooster-card:focus-within:not(.is-route-clicked) .flowschedule-card-extra {
        max-height: 420px;
        opacity: 1;
        visibility: visible;
        margin-top: .9rem;
        transform: translateY(0);
    }
}

@media (max-width: 640px) {
    .flowschedule-card-slot {
        min-height: 0;
    }
    .flowschedule-card-slot > .flowschedule-rooster-card {
        position: relative;
        min-height: 0;
    }
    .flowschedule-card-slot > .flowschedule-rooster-card .flowschedule-card-extra {
        max-height: none;
        opacity: 1;
        visibility: visible;
        margin-top: .85rem;
        overflow: visible;
        transform: none;
    }
}


/* Versie 2.4.12: geen verticale scroll op brede schermen en hover-tegels groeien richting het midden van het zichtbare rooster. */
@media (min-width: 641px) {
    .flowschedule-rooster-shell.flowschedule-no-horizontal-scroll,
    .flowschedule-rooster-shell.flowschedule-no-horizontal-scroll .flowschedule-scroll-wrap,
    .flowschedule-rooster-shell.flowschedule-no-horizontal-scroll .flowschedule-week {
        overflow: visible !important;
    }

    .flowschedule-rooster-shell.flowschedule-no-horizontal-scroll .flowschedule-week {
        grid-auto-columns: minmax(140px, 1fr);
        width: 100%;
    }

    .flowschedule-rooster-shell:not(.flowschedule-has-horizontal-scroll) .flowschedule-week {
        overflow-y: visible !important;
    }

    .flowschedule-card-slot > .flowschedule-rooster-card {
        --flowschedule-expand-shift: 0px;
    }

    .flowschedule-card-slot > .flowschedule-rooster-card:hover,
    .flowschedule-card-slot > .flowschedule-rooster-card.is-hovered,
    .flowschedule-card-slot > .flowschedule-rooster-card:focus,
    .flowschedule-card-slot > .flowschedule-rooster-card:focus-within:not(.is-route-clicked) {
        left: 50% !important;
        right: auto !important;
        transform: translate(calc(-50% + var(--flowschedule-expand-shift, 0px)), -6px) !important;
        max-height: none;
    }

    .flowschedule-card-slot > .flowschedule-rooster-card.flowschedule-expand-left:hover,
    .flowschedule-card-slot > .flowschedule-rooster-card.flowschedule-expand-left.is-hovered,
    .flowschedule-card-slot > .flowschedule-rooster-card.flowschedule-expand-left:focus,
    .flowschedule-card-slot > .flowschedule-rooster-card.flowschedule-expand-left:focus-within:not(.is-route-clicked),
    .flowschedule-card-slot > .flowschedule-rooster-card.flowschedule-expand-right:hover,
    .flowschedule-card-slot > .flowschedule-rooster-card.flowschedule-expand-right.is-hovered,
    .flowschedule-card-slot > .flowschedule-rooster-card.flowschedule-expand-right:focus,
    .flowschedule-card-slot > .flowschedule-rooster-card.flowschedule-expand-right:focus-within:not(.is-route-clicked) {
        left: 50% !important;
        right: auto !important;
        transform: translate(calc(-50% + var(--flowschedule-expand-shift, 0px)), -6px) !important;
    }
}


/* Versie 2.4.13: terug naar stabiele hover: tegel wordt alleen naar beneden groter, niet breder. */
@media (min-width: 641px) {
    .flowschedule-rooster-shell,
    .flowschedule-rooster-shell .flowschedule-scroll-wrap,
    .flowschedule-rooster-shell .flowschedule-rooster,
    .flowschedule-rooster-shell .flowschedule-week,
    .flowschedule-rooster-shell .flowschedule-day-column,
    .flowschedule-rooster-shell .flowschedule-day-items,
    .flowschedule-rooster-shell .flowschedule-card-slot {
        overflow-y: visible !important;
    }

    .flowschedule-rooster-shell .flowschedule-week {
        overflow-x: auto !important;
        align-items: start;
    }

    .flowschedule-rooster-shell.flowschedule-no-horizontal-scroll .flowschedule-week {
        overflow-x: visible !important;
    }

    .flowschedule-card-slot {
        position: relative !important;
        min-height: 0 !important;
        height: auto !important;
        z-index: 1;
    }

    .flowschedule-card-slot:hover,
    .flowschedule-card-slot:focus-within {
        z-index: 20;
    }

    .flowschedule-card-slot > .flowschedule-rooster-card {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 0 !important;
        height: auto !important;
        overflow: visible !important;
        transform: none !important;
        transition: box-shadow .22s ease, border-color .22s ease, transform .22s ease;
    }

    .flowschedule-card-slot > .flowschedule-rooster-card:hover,
    .flowschedule-card-slot > .flowschedule-rooster-card.is-hovered,
    .flowschedule-card-slot > .flowschedule-rooster-card:focus,
    .flowschedule-card-slot > .flowschedule-rooster-card:focus-within:not(.is-route-clicked) {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 0 !important;
        left: auto !important;
        right: auto !important;
        transform: translateY(-3px) !important;
        box-shadow: 0 18px 42px rgba(0,0,0,.18);
        border-color: rgba(0,0,0,.22);
        z-index: 30;
    }

    .flowschedule-card-slot > .flowschedule-rooster-card .flowschedule-card-extra {
        max-height: 0 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        overflow: hidden !important;
        margin-top: 0 !important;
        transform: translateY(8px) !important;
        transition: max-height .26s ease, opacity .22s ease, transform .22s ease, margin-top .22s ease, visibility .22s ease;
    }

    .flowschedule-card-slot > .flowschedule-rooster-card:hover .flowschedule-card-extra,
    .flowschedule-card-slot > .flowschedule-rooster-card.is-hovered .flowschedule-card-extra,
    .flowschedule-card-slot > .flowschedule-rooster-card:focus .flowschedule-card-extra,
    .flowschedule-card-slot > .flowschedule-rooster-card:focus-within:not(.is-route-clicked) .flowschedule-card-extra {
        max-height: 520px !important;
        opacity: 1 !important;
        visibility: visible !important;
        overflow: visible !important;
        margin-top: .85rem !important;
        transform: translateY(0) !important;
    }
}

/* Versie 2.4.14: nette bovenstreep binnen afgeronde hoeken en dagkolommen strak uitgelijnd. */
.flowschedule-day-column {
    align-self: stretch;
}

.flowschedule-day-title {
    box-sizing: border-box;
    min-height: 3.65rem;
    display: flex;
    align-items: center;
}

.flowschedule-day-items {
    align-items: stretch;
}

.flowschedule-rooster-card::before {
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: auto;
    width: auto;
    height: 4px;
    border-radius: 17px 17px 0 0;
    overflow: hidden;
}

@media (min-width: 641px) {
    .flowschedule-rooster-shell .flowschedule-day-column {
        display: grid;
        grid-template-rows: 3.65rem auto;
        align-content: start;
    }

    .flowschedule-rooster-shell .flowschedule-day-title {
        height: 3.65rem;
        margin: 0;
    }

    .flowschedule-rooster-shell .flowschedule-day-items {
        margin-top: .85rem;
    }
}

@media (max-width: 640px) {
    .flowschedule-day-title {
        min-height: 0;
    }
}


/* Versie 2.4.15: sluit tegels na knopklik; focus alleen mag de tegel niet open houden. */
@media (min-width: 641px) {
    .flowschedule-card-slot > .flowschedule-rooster-card:focus:not(:hover):not(.is-hovered),
    .flowschedule-card-slot > .flowschedule-rooster-card:focus-within:not(:hover):not(.is-hovered),
    .flowschedule-card-slot > .flowschedule-rooster-card.is-route-clicked,
    .flowschedule-card-slot > .flowschedule-rooster-card.is-route-clicked:focus,
    .flowschedule-card-slot > .flowschedule-rooster-card.is-route-clicked:focus-within {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 0 !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        box-shadow: 0 10px 24px rgba(0,0,0,.08) !important;
        z-index: 1 !important;
    }

    .flowschedule-card-slot > .flowschedule-rooster-card:focus:not(:hover):not(.is-hovered) .flowschedule-card-extra,
    .flowschedule-card-slot > .flowschedule-rooster-card:focus-within:not(:hover):not(.is-hovered) .flowschedule-card-extra,
    .flowschedule-card-slot > .flowschedule-rooster-card.is-route-clicked .flowschedule-card-extra {
        max-height: 0 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        overflow: hidden !important;
        margin-top: 0 !important;
        transform: translateY(8px) !important;
    }
}


/* Versie 2.4.16: bovenlijn hoger, smaller en binnen de afgeronde hoeken. */
.flowschedule-rooster-card::before {
    top: 0 !important;
    left: 8px !important;
    right: 8px !important;
    height: 4px !important;
    border-radius: 0 0 6px 6px !important;
    width: auto !important;
}

.flowschedule-rooster-card {
    background-clip: padding-box;
}


/* Versie 2.4.17: filter-uitlijning. Verborgen les-slots nemen geen ruimte meer in,
   zodat de eerste zichtbare tegels bij Alle/Fysiek/Online op één horizontale lijn starten. */
.flowschedule-card-slot[hidden] {
    display: none !important;
}

@media (min-width: 641px) {
    .flowschedule-rooster-shell .flowschedule-day-column {
        grid-template-rows: 3.65rem auto !important;
    }

    .flowschedule-rooster-shell .flowschedule-day-items {
        align-content: start;
        justify-content: start;
    }
}


/* Seminaroverzicht: instelbaar aantal kolommen via FlowSchedule > Instellingen. */
.flowschedule.flowschedule-seminars-columns-1 {
    grid-template-columns: 1fr;
}
@media (min-width: 720px) {
    .flowschedule.flowschedule-seminars-columns-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (min-width: 900px) {
    .flowschedule.flowschedule-seminars-columns-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}


/* Versie 2.4.19: seminarfoto instelbaar boven, links of rechts van de tekst. */
.flowschedule-seminar-card {
    overflow: hidden;
}
.flowschedule-seminar-image {
    margin: -1.15rem -1.15rem 1rem;
}
.flowschedule-seminar-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
@media (min-width: 720px) {
    .flowschedule-seminars-image-left .flowschedule-seminar-card,
    .flowschedule-seminars-image-right .flowschedule-seminar-card {
        display: grid;
        grid-template-columns: minmax(120px, 32%) minmax(0, 1fr);
        gap: 1rem;
        align-items: start;
    }
    .flowschedule-seminars-image-right .flowschedule-seminar-card {
        grid-template-columns: minmax(0, 1fr) minmax(120px, 32%);
    }
    .flowschedule-seminars-image-left .flowschedule-seminar-image,
    .flowschedule-seminars-image-right .flowschedule-seminar-image {
        margin: 0;
    }
    .flowschedule-seminars-image-left .flowschedule-seminar-image img,
    .flowschedule-seminars-image-right .flowschedule-seminar-image img {
        border-radius: 14px;
    }
    .flowschedule-seminars-image-right .flowschedule-seminar-image {
        order: 2;
    }
    .flowschedule-seminars-image-right .flowschedule-seminar-content {
        order: 1;
    }
}
@media (min-width: 900px) {
    .flowschedule-seminars-columns-3.flowschedule-seminars-image-left .flowschedule-seminar-card,
    .flowschedule-seminars-columns-3.flowschedule-seminars-image-right .flowschedule-seminar-card {
        display: block;
    }
    .flowschedule-seminars-columns-3.flowschedule-seminars-image-left .flowschedule-seminar-image,
    .flowschedule-seminars-columns-3.flowschedule-seminars-image-right .flowschedule-seminar-image {
        margin: -1.15rem -1.15rem 1rem;
    }
    .flowschedule-seminars-columns-3.flowschedule-seminars-image-left .flowschedule-seminar-image img,
    .flowschedule-seminars-columns-3.flowschedule-seminars-image-right .flowschedule-seminar-image img {
        border-radius: 0;
    }
}


/* Versie 2.4.21: checkbox verbergen opslaan verbeterd. */
.flowschedule-seminars-wrapper {
    width: 100%;
}
.flowschedule-seminars-title {
    margin: 0 0 1.25rem;
}
.flowschedule-seminars-archive-label {
    margin: 2rem 0 1rem;
    font-weight: 700;
    font-size: 1.15rem;
}
.flowschedule-seminar-card-past {
    position: relative;
    opacity: .72;
    filter: saturate(.25);
}
.flowschedule-seminar-card-past::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .46);
    pointer-events: none;
    z-index: 1;
}
.flowschedule-seminar-card-past .flowschedule-seminar-image img {
    filter: grayscale(1);
}
.flowschedule-seminar-card-past .flowschedule-seminar-content,
.flowschedule-seminar-card-past .flowschedule-seminar-image {
    position: relative;
    z-index: 0;
}
.flowschedule-seminar-past-banner {
    position: absolute;
    top: 1rem;
    right: -2.75rem;
    width: 10rem;
    transform: rotate(35deg);
    transform-origin: center;
    background: #111;
    color: #fff;
    text-align: center;
    font-weight: 700;
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .35rem .5rem;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
}
.flowschedule-badge-past {
    background: #111;
    color: #fff;
}

/* Versie 2.4.22: verlopen seminars in shortcode aflopend gesorteerd, nieuwste eerst. */

/* Versie 2.4.24: meldingen / nieuws shortcode. */
.flowschedule-news {
    width: 100%;
    display: grid;
    gap: 1.25rem;
}
.flowschedule-news-list {
    grid-template-columns: 1fr;
}
.flowschedule-news-grid.flowschedule-news-columns-1 { grid-template-columns: 1fr; }
.flowschedule-news-grid.flowschedule-news-columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.flowschedule-news-grid.flowschedule-news-columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.flowschedule-news-grid.flowschedule-news-columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.flowschedule-news-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.flowschedule-news-list .flowschedule-news-card {
    display: grid;
    grid-template-columns: minmax(160px, 28%) 1fr;
}
.flowschedule-news-content {
    padding: 1.25rem;
}
.flowschedule-news-image img {
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
    display: block;
}
.flowschedule-news-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding-bottom: .75rem;
}
.flowschedule-news-slider .flowschedule-news-card {
    flex: 0 0 min(86%, 380px);
    scroll-snap-align: start;
}
@media (max-width: 800px) {
    .flowschedule-news-grid.flowschedule-news-columns-2,
    .flowschedule-news-grid.flowschedule-news-columns-3,
    .flowschedule-news-grid.flowschedule-news-columns-4 {
        grid-template-columns: 1fr;
    }
    .flowschedule-news-list .flowschedule-news-card {
        grid-template-columns: 1fr;
    }
}

/* Versie 2.4.27: slidernavigatie per scrollpositie voor meldingen / nieuws. */
.flowschedule-news-slider-shell {
    width: 100%;
}
.flowschedule-news-slider-shell .flowschedule-news-slider {
    scrollbar-width: none;
}
.flowschedule-news-slider-shell .flowschedule-news-slider::-webkit-scrollbar {
    display: none;
}
.flowschedule-news-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .85rem;
    margin-top: .75rem;
}
.flowschedule-news-slider-arrow {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, .18);
    background: #fff;
    color: #111;
    cursor: pointer;
    font-size: 1.8rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
}
.flowschedule-news-slider-arrow:hover,
.flowschedule-news-slider-arrow:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}
.flowschedule-news-slider-indicators {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 42px;
}
.flowschedule-news-slider-indicator {
    border: 0;
    padding: 0;
    background: rgba(0, 0, 0, .25);
    cursor: pointer;
    transition: width .2s ease, opacity .2s ease, background-color .2s ease, transform .2s ease;
}
.flowschedule-news-indicator-dots .flowschedule-news-slider-indicator {
    width: 10px;
    height: 10px;
    border-radius: 999px;
}
.flowschedule-news-indicator-dots .flowschedule-news-slider-indicator.is-active {
    width: 26px;
    background: rgba(0, 0, 0, .85);
}
.flowschedule-news-indicator-lines .flowschedule-news-slider-indicator {
    width: 28px;
    height: 4px;
    border-radius: 999px;
}
.flowschedule-news-indicator-lines .flowschedule-news-slider-indicator.is-active {
    width: 46px;
    background: rgba(0, 0, 0, .85);
}
.flowschedule-news-slider-arrow[disabled],
.flowschedule-news-slider-indicator[disabled] {
    opacity: .35;
    cursor: default;
    transform: none;
}
@media (max-width: 640px) {
    .flowschedule-news-slider-controls {
        gap: .55rem;
    }
    .flowschedule-news-slider-arrow {
        width: 38px;
        height: 38px;
    }
    .flowschedule-news-indicator-lines .flowschedule-news-slider-indicator {
        width: 20px;
    }
    .flowschedule-news-indicator-lines .flowschedule-news-slider-indicator.is-active {
        width: 34px;
    }
}


/* Versie 2.4.28: subtiele hover-animatie voor meldingen / nieuws tegels. */
.flowschedule-news-card {
    transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
    will-change: transform;
}
.flowschedule-news-card:hover,
.flowschedule-news-card:focus-within {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 14px 34px rgba(0,0,0,.13);
}
.flowschedule-news-slider .flowschedule-news-card:hover,
.flowschedule-news-slider .flowschedule-news-card:focus-within {
    transform: translateY(-5px) scale(1.015);
}
@media (prefers-reduced-motion: reduce) {
    .flowschedule-news-card {
        transition: none;
    }
    .flowschedule-news-card:hover,
    .flowschedule-news-card:focus-within,
    .flowschedule-news-slider .flowschedule-news-card:hover,
    .flowschedule-news-slider .flowschedule-news-card:focus-within {
        transform: none;
    }
}


/* Versie 2.4.30: schaduwruimte zonder tegels half af te snijden in de slider. */
.flowschedule-news-slider-shell {
    overflow: visible;
}
.flowschedule-news-slider-shell .flowschedule-news-slider {
    overflow-x: auto;
    overflow-y: visible;
    box-sizing: border-box;
    padding: .75rem 1.1rem 1.5rem;
    margin: 0;
    scroll-padding-left: 1.1rem;
    scroll-padding-right: 1.1rem;
}
.flowschedule-news-grid,
.flowschedule-news-list {
    padding: .35rem;
    margin: -.35rem;
}


/* Versie 2.4.31: nieuws-slider met aparte slide-wrapper zodat tegels en schaduw niet worden afgesneden. */
.flowschedule-news-slider-shell {
    overflow: visible;
}
.flowschedule-news-slider-shell .flowschedule-news-slider {
    display: flex;
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 0;
    scroll-padding-right: 0;
    padding: 0 0 .25rem;
    margin: 0;
    box-sizing: border-box;
}
.flowschedule-news-slider .flowschedule-news-slide {
    flex: 0 0 min(86%, 404px);
    scroll-snap-align: start;
    box-sizing: border-box;
    padding: .85rem .7rem 1.45rem;
}
.flowschedule-news-slider .flowschedule-news-card {
    flex: none;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}
.flowschedule-news-slider .flowschedule-news-card:hover,
.flowschedule-news-slider .flowschedule-news-card:focus-within {
    transform: translateY(-5px) scale(1.012);
}
@media (max-width: 640px) {
    .flowschedule-news-slider .flowschedule-news-slide {
        flex-basis: 90%;
        padding-left: .6rem;
        padding-right: .6rem;
    }
}


/* Versie 2.4.32: herstel slide-wrapper sluiting en horizontale uitlijning. */
.flowschedule-news-slider .flowschedule-news-slide {
    display: block;
}
.flowschedule-news-slider .flowschedule-news-card {
    display: flex;
    flex-direction: column;
}


/* Versie 2.4.33: definitieve slider-viewport met veilige schaduwruimte en kolombreedtes. */
.flowschedule-news-slider-shell {
    --flowschedule-news-safe-space: 22px;
    overflow: hidden;
    padding-left: var(--flowschedule-news-safe-space);
    padding-right: var(--flowschedule-news-safe-space);
    margin-left: calc(var(--flowschedule-news-safe-space) * -1);
    margin-right: calc(var(--flowschedule-news-safe-space) * -1);
}
.flowschedule-news-slider-shell .flowschedule-news-slider {
    display: flex;
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    box-sizing: border-box;
    padding: .85rem 0 1.65rem;
    margin: 0;
    scroll-padding-left: 0;
    scroll-padding-right: 0;
}
.flowschedule-news-slider.flowschedule-news-columns-1 .flowschedule-news-slide { flex-basis: 100%; }
.flowschedule-news-slider.flowschedule-news-columns-2 .flowschedule-news-slide { flex-basis: 50%; }
.flowschedule-news-slider.flowschedule-news-columns-3 .flowschedule-news-slide { flex-basis: 33.333333%; }
.flowschedule-news-slider.flowschedule-news-columns-4 .flowschedule-news-slide { flex-basis: 25%; }
.flowschedule-news-slider .flowschedule-news-slide {
    flex-shrink: 0;
    scroll-snap-align: start;
    box-sizing: border-box;
    padding: .7rem;
    overflow: visible;
}
.flowschedule-news-slider .flowschedule-news-card {
    width: 100%;
    min-width: 0;
    height: 100%;
    box-sizing: border-box;
}
.flowschedule-news-slider .flowschedule-news-card:hover,
.flowschedule-news-slider .flowschedule-news-card:focus-within {
    transform: translateY(-5px);
}
@media (max-width: 900px) {
    .flowschedule-news-slider.flowschedule-news-columns-3 .flowschedule-news-slide,
    .flowschedule-news-slider.flowschedule-news-columns-4 .flowschedule-news-slide { flex-basis: 50%; }
}
@media (max-width: 640px) {
    .flowschedule-news-slider-shell {
        --flowschedule-news-safe-space: 18px;
    }
    .flowschedule-news-slider.flowschedule-news-columns-2 .flowschedule-news-slide,
    .flowschedule-news-slider.flowschedule-news-columns-3 .flowschedule-news-slide,
    .flowschedule-news-slider.flowschedule-news-columns-4 .flowschedule-news-slide { flex-basis: 100%; }
    .flowschedule-news-slider .flowschedule-news-slide {
        padding-left: .55rem;
        padding-right: .55rem;
    }
}

.flowschedule-arrow, .flowschedule-slider-arrow{display:flex;align-items:center;justify-content:center;}
.flowschedule-arrow svg,.flowschedule-arrow i,.flowschedule-slider-arrow svg,.flowschedule-slider-arrow i{line-height:1;vertical-align:middle;}


/* Versie 2.4.35: nieuws-slider pijlen optisch exact centreren met eigen SVG-iconen. */
.flowschedule-news-slider-arrow {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    line-height: 0 !important;
    font-size: 0 !important;
    text-align: center;
}
.flowschedule-news-slider-arrow-icon {
    display: block;
    width: 20px;
    height: 20px;
    overflow: visible;
    flex: 0 0 20px;
}
.flowschedule-news-slider-arrow-icon path {
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}
@media (max-width: 640px) {
    .flowschedule-news-slider-arrow-icon {
        width: 18px;
        height: 18px;
        flex-basis: 18px;
    }
}

/* Versie 2.4.36: privé training tijdsloten gekoppeld aan WooCommerce-producten. */
.flowschedule-private-training {
    margin: 2rem 0;
}
.flowschedule-private-training-slots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}
.flowschedule-private-training-slot {
    background: #fff;
    border-radius: 18px;
    padding: 1.25rem;
    box-shadow: 0 10px 25px rgba(15, 23, 42, .10);
    border: 1px solid rgba(15, 23, 42, .08);
}
.flowschedule-private-training-slot h3 {
    margin: .25rem 0 .75rem;
}

/* Versie 2.4.37: proefles/privé training met plaatskeuze en reserveringsformulier. */
.flowschedule-private-location-filter {
    margin: 0 0 1.25rem;
}
.flowschedule-private-location-filter select {
    min-width: 220px;
    margin-left: .5rem;
}
.flowschedule-private-booking-form {
    display: grid;
    gap: .65rem;
    margin-top: 1rem;
}
.flowschedule-private-booking-form label {
    display: grid;
    gap: .25rem;
    font-size: .95rem;
}
.flowschedule-private-booking-form input {
    width: 100%;
    border: 1px solid rgba(15, 23, 42, .16);
    border-radius: 10px;
    padding: .6rem .7rem;
}
.flowschedule-private-note {
    font-size: .9rem;
    opacity: .75;
    margin: .25rem 0 0;
}
.flowschedule-private-training-slot .flowschedule-location {
    font-weight: 700;
    margin-bottom: .35rem;
}
.flowschedule-private-success {
    background: #ecfdf5;
    border: 1px solid rgba(16, 185, 129, .35);
    border-radius: 12px;
    padding: .85rem 1rem;
    margin: 0 0 1rem;
}

/* Versie 2.4.38: productkeuze in privé training shortcode. */
.flowschedule-private-product{font-weight:700;margin-bottom:.35rem;}
.flowschedule-private-location-filter{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:0 0 18px;}
.flowschedule-private-location-filter label{display:flex;gap:6px;align-items:center;}

/* Versie 2.4.39: begeleide aanvraagflow voor proefles/privé training. */
.flowschedule-private-wizard {
    display: grid;
    gap: 1rem;
    max-width: 760px;
}
.flowschedule-private-step {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, .08);
    padding: 1.15rem;
    opacity: .55;
    transition: opacity .18s ease, transform .18s ease, box-shadow .18s ease;
}
.flowschedule-private-step.is-active,
.flowschedule-private-step.is-complete {
    opacity: 1;
}
.flowschedule-private-step.is-active {
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, .12);
}
.flowschedule-private-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: .22rem .65rem;
    font-size: .82rem;
    font-weight: 700;
    background: rgba(15, 23, 42, .06);
    margin-bottom: .45rem;
}
.flowschedule-private-step h3 {
    margin: 0 0 .75rem;
}
.flowschedule-private-wizard select,
.flowschedule-private-wizard input,
.flowschedule-private-wizard textarea {
    width: 100%;
    border: 1px solid rgba(15, 23, 42, .16);
    border-radius: 12px;
    padding: .7rem .78rem;
    background: #fff;
}
.flowschedule-private-wizard label {
    display: grid;
    gap: .3rem;
    margin: 0 0 .7rem;
}

/* Versie 2.4.40: kaart-/slide-wizard voor proefles/privé training. */
.flowschedule-private-wizard {
    max-width: 860px;
    overflow: hidden;
    position: relative;
}
.flowschedule-private-progress {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin: 0 0 1rem;
}
.flowschedule-private-progress span {
    border-radius: 999px;
    background: rgba(15, 23, 42, .06);
    color: rgba(15, 23, 42, .7);
    font-size: .82rem;
    font-weight: 700;
    padding: .35rem .7rem;
}
.flowschedule-private-progress span.is-active,
.flowschedule-private-progress span.is-complete {
    background: var(--flowschedule-trial-bg, #d89b26);
    color: var(--flowschedule-trial-text, #fff);
}
.flowschedule-private-slider {
    display: flex;
    width: 600%;
    transition: transform .32s ease;
    align-items: stretch;
}
.flowschedule-private-step-card {
    width: calc(100% / 6);
    flex: 0 0 calc(100% / 6);
    box-sizing: border-box;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 22px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .10);
    padding: clamp(1rem, 3vw, 1.6rem);
    min-height: 360px;
}
.flowschedule-private-step-card h3 { margin: 0 0 .45rem; }
.flowschedule-private-step-card p { margin-top: 0; }
.flowschedule-choice-grid,
.flowschedule-calendar-grid,
.flowschedule-time-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: .75rem;
    margin: 1rem 0;
}
.flowschedule-choice-card,
.flowschedule-calendar-day,
.flowschedule-time-choice {
    border: 1px solid rgba(15, 23, 42, .12);
    background: #fff;
    border-radius: 16px;
    padding: .95rem;
    min-height: 72px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .06);
    cursor: pointer;
    text-align: left;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.flowschedule-choice-card:hover,
.flowschedule-calendar-day:hover,
.flowschedule-time-choice:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(15, 23, 42, .10);
}
.flowschedule-choice-card.is-selected,
.flowschedule-calendar-day.is-selected,
.flowschedule-time-choice:has(input:checked) {
    border-color: var(--flowschedule-trial-bg, #d89b26);
    box-shadow: 0 0 0 3px rgba(216, 155, 38, .16), 0 12px 26px rgba(15, 23, 42, .10);
}
.flowschedule-calendar-day strong,
.flowschedule-calendar-day span,
.flowschedule-time-choice strong,
.flowschedule-time-choice em {
    display: block;
}
.flowschedule-time-choice {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
}
.flowschedule-time-choice input {
    width: auto;
    margin-top: .25rem;
}
.flowschedule-time-choice em {
    font-size: .85rem;
    opacity: .72;
    font-style: normal;
    margin-top: .15rem;
}
.flowschedule-wizard-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .75rem;
    margin-top: 1rem;
}
.flowschedule-button-light {
    background: rgba(15, 23, 42, .06) !important;
    color: rgba(15, 23, 42, .85) !important;
    border-color: rgba(15, 23, 42, .10) !important;
}
.flowschedule-private-summary {
    display: grid;
    gap: .55rem;
    margin: 1rem 0;
}
.flowschedule-summary-row {
    display: grid;
    grid-template-columns: minmax(130px, .55fr) 1fr;
    gap: .75rem;
    padding: .7rem .8rem;
    border-radius: 14px;
    background: rgba(15, 23, 42, .045);
}
.flowschedule-private-step-card textarea,
.flowschedule-private-step-card input {
    width: 100%;
}
@media (max-width: 640px) {
    .flowschedule-summary-row { grid-template-columns: 1fr; }
    .flowschedule-private-step-card { min-height: 420px; }
}

/* Versie 2.4.42: melding wanneer dagen/tijden ontbreken. */
.flowschedule-private-empty {
    grid-column: 1 / -1;
    margin: .5rem 0;
    padding: .9rem 1rem;
    border-radius: 14px;
    background: rgba(15, 23, 42, .06);
    color: rgba(15, 23, 42, .78);
}


/* Versie 2.4.43: plaatskeuze onder elkaar en witte, goed leesbare wizard-schermen. */
.flowschedule-private-wizard {
    background: transparent;
}
.flowschedule-private-step-card {
    background: #fff !important;
    color: #111827;
    overflow: visible;
}
.flowschedule-private-step-card * {
    box-sizing: border-box;
}
.flowschedule-choice-grid[data-choice-locations] {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: .7rem;
    max-width: 520px;
}
.flowschedule-choice-grid[data-choice-locations] .flowschedule-choice-card {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    font-weight: 700;
    color: #111827;
}
.flowschedule-choice-grid[data-choice-locations] .flowschedule-choice-card::after {
    content: '›';
    font-size: 1.5rem;
    line-height: 1;
    opacity: .55;
}
.flowschedule-calendar-grid {
    min-height: 96px;
}
.flowschedule-calendar-day,
.flowschedule-time-choice,
.flowschedule-choice-card {
    color: #111827;
}
.flowschedule-calendar-day span,
.flowschedule-time-choice em {
    color: rgba(17, 24, 39, .68);
}


/* Versie 2.4.44: wizard slide-uitlijning herstellen.
   De vorige opbouw gebruikte width:600%, waardoor translateX(-100%) meerdere stappen oversloeg. */
.flowschedule-private-wizard {
    overflow: hidden;
}
.flowschedule-private-slider {
    width: 100% !important;
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    transition: transform .32s ease;
    will-change: transform;
}
.flowschedule-private-step-card {
    width: 100% !important;
    min-width: 100% !important;
    flex: 0 0 100% !important;
}
.flowschedule-private-step-card[data-step="2"] {
    background: #fff !important;
    color: #111827 !important;
}

/* Versie 2.4.45: week-/maandkalender in de privé training wizard. */
.flowschedule-calendar-grid {
    display: block !important;
}
.flowschedule-calendar-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .85rem;
    margin: 1rem 0;
}
.flowschedule-calendar-toggle,
.flowschedule-calendar-nav {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}
.flowschedule-calendar-toggle button,
.flowschedule-calendar-nav button {
    border: 1px solid rgba(15, 23, 42, .12);
    background: #fff;
    color: #111827;
    border-radius: 999px;
    min-height: 38px;
    padding: .45rem .85rem;
    cursor: pointer;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 6px 16px rgba(15, 23, 42, .06);
}
.flowschedule-calendar-toggle button.is-active {
    background: var(--flowschedule-trial-bg, #d89b26);
    color: var(--flowschedule-trial-text, #fff);
    border-color: var(--flowschedule-trial-bg, #d89b26);
}
.flowschedule-calendar-nav button {
    width: 38px;
    height: 38px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}
.flowschedule-calendar-nav strong {
    min-width: 190px;
    text-align: center;
    color: #111827;
}
.flowschedule-calendar-week {
    display: grid;
    grid-template-columns: repeat(5, minmax(118px, 1fr));
    gap: .75rem;
    overflow-x: auto;
    padding: .25rem .15rem .6rem;
    scroll-snap-type: x mandatory;
}
.flowschedule-calendar-week .flowschedule-calendar-day {
    scroll-snap-align: start;
}
.flowschedule-calendar-month {
    display: grid;
    grid-template-columns: repeat(7, minmax(42px, 1fr));
    gap: .45rem;
    padding: .25rem 0 .6rem;
}
.flowschedule-calendar-month-head {
    font-weight: 800;
    text-align: center;
    color: rgba(17, 24, 39, .7);
    font-size: .85rem;
}
.flowschedule-calendar-day {
    width: 100%;
}
.flowschedule-calendar-day em {
    display: block;
    font-size: .78rem;
    font-style: normal;
    margin-top: .25rem;
    color: rgba(17, 24, 39, .62);
}
.flowschedule-calendar-day.is-disabled {
    opacity: .42;
    cursor: not-allowed;
    box-shadow: none;
    background: rgba(15, 23, 42, .035);
}
.flowschedule-calendar-day.is-disabled:hover {
    transform: none;
    box-shadow: none;
}
.flowschedule-calendar-day.is-outside-month {
    opacity: .28;
}
.flowschedule-calendar-month .flowschedule-calendar-day {
    min-height: 76px;
    padding: .55rem;
    border-radius: 13px;
}
.flowschedule-calendar-month .flowschedule-calendar-day strong {
    font-size: .8rem;
}
.flowschedule-calendar-month .flowschedule-calendar-day span {
    font-size: .82rem;
}
@media (max-width: 720px) {
    .flowschedule-calendar-controls { align-items: stretch; }
    .flowschedule-calendar-toggle,
    .flowschedule-calendar-nav { width: 100%; justify-content: center; }
    .flowschedule-calendar-nav strong { min-width: 150px; }
    .flowschedule-calendar-week { grid-template-columns: repeat(5, minmax(136px, 1fr)); }
    .flowschedule-calendar-month { gap: .28rem; }
    .flowschedule-calendar-month .flowschedule-calendar-day { min-height: 62px; padding: .4rem; }
    .flowschedule-calendar-day em { display: none; }
}

/* Versie 2.4.46: kalender volledig zichtbaar maken en navigatiepijlen vast zichtbaar houden. */
.flowschedule-private-step-card[data-step="2"] {
    overflow: visible !important;
}
.flowschedule-private-step-card[data-step="2"] .flowschedule-calendar-grid {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
}
.flowschedule-calendar-controls {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    gap: .75rem !important;
}
.flowschedule-calendar-toggle,
.flowschedule-calendar-nav {
    width: 100% !important;
    max-width: 560px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.flowschedule-calendar-nav {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) 44px !important;
    gap: .5rem !important;
}
.flowschedule-calendar-nav button {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    line-height: 1 !important;
    font-size: 1.35rem !important;
    z-index: 2;
}
.flowschedule-calendar-nav strong {
    min-width: 0 !important;
    width: 100% !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    align-self: center;
}
.flowschedule-calendar-week {
    width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: .55rem !important;
    overflow: visible !important;
    padding: .25rem 0 .75rem !important;
    scroll-snap-type: none !important;
}
.flowschedule-calendar-month {
    width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
    gap: .32rem !important;
    overflow: visible !important;
    padding: .25rem 0 .75rem !important;
}
.flowschedule-calendar-week .flowschedule-calendar-day,
.flowschedule-calendar-month .flowschedule-calendar-day {
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
.flowschedule-calendar-week .flowschedule-calendar-day {
    min-height: 92px;
    padding: .7rem .45rem !important;
    text-align: center;
}
.flowschedule-calendar-month .flowschedule-calendar-day {
    min-height: 68px !important;
    padding: .42rem .25rem !important;
    text-align: center;
}
.flowschedule-calendar-day strong,
.flowschedule-calendar-day span,
.flowschedule-calendar-day em {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.flowschedule-calendar-month-head {
    min-width: 0 !important;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (max-width: 520px) {
    .flowschedule-private-step-card[data-step="2"] {
        padding-left: .7rem !important;
        padding-right: .7rem !important;
    }
    .flowschedule-calendar-week {
        gap: .28rem !important;
    }
    .flowschedule-calendar-week .flowschedule-calendar-day {
        min-height: 78px !important;
        padding: .45rem .2rem !important;
        border-radius: 11px !important;
    }
    .flowschedule-calendar-month {
        gap: .18rem !important;
    }
    .flowschedule-calendar-month .flowschedule-calendar-day {
        min-height: 50px !important;
        padding: .25rem .1rem !important;
        border-radius: 9px !important;
    }
    .flowschedule-calendar-month .flowschedule-calendar-day strong,
    .flowschedule-calendar-month .flowschedule-calendar-day span {
        font-size: .72rem !important;
    }
    .flowschedule-calendar-month-head {
        font-size: .72rem !important;
    }
    .flowschedule-calendar-day em {
        display: none !important;
    }
}

/* Versie 2.4.47: Essential Blocks container compatibiliteit voor de privé-training kalender.
   Essential Blocks kan overflow hidden en smalle wrappers gebruiken; daarom mag geen enkel
   kalenderdeel breder worden dan de beschikbare kolom. */
.flowschedule-private-wizard,
.flowschedule-private-wizard *,
.flowschedule-private-slider,
.flowschedule-private-step-card,
.flowschedule-private-step-card[data-step="2"],
.flowschedule-private-step-card[data-step="2"] * {
    box-sizing: border-box !important;
}
.flowschedule-private-wizard {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
}
.flowschedule-private-slider {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}
.flowschedule-private-step-card {
    max-width: 100% !important;
    min-width: 100% !important;
    overflow: hidden !important;
}
.flowschedule-private-step-card[data-step="2"] {
    padding-left: clamp(.55rem, 2vw, 1.1rem) !important;
    padding-right: clamp(.55rem, 2vw, 1.1rem) !important;
}
.flowschedule-private-step-card[data-step="2"] .flowschedule-calendar-grid,
.flowschedule-private-step-card[data-step="2"] .flowschedule-calendar-controls,
.flowschedule-private-step-card[data-step="2"] .flowschedule-calendar-toggle,
.flowschedule-private-step-card[data-step="2"] .flowschedule-calendar-nav,
.flowschedule-private-step-card[data-step="2"] .flowschedule-calendar-week,
.flowschedule-private-step-card[data-step="2"] .flowschedule-calendar-month {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}
.flowschedule-private-step-card[data-step="2"] .flowschedule-calendar-controls {
    overflow: visible !important;
}
.flowschedule-private-step-card[data-step="2"] .flowschedule-calendar-toggle {
    flex-wrap: wrap !important;
}
.flowschedule-private-step-card[data-step="2"] .flowschedule-calendar-toggle button {
    flex: 1 1 96px !important;
    min-width: 0 !important;
}
.flowschedule-private-step-card[data-step="2"] .flowschedule-calendar-nav {
    grid-template-columns: 38px minmax(0, 1fr) 38px !important;
}
.flowschedule-private-step-card[data-step="2"] .flowschedule-calendar-nav button {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
}
.flowschedule-private-step-card[data-step="2"] .flowschedule-calendar-week {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: clamp(.12rem, 1vw, .45rem) !important;
}
.flowschedule-private-step-card[data-step="2"] .flowschedule-calendar-month {
    grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
    gap: clamp(.08rem, .7vw, .25rem) !important;
}
.flowschedule-private-step-card[data-step="2"] .flowschedule-calendar-day {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    padding-left: clamp(.08rem, .8vw, .42rem) !important;
    padding-right: clamp(.08rem, .8vw, .42rem) !important;
}
.flowschedule-private-step-card[data-step="2"] .flowschedule-calendar-week .flowschedule-calendar-day {
    min-height: clamp(62px, 10vw, 88px) !important;
}
.flowschedule-private-step-card[data-step="2"] .flowschedule-calendar-month .flowschedule-calendar-day {
    min-height: clamp(42px, 7.8vw, 64px) !important;
}
.flowschedule-private-step-card[data-step="2"] .flowschedule-calendar-day strong,
.flowschedule-private-step-card[data-step="2"] .flowschedule-calendar-day span,
.flowschedule-private-step-card[data-step="2"] .flowschedule-calendar-day em,
.flowschedule-private-step-card[data-step="2"] .flowschedule-calendar-month-head {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}
@container (max-width: 520px) {
    .flowschedule-private-step-card[data-step="2"] .flowschedule-calendar-day em { display: none !important; }
}
@media (max-width: 680px) {
    .flowschedule-private-step-card[data-step="2"] h3,
    .flowschedule-private-step-card[data-step="2"] p {
        text-align: center;
    }
    .flowschedule-private-step-card[data-step="2"] .flowschedule-calendar-week .flowschedule-calendar-day span,
    .flowschedule-private-step-card[data-step="2"] .flowschedule-calendar-month .flowschedule-calendar-day span,
    .flowschedule-private-step-card[data-step="2"] .flowschedule-calendar-day em {
        display: none !important;
    }
}


/* Versie 2.4.51: tijdkeuzes onder elkaar en instelbare knoppen in de proefles-aanvraagflow. */
.flowschedule-private-wizard .flowschedule-time-grid {
    grid-template-columns: 1fr !important;
    max-width: 560px;
}
.flowschedule-private-wizard .flowschedule-time-choice {
    width: 100%;
}
.flowschedule-private-wizard .flowschedule-button:not(.flowschedule-button-light) {
    background: var(--flowschedule-private-button-bg, #d89b26);
    color: var(--flowschedule-private-button-text, #fff);
    border-color: var(--flowschedule-private-button-border, var(--flowschedule-private-button-bg, #d89b26));
}
.flowschedule-private-wizard .flowschedule-button:not(.flowschedule-button-light):hover,
.flowschedule-private-wizard .flowschedule-button:not(.flowschedule-button-light):focus-visible {
    background: var(--flowschedule-private-button-hover-bg, var(--flowschedule-private-button-bg, #d89b26));
    color: var(--flowschedule-private-button-hover-text, var(--flowschedule-private-button-text, #fff));
    border-color: var(--flowschedule-private-button-hover-border, var(--flowschedule-private-button-hover-bg, var(--flowschedule-private-button-border, #d89b26)));
}


/* Versie 2.4.55: wizardhoogte volgt de actieve stap.
   Hierdoor houdt de tijdstap niet meer de hoogte van de maand-/dagkalender vast. */
.flowschedule-private-wizard .flowschedule-private-slider {
    align-items: flex-start !important;
    transition: transform .32s ease, height .24s ease !important;
}
.flowschedule-private-wizard .flowschedule-private-step-card {
    height: auto !important;
}
.flowschedule-private-wizard .flowschedule-private-step-card[aria-hidden="true"] {
    visibility: hidden;
}
.flowschedule-private-wizard .flowschedule-private-step-card.is-active {
    visibility: visible;
}

/* FlowSchedule 2.4.60: keuzes in aanvraagflow onder elkaar met beschrijving */
.flowschedule-choice-grid.flowschedule-choice-list {
    grid-template-columns: 1fr;
}
.flowschedule-choice-card small {
    display: block;
    margin-top: .45rem;
    line-height: 1.45;
    color: inherit;
    opacity: .78;
}
.flowschedule-choice-card span {
    display: block;
    margin-top: .25rem;
}

/* Versie 2.4.66: proefles aanvraag als slide-wizard */
.flowschedule-trial-wizard .flowschedule-private-step-card {
    display: none;
    width: 100%;
    flex: none;
}
.flowschedule-trial-wizard .flowschedule-private-step-card.is-active {
    display: block;
}
.flowschedule-trial-wizard .flowschedule-private-steps {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin: 0 0 1rem;
}
.flowschedule-trial-wizard .flowschedule-private-step {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    border-radius: 999px;
    padding: .45rem .75rem;
    background: rgba(15, 23, 42, .06);
    color: rgba(15, 23, 42, .72);
    font-weight: 700;
    font-size: .88rem;
}
.flowschedule-trial-wizard .flowschedule-private-step.is-active,
.flowschedule-trial-wizard .flowschedule-private-step.is-complete {
    background: var(--flowschedule-private-button-bg, var(--flowschedule-trial-bg, #d89b26));
    color: var(--flowschedule-private-button-text, #fff);
}
.flowschedule-trial-wizard .flowschedule-private-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    height: 1.5rem;
    border-radius: 999px;
    background: rgba(255,255,255,.22);
}
.flowschedule-trial-wizard .flowschedule-private-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: space-between;
    margin-top: 1rem;
}
.flowschedule-trial-wizard .flowschedule-private-check {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
}
.flowschedule-trial-wizard .flowschedule-private-check input {
    width: auto;
    margin-top: .25rem;
}
.flowschedule-trial-wizard .flowschedule-private-summary dl {
    margin: 0;
}
.flowschedule-trial-wizard .flowschedule-private-summary dt,
.flowschedule-trial-wizard .flowschedule-private-summary dd {
    margin: 0;
}
.flowschedule-trial-wizard .flowschedule-private-summary dt {
    font-weight: 700;
    opacity: .75;
}
.flowschedule-trial-wizard .flowschedule-private-summary dd {
    padding: .25rem 0 .8rem;
    border-bottom: 1px solid rgba(15, 23, 42, .08);
}

/* Versie 2.4.68: proefles dropdown volledig zichtbaar en datumregels. */
.flowschedule-trial-wizard select[data-trial-lesson] {
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    line-height: 1.35;
    padding: 10px 42px 10px 12px;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    box-sizing: border-box;
}
.flowschedule-trial-wizard label {
    display: block;
}
.flowschedule-trial-wizard input[type="date"] {
    min-height: 44px;
}
.flowschedule-trial-holidays input[type="date"] {
    min-width: 150px;
}


/* Versie 2.4.69: aparte kleurinstellingen voor de proefles-aanvraagflow. */
.flowschedule-trial-wizard .flowschedule-button-secondary {
    background: var(--flowschedule-trial-secondary-bg, #ffffff) !important;
    color: var(--flowschedule-trial-secondary-text, #1f6f62) !important;
    border-color: var(--flowschedule-trial-secondary-border, #1f6f62) !important;
}
.flowschedule-trial-wizard .flowschedule-private-step.is-active,
.flowschedule-trial-wizard .flowschedule-private-step.is-complete {
    background: var(--flowschedule-trial-active-step-bg, var(--flowschedule-private-button-bg, #d89b26)) !important;
    color: var(--flowschedule-trial-active-step-text, var(--flowschedule-private-button-text, #fff)) !important;
}

/* Versie 2.4.77: akkoord vinkjes privélessen. */
.flowschedule-private-agreements{margin-top:1rem;display:grid;gap:.55rem;}
.flowschedule-private-agreement{display:flex;align-items:flex-start;gap:.5rem;font-weight:500;}
.flowschedule-private-agreement input{width:auto;margin-top:.2rem;}


/* Versie 2.4.78: meer ruimte rond disclaimer/voorwaarden links en aparte voorwaarden-slide privé training. */
.flowschedule-trial-legal-links {
    margin-top: 1.25rem !important;
    margin-bottom: 1.25rem !important;
}
.flowschedule-private-training .flowschedule-private-check {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    margin-top: .75rem;
}
.flowschedule-private-training .flowschedule-private-check input {
    width: auto;
    margin-top: .25rem;
}

.flowschedule-preserve-whitespace {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}


/* Versie 2.4.87: proefles succesmelding automatisch sluiten en wegklikbaar maken. */
.flowschedule-dismissible-success {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    transition: opacity .25s ease, transform .25s ease;
}
.flowschedule-dismissible-success.is-hidden {
    opacity: 0;
    transform: translateY(-6px);
}
.flowschedule-dismiss-success {
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1;
    padding: 0 .15rem;
    opacity: .8;
}
.flowschedule-dismiss-success:hover,
.flowschedule-dismiss-success:focus {
    opacity: 1;
}


/* Versie 2.5.01: voortgang op tablet en mobiel als compacte streepjes tonen. */
@media (max-width: 1024px) {
    .flowschedule-private-progress,
    .flowschedule-trial-wizard .flowschedule-private-steps {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        width: 100%;
        gap: .35rem;
        margin: 0 0 1rem;
    }

    .flowschedule-private-progress span,
    .flowschedule-trial-wizard .flowschedule-private-steps .flowschedule-private-step {
        flex: 1 1 0;
        min-width: 0;
        height: 6px;
        padding: 0;
        border-radius: 999px;
        font-size: 0;
        line-height: 0;
        overflow: hidden;
        background: rgba(15, 23, 42, .12);
    }

    .flowschedule-trial-wizard .flowschedule-private-steps .flowschedule-private-step-number {
        display: none;
    }

    .flowschedule-private-progress span.is-active,
    .flowschedule-private-progress span.is-complete,
    .flowschedule-trial-wizard .flowschedule-private-steps .flowschedule-private-step.is-active,
    .flowschedule-trial-wizard .flowschedule-private-steps .flowschedule-private-step.is-complete {
        background: var(--flowschedule-private-button-bg, var(--flowschedule-trial-active-step-bg, var(--flowschedule-trial-bg, #d89b26)));
        color: transparent;
    }
}

/* Nieuws: optionele linkknop (alleen bij ingevulde URL). */
.flowschedule-news-content .flowschedule-news-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    padding: .65rem 1.15rem;
    border-radius: .5rem;
    background: #1f6f62;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s ease;
}
.flowschedule-news-content .flowschedule-news-link:hover,
.flowschedule-news-content .flowschedule-news-link:focus-visible {
    background: #155347;
    color: #fff;
    text-decoration: none;
}

/* Nieuws-knop: dezelfde opmaak voor homescreen en account. */
.flowschedule-news-style .flowschedule-news-content a.flowschedule-news-link,
.flowschedule-news-style .flowschedule-news-content a.flowschedule-news-link:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .65rem 1.15rem;
    margin-top: 1rem;
    background: var(--flowschedule-news-button-bg, #1f6f62);
    color: var(--flowschedule-news-button-text, #fff);
    border: var(--flowschedule-news-button-border-width, 1px) solid var(--flowschedule-news-button-border, #1f6f62);
    border-radius: var(--flowschedule-news-button-radius, 8px);
    font-weight: 600;
    text-decoration: none;
}
.flowschedule-news-style .flowschedule-news-content a.flowschedule-news-link:hover,
.flowschedule-news-style .flowschedule-news-content a.flowschedule-news-link:focus-visible {
    filter: brightness(.92);
    background: var(--flowschedule-news-button-bg, #1f6f62);
    color: var(--flowschedule-news-button-text, #fff);
    text-decoration: none;
}
