.section-booking {
    color: #fff;
}

.section-booking .booking-home-wrapper {
    width: 100%;
    max-width: none;
    min-height: 100vh;
    padding: clamp(82px, 9vh, 118px) clamp(20px, 5vw, 88px) 132px;
}

.booking-home-shell {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.booking-home-title {
    width: 100%;
    margin-bottom: 32px;
}

.booking-home-title .display-title {
    margin-bottom: 14px;
}

.booking-home-intro {
    width: min(800px, 100%);
    margin: 0 auto;
    color: rgba(255, 255, 255, .82);
    font-size: 1.02rem;
    line-height: 1.65;
}

.booking-home-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(285px, .78fr);
    gap: 26px;
    align-items: start;
}

.booking-home-card,
.booking-home-summary {
    color: #fff;
    background: linear-gradient(145deg, rgba(10, 29, 42, .92), rgba(7, 21, 31, .86));
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 4px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .30);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.booking-home-card {
    padding: clamp(25px, 4vw, 48px);
}

.booking-home-summary {
    padding: 30px;
}

.booking-home-card h3,
.booking-home-summary h3,
.booking-home-summary h4,
.section-booking legend {
    color: #fff;
    font-family: inherit;
    font-weight: 650;
    line-height: 1.25;
}

.booking-home-card > h3,
.booking-home-summary > h3 {
    margin: 0 0 24px;
    font-size: clamp(1.55rem, 3vw, 2.05rem);
}

.booking-home-summary h4 {
    margin: 24px 0 10px;
    font-size: 1.08rem;
}

.section-booking fieldset {
    margin: 0 0 28px;
    padding: 0;
    border: 0;
}

.section-booking legend {
    width: 100%;
    margin-bottom: 14px;
    font-size: 1.2rem;
}

.section-booking label {
    display: block;
    margin: 0 0 7px;
    color: #fff;
    font-weight: 700;
}

.section-booking select,
.section-booking input {
    width: 100%;
    min-height: 50px;
    padding: 10px 12px;
    color: #17232c;
    background: rgba(255, 255, 255, .97);
    border: 1px solid rgba(255, 255, 255, .70);
    border-radius: 2px;
    font: inherit;
}

.section-booking select:focus,
.section-booking input:focus {
    border-color: #fff;
    outline: 3px solid rgba(255, 255, 255, .28);
    outline-offset: 2px;
}

.section-booking .field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.section-booking #booking-details[hidden] {
    display: none !important;
}

.section-booking .lawyer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.section-booking .lawyer-option {
    position: relative;
}

.section-booking .lawyer-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    min-height: 0;
    margin: 0;
    opacity: 0;
    overflow: hidden;
    clip-path: inset(50%);
}

.section-booking .lawyer-option label {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    margin: 0;
    padding: 14px 16px;
    color: #fff;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .50);
    border-radius: 2px;
    text-align: center;
    overflow-wrap: anywhere;
    cursor: pointer;
}

.section-booking .lawyer-option label:hover {
    background: rgba(255, 255, 255, .14);
    border-color: #fff;
}

.section-booking .lawyer-option input:checked + label {
    color: #07151f;
    background: #fff;
    border-color: #fff;
}

.section-booking .lawyer-option input:focus-visible + label {
    outline: 3px solid #f5b642;
    outline-offset: 3px;
}

.section-booking .slot-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(72px, 1fr));
    gap: 10px;
}

.section-booking .slot-option {
    position: relative;
}

.section-booking .slot-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.section-booking .slot-option label {
    min-height: 48px;
    margin: 0;
    padding: 11px 8px;
    color: #fff;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .50);
    border-radius: 2px;
    text-align: center;
    cursor: pointer;
}

.section-booking .slot-option label:hover {
    background: rgba(255, 255, 255, .14);
    border-color: #fff;
}

.section-booking .slot-option input:checked + label {
    color: #07151f;
    background: #fff;
    border-color: #fff;
}

.section-booking .slot-option input:focus-visible + label {
    outline: 3px solid #f5b642;
    outline-offset: 3px;
}

.section-booking .privacy-note,
.section-booking .submit-note,
.booking-payment-panel > p {
    color: rgba(255, 255, 255, .69);
    font-size: .9rem;
}

.section-booking .privacy-note,
.section-booking .submit-note {
    margin: 10px 0 0;
}

.booking-notice,
.section-booking .notice,
.booking-error,
.section-booking .error,
.section-booking .success {
    margin: 0 0 20px;
    padding: 14px 16px;
    border-radius: 3px;
}

.booking-notice,
.section-booking .notice {
    color: rgba(255, 255, 255, .82);
    background: rgba(255, 255, 255, .09);
}

.booking-error,
.section-booking .error {
    color: #fff;
    background: rgba(152, 27, 45, .35);
    border: 1px solid rgba(255, 190, 199, .45);
}

.section-booking .success {
    color: #fff;
    background: rgba(33, 100, 62, .40);
    border: 1px solid rgba(175, 213, 188, .45);
}

.booking-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    padding: 11px 18px;
    color: #07151f;
    background: #fff;
    border: 2px solid #fff;
    border-radius: 2px;
    font: inherit;
    font-size: .88rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
}

.booking-primary-button:hover,
.booking-primary-button:focus-visible {
    color: #fff;
    background: transparent;
}

.booking-primary-button:disabled {
    opacity: .62;
    cursor: wait;
}

.booking-payment-panel {
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, .18);
}

.booking-payment-panel > h3 {
    margin: 0 0 14px;
    font-size: 1.55rem;
}

#sumup-card {
    min-height: 260px;
}

.booking-home-summary dl {
    margin: 0;
}

.booking-home-summary dl div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 9px 0;
}

.booking-home-summary dt {
    color: rgba(255, 255, 255, .68);
}

.booking-home-summary dd {
    margin: 0;
    font-weight: 700;
    text-align: right;
}

.booking-home-summary .total {
    margin-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, .18);
    font-size: 1.12rem;
}

.booking-home-summary hr {
    margin: 22px 0;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, .18);
}

.booking-home-summary ol {
    padding-left: 1.25rem;
}

.booking-home-summary p,
.booking-home-summary li {
    color: rgba(255, 255, 255, .82);
}

.booking-home-summary a,
.booking-home-summary a:visited,
.booking-home-summary a:hover,
.booking-home-summary a:focus-visible,
.booking-home-fallback a,
.booking-home-fallback a:visited,
.booking-home-fallback a:hover,
.booking-home-fallback a:focus-visible {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: .18em;
}

.booking-home-fallback {
    margin: 22px 0 0;
    color: rgba(255, 255, 255, .72);
    text-align: center;
}

@media (min-width: 601px) {
    .section-booking .booking-home-wrapper {
        height: 100vh;
        min-height: 0;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior-y: contain;
        touch-action: pan-y;
        scrollbar-color: rgba(255, 255, 255, .48) rgba(0, 0, 0, .16);
        scrollbar-width: thin;
    }

    .section-booking .booking-home-wrapper::-webkit-scrollbar {
        width: 8px;
    }

    .section-booking .booking-home-wrapper::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, .16);
    }

    .section-booking .booking-home-wrapper::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, .48);
        border-radius: 999px;
    }
}

@media (max-width: 900px) {
    .booking-home-layout {
        grid-template-columns: 1fr;
    }

    .booking-home-summary {
        padding: 25px;
    }
}

@media (max-width: 600px) {
    body.body-page .page-header {
        position: fixed;
        inset: 0 0 auto;
        min-height: 76px;
        background: rgba(7, 21, 31, .96);
        box-shadow: 0 1px 0 rgba(255, 255, 255, .12);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    .section-booking .booking-home-wrapper {
        min-height: auto;
        padding: 92px 16px 124px;
    }

    .booking-home-title {
        margin-bottom: 24px;
    }

    .booking-home-intro {
        font-size: .96rem;
    }

    .booking-home-card {
        padding: 24px 18px;
    }

    .section-booking .field-row {
        grid-template-columns: 1fr;
    }

    .section-booking .lawyer-grid {
        grid-template-columns: 1fr;
    }

    .section-booking .slot-grid {
        grid-template-columns: repeat(3, minmax(70px, 1fr));
    }
}

@media (max-width: 420px) {
    .section-booking .slot-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .booking-home-summary dl div {
        display: block;
    }

    .booking-home-summary dd {
        margin-top: 3px;
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    .section-booking *,
    .section-booking *::before,
    .section-booking *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
