/* Free consultation multi-step wizard — aligned to elevate-training.com
   (Teko + Ubuntu, sticky-bar red #F23621, dark band on light WP pages) */
html:has(.cf-wizard),
body:has(.cf-wizard) {
    background: #0a0a0a !important;
    color: #f2f2f2;
    color-scheme: dark;
}

.cf-wizard {
    /* production sticky CTA ≈ #F23621; deep brand for fills / progress */
    --cf-brand: #C81A20;
    --cf-brand-hot: #F23621;
    --cf-brand-hi: #E0312B;
    --cf-ink: #f2f2f2;
    --cf-muted: #9a9a9a;
    --cf-line: #2e2e2e;
    --cf-soft: #141414;
    --cf-input: #111;
    --cf-radius: 6px;
    --cf-radius-ctl: 4px;
    --cf-page: #0a0a0a;
    --cf-vv-bottom: 0px;
    max-width: 720px;
    margin: 0 auto;
    padding: 20px 16px 48px;
    color: var(--cf-ink);
    font-family: Ubuntu, system-ui, -apple-system, sans-serif;
    background:
        radial-gradient(ellipse 90% 45% at 50% -8%, rgba(242, 54, 33, 0.22), transparent 58%),
        var(--cf-page);
}

.pf-ar .cf-wizard,
.pf-ar:has(.cf-wizard) {
    font-family: Cairo, Ubuntu, system-ui, sans-serif;
}

/* Language switch sits with the brand in the intro header */
.cf-wizard .cf-intro-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 10px;
}

.cf-wizard .cf-intro-top .cf-brand {
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
}

.cf-wizard .cf-intro-top .pf-lang {
    margin: 0;
    flex: 0 0 auto;
    text-align: end;
    padding-top: 0.35em;
}

.cf-wizard .cf-intro-top .pf-lang a {
    min-height: 36px;
    padding: 0 14px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--cf-ink);
    border: 1px solid var(--cf-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}

.cf-wizard .cf-intro-top .pf-lang a:hover,
.cf-wizard .cf-intro-top .pf-lang a:focus-visible {
    border-color: var(--cf-brand-hot);
    background: rgba(242, 54, 33, 0.12);
    color: #fff;
    outline: none;
}

.pf-ar .cf-wizard .cf-intro-top .pf-lang a {
    font-family: Ubuntu, system-ui, sans-serif; /* Latin “English” label stays clear */
}

.cf-wizard .cf-intro {
    margin: 0 0 22px;
}

/* Brand-first signal (matches home hero “Elevate” in Teko) */
.cf-wizard .cf-brand {
    margin: 0 0 10px;
    font-family: Teko, Ubuntu, sans-serif;
    font-weight: 400;
    font-size: clamp(2.4rem, 8vw, 3.4rem);
    line-height: 0.95;
    letter-spacing: 0.18em;
    text-transform: none;
    color: #fff;
}

.pf-ar .cf-wizard .cf-brand {
    letter-spacing: 0.06em;
}

.cf-wizard .cf-kicker {
    margin: 0 0 8px;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cf-brand-hot);
}

.cf-wizard .cf-intro h1 {
    font-family: Teko, Ubuntu, sans-serif;
    font-weight: 400;
    font-size: clamp(1.75rem, 4.5vw, 2.35rem);
    line-height: 1.05;
    margin: 0 0 10px;
    letter-spacing: 0.04em;
    color: #fff;
}

.pf-ar .cf-wizard .cf-intro h1 {
    font-family: Cairo, Teko, sans-serif;
    font-weight: 700;
    letter-spacing: 0;
}

.cf-wizard .cf-lead,
.cf-wizard .cf-intro p {
    margin: 0 0 14px;
    color: var(--cf-muted);
    font-size: 1.02rem;
    line-height: 1.5;
    max-width: 36em;
}

.cf-wizard.cf-filling .cf-intro {
    margin-bottom: 10px;
}

.cf-wizard.cf-filling .cf-intro .cf-lead,
.cf-wizard.cf-filling .cf-intro .cf-includes {
    display: none;
}

.cf-wizard.cf-filling .cf-intro-top {
    margin-bottom: 4px;
}

.cf-wizard.cf-filling .cf-brand {
    font-size: clamp(1.6rem, 5vw, 2rem);
    margin-bottom: 4px;
    letter-spacing: 0.14em;
}

.cf-wizard.cf-filling .cf-intro-top .pf-lang a {
    min-height: 32px;
    padding: 0 12px;
    font-size: 0.78rem;
}

.cf-wizard.cf-filling .cf-intro h1 {
    font-size: clamp(1.35rem, 3.5vw, 1.7rem);
}

.cf-wizard.cf-filling .cf-step-title {
    /* step name already in .cf-step-meta */
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.cf-wizard.cf-complete {
    background: var(--cf-page);
}

.cf-wizard.cf-complete .cf-intro {
    text-align: center;
    margin-bottom: 8px;
}

.cf-wizard.cf-complete .cf-intro h1 {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    color: #fff;
}

/* Success */
.cf-wizard .cf-done {
    padding: 8px 4px 24px;
    text-align: center;
}

.cf-wizard .cf-done-mark {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: rgba(200, 26, 32, 0.18);
    border: 1px solid rgba(200, 26, 32, 0.55);
    color: var(--cf-brand-hot);
    font-size: 1.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: cfPop 0.35s ease;
}

@keyframes cfPop {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.cf-wizard .cf-done-kicker {
    margin: 0 0 4px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cf-brand-hot);
}

.cf-wizard .cf-done-title {
    margin: 0 0 10px;
    font-family: Teko, Ubuntu, sans-serif;
    font-weight: 500;
    font-size: clamp(1.7rem, 4vw, 2.1rem);
    letter-spacing: 0.02em;
    color: #fff;
    line-height: 1.1;
}

.pf-ar .cf-wizard .cf-done-title {
    font-family: Cairo, sans-serif;
    font-weight: 700;
}

.cf-wizard .cf-done-when {
    margin: 0 auto 10px;
    display: inline-block;
    padding: 8px 14px;
    border-radius: var(--cf-radius-ctl);
    background: #1a1212;
    border: 1px solid #4a2222;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 500;
}

.cf-wizard .cf-done-msg {
    margin: 0 auto 8px;
    max-width: 34em;
    color: var(--cf-muted);
    font-size: 0.98rem;
    line-height: 1.5;
}

.cf-wizard .cf-venue-note {
    margin: -4px 0 16px;
    padding: 12px 14px;
    background: #1a1410;
    border: 1px solid #3a2a18;
    border-radius: 10px;
    color: #f0e6d8;
    font-size: 0.92rem;
    line-height: 1.45;
}

.cf-wizard .cf-venue-note a {
    display: inline-block;
    margin-top: 6px;
    color: #ffb4b4;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cf-wizard .cf-venue-note a:hover {
    color: #fff;
}

.cf-wizard .cf-venue {
    margin: 22px auto 0;
    max-width: 440px;
    padding: 20px 18px 22px;
    text-align: start;
    background: linear-gradient(180deg, #1a1212 0%, var(--cf-soft) 100%);
    border: 1px solid #3a2222;
    border-radius: var(--cf-radius);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.cf-wizard .cf-venue-title {
    margin: 0 0 10px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--cf-brand-hot);
}

.cf-wizard .cf-venue-name {
    margin: 0 0 4px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
}

.cf-wizard .cf-venue-address {
    margin: 0 0 12px;
    color: var(--cf-muted);
    font-size: 0.95rem;
    line-height: 1.4;
}

.cf-wizard .cf-venue-help {
    margin: 0 0 16px;
    color: #ddd;
    font-size: 0.92rem;
    line-height: 1.45;
}

.cf-wizard .cf-venue-map {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 18px;
    border-radius: var(--cf-radius-ctl);
    background: var(--cf-brand-hot);
    color: #fff !important;
    font-weight: 500;
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none !important;
    box-sizing: border-box;
    transition: background 0.15s ease, transform 0.12s ease;
}

.cf-wizard .cf-venue-map:hover {
    background: var(--cf-brand-hi);
    color: #fff !important;
}

.cf-wizard .cf-next-steps {
    margin: 22px auto 0;
    max-width: 440px;
    padding: 0;
    list-style: none;
    text-align: start;
    counter-reset: cfnext;
}

.cf-wizard .cf-next-steps li {
    position: relative;
    padding: 10px 0 10px 2.4em;
    border-top: 1px solid var(--cf-line);
    color: #ddd;
    font-size: 0.92rem;
    line-height: 1.4;
    counter-increment: cfnext;
}

.cf-wizard .cf-next-steps li:first-child {
    border-top: 0;
}

.cf-wizard .cf-next-steps li::before {
    content: counter(cfnext);
    position: absolute;
    left: 0;
    top: 10px;
    width: 1.6em;
    height: 1.6em;
    border-radius: 50%;
    background: #241414;
    border: 1px solid #4a2222;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pf-ar .cf-wizard .cf-next-steps li {
    padding: 10px 2.4em 10px 0;
}

.pf-ar .cf-wizard .cf-next-steps li::before {
    left: auto;
    right: 0;
}

.cf-wizard .cf-hint {
    display: block;
    margin-top: 6px;
    font-size: 0.78rem;
    color: var(--cf-muted);
}

.cf-wizard .cf-opt {
    display: inline-block;
    margin-inline-start: 6px;
    padding: 2px 7px;
    border-radius: var(--cf-radius-ctl);
    border: 1px solid var(--cf-line);
    background: transparent;
    color: var(--cf-muted);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    vertical-align: middle;
}

.cf-wizard .cf-includes {
    border: 0;
    margin: 0;
    padding: 0;
}

.cf-wizard .cf-includes summary {
    cursor: pointer;
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #fff;
    min-height: 40px;
}

.cf-wizard .cf-includes summary::-webkit-details-marker {
    display: none;
}

.cf-wizard .cf-includes summary::after {
    content: "";
    width: 0.45em;
    height: 0.45em;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: -4px;
    opacity: 0.7;
}

.cf-wizard .cf-includes[open] summary::after {
    transform: rotate(-135deg);
    margin-top: 2px;
}

.cf-wizard .cf-includes ul {
    margin: 10px 0 0;
    padding: 14px 14px 14px 1.5em;
    background: var(--cf-soft);
    border: 1px solid var(--cf-line);
    border-radius: var(--cf-radius);
    color: var(--cf-muted);
    font-size: 0.9rem;
}

.cf-wizard .cf-includes li + li {
    margin-top: 6px;
}

/* Sticky numbered stepper */
.cf-progress-wrap {
    position: sticky;
    top: 0;
    z-index: 20;
    margin: 0 0 8px;
    padding: 10px 0 14px;
    background: linear-gradient(180deg, var(--cf-page) 70%, transparent);
}

.cf-wizard .cf-step-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin: 0 0 12px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--cf-muted);
}

.cf-wizard .cf-step-meta .cf-step-now {
    color: #fff;
}

.cf-wizard .cf-progress {
    display: flex;
    align-items: flex-start;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cf-wizard .cf-progress li {
    flex: 1;
    position: relative;
    text-align: center;
    color: var(--cf-muted);
    font-size: 0.72rem;
    font-weight: 600;
    min-width: 0;
}

.cf-wizard .cf-progress li::after {
    content: "";
    position: absolute;
    top: 16px;
    left: calc(50% + 18px);
    right: calc(-50% + 18px);
    height: 2px;
    background: var(--cf-line);
    z-index: 0;
}

.cf-wizard .cf-progress li:last-child::after {
    display: none;
}

.cf-wizard .cf-progress li.is-done::after,
.cf-wizard .cf-progress li.is-current::after {
    background: var(--cf-brand);
}

.cf-wizard .cf-progress .cf-n {
    position: relative;
    z-index: 1;
    width: 32px;
    height: 32px;
    margin: 0 auto 8px;
    border-radius: 50%;
    border: 1px solid var(--cf-line);
    background: var(--cf-soft);
    color: var(--cf-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.cf-wizard .cf-progress .cf-label {
    display: block;
    line-height: 1.25;
    padding: 0 2px;
    color: inherit;
}

.cf-wizard .cf-progress li.is-current {
    color: #fff;
}

.cf-wizard .cf-progress li.is-current .cf-n {
    background: var(--cf-brand-hot);
    border-color: var(--cf-brand-hot);
    color: #fff;
    transform: scale(1.06);
    box-shadow: 0 0 0 4px rgba(242, 54, 33, 0.22);
}

.cf-wizard .cf-progress li.is-done {
    color: #e8e8e8;
}

.cf-wizard .cf-progress li.is-done .cf-n {
    background: #2a1818;
    border-color: var(--cf-brand);
    color: var(--cf-brand-hot);
    font-size: 0;
}

.cf-wizard .cf-progress li.is-done .cf-n::before {
    content: "✓";
    font-size: 0.95rem;
    font-weight: 700;
}

.cf-wizard .cf-step[hidden] {
    display: none !important;
}

.cf-wizard .cf-step.is-enter {
    animation: cfStepIn 0.22s ease;
}

@keyframes cfStepIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .cf-wizard .cf-step.is-enter,
    .cf-wizard .cf-done-mark {
        animation: none;
    }
    .cf-wizard .cf-progress .cf-n {
        transition: none;
    }
}

.cf-wizard .cf-step-title {
    font-family: Teko, Ubuntu, sans-serif;
    font-size: clamp(1.35rem, 3vw, 1.6rem);
    font-weight: 500;
    letter-spacing: 0.03em;
    margin: 4px 0 16px;
    color: #fff;
}

.pf-ar .cf-wizard .cf-step-title {
    font-family: Cairo, sans-serif;
    font-weight: 700;
    letter-spacing: 0;
}

.cf-wizard .cf-review-note {
    margin: -4px 0 14px;
    padding: 12px 14px;
    background: #1a1410;
    border: 1px solid #3a2a18;
    border-radius: 10px;
    color: #f0e6d8;
    font-size: 0.92rem;
    line-height: 1.4;
}

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

.cf-wizard .form-group > label {
    display: block;
    width: 100%;
    margin: 0;
    font-weight: 600;
    font-size: 0.92rem;
    color: #e8e8e8;
}

.cf-wizard .form-group > label > b {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #fff;
}

.cf-wizard .form-control,
.cf-wizard .bootstrap-select > .dropdown-toggle {
    min-height: 48px !important;
    border-radius: var(--cf-radius-ctl) !important;
    border: 1px solid #3a3a3a !important;
    background: var(--cf-input) !important;
    color: #fff !important;
    font-size: 1rem;
    font-family: Ubuntu, sans-serif;
    box-shadow: none !important;
}

.cf-wizard .form-control::placeholder {
    color: #6b6b6b;
}

.cf-wizard .form-control:focus {
    border-color: var(--cf-brand-hot) !important;
    box-shadow: 0 0 0 3px rgba(242, 54, 33, 0.28) !important;
    outline: 0;
}

.cf-wizard .bootstrap-select > .dropdown-toggle:focus,
.cf-wizard .bootstrap-select > .dropdown-toggle:hover {
    border-color: var(--cf-brand) !important;
    background: var(--cf-input) !important;
    color: #fff !important;
}

.cf-wizard .bootstrap-select .dropdown-menu {
    background: #161616;
    border: 1px solid var(--cf-line);
}

.cf-wizard .bootstrap-select .dropdown-menu li a {
    color: #e8e8e8;
}

.cf-wizard .bootstrap-select .dropdown-menu li a:hover,
.cf-wizard .bootstrap-select .dropdown-menu li.selected a {
    background: #241414;
    color: #fff;
}

.cf-wizard .bootstrap-select .filter-option-inner-inner {
    color: #fff;
}

.cf-wizard .pf-coach {
    margin: 8px 0 0;
    font-size: 0.9rem;
    color: var(--cf-muted);
}

.cf-wizard .cf-browse-coaches,
.cf-wizard .cf-branch-hint {
    margin: 8px 0 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cf-wizard .cf-browse-coaches a,
.cf-wizard .cf-branch-hint a {
    color: #e8c4c4;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cf-wizard .cf-browse-coaches a:hover,
.cf-wizard .cf-branch-hint a:hover {
    color: #fff;
}

.cf-wizard .cf-branch-hint[hidden] {
    display: none !important;
}

.cf-wizard .bootstrap-select .dropdown-menu {
    max-height: 280px;
}

.cf-wizard .pf-consent,
.cf-wizard .pf-consent .pf-check,
.cf-wizard .pf-consent .pf-privacy {
    color: var(--cf-muted);
}

.cf-wizard .pf-consent .pf-privacy {
    color: #ddd;
}

.cf-wizard .cf-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    margin-top: 22px;
    padding: 14px 0 calc(14px + env(safe-area-inset-bottom, 0px) + var(--cf-vv-bottom, 0px));
    border-top: 1px solid var(--cf-line);
    position: sticky;
    bottom: 0;
    z-index: 25;
    background: linear-gradient(0deg, var(--cf-page) 72%, transparent);
}

.cf-wizard .cf-nav-end {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-inline-start: auto;
}

/* Rectangular CTAs like site sticky “BOOK A CONSULTATION” */
.cf-wizard .cf-btn {
    appearance: none;
    border: 0;
    border-radius: var(--cf-radius-ctl);
    min-height: 50px;
    padding: 0 24px;
    font-family: Ubuntu, sans-serif;
    font-weight: 500;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.2s ease, transform 0.12s ease;
}

.cf-wizard .cf-btn-primary {
    background: var(--cf-brand-hot);
    color: #fff;
    box-shadow: 0 0 0 0 rgba(242, 54, 33, 0.35);
}

.cf-wizard .cf-btn-primary:hover,
.cf-wizard .cf-btn-primary:focus {
    background: var(--cf-brand-hi);
    color: #fff;
    box-shadow: 0 0 24px rgba(242, 54, 33, 0.35);
}

.cf-wizard .cf-btn-primary:active {
    transform: scale(0.985);
}

.cf-wizard .cf-btn-ghost {
    background: transparent;
    color: #fff;
    border: 1px solid #3a3a3a;
    letter-spacing: 0.08em;
}

.cf-wizard .cf-btn-ghost:hover,
.cf-wizard .cf-btn-ghost:focus {
    border-color: #666;
    background: var(--cf-soft);
}

.pf-ar .cf-wizard .cf-btn {
    letter-spacing: 0;
    text-transform: none;
    font-weight: 700;
    font-size: 0.95rem;
    font-family: Cairo, Ubuntu, sans-serif;
}

.cf-wizard .cf-btn[hidden] {
    display: none !important;
}

.cf-wizard .cf-review {
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
    border: 1px solid var(--cf-line);
    border-radius: var(--cf-radius);
    overflow: hidden;
    background: var(--cf-soft);
}

.cf-wizard .cf-review li {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
    align-items: start;
    padding: 12px 14px;
    border-top: 1px solid var(--cf-line);
    font-size: 0.92rem;
}

.cf-wizard .cf-review li:first-child {
    border-top: 0;
}

.cf-wizard .cf-review .cf-k {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--cf-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 2px;
}

.cf-wizard .cf-review .cf-v {
    color: #fff;
    word-break: break-word;
}

.cf-wizard .cf-review .cf-edit {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--cf-brand-hot);
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
}

.cf-wizard .text-danger {
    color: var(--cf-brand-hot) !important;
}

.cf-wizard .alert,
.cf-wizard .referral-banner {
    background: #1a1410;
    border: 1px solid #3a2a18;
    color: #f0e6d8;
    border-radius: 10px;
}

.pf-ar .cf-wizard .cf-includes ul {
    padding: 14px 1.5em 14px 14px;
}

/* Date / time pickers opened from the dark form */
body:has(.cf-wizard) .daterangepicker {
    background: #161616;
    border: 1px solid #2a2a2a;
    color: #f2f2f2;
}
body:has(.cf-wizard) .daterangepicker .calendar-table {
    background: #161616;
    border-color: #2a2a2a;
}
body:has(.cf-wizard) .daterangepicker td.off,
body:has(.cf-wizard) .daterangepicker td.off.in-range,
body:has(.cf-wizard) .daterangepicker td.off.start-date,
body:has(.cf-wizard) .daterangepicker td.off.end-date {
    background: #121212;
    color: #555;
}
body:has(.cf-wizard) .daterangepicker td.available:hover,
body:has(.cf-wizard) .daterangepicker th.available:hover {
    background: #241414;
    color: #fff;
}
body:has(.cf-wizard) .daterangepicker td.active,
body:has(.cf-wizard) .daterangepicker td.active:hover {
    background: #F23621;
    color: #fff;
}
body:has(.cf-wizard) .daterangepicker select.monthselect,
body:has(.cf-wizard) .daterangepicker select.yearselect,
body:has(.cf-wizard) .daterangepicker .calendar-time select {
    background: #121212;
    color: #fff;
    border: 1px solid #2a2a2a;
}

/* RTL: connector still runs between circles */
.pf-ar .cf-wizard .cf-progress li::after {
    left: calc(-50% + 18px);
    right: calc(50% + 18px);
}

/* WP iframe embed: keep document scrollable so sticky CTA works */
html:has(.cf-wizard.cf-embed),
body:has(.cf-wizard.cf-embed) {
    height: 100%;
    overflow-y: auto;
}

.cf-wizard.cf-embed {
    min-height: min(100%, 100dvh);
    padding-bottom: 28px;
}

.cf-wizard.cf-embed .cf-nav {
    bottom: var(--cf-vv-bottom, 0px);
}

@media (max-width: 575px) {
    .cf-wizard {
        padding: 12px 12px 36px;
    }

    .cf-wizard .cf-progress-wrap {
        position: static;
        padding-bottom: 8px;
    }

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

    .cf-wizard .cf-progress li.is-current .cf-label {
        position: static;
        width: auto;
        height: auto;
        margin: 4px 0 0;
        padding: 0 2px;
        overflow: visible;
        clip: auto;
        white-space: normal;
        font-size: 0.62rem;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    .cf-wizard .cf-nav {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 8px;
        margin-left: -12px;
        margin-right: -12px;
        padding-left: 12px;
        padding-right: 12px;
        background: var(--cf-page);
        box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.45);
    }

    .cf-wizard .cf-nav-end {
        margin-inline-start: 0;
        flex: 1 1 auto;
        min-width: 0;
    }

    .cf-wizard .cf-btn-ghost {
        flex: 0 0 auto;
        width: auto;
        min-width: 72px;
        padding: 0 14px;
        letter-spacing: 0.06em;
        font-size: 0.75rem;
    }

    .cf-wizard .cf-btn-primary {
        width: 100%;
        font-size: 0.78rem;
        letter-spacing: 0.1em;
    }

    .cf-wizard .cf-venue,
    .cf-wizard .cf-next-steps {
        max-width: none;
    }
}
