/* Booking sections and the shared address/business search, in RTL. */
.booking-section {
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
    margin: 4px 0;
    border: 1px solid #d5e5e0;
    border-radius: 16px;
    background: #fff;
    color: #193548;
    overflow: visible
}

.booking-section>summary {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    box-sizing: border-box;
    padding: 13px 16px;
    cursor: pointer;
    list-style: none;
    font: 700 14px/1.5 var(--hebo-font, Heebo, Arial, sans-serif)
}

.booking-section>summary::-webkit-details-marker {
    display: none
}

.booking-section>summary::after {
    content: '⌄';
    font-size: 21px;
    line-height: 1;
    flex-shrink: 0;
    margin-inline-start: auto;
    color: #075e4d;
    transition: transform .18s ease
}

.booking-section[open]>summary::after {
    transform: rotate(180deg)
}

.booking-section[open]>summary {
    border-bottom: 1px solid #e3eeea
}

.booking-section>summary:focus-visible {
    outline: 3px solid #04dba4;
    outline-offset: 2px;
    border-radius: 14px
}

.booking-section-value {
    font: 500 12px/1.5 var(--hebo-font, Heebo, Arial, sans-serif);
    color: #447467;
    background: #eff8f4;
    border-radius: 8px;
    padding: 4px 9px;
    max-width: 65%;
    overflow-wrap: anywhere
}

.booking-section-body {
    min-width: 0;
    padding: 14px 16px;
    display: grid;
    gap: 12px
}

.booking-section-body fieldset {
    margin: 0 !important;
    border-top: 0 !important;
    padding-top: 0 !important;
    min-width: 0
}

.booking-section-body fieldset>legend {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%)
}

.booking-section-body .vehicle-choice {
    width: 100%
}

.booking-section-body [hidden] {
    display: none !important
}

.booking-section-body .form-group {
    margin: 0;
    min-width: 0
}

.booking-section-body>.booking-schedule {
    width: 100%;
    margin: 0
}

.booking-section-body>.org-future-window {
    grid-template-columns: repeat(2, minmax(0, 1fr))
}

.booking-access-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 16px
}

.booking-access-endpoint {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    gap: 10px;
    min-width: 0
}

.booking-access-endpoint>strong {
    grid-column: 1/-1;
    font-size: 13px;
    color: #075e4d
}

.booking-access-endpoint>label:has(textarea),
.booking-access-endpoint>.booking-note,
.booking-access-endpoint>label:last-child:has(textarea) {
    grid-column: 1/-1
}

.booking-access-field {
    display: grid;
    gap: 6px;
    min-width: 0;
    font-size: 12px;
    font-weight: 500
}

.booking-access-field input,
.booking-access-field textarea {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    border: 1px solid #c9d9de;
    border-radius: 10px;
    padding: 10px;
    background: #f8fbfc;
    font: inherit;
    font-size: 16px;
    color: #193548
}

.booking-access-field input:focus-visible,
.booking-access-field textarea:focus-visible {
    outline: 3px solid #04dba4;
    outline-offset: 2px
}

.new-delivery .delivery-form>.booking-section {
    grid-column: 1/-1;
    order: 8
}

.new-delivery .delivery-form>.booking-section[data-booking-section=access] {
    order: 7
}

.new-delivery .delivery-form>.booking-section[data-booking-section=vehicle] {
    order: 9
}

.new-delivery .delivery-form>.booking-section[data-booking-section=payment] {
    order: 10
}

.new-delivery .delivery-form>.delivery-address-row:empty {
    display: none
}

.new-delivery .delivery-form>.combined-route-row {
    order: 5
}

.new-delivery .booking-section-body .booking-note {
    width: 100%
}

.new-delivery .booking-section-body .form-group label {
    font-size: 12px
}

.new-delivery .booking-section-body .booking-payment {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%
}

.new-delivery .booking-section-body .booking-payment .money-option {
    width: 100%;
    min-height: 58px;
    box-sizing: border-box;
    padding: 10px 12px;
    min-width: 0
}

.org-delivery-form .booking-section {
    margin: 10px 0
}

.org-delivery-form .booking-section-body>label {
    display: grid;
    gap: 6px
}

.org-delivery-form .booking-section-body .org-payment-choice {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

.org-delivery-form .booking-section-body .org-payment-choice small {
    flex-basis: 100%
}

.org-delivery-form .booking-section-body .org-payment-choice label {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 8px
}

.combined-search-modes {
    display: flex;
    gap: 3px;
    background: #edf4f2;
    border-radius: 10px;
    padding: 3px;
    justify-self: start
}

.combined-search-modes button {
    border: 0;
    background: transparent;
    color: #527080;
    font: 600 11px/1.5 var(--hebo-font, Heebo, Arial, sans-serif);
    min-height: 36px;
    padding: 6px 13px;
    border-radius: 8px;
    cursor: pointer
}

.combined-search-modes button[aria-pressed=true] {
    background: #fff;
    color: #075e4d;
    box-shadow: 0 1px 5px #19354812
}

.combined-search-modes button:focus-visible {
    outline: 3px solid #04dba4;
    outline-offset: 1px
}

.combined-results-heading {
    display: block;
    background: #eff7f4;
    padding: 7px 12px;
    color: #075e4d !important;
    font-weight: 700 !important
}

.combined-address-options>small:last-child {
    padding: 7px 12px
}

.combined-address-field {
    line-height: 1.5
}

.combined-address-options {
    top: 78px
}

.combined-address-field input[aria-busy=true] {
    background-image: linear-gradient(90deg, #f8fbfc, #eaf8f2, #f8fbfc);
    background-size: 200% 100%;
    animation: booking-search-progress 1.5s ease infinite
}

@keyframes booking-search-progress {
    to {
        background-position: 200% 0
    }
}

@media(max-width:600px) {
    .booking-section>summary {
        flex-wrap: wrap;
        gap: 5px 10px;
        padding: 11px 12px
    }

    .booking-section-value {
        max-width: 100%;
        font-size: 11px
    }

    .booking-section>summary::after {
        align-self: center
    }

    .booking-section-body {
        padding: 12px
    }

    .booking-access-grid {
        grid-template-columns: 1fr
    }

    .combined-route-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        margin: 12px 0
    }

    .combined-address-field {
        font-size: 14px
    }

    .combined-address-field input {
        padding: 12px;
        font-size: 16px
    }

    .combined-address-options {
        min-width: 0 !important;
        max-width: 100%;
        inset-inline: 0 !important
    }

    .combined-search-modes button {
        min-height: 40px;
        padding: 7px 16px
    }

    .saved-address-tools {
        gap: 5px 10px
    }
}

@media(prefers-reduced-motion:reduce) {
    .booking-section>summary::after {
        transition: none
    }

    .combined-address-field input[aria-busy=true] {
        animation: none
    }
}

.org-delivery-form .booking-section-body .org-payment-choice {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px
}

.org-delivery-form .booking-section-body .org-payment-choice small {
    grid-column: 1/-1
}

.org-delivery-form .booking-section-body .org-payment-choice label {
    min-height: 58px;
    border: 1px solid #d6e0e1;
    border-radius: 12px;
    padding: 10px 12px;
    background: #fbfcfc;
    color: #193548;
    font: 600 14px/1.5 var(--hebo-font, Heebo, Arial, sans-serif);
    cursor: pointer
}

.org-delivery-form .org-payment-choice label:has(input:checked) {
    background: #e7fbf3;
    border-color: #07987b;
    box-shadow: inset 0 0 0 1px #07987b
}

.org-delivery-form .org-payment-choice label:focus-within {
    outline: 3px solid #04dba4;
    outline-offset: 2px
}