:root {
    --scheduler-primary: #0c5ea4;
    --scheduler-secondary: #278ef5;
    --scheduler-ink: #12233b;
    --scheduler-muted: #68768a;
    --scheduler-line: #dce6f0;
    --scheduler-soft: #f4f8fc;
    --scheduler-white: #fff
}

* {
    box-sizing: border-box
}

.scheduler-page {
    min-height: 100vh;
    background: radial-gradient(circle at 10% 10%, rgba(39, 142, 245, .13), transparent 28%), linear-gradient(135deg, #f7fbff, #eef5fb);
    color: var(--scheduler-ink);
    font-family: Arial, sans-serif
}

.scheduler-intro {
    max-width: 760px
}

.scheduler-eyebrow,
.step-kicker {
    display: inline-block;
    color: var(--scheduler-primary);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase
}

.scheduler-intro h1 {
    margin: .7rem 0 1rem;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 750;
    letter-spacing: -.035em
}

.scheduler-intro p,
.step-copy {
    color: var(--scheduler-muted);
    font-size: 1.05rem
}

.scheduler-shell {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    max-width: 1180px;
    min-height: 690px;
    margin: auto;
    overflow: hidden;
    border: 1px solid rgba(12, 94, 164, .1);
    border-radius: 24px;
    background: var(--scheduler-white);
    box-shadow: 0 25px 70px rgba(28, 67, 105, .14);
    scroll-margin-top: 110px
}

.scheduler-steps {
    display: flex;
    flex-direction: column;
    padding: 36px 30px;
    background: linear-gradient(160deg, #073e6f, #0c5ea4 65%, #278ef5);
    color: #fff
}

.scheduler-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, .18)
}

.scheduler-brand small,
.scheduler-brand strong {
    display: block
}

.scheduler-brand small {
    opacity: .72
}

.brand-mark {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, .14);
    font-size: 1.2rem
}

.scheduler-steps ol {
    --scheduler-step-circle: 37px;
    --scheduler-step-row-padding: 12px;
    padding: 25px 0;
    margin: 0;
    list-style: none
}

.scheduler-steps li {
    position: relative;
    display: flex;
    gap: 14px;
    min-height: calc(var(--scheduler-step-circle) + (var(--scheduler-step-row-padding) * 2));
    align-items: flex-start;
    padding: var(--scheduler-step-row-padding) 0;
    color: rgba(255, 255, 255, .64)
}

.scheduler-steps li:not(:last-child)::after {
    position: absolute;
    z-index: 0;
    left: calc(var(--scheduler-step-circle) / 2);
    top: calc(var(--scheduler-step-row-padding) + var(--scheduler-step-circle));
    bottom: calc(-1 * var(--scheduler-step-row-padding));
    width: 1px;
    background: rgba(255, 255, 255, .2);
    content: ""
}

.scheduler-steps li>span {
    position: relative;
    z-index: 1;
    display: grid;
    width: var(--scheduler-step-circle);
    height: var(--scheduler-step-circle);
    flex: 0 0 var(--scheduler-step-circle);
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    font-weight: 700
}

.scheduler-steps li>div {
    min-width: 0;
    padding-top: 1px
}

.scheduler-steps li strong,
.scheduler-steps li small {
    display: block
}

.scheduler-steps li small {
    font-size: .78rem;
    opacity: .76
}

.scheduler-steps li.active,
.scheduler-steps li.complete {
    color: #fff
}

.scheduler-steps li.active>span {
    border-color: #fff;
    background: #fff;
    color: var(--scheduler-primary);
    box-shadow: 0 0 0 5px rgba(255, 255, 255, .1)
}

.scheduler-steps li.complete>span {
    border-color: #7ad2ff;
    background: #7ad2ff;
    color: #073e6f
}

.scheduler-help {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .18);
    font-size: .78rem;
    color: rgba(255, 255, 255, .76)
}

.scheduler-help p {
    margin: 0;
    color: #e4eefc;

}

.scheduler-help strong {
    color: #fff
}

.scheduler-help i {
    margin-top: 10px;
    font-size: 1.2rem;
}

.scheduler-content {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 48px 54px
}

.scheduler-mobile-progress {
    display: none
}

.scheduler-panel {
    display: none;
    animation: panelIn .28s ease
}

.scheduler-panel.active {
    display: block
}

@keyframes panelIn {
    from {
        opacity: 0;
        transform: translateY(8px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.scheduler-panel h2 {
    margin: .5rem 0 .6rem;
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    font-weight: 750;
    letter-spacing: -.025em
}

.choice-grid {
    display: grid;
    gap: 14px;
    margin-top: 28px
}

.service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
}

.method-grid {
    grid-template-columns: 1fr;
    margin-top: 22px
}

.addon-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 14px 0 24px;
}

.addon-card {
    position: relative;
    display: flex;
    min-height: 132px;
    flex-direction: column;
    padding: 20px;
    border: 1px solid var(--scheduler-line);
    border-radius: 15px;
    background: #fff;
    transition: .2s ease;
}

.addon-card strong { margin-bottom: 5px; }
.addon-card small { color: var(--scheduler-muted); line-height: 1.45; }
.addon-card-selectable { cursor: pointer; }
.addon-card-selectable:hover { border-color: rgba(39, 142, 245, .55); box-shadow: 0 12px 25px rgba(25, 85, 140, .09); }
.addon-card-selectable > input { position: absolute; opacity: 0; pointer-events: none; }
.addon-card-selectable:has(input:checked) { border-color: var(--scheduler-secondary); background: #f1f8ff; box-shadow: 0 0 0 3px rgba(39, 142, 245, .12); }
.addon-card-check { display: grid; width: 34px; height: 34px; margin-bottom: 12px; place-items: center; border-radius: 10px; background: var(--scheduler-soft); color: transparent; }
.addon-card-selectable:has(input:checked) .addon-card-check { background: var(--scheduler-secondary); color: #fff; }
.addon-card-quantity label { margin-top: auto; padding-top: 12px; color: var(--scheduler-muted); font-size: .78rem; font-weight: 700; }
.addon-card-quantity input { margin-top: 5px; min-height: 44px; }

.choice-card {
    position: relative;
    display: flex;
    min-height: 142px;
    cursor: pointer;
    flex-direction: column;
    padding: 20px;
    border: 1px solid var(--scheduler-line);
    border-radius: 15px;
    background: #fff;
    transition: .2s ease
}

.choice-card:hover {
    transform: translateY(-2px);
    border-color: rgba(39, 142, 245, .55);
    box-shadow: 0 12px 25px rgba(25, 85, 140, .09)
}

.choice-card:has(input:checked) {
    border-color: var(--scheduler-secondary);
    background: #f1f8ff;
    box-shadow: 0 0 0 3px rgba(39, 142, 245, .12)
}

.choice-card input {
    position: absolute;
    opacity: 0
}

.choice-icon {
    display: grid;
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
    place-items: center;
    border-radius: 12px;
    background: #e8f3ff;
    color: var(--scheduler-primary);
    font-size: 1.1rem
}

.choice-card strong {
    margin-bottom: 5px
}

.choice-card small {
    color: var(--scheduler-muted);
    line-height: 1.45
}

.scheduler-page .form-label {
    margin-bottom: 8px;
    color: var(--scheduler-ink);
    font-weight: 700
}

.scheduler-page .form-label span {
    color: var(--scheduler-muted);
    font-weight: 400
}

.scheduler-page .scheduler-input {
    appearance: none;
    color-scheme: light;
    min-height: 52px;
    border: 1px solid var(--scheduler-line);
    border-radius: 10px;
    padding: 12px 14px;
    background-color: var(--scheduler-white);
    color: var(--scheduler-ink);
    font-family: inherit;
    line-height: 1.5
}

.scheduler-page select.scheduler-input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.scheduler-page .scheduler-input::placeholder {
    color: #7b8899;
    opacity: 1
}

.scheduler-page .scheduler-input:focus {
    border-color: var(--scheduler-secondary);
    background-color: var(--scheduler-white);
    color: var(--scheduler-ink);
    box-shadow: 0 0 0 3px rgba(39, 142, 245, .13)
}

.scheduler-page .scheduler-input:disabled,
.scheduler-page .scheduler-input[readonly] {
    border-color: var(--scheduler-line);
    background-color: var(--scheduler-soft);
    color: var(--scheduler-muted);
    opacity: 1
}

.scheduler-page .scheduler-input:-webkit-autofill,
.scheduler-page .scheduler-input:-webkit-autofill:hover,
.scheduler-page .scheduler-input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--scheduler-ink);
    -webkit-box-shadow: 0 0 0 1000px var(--scheduler-white) inset;
    caret-color: var(--scheduler-ink);
    transition: background-color 9999s ease-out 0s
}

.scheduler-page select.scheduler-input option {
    background-color: var(--scheduler-white);
    color: var(--scheduler-ink)
}

.scheduler-page textarea.scheduler-input {
    min-height: 125px
}

.scheduler-note {
    display: flex;
    gap: 12px;
    padding: 16px;
    border-radius: 12px;
    background: var(--scheduler-soft);
    color: var(--scheduler-muted)
}

.scheduler-note i {
    color: var(--scheduler-primary)
}

.scheduler-note strong,
.scheduler-note span {
    display: block
}

.scheduler-note strong {
    color: var(--scheduler-ink)
}

.review-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 28px 0
}

.review-item {
    padding: 17px;
    border: 1px solid var(--scheduler-line);
    border-radius: 12px
}

.review-pricing h3 {
    margin: 0 0 12px;
    font-size: 1rem;
}

.review-price-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 0;
    border-bottom: 1px solid var(--scheduler-line);
}

.review-price-line div {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.review-price-line small {
    color: var(--scheduler-muted);
}

.review-price-line.subtotal {
    margin-top: 4px;
}

.review-price-line.total {
    padding-top: 14px;
    border-bottom: 0;
    color: var(--scheduler-primary);
    font-size: 1.08rem;
}

.review-item small,
.review-item strong {
    display: block
}

.review-item small {
    margin-bottom: 5px;
    color: var(--scheduler-muted)
}

.review-item.wide {
    grid-column: 1/-1
}

.consent-row {
    display: flex;
    gap: 10px;
    color: var(--scheduler-muted);
    font-size: .9rem
}

.consent-row input {
    accent-color: var(--scheduler-primary);

}

.consent-row input[type="checkbox"] {
    transform: scale(2);
    margin-right: 15px;
    margin-left: 8px;
}

.scheduler-address-match {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    margin: .15rem 0 0;
    color: var(--scheduler-text);
    font-weight: 500;
    line-height: 1.4;
    cursor: pointer;
}

.scheduler-address-match input[type="checkbox"] {
    flex: 0 0 auto;
    width: 1.15rem;
    height: 1.15rem;
    margin: 0;
    accent-color: var(--scheduler-primary);
    cursor: pointer;
}

.scheduler-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: auto;
    padding-top: 32px
}

.btn-back,
.btn-next {
    border: 0;
    border-radius: 10px;
    padding: 13px 22px;
    font-weight: 700
}

.btn-back {
    background: transparent;
    color: var(--scheduler-muted)
}

.btn-next {
    margin-left: auto;
    background: linear-gradient(90deg, var(--scheduler-primary), var(--scheduler-secondary));
    color: #fff;
    box-shadow: 0 9px 20px rgba(12, 94, 164, .22)
}

.validation-message {
    color: #bd2f3b;
    font-size: .85rem
}

.scheduler-success {
    margin: auto;
    text-align: center;
    max-width: 590px
}

.scheduler-success>span {
    display: grid;
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    place-items: center;
    border-radius: 50%;
    background: #e3f7ee;
    color: #16845a;
    font-size: 1.6rem
}

.scheduler-success p {
    color: var(--scheduler-muted)
}

@media(max-width:991px) {
    .scheduler-shell {
        grid-template-columns: 1fr;
        min-height: 720px
    }

    .scheduler-steps {
        display: none
    }

    .scheduler-content {
        padding: 35px
    }

    .scheduler-mobile-progress {
        display: block;
        margin-bottom: 28px;
        color: var(--scheduler-muted);
        font-size: .82rem
    }

    .scheduler-mobile-progress .progress {
        height: 5px;
        margin-top: 8px
    }

    .scheduler-mobile-progress .progress-bar {
        background: linear-gradient(90deg, var(--scheduler-primary), var(--scheduler-secondary))
    }
}

@media(max-width:767px) {
    .scheduler-content {
        padding: 28px 20px
    }

    .service-grid,
    .method-grid,
    .addon-grid,
    .review-summary {
        grid-template-columns: 1fr
    }

    .choice-card {
        min-height: 0
    }

    .scheduler-actions {
        flex-wrap: wrap
    }

    .validation-message {
        width: 100%;
        order: -1
    }

    .btn-next {
        margin-left: auto
    }
}
