/* Compact airport booking form — matches ski transfer layout. */

.at-land .at-real-booking {
    overflow: visible;
    padding: 20px 24px;
    border-color: #e2ddd2;
    background: linear-gradient(180deg, #fff 0%, #fff 72%, #fdfcf9 100%);
    box-shadow: 0 22px 60px rgba(38, 53, 43, .14);
}

.at-land .at-real-booking__header {
    position: relative;
    display: block !important;
    padding-right: 190px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ece8df;
}

.at-land .at-real-booking__header > .at-real-booking__step {
    position: absolute;
    top: 2px;
    right: 0;
    display: inline-flex;
    width: fit-content;
    margin: 0;
    padding: 3px 9px;
    border-radius: 999px;
    background: #edf2e7;
    color: #526d34;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.35;
}

/* Keep the modal close control and the step badge in separate hit areas. */
.at-land .at-booking-modal__body .at-real-booking__header {
    padding-right: 240px;
}

.at-land .at-booking-modal__body .at-real-booking__header > .at-real-booking__step {
    right: 48px;
}

.at-land .at-real-booking__eyebrow {
    display: none;
}

.at-land .at-real-booking__header h2 {
    margin: 0;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-transform: none;
}

.at-land .at-real-booking__header p {
    display: block;
    max-width: none;
    margin: 3px 0 0;
    color: #6d786d;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.at-land .at-real-booking__modes {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    margin-top: 14px;
    padding: 4px;
    gap: 0;
    border: 1px solid #dfe5d8;
    border-radius: 13px;
    background: #f1f4ed;
}

.at-land .at-real-booking__modes label {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    min-height: 0;
    margin: 0;
    padding: 9px 17px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #536153;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    box-shadow: none;
    cursor: pointer;
}

.at-land .at-real-booking__modes label.is-active {
    background: #fff;
    color: #26352b;
    box-shadow: 0 2px 7px rgba(52, 69, 46, .14);
}

.at-land .at-real-booking__modes input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.at-land .at-real-booking__modes label .material-symbols-outlined,
.at-land .at-real-booking__modes label.is-active .material-symbols-outlined {
    margin: 0;
    font-size: 18px;
    color: inherit;
}

.at-real-journey,
.at-real-journey.is-departure {
    align-items: end;
    margin-top: 14px;
}

/* Always ask for the airport first; departure only reverses the route arrow. */
.at-land .at-real-journey.is-departure {
    grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1.2fr);
}

.at-land .at-real-journey.is-departure .at-real-field--airport,
.at-land .at-real-journey.is-departure .at-real-journey__arrow,
.at-land .at-real-journey.is-departure .at-real-field--address {
    order: initial;
}

.at-land .at-real-field > span {
    display: flex;
    align-items: center;
    min-height: 18px;
    gap: 6px;
    color: #34452e;
    font-size: 11px;
    font-weight: 800;
}

.at-land .at-real-field > span > i {
    color: #718b4c;
    font-size: 16px;
    font-style: normal;
}

.at-land .at-real-field > span em {
    font-style: normal;
}

.at-land .at-real-field input,
.at-land .at-real-field select {
    height: 50px;
    border: 1px solid #d8d2c5;
    border-radius: 12px;
    background-color: #fff;
    color: #1f3025;
    font-size: 14px;
    font-weight: 500;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.at-land .at-real-field input:hover,
.at-land .at-real-field select:hover {
    border-color: #b9c3ad;
}

.at-land .at-real-field input:focus,
.at-land .at-real-field select:focus {
    border-color: #607d3b;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(96, 125, 59, .12);
}

.at-land .at-real-field.is-invalid > span,
.at-land .at-real-field.is-invalid > span > i,
.at-land .at-real-field.is-invalid > span em {
    color: #c62828;
}

.at-land .at-real-field input.is-invalid,
.at-land .at-real-field select.is-invalid {
    border-color: #ef4444;
    background-color: #fffafa;
}

.at-land .at-real-field input.is-invalid:focus,
.at-land .at-real-field select.is-invalid:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, .12);
}

.at-land .at-real-field input::placeholder {
    color: #929a90;
    font-weight: 400;
}

.at-land .at-real-journey__arrow {
    display: grid;
    width: 38px;
    height: 50px;
    place-items: center;
    color: #718b4c;
}

.at-land .at-real-journey__arrow .material-symbols-outlined {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid #dfe5d8;
    border-radius: 50%;
    background: #f4f7f1;
    font-size: 18px;
}

.at-real-airport-chips,
.at-real-journey-preview,
.at-real-pickup-plan,
.at-real-booking__note {
    display: none !important;
}

.at-land .at-real-booking__grid {
    margin-top: 14px;
    gap: 16px 18px;
}

.at-real-booking__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #ece8df;
}

.at-real-extras {
    flex: 1 1 220px;
    min-width: 0;
    margin-top: 0;
}

.at-real-extras[open] {
    flex: 1 1 100%;
}

.at-land .at-real-extras summary {
    height: 50px;
    border-color: #d8d2c5;
    border-radius: 12px;
    background: #fff;
    transition: border-color .18s ease, background-color .18s ease;
}

.at-land .at-real-extras summary:hover {
    border-color: #aebba2;
    background: #fafbf8;
}

.at-real-extras > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.at-real-booking__submit {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: auto;
    min-width: 220px;
    height: 50px;
    margin: 0;
    padding: 0 24px;
    border: 0;
    border-radius: 11px;
    background: #c97855;
    box-shadow: 0 10px 22px rgba(166, 87, 54, .22);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
}

.at-real-booking__submit:hover {
    background: #b76543;
    box-shadow: 0 12px 26px rgba(166, 87, 54, .27);
    transform: translateY(-1px);
}

.at-land .at-place-suggestions {
    width: 100%;
    max-height: 310px;
    overflow-y: auto;
    border-color: #d8dfd1;
    border-radius: 12px;
    box-shadow: 0 16px 36px rgba(35, 52, 40, .16), 0 3px 10px rgba(35, 52, 40, .08);
}

.at-land .at-place-suggestion {
    min-height: 56px;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px;
    border-color: #edf0e9;
    color: #26352b;
}

.at-land .at-place-suggestion:hover,
.at-land .at-place-suggestion.is-active {
    background: #f2f6ed;
}

.at-land .at-place-suggestion > .material-symbols-outlined {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 50%;
    background: #edf2e7;
    color: #607d3b;
    font-size: 18px;
}

.at-land .at-place-suggestion strong {
    color: #26352b;
    font-size: 13px;
}

.at-land .at-place-suggestion small {
    color: #788278;
    font-size: 11px;
}

.at-real-booking__submit .material-symbols-outlined {
    font-size: 18px;
}

@media (max-width: 900px) {
    .at-land .at-real-journey__arrow {
        width: 100%;
        height: 28px;
        transform: rotate(90deg);
    }
}

@media (max-width: 720px) {
    .at-land .at-real-booking {
        padding: 18px 16px;
        border-radius: 18px;
        box-shadow: 0 14px 38px rgba(38, 53, 43, .12);
    }

    .at-land .at-real-booking__header {
        padding-right: 0;
    }

    .at-land .at-real-booking__header > .at-real-booking__step {
        position: static;
        margin-bottom: 5px;
    }

    .at-land .at-booking-modal__body .at-real-booking__header {
        padding-right: 48px;
    }

    .at-land .at-real-booking__header h2 {
        font-size: 23px;
    }

    .at-land .at-real-booking__modes {
        width: 100%;
    }

    .at-land .at-real-booking__modes label {
        flex: 1;
        justify-content: center;
        white-space: normal;
        text-align: center;
    }

    .at-real-extras,
    .at-real-booking__submit {
        flex-basis: 100%;
        width: 100%;
    }

    .at-real-extras > div {
        grid-template-columns: 1fr;
    }

    .at-land .at-real-extras summary > small {
        display: none;
    }
}

/* Compact optional fields: one row on desktop, two columns on tablet. */
@media (min-width: 901px) {
    .at-land .at-real-extras > div {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (min-width: 721px) and (max-width: 900px) {
    .at-land .at-real-extras > div {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}
