:root {
    --rxc-black: #0b0f14;
    --rxc-ink: #111827;
    --rxc-muted: #68717d;
    --rxc-line: #dde1e5;
    --rxc-soft: #f4f5f6;
    --rxc-white: #ffffff;
    --rxc-radius: 2px;
}

.rxc-shell,
.rxc-shell * {
    box-sizing: border-box;
}

.rxc-shell {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: clamp(18px, 3vw, 48px);
    overflow: hidden;
    background: #fff;
    color: var(--rxc-ink);
    font-family: "Volvo Novum", "Volvo Centum", Arial, Helvetica, sans-serif;
}

.rxc-card {
    width: min(1240px, 100%);
    min-height: 720px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    background: var(--rxc-white);
    border: 1px solid var(--rxc-line);
    box-shadow: 0 28px 70px rgba(11, 15, 20, .10);
    overflow: hidden;
}

.rxc-visual {
    position: relative;
    min-height: 720px;
    padding: clamp(28px, 4vw, 56px);
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 70% 68%, rgba(255,255,255,.17), transparent 34%),
        linear-gradient(150deg, #161b22 0%, #0b0f14 60%, #05070a 100%);
}

.rxc-brand {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 13px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .18em;
}

.rxc-brand span {
    width: 1px;
    height: 20px;
    background: rgba(255,255,255,.55);
}

.rxc-visual-copy {
    position: relative;
    z-index: 3;
    max-width: 420px;
    margin-top: clamp(78px, 11vh, 130px);
}

.rxc-eyebrow,
.rxc-kicker {
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 11px;
    font-weight: 700;
}

.rxc-eyebrow { color: rgba(255,255,255,.68); }
.rxc-kicker { color: var(--rxc-muted); }

.rxc-visual h2 {
    margin: 0;
    max-width: 440px;
    font-weight: 400;
    font-size: clamp(36px, 4.2vw, 60px);
    line-height: 1.01;
    letter-spacing: -.035em;
}

.rxc-visual-copy > p:last-child {
    max-width: 390px;
    margin: 22px 0 0;
    color: rgba(255,255,255,.74);
    font-size: 16px;
    line-height: 1.65;
}

.rxc-car {
    position: absolute;
    z-index: 2;
    width: 122%;
    max-width: none;
    height: auto;
    left: -12%;
    bottom: 68px;
    filter: drop-shadow(0 28px 24px rgba(0,0,0,.38));
}

.rxc-location {
    position: absolute;
    z-index: 3;
    left: clamp(28px, 4vw, 56px);
    right: clamp(28px, 4vw, 56px);
    bottom: 30px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.25);
    font-size: 12px;
}

.rxc-location strong { letter-spacing: .02em; }
.rxc-location span { color: rgba(255,255,255,.62); text-align: right; }

.rxc-planner {
    position: relative;
    min-width: 0;
    padding: clamp(30px, 5vw, 66px);
    background: #fff;
}

.rxc-progress {
    display: grid;
    grid-template-columns: auto 1fr auto 1fr auto;
    align-items: center;
    gap: 12px;
    margin-bottom: clamp(34px, 6vw, 64px);
}

.rxc-progress-item {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #9aa1a9;
    white-space: nowrap;
}

.rxc-progress-item span {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid #cfd4d9;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
}

.rxc-progress-item b {
    font-size: 12px;
    font-weight: 600;
}

.rxc-progress-item.is-active,
.rxc-progress-item.is-complete { color: var(--rxc-black); }
.rxc-progress-item.is-active span { background: var(--rxc-black); color: #fff; border-color: var(--rxc-black); }
.rxc-progress-item.is-complete span { background: #fff; color: var(--rxc-black); border-color: var(--rxc-black); }
.rxc-progress-line { height: 1px; background: var(--rxc-line); }

.rxc-step-head h3,
.rxc-success h3 {
    margin: 0;
    font-weight: 400;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.12;
    letter-spacing: -.025em;
}

.rxc-step-head > p:last-child,
.rxc-success > p {
    margin: 10px 0 0;
    color: var(--rxc-muted);
    line-height: 1.6;
}

.rxc-calendar {
    margin-top: 32px;
    border: 1px solid var(--rxc-line);
}

.rxc-calendar-head {
    min-height: 64px;
    display: grid;
    grid-template-columns: 48px 1fr 48px;
    align-items: center;
    border-bottom: 1px solid var(--rxc-line);
}

.rxc-calendar-head strong {
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    text-transform: capitalize;
}

.rxc-icon-button {
    width: 48px;
    height: 48px;
    border: 0;
    background: transparent;
    font-size: 28px;
    cursor: pointer;
    color: var(--rxc-black);
}
.rxc-icon-button:disabled { opacity: .25; cursor: default; }

.rxc-weekdays,
.rxc-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.rxc-weekdays {
    padding: 13px 12px 8px;
    color: var(--rxc-muted);
    font-size: 10px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.rxc-calendar-grid { padding: 4px 12px 14px; }
.rxc-day-spacer { aspect-ratio: 1 / .78; }

.rxc-day {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 1 / .78;
    border: 0;
    background: transparent;
    color: #c0c4c9;
    font: inherit;
    font-size: 13px;
}

button.rxc-day { cursor: pointer; color: var(--rxc-black); }
button.rxc-day:hover::before,
button.rxc-day:focus-visible::before,
button.rxc-day.is-selected::before {
    content: "";
    position: absolute;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--rxc-soft);
    z-index: 0;
}
button.rxc-day.is-selected { color: #fff; font-weight: 700; }
button.rxc-day.is-selected::before { background: var(--rxc-black); }
button.rxc-day span { position: relative; z-index: 1; }
button.rxc-day::after {
    content: "";
    position: absolute;
    bottom: 5px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #222;
}
button.rxc-day.is-selected::after { background: #fff; }

.rxc-actions {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-top: 32px;
}
.rxc-actions-end { justify-content: flex-end; }

.rxc-button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 25px;
    border: 1px solid var(--rxc-black);
    border-radius: var(--rxc-radius);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: .18s ease;
}
.rxc-button-primary { background: var(--rxc-black); color: #fff; }
.rxc-button-primary:hover { background: #252b33; border-color: #252b33; color: #fff; }
.rxc-button-secondary { background: #fff; color: var(--rxc-black); }
.rxc-button-secondary:hover { background: var(--rxc-soft); }
.rxc-button:disabled { opacity: .35; cursor: not-allowed; }

.rxc-selection-summary {
    margin-top: 28px;
    padding: 18px 20px;
    background: var(--rxc-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.rxc-selection-summary span { color: var(--rxc-muted); font-size: 12px; }
.rxc-selection-summary strong { font-size: 14px; font-weight: 700; }

.rxc-slots {
    min-height: 160px;
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    align-content: start;
}

.rxc-slot {
    min-height: 52px;
    border: 1px solid var(--rxc-line);
    background: #fff;
    color: var(--rxc-black);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.rxc-slot:hover { border-color: var(--rxc-black); }
.rxc-slot.is-selected { background: var(--rxc-black); border-color: var(--rxc-black); color: #fff; }
.rxc-slots-status { grid-column: 1 / -1; color: var(--rxc-muted); line-height: 1.55; padding: 14px 0; }

.rxc-selection-summary-final {
    display: grid;
    grid-template-columns: .7fr 1.35fr .95fr;
    gap: 0;
    margin-top: 25px;
    padding: 0;
    background: var(--rxc-soft);
}
.rxc-selection-summary-final > div { padding: 17px 18px; border-right: 1px solid #dde1e5; }
.rxc-selection-summary-final > div:last-child { border-right: 0; }
.rxc-selection-summary-final span,
.rxc-selection-summary-final strong { display: block; }
.rxc-selection-summary-final strong { margin-top: 5px; }

.rxc-form-grid {
    display: grid;
    grid-template-columns: .7fr 1fr 1fr;
    gap: 18px 14px;
    margin-top: 26px;
}

.rxc-field { display: block; }
.rxc-field > span {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
}
.rxc-field em { color: var(--rxc-muted); font-weight: 400; font-style: normal; }
.rxc-field-wide { grid-column: 1 / -1; }

.rxc-field input,
.rxc-field select,
.rxc-field textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid #cfd4d9;
    border-radius: 0;
    background: #fff;
    color: var(--rxc-black);
    padding: 10px 12px;
    font: inherit;
    font-size: 14px;
    outline: none;
    box-shadow: none;
}
.rxc-field textarea { min-height: 84px; resize: vertical; }
.rxc-field input:focus,
.rxc-field select:focus,
.rxc-field textarea:focus { border-color: var(--rxc-black); }
.rxc-field [aria-invalid="true"] { border-color: #b42318; }

.rxc-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
    color: var(--rxc-muted);
    font-size: 12px;
    line-height: 1.5;
}
.rxc-check input { margin-top: 3px; accent-color: var(--rxc-black); }
.rxc-check a { color: var(--rxc-black); text-decoration: underline; }

.rxc-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

.rxc-message {
    margin-bottom: 22px;
    padding: 13px 15px;
    border: 1px solid #f2b8b5;
    background: #fff4f3;
    color: #8a1c15;
    font-size: 13px;
    line-height: 1.45;
}

.rxc-success {
    text-align: center;
    padding-top: 48px;
}
.rxc-success-icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: var(--rxc-black);
    color: #fff;
    font-size: 28px;
}
.rxc-success > p { max-width: 570px; margin-left: auto; margin-right: auto; }
.rxc-success-summary {
    max-width: 470px;
    margin: 28px auto;
    padding: 22px;
    background: var(--rxc-soft);
    font-size: 14px;
    line-height: 1.7;
}
.rxc-success .rxc-button { margin-top: 8px; }

@media (max-width: 980px) {
    .rxc-shell { padding: 0; }
    .rxc-card { grid-template-columns: 1fr; box-shadow: none; border-left: 0; border-right: 0; }
    .rxc-visual { min-height: 460px; padding: 30px; }
    .rxc-visual-copy { margin-top: 55px; max-width: 560px; }
    .rxc-visual h2 { max-width: 560px; font-size: clamp(34px, 7vw, 54px); }
    .rxc-car { width: 78%; left: auto; right: -2%; bottom: 36px; }
    .rxc-location { left: 30px; right: 30px; bottom: 22px; }
    .rxc-planner { padding: 42px 30px 56px; }
}

@media (max-width: 650px) {
    .rxc-card { min-height: 0; }
    .rxc-visual { min-height: 390px; padding: 24px 20px; }
    .rxc-brand { font-size: 11px; }
    .rxc-visual-copy { margin-top: 42px; }
    .rxc-visual h2 { max-width: 360px; font-size: 35px; }
    .rxc-visual-copy > p:last-child { max-width: 310px; margin-top: 14px; font-size: 14px; }
    .rxc-car { width: 105%; right: -30%; bottom: 46px; }
    .rxc-location { left: 20px; right: 20px; bottom: 17px; display: block; }
    .rxc-location span { display: block; margin-top: 4px; text-align: left; }
    .rxc-planner { padding: 30px 18px 42px; }
    .rxc-progress { gap: 7px; margin-bottom: 36px; }
    .rxc-progress-item { gap: 6px; }
    .rxc-progress-item b { display: none; }
    .rxc-progress-item span { width: 26px; height: 26px; }
    .rxc-step-head h3, .rxc-success h3 { font-size: 29px; }
    .rxc-calendar { margin-top: 24px; }
    .rxc-calendar-grid { padding-left: 6px; padding-right: 6px; }
    .rxc-weekdays { padding-left: 6px; padding-right: 6px; }
    .rxc-day, .rxc-day-spacer { aspect-ratio: 1 / .94; }
    button.rxc-day:hover::before, button.rxc-day:focus-visible::before, button.rxc-day.is-selected::before { width: 34px; height: 34px; }
    .rxc-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rxc-selection-summary-final { grid-template-columns: 1fr; }
    .rxc-selection-summary-final > div { border-right: 0; border-bottom: 1px solid #dde1e5; }
    .rxc-selection-summary-final > div:last-child { border-bottom: 0; }
    .rxc-form-grid { grid-template-columns: 1fr; }
    .rxc-field-small, .rxc-field-wide { grid-column: auto; }
    .rxc-actions { margin-top: 26px; }
    .rxc-actions .rxc-button { flex: 1; padding-left: 12px; padding-right: 12px; }
}


/*
 * Contentstore gebruikt een smallere inhoudskolom dan de browserviewport.
 * Daarom reageert de planner op zijn eigen gemeten breedte en niet alleen
 * op traditionele viewport-mediaqueries.
 */
.rxc-shell.rxc-is-compact {
    padding: 16px;
}

.rxc-shell.rxc-is-compact .rxc-card {
    width: 100%;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    box-shadow: 0 18px 46px rgba(11, 15, 20, .10);
}

.rxc-shell.rxc-is-compact .rxc-visual {
    min-height: 310px;
    padding: 26px 28px;
}

.rxc-shell.rxc-is-compact .rxc-visual-copy {
    max-width: 58%;
    margin-top: 44px;
}

.rxc-shell.rxc-is-compact .rxc-visual h2 {
    max-width: 360px;
    font-size: clamp(32px, 6vw, 44px);
}

.rxc-shell.rxc-is-compact .rxc-visual-copy > p:last-child {
    max-width: 310px;
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.5;
}

.rxc-shell.rxc-is-compact .rxc-car {
    width: 58%;
    left: auto;
    right: -4%;
    bottom: 42px;
}

.rxc-shell.rxc-is-compact .rxc-location {
    left: 28px;
    right: 28px;
    bottom: 18px;
}

.rxc-shell.rxc-is-compact .rxc-planner {
    min-width: 0;
    max-width: 100%;
    padding: 36px 30px 46px;
}

.rxc-shell.rxc-is-compact .rxc-progress {
    margin-bottom: 36px;
}

.rxc-shell.rxc-is-compact .rxc-step-head h3,
.rxc-shell.rxc-is-compact .rxc-success h3 {
    font-size: clamp(30px, 5.5vw, 40px);
}

.rxc-shell.rxc-is-narrow {
    padding: 10px;
}

.rxc-shell.rxc-is-narrow .rxc-visual {
    min-height: 252px;
    padding: 22px 22px;
}

.rxc-shell.rxc-is-narrow .rxc-brand {
    font-size: 11px;
}

.rxc-shell.rxc-is-narrow .rxc-visual-copy {
    max-width: 59%;
    margin-top: 38px;
}

.rxc-shell.rxc-is-narrow .rxc-visual h2 {
    max-width: 285px;
    font-size: clamp(27px, 7.2vw, 34px);
    line-height: 1.03;
}

.rxc-shell.rxc-is-narrow .rxc-visual-copy > p:last-child {
    display: none;
}

.rxc-shell.rxc-is-narrow .rxc-car {
    width: 63%;
    right: -8%;
    bottom: 36px;
}

.rxc-shell.rxc-is-narrow .rxc-location {
    left: 22px;
    right: 22px;
    bottom: 14px;
    gap: 12px;
    padding-top: 12px;
    font-size: 10px;
}

.rxc-shell.rxc-is-narrow .rxc-location strong {
    max-width: 48%;
}

.rxc-shell.rxc-is-narrow .rxc-location span {
    max-width: 50%;
}

.rxc-shell.rxc-is-narrow .rxc-planner {
    padding: 28px 22px 38px;
}

.rxc-shell.rxc-is-narrow .rxc-progress {
    gap: 8px;
    margin-bottom: 30px;
}

.rxc-shell.rxc-is-narrow .rxc-progress-item {
    gap: 6px;
}

.rxc-shell.rxc-is-narrow .rxc-progress-item span {
    width: 26px;
    height: 26px;
}

.rxc-shell.rxc-is-narrow .rxc-progress-item b {
    font-size: 11px;
}

.rxc-shell.rxc-is-narrow .rxc-step-head h3,
.rxc-shell.rxc-is-narrow .rxc-success h3 {
    font-size: 29px;
}

.rxc-shell.rxc-is-narrow .rxc-calendar {
    width: 100%;
    max-width: 100%;
    margin-top: 24px;
}

.rxc-shell.rxc-is-narrow .rxc-calendar-grid,
.rxc-shell.rxc-is-narrow .rxc-weekdays {
    padding-left: 6px;
    padding-right: 6px;
}

.rxc-shell.rxc-is-narrow .rxc-day,
.rxc-shell.rxc-is-narrow .rxc-day-spacer {
    min-width: 0;
    aspect-ratio: 1 / .92;
}

.rxc-shell.rxc-is-narrow .rxc-slots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rxc-shell.rxc-is-narrow .rxc-selection-summary-final {
    grid-template-columns: 1fr;
}

.rxc-shell.rxc-is-narrow .rxc-selection-summary-final > div {
    border-right: 0;
    border-bottom: 1px solid #dde1e5;
}

.rxc-shell.rxc-is-narrow .rxc-selection-summary-final > div:last-child {
    border-bottom: 0;
}

.rxc-shell.rxc-is-narrow .rxc-form-grid {
    grid-template-columns: 1fr;
}

.rxc-shell.rxc-is-narrow .rxc-field-small,
.rxc-shell.rxc-is-narrow .rxc-field-wide {
    grid-column: auto;
}

.rxc-shell.rxc-is-tiny {
    padding: 0;
}

.rxc-shell.rxc-is-tiny .rxc-card {
    border-left: 0;
    border-right: 0;
    box-shadow: none;
}

.rxc-shell.rxc-is-tiny .rxc-visual {
    min-height: 218px;
    padding: 20px 17px;
}

.rxc-shell.rxc-is-tiny .rxc-visual-copy {
    max-width: 62%;
    margin-top: 31px;
}

.rxc-shell.rxc-is-tiny .rxc-eyebrow {
    margin-bottom: 7px;
    font-size: 9px;
}

.rxc-shell.rxc-is-tiny .rxc-visual h2 {
    font-size: 25px;
}

.rxc-shell.rxc-is-tiny .rxc-car {
    width: 72%;
    right: -18%;
    bottom: 30px;
}

.rxc-shell.rxc-is-tiny .rxc-location {
    left: 17px;
    right: 17px;
    bottom: 11px;
}

.rxc-shell.rxc-is-tiny .rxc-location span {
    display: none;
}

.rxc-shell.rxc-is-tiny .rxc-planner {
    padding: 24px 14px 34px;
}

.rxc-shell.rxc-is-tiny .rxc-progress-item b {
    display: none;
}

.rxc-shell.rxc-is-tiny .rxc-actions .rxc-button {
    flex: 1;
    padding-left: 10px;
    padding-right: 10px;
}


/* Frontend dagplanning */
.rxc-schedule,
.rxc-schedule * {
    box-sizing: border-box;
}

.rxc-schedule {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: clamp(22px, 4vw, 44px);
    border: 1px solid var(--rxc-line);
    background: #fff;
    color: var(--rxc-ink);
    font-family: "Volvo Novum", "Volvo Centum", Arial, Helvetica, sans-serif;
    box-shadow: 0 22px 58px rgba(11, 15, 20, .08);
}

.rxc-schedule-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--rxc-line);
}

.rxc-schedule-header h2 {
    margin: 0;
    font-size: clamp(31px, 4vw, 46px);
    line-height: 1.04;
    font-weight: 400;
    letter-spacing: -.035em;
}

.rxc-schedule-header p:last-child {
    max-width: 650px;
    margin: 10px 0 0;
    color: var(--rxc-muted);
    line-height: 1.55;
}

.rxc-schedule-model {
    display: flex;
    align-items: center;
    gap: 11px;
    padding-top: 7px;
    color: var(--rxc-black);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    white-space: nowrap;
}

.rxc-schedule-model span {
    width: 1px;
    height: 18px;
    background: #aeb5bd;
}

.rxc-schedule-toolbar {
    display: grid;
    grid-template-columns: 48px minmax(180px, 280px) 48px auto;
    align-items: end;
    gap: 10px;
    margin-top: 26px;
}

.rxc-schedule-nav,
.rxc-schedule-today {
    min-height: 50px;
    border: 1px solid var(--rxc-line);
    background: #fff;
    color: var(--rxc-black);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.rxc-schedule-nav {
    font-size: 26px;
    line-height: 1;
}

.rxc-schedule-today {
    padding: 0 21px;
    border-color: var(--rxc-black);
    justify-self: start;
}

.rxc-schedule-nav:hover,
.rxc-schedule-today:hover {
    background: var(--rxc-soft);
}

.rxc-schedule-date-field {
    display: block;
}

.rxc-schedule-date-field > span {
    display: block;
    margin-bottom: 7px;
    color: var(--rxc-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.rxc-schedule-date-field input {
    width: 100%;
    min-height: 50px;
    padding: 0 13px;
    border: 1px solid var(--rxc-line);
    border-radius: 0;
    background: #fff;
    color: var(--rxc-black);
    font: inherit;
    font-size: 14px;
    box-shadow: none;
}

.rxc-schedule-message,
.rxc-schedule-closed {
    margin-top: 18px;
    padding: 13px 15px;
    border: 1px solid #e7c776;
    background: #fff9e8;
    color: #624a0e;
    font-size: 13px;
    line-height: 1.45;
}

.rxc-schedule-message {
    border-color: #f2b8b5;
    background: #fff4f3;
    color: #8a1c15;
}

.rxc-schedule-day-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-top: 34px;
    padding: 24px 0 18px;
    border-bottom: 2px solid var(--rxc-black);
}

.rxc-schedule-day-head > div:first-child span,
.rxc-schedule-day-head > div:first-child strong {
    display: block;
}

.rxc-schedule-day-head > div:first-child span {
    margin-bottom: 5px;
    color: var(--rxc-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.rxc-schedule-day-head > div:first-child strong {
    font-size: clamp(21px, 3vw, 29px);
    font-weight: 500;
    line-height: 1.18;
    text-transform: capitalize;
}

.rxc-schedule-stats {
    display: flex;
    gap: 10px;
}

.rxc-schedule-stats > div {
    min-width: 88px;
    padding: 10px 14px;
    background: var(--rxc-soft);
    text-align: center;
}

.rxc-schedule-stats strong,
.rxc-schedule-stats span {
    display: block;
}

.rxc-schedule-stats strong {
    font-size: 21px;
    line-height: 1;
}

.rxc-schedule-stats span {
    margin-top: 5px;
    color: var(--rxc-muted);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.rxc-schedule-list {
    position: relative;
}

.rxc-schedule-slot {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid var(--rxc-line);
}

.rxc-schedule-time {
    padding-top: 2px;
    color: var(--rxc-black);
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -.02em;
}

.rxc-schedule-slot-body {
    min-width: 0;
}

.rxc-schedule-slot-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.rxc-schedule-slot-title strong {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 17px;
    font-weight: 600;
}

.rxc-schedule-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 0 9px;
    border: 1px solid #cfd4d9;
    color: var(--rxc-muted);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.rxc-schedule-badge.is-booked {
    border-color: var(--rxc-black);
    background: var(--rxc-black);
    color: #fff;
}

.rxc-schedule-badge.is-free {
    border-color: #b5c8b9;
    background: #f1f7f2;
    color: #315c39;
}

.rxc-schedule-slot-sub {
    margin: 7px 0 0;
    color: var(--rxc-muted);
    font-size: 13px;
}

.rxc-schedule-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 10px;
}

.rxc-schedule-contact a {
    color: var(--rxc-black);
    font-size: 13px;
    text-decoration: underline;
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
}

.rxc-schedule-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 13px;
}

.rxc-schedule-meta span {
    padding: 6px 8px;
    background: var(--rxc-soft);
    color: #4e5864;
    font-size: 11px;
}

.rxc-schedule-meta span.is-warning {
    background: #fff1ef;
    color: #9a2a20;
}

.rxc-schedule-note {
    margin-top: 14px;
    padding: 12px 14px;
    border-left: 3px solid var(--rxc-black);
    background: #fafafa;
}

.rxc-schedule-note strong {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.rxc-schedule-note p {
    margin: 0;
    color: #4f5965;
    font-size: 13px;
    line-height: 1.5;
    white-space: pre-wrap;
}

.rxc-schedule-slot.is-available {
    background: linear-gradient(90deg, #fff 0%, #fbfcfb 100%);
}

.rxc-schedule-slot.is-past,
.rxc-schedule-slot.is-unavailable {
    opacity: .58;
}

.rxc-schedule-loading,
.rxc-schedule-empty {
    padding: 34px 0;
    color: var(--rxc-muted);
    text-align: center;
    line-height: 1.55;
}

@media (max-width: 650px) {
    .rxc-schedule {
        padding: 24px 18px 32px;
        border-left: 0;
        border-right: 0;
        box-shadow: none;
    }

    .rxc-schedule-header {
        display: block;
        padding-bottom: 22px;
    }

    .rxc-schedule-model {
        margin-top: 18px;
        padding-top: 0;
    }

    .rxc-schedule-toolbar {
        grid-template-columns: 46px minmax(0, 1fr) 46px;
    }

    .rxc-schedule-today {
        grid-column: 1 / -1;
        width: 100%;
        justify-self: stretch;
    }

    .rxc-schedule-day-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .rxc-schedule-stats {
        width: 100%;
    }

    .rxc-schedule-stats > div {
        flex: 1;
    }

    .rxc-schedule-slot {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 12px;
        padding: 17px 0;
    }

    .rxc-schedule-time {
        font-size: 19px;
    }

    .rxc-schedule-slot-title {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }
}

.rxc-schedule.rxc-schedule-is-narrow {
    padding-left: 16px;
    padding-right: 16px;
}

/* Container-brede fallback voor de smalle Contentstore-kolom op desktop. */
.rxc-schedule.rxc-schedule-is-narrow .rxc-schedule-header {
    display: block;
    padding-bottom: 22px;
}

.rxc-schedule.rxc-schedule-is-narrow .rxc-schedule-model {
    margin-top: 18px;
    padding-top: 0;
}

.rxc-schedule.rxc-schedule-is-narrow .rxc-schedule-toolbar {
    grid-template-columns: 46px minmax(0, 1fr) 46px;
}

.rxc-schedule.rxc-schedule-is-narrow .rxc-schedule-today {
    grid-column: 1 / -1;
    width: 100%;
    justify-self: stretch;
}

.rxc-schedule.rxc-schedule-is-narrow .rxc-schedule-day-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
}

.rxc-schedule.rxc-schedule-is-narrow .rxc-schedule-stats {
    width: 100%;
}

.rxc-schedule.rxc-schedule-is-narrow .rxc-schedule-stats > div {
    flex: 1;
}

.rxc-schedule.rxc-schedule-is-narrow .rxc-schedule-slot {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
    padding: 17px 0;
}

.rxc-schedule.rxc-schedule-is-narrow .rxc-schedule-time {
    font-size: 19px;
}

.rxc-schedule.rxc-schedule-is-narrow .rxc-schedule-slot-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
}


/* Publieke klantenwebsite */
.rxc-shell { padding: clamp(18px, 4vw, 56px); }
.rxc-card { max-width: 1320px; margin: 0 auto; }
.rxc-consent { display:flex; gap:12px; align-items:flex-start; font-size:14px; line-height:1.5; color:#475569; }
.rxc-consent input { width:18px; height:18px; margin:2px 0 0; flex:0 0 auto; }
.rxc-consent a { color:inherit; text-decoration:underline; text-underline-offset:2px; }
.rxc-success-summary span { color:#64748b; }
@media (max-width: 700px) {
  .rxc-shell { padding:0; }
  .rxc-card { border-left:0; border-right:0; }
}

/* ==========================================================
   Klantenwebsite v1.0.1 – brede, beeldvullende presentatie
   en bescherming tegen kleurregels uit het actieve WP-thema.
   ========================================================== */

.rxc-shell {
    /* Breek gecontroleerd uit een eventuele smalle contentcontainer. */
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    min-height: calc(100svh - 104px);
    display: flex;
    align-items: stretch;
    padding: clamp(24px, 3.1vw, 48px) clamp(24px, 4.75vw, 80px) clamp(30px, 4vw, 58px);
    overflow-x: clip;
}

.rxc-card {
    width: 100%;
    max-width: 1520px;
    min-height: max(690px, calc(100svh - 178px));
    grid-template-columns: minmax(460px, 42%) minmax(0, 58%);
    align-self: stretch;
}

.rxc-visual,
.rxc-planner {
    min-height: inherit;
}

.rxc-visual {
    padding: clamp(38px, 3.6vw, 58px);
}

.rxc-visual-copy {
    max-width: 470px;
    margin-top: clamp(84px, 11vh, 132px);
}

/* Het Reede-thema zet koppen globaal donker; deze tekst hoort wit. */
.rxc-shell .rxc-visual,
.rxc-shell .rxc-visual h2,
.rxc-shell .rxc-visual .rxc-brand,
.rxc-shell .rxc-visual .rxc-brand span,
.rxc-shell .rxc-visual .rxc-eyebrow,
.rxc-shell .rxc-visual .rxc-visual-copy > p,
.rxc-shell .rxc-visual .rxc-location,
.rxc-shell .rxc-visual .rxc-location strong,
.rxc-shell .rxc-visual .rxc-location span {
    color: #ffffff !important;
}

.rxc-shell .rxc-visual .rxc-eyebrow {
    color: rgba(255,255,255,.72) !important;
}

.rxc-shell .rxc-visual .rxc-visual-copy > p:last-child {
    color: rgba(255,255,255,.82) !important;
}

.rxc-shell .rxc-visual .rxc-location span {
    color: rgba(255,255,255,.68) !important;
}

.rxc-visual h2 {
    max-width: 500px;
    font-size: clamp(44px, 4vw, 68px);
}

.rxc-car {
    width: 118%;
    left: -9%;
    bottom: 64px;
}

.rxc-location {
    left: clamp(38px, 3.6vw, 58px);
    right: clamp(38px, 3.6vw, 58px);
    bottom: 28px;
}

.rxc-planner {
    display: flex;
    flex-direction: column;
    padding: clamp(44px, 4.5vw, 72px) clamp(44px, 5vw, 80px);
}

.rxc-shell .rxc-planner,
.rxc-shell .rxc-planner h3,
.rxc-shell .rxc-planner strong,
.rxc-shell .rxc-planner b,
.rxc-shell .rxc-planner label,
.rxc-shell .rxc-planner button,
.rxc-shell .rxc-planner input,
.rxc-shell .rxc-planner select,
.rxc-shell .rxc-planner textarea {
    color: var(--rxc-black) !important;
}

.rxc-shell .rxc-planner .rxc-step-head > p:last-child,
.rxc-shell .rxc-planner .rxc-success > p,
.rxc-shell .rxc-planner .rxc-kicker,
.rxc-shell .rxc-planner .rxc-selection-summary span,
.rxc-shell .rxc-planner .rxc-slots-status,
.rxc-shell .rxc-planner .rxc-field em {
    color: var(--rxc-muted) !important;
}

.rxc-shell .rxc-button-primary,
.rxc-shell .rxc-slot.is-selected,
.rxc-shell button.rxc-day.is-selected {
    color: #ffffff !important;
}

.rxc-shell .rxc-button-primary {
    background: var(--rxc-black) !important;
    border-color: var(--rxc-black) !important;
}

.rxc-shell .rxc-button-primary:hover {
    background: #252b33 !important;
    border-color: #252b33 !important;
}

.rxc-shell .rxc-button-primary:disabled {
    background: var(--rxc-black) !important;
    border-color: var(--rxc-black) !important;
    color: #ffffff !important;
}

.rxc-progress {
    margin-bottom: clamp(44px, 5vw, 72px);
}

.rxc-step-head {
    max-width: 720px;
}

.rxc-calendar {
    width: 100%;
    margin-top: 30px;
}

.rxc-actions {
    margin-top: 34px;
}

@media (max-width: 1180px) {
    .rxc-shell {
        min-height: 0;
        padding: 24px;
    }

    .rxc-card {
        min-height: 690px;
        grid-template-columns: minmax(390px, 41%) minmax(0, 59%);
    }

    .rxc-visual {
        padding: 38px;
    }

    .rxc-visual h2 {
        font-size: clamp(40px, 4.4vw, 56px);
    }

    .rxc-car {
        width: 126%;
        left: -14%;
    }

    .rxc-planner {
        padding: 48px 42px 54px;
    }
}

@media (max-width: 980px) {
    .rxc-shell {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding: 0;
    }

    .rxc-card {
        min-height: 0;
        grid-template-columns: 1fr;
    }

    .rxc-visual,
    .rxc-planner {
        min-height: 0;
    }

    .rxc-visual {
        min-height: 470px;
    }

    .rxc-car {
        width: 82%;
        left: auto;
        right: -3%;
        bottom: 38px;
    }
}

@media (max-width: 650px) {
    .rxc-visual {
        min-height: 405px;
    }

    .rxc-car {
        width: 108%;
        right: -31%;
        bottom: 48px;
    }
}


/* v1.0.2: afdwingen witte tekst in primaire CTA's, ook wanneer het thema button-kleuren overschrijft */
.rxc-shell .rxc-button.rxc-button-primary,
.rxc-shell button.rxc-button.rxc-button-primary,
.rxc-shell .rxc-actions .rxc-button.rxc-button-primary,
.rxc-shell .rxc-button.rxc-button-primary:link,
.rxc-shell .rxc-button.rxc-button-primary:visited,
.rxc-shell .rxc-button.rxc-button-primary:hover,
.rxc-shell .rxc-button.rxc-button-primary:focus,
.rxc-shell .rxc-button.rxc-button-primary:active,
.rxc-shell .rxc-button.rxc-button-primary[disabled],
.rxc-shell .rxc-button.rxc-button-primary:disabled {
    background: var(--rxc-black) !important;
    border-color: var(--rxc-black) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

.rxc-shell .rxc-button.rxc-button-primary:hover,
.rxc-shell button.rxc-button.rxc-button-primary:hover,
.rxc-shell .rxc-actions .rxc-button.rxc-button-primary:hover {
    background: #252b33 !important;
    border-color: #252b33 !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

.rxc-shell .rxc-button.rxc-button-primary *,
.rxc-shell button.rxc-button.rxc-button-primary * {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}
