/* Airport journey form, on the landing page and inside the booking dialog. */
.at-land .at-real-booking {
    padding: 24px 28px;
    border: 1px solid var(--brand-border, #dce8df);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 16px 44px rgb(15 23 42 / 10%);
}

.at-land .at-real-booking__header {
    padding-bottom: 16px;
    border-bottom-color: #eef2f5;
}

.at-land .at-real-booking__header h2 {
    font-size: clamp(22px, 2vw, 28px);
    line-height: 1.3;
}

.at-land .at-real-booking__header > .at-real-booking__step {
    padding: 6px 10px;
    background: var(--brand-primary-soft, #E5FBEB);
    color: #334155;
    font-size: 11px;
}

.at-land .at-real-booking__modes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    margin-top: 18px;
    padding: 4px;
    background: #f4f7f6;
    border-color: #e5e7eb;
}

.at-land .at-real-booking__modes label {
    min-height: 42px;
    justify-content: center;
    padding: 10px 18px;
    color: #64748b;
    line-height: 1.3;
}

.at-land .at-real-booking__modes label.is-active {
    background: var(--brand-primary, #00D233);
    color: #fff;
    box-shadow: 0 2px 6px var(--brand-primary-shadow);
}

.at-land .at-real-booking__modes label:last-child {
    grid-column: auto;
}

.at-land .at-real-booking__modes label:has(input:focus-visible) {
    outline: 2px solid #0f3d1c;
    outline-offset: 2px;
}

.at-land .at-real-journey,
.at-land .at-real-journey.is-departure {
    grid-template-columns: minmax(0, 1fr) 32px minmax(0, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.at-land .at-real-journey__arrow {
    width: 32px;
}

.at-land .at-real-booking__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    margin-top: 18px;
    gap: 18px;
}

.at-land .at-real-field > span {
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 650;
    text-transform: none;
}

.at-land .at-real-field input,
.at-land .at-real-field select {
    height: 50px;
    border-radius: 10px;
    border-color: #dce3e9;
    color: #1e293b;
}

.at-land .at-real-field .at-real-field__hint {
    margin-top: 6px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.4;
    white-space: normal;
}

.at-land .at-real-booking__actions {
    gap: 16px;
    margin-top: 20px;
    padding-top: 18px;
    border-top-color: #eef2f5;
}

.at-land .at-real-extras:not([open]) summary {
    max-width: 460px;
}

.at-land .at-real-extras summary {
    background: #f8faf9;
    border-color: #e5e7eb;
    font-size: 13px;
}

.at-land .at-real-extras[open] > div {
    padding-top: 16px;
}

.at-land .at-real-booking__submit {
    min-width: 240px;
    height: 50px;
    border-radius: 10px;
    font-size: 15px;
    transform: none;
}

@media (max-width: 900px) {
    .at-land .at-real-journey,
    .at-land .at-real-journey.is-departure {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .at-land .at-real-journey__arrow {
        width: 100%;
        height: 22px;
    }
}

@media (max-width: 720px) {
    .at-land .at-real-booking {
        padding: 18px 16px;
        border-radius: 16px;
    }

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

    .at-land .at-real-booking__header > .at-real-booking__step {
        margin-bottom: 10px;
    }

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

    .at-land .at-real-booking__modes label {
        padding: 10px 8px;
        font-size: 13px;
    }

    .at-land .at-real-booking__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 12px;
    }

    .at-land .at-real-field--passengers {
        grid-column: 1 / -1;
    }

    .at-land .at-real-field input,
    .at-land .at-real-field select {
        height: 48px !important;
        min-height: 48px;
        font-size: 14px !important;
    }

    .at-land .at-real-extras:not([open]) summary,
    .at-land .at-real-booking__submit {
        width: 100%;
        max-width: none;
        min-width: 0;
    }
}

@media (max-width: 380px) {
    .at-land .at-real-booking__grid {
        grid-template-columns: 1fr;
    }
}


/* Compact mobile typography for the airport booking form. */
@media (max-width: 720px) {
    .at-land .at-real-booking {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    .at-land .at-real-booking__header h2 {
        font-size: 22px;
        font-weight: 700;
        line-height: 1.35;
        letter-spacing: -0.02em;
    }

    .at-land .at-real-booking__header p {
        font-size: 14px !important;
        font-weight: 400;
        line-height: 1.5;
    }

    .at-land .at-real-booking__modes label {
        font-size: 13px;
        font-weight: 600;
        line-height: 1.4;
    }

    .at-land .at-real-field > span {
        font-size: 13px;
        font-weight: 600;
        line-height: 1.45;
        letter-spacing: normal;
    }

    .at-land .at-real-field input,
    .at-land .at-real-field select {
        min-width: 0;
        padding-inline: 10px;
        font-family: inherit;
        font-size: 14px !important;
        font-weight: 400;
        letter-spacing: normal;
    }

    .at-land .at-real-field input::placeholder {
        font-weight: 400;
        color: #7c899b;
        opacity: 1;
    }

    .at-land .at-real-extras summary,
    .at-land .at-real-extras summary b {
        font-size: 14px;
        font-weight: 600;
        line-height: 1.4;
    }

    .at-land .at-real-booking__submit {
        font-family: inherit;
        font-size: 15px;
        font-weight: 600;
        line-height: 1.4;
        letter-spacing: normal;
        text-transform: none;
    }
}
