/* =========================================================
   Parvaz Gasht booking flow — results, checkout, tour detail and
   booking, notice pages and the user dashboard.
   Loaded by _Layout on every page (these template classes
   appear in many views).
   ========================================================= */

/* pages without a hero: the floating header sits on a slim ink band */
.gd-main::before {
    content: "";
    display: block;
    height: 100px;
    background: var(--gd-ink);
}

.gd-main:has(.gd-hero, .gd-pagehead, .gd-article-hero, .gd-tour-hero)::before {
    display: none;
}

/* ---------------- "modify search" bar ---------------- */
#re-searchAccordion {
    background: var(--gd-ink);
    border-radius: 0;
}

    #re-searchAccordion .accordion-item {
        margin: 0;
        border: 0 !important;
        border-radius: 0 !important;
        background: var(--gd-ink);
    }

    #re-searchAccordion .research-accordion-button {
        gap: 10px;
        padding: 6px 0 18px;
        border-radius: 0 !important;
        background: var(--gd-ink) !important;
        color: #fff !important;
        box-shadow: none !important;
        font-size: 14.5px;
    }

        #re-searchAccordion .research-accordion-button::after {
            content: "\f078";
            width: auto;
            height: auto;
            margin-right: 2px;
            margin-left: 0;
            background: none;
            color: #fff;
            font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
            font-size: 11px;
            font-weight: 900;
        }

    #re-searchAccordion .accordion-body {
        padding: 0 0 22px;
    }

    #re-searchAccordion .search-wrap {
        padding: 16px;
        border-radius: var(--gd-r);
        background: #fff;
        box-shadow: var(--gd-shadow-lg);
    }

        /* m-1 pushed the button past the fields */
        #re-searchAccordion .search-wrap .btn.full-width {
            width: 100%;
            margin: 0 !important;
        }

    /* no container here, so the row's negative margins put the form against the screen edges */
    #re-searchAccordion .search-wrap-container > .row {
        margin-inline: 0;
    }

.search-wrap-formcontrol {
    min-height: 50px;
}

    /* every control of the bar (airport inputs, flight type and class dropdowns, dates, passengers, search button)
       gets one frame: the template mixed pills, boxes, 46/48/50px heights and an extra bottom padding on the dropdowns */
    #re-searchAccordion .search-wrap {
        --gd-rs-h: 50px;
    }

        #re-searchAccordion .search-wrap .form-control,
        #re-searchAccordion .search-wrap .dropdowns .selections,
        #re-searchAccordion .search-wrap .guests-input > button,
        #re-searchAccordion .search-wrap #btnSearchflight {
            height: var(--gd-rs-h) !important;
            min-height: var(--gd-rs-h) !important;
            border: 1.5px solid var(--gd-line-2) !important;
            border-radius: var(--gd-r-sm) !important;
            background-color: #fff !important;
            color: var(--gd-title) !important;
            font-size: 13.5px !important;
            font-weight: 400 !important;
            box-shadow: none !important;
        }

        #re-searchAccordion .search-wrap .form-control,
        #re-searchAccordion .search-wrap .dropdowns .selections {
            padding: 0 14px !important;
        }

        #re-searchAccordion .search-wrap .guests-input > button {
            padding: 0 14px 0 30px !important;
        }

            #re-searchAccordion .search-wrap .dropdowns .selections .selected {
                color: var(--gd-title) !important;
                font-size: 13.5px !important;
                font-weight: 400 !important;
            }

            #re-searchAccordion .search-wrap .dropdowns .selections .caret {
                left: 14px;
            }

        #re-searchAccordion .search-wrap .form-control:hover,
        #re-searchAccordion .search-wrap .dropdowns .selections:hover,
        #re-searchAccordion .search-wrap .guests-input > button:hover {
            border-color: var(--gd-violet) !important;
        }

        #re-searchAccordion .search-wrap .form-control:focus,
        #re-searchAccordion .search-wrap .guests-input > button:focus-visible {
            border-color: var(--gd-violet) !important;
            box-shadow: var(--gd-ring) !important;
            outline: 0;
        }

        /* the return date is locked on a one-way search: same frame, only dimmed */
        #re-searchAccordion .search-wrap .form-control:disabled,
        #re-searchAccordion .search-wrap .form-control[disabled] {
            border-color: var(--gd-line) !important;
            background-color: var(--gd-mist) !important;
            color: var(--gd-muted) !important;
            cursor: not-allowed;
        }

        /* the dropdowns sat in a "ps-1 pb-2" wrapper with a fixed 35px box, which pushed them off the row */
        #re-searchAccordion .search-wrap .mob-full {
            padding: 0 !important;
        }

        #re-searchAccordion .search-wrap .re-search-dropdown {
            height: auto !important;
        }

        #re-searchAccordion .search-wrap #btnSearchflight {
            border-color: transparent !important;
            background: var(--gd-brand) !important;
            color: #fff !important;
            font-weight: 500 !important;
        }

/* ---------------- Filters ---------------- */
.filter-searchBar {
    border: 1px solid var(--gd-line);
    border-radius: var(--gd-r) !important;
    box-shadow: none !important;
    overflow: hidden;
}

/* the whole airline list, with the page's own scroll: the template capped this column at 86vh and the theme hides what overflows */
.filter-searchBar {
    position: static;
    max-height: none;
}

    .frm-slicing-title span, .frm-slicing .text-end span {
        font-size: 12px;
    }

.filter-searchBar-head {
    background: var(--gd-mist);
    border-color: var(--gd-line) !important;
}

    .filter-searchBar-head h6 {
        font-size: 16px;
        font-weight: 400 !important;
    }

#clear-all {
    padding: 2px 11px !important;
    border-radius: 999px !important;
    background: var(--gd-red-100) !important;
    color: var(--gd-red) !important;
}

.searchBar-single {
    border-color: var(--gd-line) !important;
}

.sidebar-subTitle {
    color: var(--gd-title);
    font-family: var(--gd-display);
    font-weight: 400 !important;
}

.searchBar-single .btn-secondary {
    border: 1px solid var(--gd-line-2) !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: var(--gd-text) !important;
    font-size: 12.5px;
    padding-inline: 4px !important;
}

    .searchBar-single .btn-secondary:hover, .searchBar-single .btn-secondary:focus, .searchBar-single .btn-check:checked + .btn {
        border-color: var(--gd-violet) !important;
        background: var(--gd-violet) !important;
        color: #fff !important;
    }

.searchBar-single .btn-check + .btn {
    border: 1px solid var(--gd-line-2);
    border-radius: 999px;
    background: #fff;
    color: var(--gd-text);
}

.searchBar-single .form-check-label {
    font-size: 13.5px;
}

.rzslider .rz-bar {
    background: var(--gd-line) !important;
}

.rzslider .rz-selection {
    background: var(--gd-route) !important;
}

.rzslider .rz-pointer {
    background-color: #fff !important;
    box-shadow: inset 0 0 0 5px var(--gd-violet);
}

    .rzslider .rz-pointer::after {
        display: none;
    }

.rzslider .rz-bubble {
    color: var(--gd-text) !important;
    font-size: 12px;
}

/* sort bar */
.sort-box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
}

    .sort-box .sort-select-label {
        margin: 0 !important;
        color: var(--gd-muted);
        font-size: 13px;
        white-space: nowrap;
    }

    .sort-box .sort-select {
        min-width: 150px;
        min-height: 40px;
        border-radius: 999px;
        font-size: 13px;
    }

.placeholder {
    background-color: #e3e3f6 !important;
    border-radius: var(--gd-r-xs);
}

/* ---------------- Flight result: a line between two stations ---------------- */
.gd-ride {
    display: flex;
    border: 1px solid var(--gd-line);
    border-radius: var(--gd-r);
    background: #fff;
    transition: box-shadow .25s, border-color .25s;
}

    .gd-ride:hover {
        border-color: var(--gd-violet-200);
        box-shadow: var(--gd-shadow);
    }

/* centred, so a one way flight sits in the middle of the card and not at its top */
.gd-ride-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gd-ride-leg {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 20px;
}

    .gd-ride-leg + .gd-ride-leg {
        border-top: 1px solid var(--gd-line);
    }

.gd-ride-air {
    flex: 0 0 150px;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

    .gd-ride-air img {
        flex: none;
        width: 40px;
        height: 40px;
        padding: 4px;
        object-fit: contain;
        border-radius: 50%;
        background: var(--gd-mist);
    }

    .gd-ride-air > div {
        min-width: 0;
    }

    .gd-ride-air b {
        display: block;
        color: var(--gd-title);
        font-size: 13px;
        font-weight: 400;
    }

.gd-ride-type {
    display: inline-block;
    color: var(--gd-cobalt);
    font-size: 12px;
}

    .gd-ride-type.is-charter {
        color: var(--gd-violet-700);
    }

.gd-ride-route {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.gd-ride-pt {
    flex: none;
    min-width: 78px;
    text-align: center;
}

    .gd-ride-pt b {
        display: block;
        color: var(--gd-title);
        font-family: var(--gd-display);
        font-size: 21px;
        font-weight: 400;
        line-height: 1.3;
    }

    .gd-ride-pt small {
        color: var(--gd-muted);
        font-size: 12px;
    }

/* the route: stations at both ends, the date above and the stops below */
.gd-ride-line {
    position: relative;
    flex: 1;
    min-width: 90px;
    text-align: center;
    padding: 0 10px;
}

    .gd-ride-line::before {
        content: "";
        position: absolute;
        top: calc(50% - 2px);
        right: 0;
        left: 0;
        height: 4px;
        border-radius: 4px;
        background: var(--gd-route);
    }

    .gd-ride-line::after {
        content: "";
        position: absolute;
        top: calc(50% - 6px);
        left: -1px;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: #fff;
        box-shadow: 0 0 0 3px var(--gd-cobalt);
    }

    .gd-ride-line > i {
        position: absolute;
        top: calc(50% - 9px);
        right: 0;
        width: 18px;
        height: 18px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        background: #fff;
        color: var(--gd-violet);
        font-size: 11px;
    }

    .gd-ride-line small {
        display: block;
        padding-top: 16px;
        color: var(--gd-muted);
        font-size: 12px;
    }

.gd-ride-tag {
    display: block;
    padding-bottom: 16px;
    color: var(--gd-text);
    font-size: 12px;
}

    .gd-ride-tag i {
        display: none;
    }

.gd-ride-stub {
    flex: 0 0 214px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    padding: 16px 18px;
    border-right: 1px solid var(--gd-line);
    background: var(--gd-mist);
    border-radius: var(--gd-r) 0 0 var(--gd-r);
}

.gd-ride-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.gd-ride-off, .gd-ride-bag {
    padding: 0 9px;
    border-radius: 999px;
    font-size: 11.5px;
    line-height: 1.9;
}

.gd-ride-off {
    background: var(--gd-green-100);
    color: var(--gd-green);
}

.gd-ride-bag {
    background: #fff;
    color: var(--gd-text);
}

.gd-ride-price small {
    display: block;
    color: var(--gd-muted);
    font-size: 12px;
}

.gd-ride-price b {
    color: var(--gd-violet-700);
    font-family: var(--gd-display);
    font-size: 21px;
    font-weight: 400;
}

.gd-ride-price span {
    margin-inline-start: 3px;
    color: var(--gd-muted);
    font-size: 12px;
}

.gd-ride-buy {
    width: 100%;
    min-height: 42px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13.5px;
}

/* the stub sets the height of the card, so a one way flight stays low */
@media (min-width: 992px) {
    .gd-ride-leg {
        padding-block: 14px;
    }

    .gd-ride-stub {
        flex-basis: 196px;
        gap: 2px;
        padding: 10px 14px;
    }

    .gd-ride-price small {
        line-height: 1.5;
    }

    .gd-ride-price b {
        font-size: 19px;
        line-height: 1.4;
    }

    .gd-ride-buy {
        min-height: 36px;
        margin-top: 3px;
    }
}

.gd-list-note {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 16px;
    padding: 9px 16px;
    border-radius: 999px;
    background: var(--gd-cobalt-50);
    color: var(--gd-cobalt-700);
    font-size: 13px;
}

.gd-empty-tips {
    display: inline-block;
    margin: 0 0 8px;
    padding: 0;
    list-style: none;
    color: var(--gd-muted);
    font-size: 13.5px;
    text-align: right;
}

    .gd-empty-tips li::before {
        content: "•";
        margin-inline-end: 7px;
        color: var(--gd-violet);
    }

.gd-empty.is-compact {
    padding: 34px 10px;
}

/* the same empty block is also used on result pages, outside gd-pages.css */
.gd-empty {
    padding: 56px 20px;
    text-align: center;
}

    .gd-empty h3 {
        margin: 14px 0 4px;
        font-size: 19px;
    }

.gd-empty-art {
    position: relative;
    width: 84px;
    height: 84px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: var(--gd-violet-100);
    color: var(--gd-violet);
    font-size: 30px;
}

.gd-empty-badge {
    position: absolute;
    left: -2px;
    bottom: -2px;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--gd-ink);
    color: #fff;
    font-size: 13px;
}

.gd-empty-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

    .gd-empty-actions .btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

/* ---------------- Hotel result ---------------- */
.gd-stay {
    display: flex;
    min-height: 190px;
    overflow: hidden;
    border: 1px solid var(--gd-line);
    border-radius: var(--gd-r);
    background: #fff;
    transition: box-shadow .25s, border-color .25s;
}

    .gd-stay:hover {
        border-color: var(--gd-violet-200);
        box-shadow: var(--gd-shadow);
    }

.gd-stay-media {
    position: relative;
    flex: 0 0 250px;
    background: var(--gd-mist);
}

    .gd-stay-media img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .gd-stay-media .gd-tag {
        position: absolute;
        top: 10px;
        right: 10px;
    }

.gd-stay-body {
    flex: 1;
    min-width: 0;
    padding: 18px 20px;
}

    .gd-stay-body h3, .gd-stay-body h4 {
        margin: 4px 0;
        font-size: 17px;
    }

.gd-stay-stars {
    height: 15px;
    width: auto;
}

.gd-stay-addr {
    margin: 0 0 4px;
    color: var(--gd-muted);
    font-size: 13px;
}

    .gd-stay-addr i, .gd-stay-map i {
        color: var(--gd-violet);
    }

.gd-stay-map {
    font-size: 13px;
}

.gd-stay-stub {
    flex: 0 0 214px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    padding: 16px 18px;
    border-right: 1px solid var(--gd-line);
    background: var(--gd-mist);
}

    .gd-stay-stub small, .gd-stay-stub > span {
        color: var(--gd-muted);
        font-size: 12px;
    }

    .gd-stay-stub b {
        color: var(--gd-violet-700);
        font-family: var(--gd-display);
        font-size: 21px;
        font-weight: 400;
        line-height: 1.3;
    }

    .gd-stay-stub .gd-ride-buy {
        margin-top: 4px;
    }

/* ---------------- Checkout head: the trip as a ticket on the ink band ---------------- */
.gd-rt-head {
    padding: 14px 0 22px;
    background: var(--gd-ink);
    color: #d3d5f2;
}

.gd-rt-pass {
    display: grid;
    grid-template-columns: 1fr 280px;
    overflow: hidden;
    border-radius: var(--gd-r);
    background: #fff;
    box-shadow: var(--gd-shadow-lg);
}

.gd-rt-leg {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    min-width: 0;
    padding: 20px 26px;
}

.gd-rt-city small {
    display: block;
    color: var(--gd-muted);
    font-size: 12px;
}

.gd-rt-city b {
    display: block;
    color: var(--gd-title);
    font-family: var(--gd-display);
    font-size: 23px;
    font-weight: 400;
    line-height: 1.5;
}

.gd-rt-city span {
    color: var(--gd-text);
    font-size: 13px;
}

.gd-rt-city.is-end {
    text-align: left;
}

.gd-rt-path {
    position: relative;
    width: 160px;
    text-align: center;
}

    .gd-rt-path::before {
        content: "";
        position: absolute;
        top: 17px;
        right: 0;
        left: 0;
        height: 3px;
        border-radius: 3px;
        background: var(--gd-route);
    }

    .gd-rt-path i {
        position: relative;
        width: 36px;
        height: 36px;
        display: inline-grid;
        place-items: center;
        border-radius: 50%;
        background: var(--gd-violet);
        color: #fff;
        font-size: 14px;
    }

    .gd-rt-path small {
        display: block;
        margin-top: 6px;
        color: var(--gd-muted);
        font-size: 12px;
    }

.gd-rt-stub {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 16px 20px;
    border-right: 2px dashed var(--gd-line-2);
    background: var(--gd-violet-50);
}

    /* the two punched notches of the tear line */
    .gd-rt-stub::before, .gd-rt-stub::after {
        content: "";
        position: absolute;
        right: -13px;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background: var(--gd-ink);
    }

    .gd-rt-stub::before {
        top: -12px;
    }

    .gd-rt-stub::after {
        bottom: -12px;
    }

.gd-rt-stage {
    color: var(--gd-violet-700);
    font-family: var(--gd-display);
    font-size: 15px;
}

.gd-rt-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.gd-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 1px 11px;
    border-radius: 999px;
    background: #fff;
    color: var(--gd-text);
    font-size: 12px;
}

/* the reservation timer is rendered into .offer_timer_1 by startTimer() in ControllerDetail.js */
.gd-rt-timer:empty {
    display: none;
}

.gd-rt-timer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    color: var(--gd-text);
    font-size: 12.5px;
}

    .gd-rt-timer strong {
        color: var(--gd-violet-700);
        font-weight: 400;
    }

.gd-rt-steps {
    display: flex;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

    .gd-rt-steps li {
        position: relative;
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        color: #9398cc;
        font-size: 12.5px;
    }

        .gd-rt-steps li + li::before {
            content: "";
            position: absolute;
            top: 12px;
            left: 50%;
            width: 100%;
            height: 4px;
            background: var(--gd-ink-3);
        }

        .gd-rt-steps li.is-done + li::before {
            background: var(--gd-violet);
        }

.gd-rt-dot {
    position: relative;
    z-index: 1;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--gd-ink);
    box-shadow: inset 0 0 0 3px var(--gd-ink-3);
    color: #9398cc;
    font-size: 11.5px;
}

    .gd-rt-dot b {
        font-weight: 400;
    }

.gd-rt-steps li.is-done, .gd-rt-steps li.is-active {
    color: #fff;
}

    .gd-rt-steps li.is-done .gd-rt-dot {
        background: var(--gd-violet);
        box-shadow: none;
        color: #fff;
    }

    .gd-rt-steps li.is-active .gd-rt-dot {
        box-shadow: inset 0 0 0 3px var(--gd-violet);
        color: #fff;
    }

.gd-checkout {
    background: var(--gd-mist);
}

    .gd-checkout .card {
        box-shadow: none;
    }

.gd-pax {
    padding: 18px;
    border: 1px solid var(--gd-line);
    border-radius: var(--gd-r);
    background: #fff;
}

.gd-pax-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    padding-bottom: 12px;
    border-bottom: 1.5px dashed var(--gd-line-2);
}

    .gd-pax-head b {
        display: block;
        color: var(--gd-title);
        font-size: 14.5px;
    }

    .gd-pax-head small {
        color: var(--gd-muted);
        font-size: 12.5px;
    }

.gd-pax-num {
    flex: none;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--gd-violet);
    color: #fff;
    font-family: var(--gd-display);
}

.gd-pax.is-buyer .gd-pax-num {
    background: var(--gd-cobalt);
}

/* earlier passengers: always there, so a member without any still finds out why the list is empty */
.gd-pax-pick {
    position: relative;
    margin-right: auto;
}

.gd-pax-pick-btn {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 14px;
    border: 1.5px solid var(--gd-line-2);
    border-radius: 999px;
    background: var(--gd-violet-50);
    color: var(--gd-violet-700);
    font-size: 13px;
    transition: border-color .15s ease;
}

    .gd-pax-pick-btn:hover, .gd-pax-pick-btn:focus-visible {
        border-color: var(--gd-violet);
    }

.gd-pax-pick-shade {
    position: fixed;
    inset: 0;
    z-index: 20;
}

.gd-pax-pick-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 21;
    width: 300px;
    max-width: calc(100vw - 48px);
    max-height: 320px;
    overflow-y: auto;
    padding: 6px;
    border: 1px solid var(--gd-line);
    border-radius: var(--gd-r);
    background: #fff;
    box-shadow: var(--gd-shadow-lg);
}

    .gd-pax-pick-menu button {
        width: 100%;
        display: block;
        padding: 8px 12px;
        border: 0;
        border-radius: 8px;
        background: none;
        color: var(--gd-title);
        text-align: right;
    }

        .gd-pax-pick-menu button b {
            display: block;
            direction: ltr;
            font-size: 13px;
            font-weight: 500;
            text-align: right;
        }

        .gd-pax-pick-menu button small {
            color: var(--gd-muted);
            font-size: 11.5px;
        }

        .gd-pax-pick-menu button:hover, .gd-pax-pick-menu button:focus-visible {
            background: var(--gd-violet-50);
        }

    .gd-pax-pick-search {
        position: sticky;
        top: 0;
        z-index: 1;
        width: 100%;
        height: 38px;
        margin-bottom: 4px;
        padding: 0 12px;
        border: 1px solid var(--gd-line-2);
        border-radius: 8px;
        background: #fff;
        color: var(--gd-title);
        font-size: 13px;
    }

        .gd-pax-pick-search:focus {
            border-color: var(--gd-violet);
            outline: 0;
        }

    .gd-pax-pick-menu p {
        margin: 0;
        padding: 8px 10px;
        color: var(--gd-muted);
        font-size: 12.5px;
        line-height: 1.9;
    }

/* domestic passengers start on the ID card fields; showPassportInputs() switches with an inline style */
.IdCard-inputs ~ .Passport-inputs {
    display: none;
}

.gd-agree {
    margin-top: 16px;
    padding: 16px 18px;
    border: 1.5px dashed var(--gd-line-2);
    border-radius: var(--gd-r);
    background: var(--gd-violet-50);
}

.gd-cta {
    min-height: 54px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--gd-display);
    font-size: 15.5px !important;
}

.gd-fare-table {
    display: block;
    overflow-x: auto;
    font-size: 13.5px;
}

/* ---------------- Flight detail: summary card, legs and price breakdown (closed by default) ---------------- */
.gd-fd-card {
    border-radius: var(--gd-r) !important;
    overflow: hidden;
}

.gd-fd-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.gd-fd-air {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

    .gd-fd-air img {
        flex: none;
        width: 46px;
        height: 46px;
        object-fit: contain;
        padding: 4px;
        border: 1px solid var(--gd-line);
        border-radius: var(--gd-r-sm);
        background: #fff;
    }

.gd-fd-air-name {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 2px;
    color: var(--gd-title);
    font-family: var(--gd-display);
    font-size: 16px;
}

.gd-fd-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border: 1px solid var(--gd-violet-200);
    border-radius: 999px;
    background: var(--gd-violet-50);
    color: var(--gd-violet-700);
    font-size: 14px;
    cursor: pointer;
    transition: background .2s, color .2s;
}

    .gd-fd-toggle:hover {
        background: var(--gd-violet);
        color: #fff;
    }

    .gd-fd-toggle i {
        font-size: 12px;
        transition: transform .25s;
    }

    .gd-fd-toggle:not(.collapsed) i {
        transform: rotate(180deg);
    }

    .gd-fd-toggle .gd-fd-close, .gd-fd-toggle:not(.collapsed) .gd-fd-open {
        display: none;
    }

    .gd-fd-toggle:not(.collapsed) .gd-fd-close {
        display: inline;
    }

.gd-fd-body {
    padding: 4px 20px 20px;
    border-top: 1px dashed var(--gd-line-2);
}

.gd-fd-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 18px 0 10px;
    color: var(--gd-title);
    font-size: 15px;
}

    .gd-fd-title i {
        color: var(--gd-cobalt);
    }

/* six columns each: a real table, scrolled sideways on small screens */
.gd-fd-body .gd-fare-table {
    display: table;
    width: 100%;
    min-width: 640px;
    margin-bottom: 0;
    vertical-align: middle;
}

    .gd-fd-body .gd-fare-table th, .gd-fd-body .gd-fare-table td {
        width: 16.66%;
        padding: 10px 12px;
        vertical-align: middle;
    }

    .gd-fd-body .gd-fare-table thead th {
        background: var(--gd-mist);
        color: var(--gd-muted);
        font-weight: 500;
        white-space: nowrap;
    }

    .gd-fd-body .gd-fare-table b {
        font-weight: 600;
        color: var(--gd-title);
    }

.gd-fd-legs .gd-fd-group td {
    padding: 8px 12px;
    background: #fff;
}

.gd-fd-op {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .gd-fd-op img {
        flex: none;
        width: 30px;
        height: 30px;
        object-fit: contain;
    }

@media (max-width: 575.98px) {
    .gd-fd-toggle {
        width: 100%;
        justify-content: center;
    }

    .gd-fd-body {
        padding: 4px 12px 14px;
    }
}

.gd-checkout-side .card {
    border-radius: var(--gd-r) !important;
}

.sidebar-icon {
    color: var(--gd-violet);
}

.segmentDeparture-head h4 {
    font-size: 15.5px;
}

/* ---------------- Tour booking stepper ---------------- */
.bs-stepper .step-trigger {
    color: var(--gd-text);
    font-size: 13.5px;
}

.bs-stepper-circle {
    background: var(--gd-line-2) !important;
    color: var(--gd-title);
}

.bs-stepper .step.active .bs-stepper-circle {
    background: var(--gd-violet) !important;
    color: #fff;
}

.bs-stepper .line, .bs-stepper .bs-stepper-line {
    background: var(--gd-line-2);
}

.galleryGrid__item img, .cardImage__caps img {
    border-radius: var(--gd-r-sm);
}

.list-layout-block, .rooms-pricelist {
    border-radius: var(--gd-r) !important;
}

.pop-touritem .card, .tour-card {
    overflow: hidden;
    border-radius: var(--gd-r) !important;
}

/* ---------------- Notice pages: errors and payment results ---------------- */
.gd-state-page {
    padding: 56px 0 10px;
}

.gd-notice {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--gd-line);
    border-radius: var(--gd-r-lg);
    background: #fff;
    box-shadow: var(--gd-shadow);
}

    .gd-notice::before {
        content: "";
        display: block;
        height: 6px;
        background: var(--gd-route);
    }

    .gd-notice.is-danger::before {
        background: var(--gd-red);
    }

    .gd-notice.is-success::before {
        background: var(--gd-green);
    }

.gd-notice-stub {
    display: flex;
    justify-content: center;
    padding-top: 30px;
}

.gd-notice-ico {
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--gd-violet-100);
    color: var(--gd-violet);
    font-size: 27px;
}

.gd-notice.is-danger .gd-notice-ico {
    background: var(--gd-red-100);
    color: var(--gd-red);
}

.gd-notice.is-success .gd-notice-ico {
    background: var(--gd-green-100);
    color: var(--gd-green);
}

.gd-notice-code {
    color: var(--gd-violet);
    font-family: var(--gd-display);
    font-size: 66px;
    line-height: 1.1;
}

.gd-notice.is-danger .gd-notice-code {
    color: var(--gd-red);
}

.gd-notice-main {
    padding: 12px 34px 32px;
    text-align: center;
}

    .gd-notice-main h1 {
        margin: 6px 0;
        font-size: 23px;
    }

.gd-notice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1px;
    margin: 18px 0;
    overflow: hidden;
    border: 1px solid var(--gd-line);
    border-radius: var(--gd-r-sm);
    background: var(--gd-line);
}

    .gd-notice-grid > div {
        padding: 10px 12px;
        background: #fff;
    }

    .gd-notice-grid small {
        display: block;
        color: var(--gd-muted);
        font-size: 12px;
    }

    .gd-notice-grid b {
        color: var(--gd-title);
        font-weight: 400;
        word-break: break-word;
    }

.gd-notice-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.gd-notice-note {
    display: flex;
    gap: 9px;
    margin-top: 16px;
    padding: 10px 14px;
    border-radius: var(--gd-r-sm);
    background: var(--gd-mist);
    font-size: 13px;
    text-align: right;
}

    .gd-notice-note i {
        margin-top: 5px;
        color: var(--gd-violet);
    }

/* ---------------- Dashboard ---------------- */
.dashboard-menus {
    background: var(--gd-ink);
    border: 0 !important;
}

.user-Dashboard-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0;
    padding: 6px 0 18px;
    list-style: none;
}

    .user-Dashboard-menu li a {
        display: inline-flex;
        align-items: center;
        padding: 6px 15px;
        border-radius: 999px;
        color: #d3d5f2;
        font-size: 13.5px;
    }

        .user-Dashboard-menu li a:hover {
            background: var(--gd-ink-3);
            color: #fff;
        }

    .user-Dashboard-menu li.active a {
        background: #fff;
        color: var(--gd-violet-800);
    }

        .user-Dashboard-menu li.active a i {
            color: var(--gd-violet);
        }

.user-Dashboard-longmenu {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .user-Dashboard-longmenu li a {
        display: block;
        padding: 10px 14px;
        border-radius: var(--gd-r-xs);
        color: var(--gd-title);
    }

    .user-Dashboard-longmenu li.active a {
        background: var(--gd-violet-50);
        color: var(--gd-violet-700);
    }

.profile-box {
    border: 0;
}

    .profile-box .card {
        overflow: hidden;
    }

        .profile-box .card .card-top.bg-primary {
            background: var(--gd-ink) !important;
        }

.crdapproval-item .square--50 {
    background: var(--gd-violet-100) !important;
    color: var(--gd-violet) !important;
}

/* wallet: an ink transit card */
.gd-wallet {
    position: relative;
    min-height: 210px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    overflow: hidden;
    border-radius: var(--gd-r-lg);
    background: var(--gd-ink);
    color: #d3d5f2;
}

    .gd-wallet::after {
        content: "";
        position: absolute;
        inset: auto 0 0;
        height: 6px;
        background: var(--gd-route);
    }

    .gd-wallet b, .gd-wallet h2, .gd-wallet h3 {
        color: #fff;
        font-weight: 400;
    }

.gd-wallet-chip {
    display: none;
}

.gd-wallet-foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
}

.gd-amounts {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 10px 0;
}

    .gd-amounts button {
        padding: 4px 14px;
        border: 0;
        border-radius: 999px;
        box-shadow: inset 0 0 0 1px var(--gd-line-2);
        background: #fff;
        color: var(--gd-text);
        font-size: 13px;
    }

        .gd-amounts button:hover {
            background: var(--gd-violet);
            box-shadow: none;
            color: #fff;
        }

/* ---------------- Tour detail ---------------- */
.nav-pills.primary {
    background: var(--gd-mist) !important;
    border-radius: 999px !important;
}

    .nav-pills.primary .nav-link {
        border-radius: 999px !important;
        color: var(--gd-text) !important;
    }

        .nav-pills.primary .nav-link.active {
            background: var(--gd-violet) !important;
            color: #fff !important;
        }

.gd-main .breadcrumb {
    padding-top: 12px;
}

.user-Dashboard-menu {
    justify-content: flex-start;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1199.98px) {
    .gd-ride-air {
        flex-basis: 120px;
    }

    .gd-ride-stub, .gd-stay-stub {
        flex-basis: 186px;
    }
}

@media (max-width: 991.98px) {
    .gd-main::before {
        height: 80px;
    }

    .gd-ride, .gd-stay {
        flex-direction: column;
    }

    .gd-ride-stub, .gd-stay-stub {
        flex: none;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        border-right: 0;
        border-top: 1px solid var(--gd-line);
        border-radius: 0 0 var(--gd-r) var(--gd-r);
    }

    .gd-ride-buy {
        width: auto;
        padding-inline: 22px;
    }

    .gd-stay-media {
        flex: none;
        height: 190px;
    }

    /* the sidebar sticks below the header; in the panel that only leaves a gap above it */
    .offcanvas-lg .filter-searchBar {
        position: static;
    }

    .gd-rt-pass {
        grid-template-columns: minmax(0, 1fr);
    }

    .gd-rt-stub {
        border-top: 2px dashed var(--gd-line-2);
        border-right: 0;
    }

        .gd-rt-stub::before, .gd-rt-stub::after {
            top: -13px;
            bottom: auto;
        }

        .gd-rt-stub::before {
            right: -12px;
        }

        .gd-rt-stub::after {
            right: auto;
            left: -12px;
        }

    .gd-rt-steps li {
        font-size: 11.5px;
    }
}

@media (max-width: 575.98px) {
    .gd-pax-head {
        flex-wrap: wrap;
    }

    .gd-pax-pick, .gd-pax-pick-btn {
        width: 100%;
        justify-content: center;
    }

    .gd-pax-pick-menu {
        right: 0;
        width: auto;
        max-width: none;
    }

    .gd-ride-leg {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 14px;
    }

    .gd-ride-air {
        flex: none;
    }

    /* full width, so the card keeps one layout whatever fits next to the price */
    .gd-ride-buy {
        width: 100%;
    }

    /* the template sets bottom for the stacked fields, but the top of the desktop rule won and the button sat on the origin text */
    #re-searchAccordion .switch-city {
        top: auto;
        transform: rotate(90deg);
    }

        #re-searchAccordion .switch-city:hover {
            transform: rotate(270deg);
        }

    .gd-ride-pt {
        min-width: 60px;
    }

        .gd-ride-pt b {
            font-size: 18px;
        }

    .gd-ride-route {
        gap: 8px;
    }

    .gd-rt-leg {
        grid-template-columns: minmax(0, 1fr) 90px minmax(0, 1fr);
        gap: 8px;
        padding: 16px 14px;
    }

    .gd-rt-city b {
        font-size: 18px;
    }

    .gd-rt-path {
        width: 100%;
    }

    .gd-notice-main {
        padding: 10px 18px 24px;
    }
}

/* =========================================================
   Flight results: compact cards, stop cities, gregorian date
   ========================================================= */
.gd-ride-list {
    --bs-gutter-y: 12px;
}

/* the gregorian date sits next to the persian one; its own font keeps latin digits */
.gd-greg {
    display: inline-block;
    margin-inline-start: 4px;
    color: var(--gd-muted);
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 10.5px;
    font-style: normal;
    letter-spacing: .2px;
    direction: ltr;
    unicode-bidi: isolate;
}

/* a flight with a stop says where, and a coral station marks it on the line */
.gd-ride-line small.is-stop {
    color: #7c329a;
    font-weight: 500;
}

    .gd-ride-line small.is-stop::before {
        content: "";
        position: absolute;
        top: calc(50% - 5px);
        left: calc(50% - 5px);
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #fff;
        box-shadow: 0 0 0 3px var(--gd-coral);
    }

.gd-ride-air img {
    width: 36px;
    height: 36px;
}

.gd-ride-tag {
    padding-bottom: 11px;
}

.gd-ride-line small {
    padding-top: 11px;
}

@media (min-width: 992px) {
    .gd-ride-leg {
        padding: 10px 18px;
    }

    .gd-ride-pt b {
        font-size: 19px;
    }

    .gd-ride-stub {
        flex-basis: 184px;
        gap: 4px;
        padding: 8px 14px;
    }

    /* the note under the third card says prices are per adult, and the label stays as a tooltip */
    .gd-ride-price small {
        display: none;
    }

    .gd-ride-price b {
        font-size: 18px;
        line-height: 1.35;
    }

    /* the template gives every .btn a fixed 56px height */
    .gd-ride-buy {
        height: 36px;
        min-height: 0;
        margin-top: 0;
        font-size: 13px;
    }
}

@media (max-width: 991.98px) {
    .gd-ride-stub {
        padding: 10px 14px;
        gap: 6px;
    }

    .gd-ride-buy {
        height: 42px;
        min-height: 0;
    }
}

@media (max-width: 575.98px) {
    .gd-ride-leg {
        padding: 12px 14px;
        gap: 8px;
    }
}

/* =========================================================
   Flight details modal (bookflight{n})
   ========================================================= */
.gd-fx .modal-dialog {
    max-width: 760px;
}

.gd-fx .modal-content {
    border: 0;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--gd-shadow-lg);
}

.gd-fx-head {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 26px 24px;
    background: var(--gd-ink-glow);
    color: #d3d5f2;
}

.gd-fx-head-main {
    min-width: 0;
}

.gd-fx-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    color: #d4e6ff;
    font-size: 12px;
}

.gd-fx-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin: 12px 0 10px;
    color: #fff;
    font-family: var(--gd-display);
    font-size: 25px;
    font-weight: 400;
    line-height: 1.35;
}

    .gd-fx-title i {
        color: #9fcfff;
        font-size: 17px;
    }

.gd-fx-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

    .gd-fx-meta span {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin: 0;
        padding: 2px 11px;
        border: 1px solid rgba(255, 255, 255, .14);
        border-radius: 999px;
        background: rgba(255, 255, 255, .08);
        color: #e6e5f6;
        font-size: 12px;
        line-height: 1.9;
    }

    .gd-fx-meta .gd-greg {
        font-size: 11.5px;
    }

.gd-fx-close {
    flex: none;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 16px;
    transition: background .2s, transform .3s var(--gd-ease);
}

    .gd-fx-close:hover {
        background: rgba(255, 255, 255, .24);
        transform: rotate(90deg);
    }

.gd-fx-body {
    padding: 22px 26px;
    background: var(--gd-mist);
}

/* the template pads every section by 60px */
.gd-fx-way {
    padding: 0;
}

.gd-fx-way + .gd-fx-way {
    margin-top: 24px;
}

.gd-fx-way-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin-bottom: 12px;
}

    .gd-fx-way-head b {
        color: var(--gd-title);
        font-size: 15px;
        font-weight: 500;
    }

    .gd-fx-way-head small {
        color: var(--gd-muted);
        font-size: 12.5px;
    }

        .gd-fx-way-head small.is-stop {
            color: #7c329a;
        }

.gd-fx-badge {
    padding: 1px 12px;
    border-radius: 999px;
    background: var(--gd-brand);
    color: #fff;
    font-size: 12px;
    line-height: 1.9;
}

    .gd-fx-badge.is-return {
        background: var(--gd-sunset);
    }

    .gd-fx-badge.is-rules {
        background: var(--gd-ink);
    }

/* fare rules of the flight details popup */
.gd-fx-rules {
    padding: 16px 18px;
    border: 1px solid var(--gd-line);
    border-radius: var(--gd-r-sm);
    background: #fff;
}

.gd-fx-rules-wait, .gd-fx-rules-msg {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 14px;
    border-radius: var(--gd-r-xs);
    background: var(--gd-mist);
    color: var(--gd-muted);
    font-size: 13px;
    line-height: 1.9;
}

    .gd-fx-rules-msg i {
        color: var(--gd-violet);
    }

    .gd-fx-rules-msg a {
        color: var(--gd-violet);
        font-weight: 500;
    }

.gd-fx-rules-spin {
    width: 16px;
    height: 16px;
    flex: none;
    border: 2px solid var(--gd-line-2);
    border-top-color: var(--gd-violet);
    border-radius: 50%;
    animation: gdFxRulesSpin .8s linear infinite;
}

@keyframes gdFxRulesSpin {
    to {
        transform: rotate(360deg);
    }
}

.gd-fx-rules-group + .gd-fx-rules-group {
    margin-top: 14px;
}

.gd-fx-rules-way {
    display: block;
    margin-bottom: 6px;
    color: var(--gd-muted);
    font-size: 12.5px;
    font-weight: 500;
}

.gd-fx-rule {
    padding: 10px 14px;
    border-radius: var(--gd-r-xs);
    background: var(--gd-violet-50);
    color: var(--gd-text);
    font-size: 13px;
    line-height: 2;
}

    .gd-fx-rule + .gd-fx-rule {
        margin-top: 8px;
    }

    .gd-fx-rule b {
        display: block;
        color: var(--gd-title);
        font-size: 13.5px;
        font-weight: 500;
    }

    .gd-fx-rule ul {
        margin: 2px 0 0;
        padding-inline-start: 18px;
    }

    .gd-fx-rule p {
        margin: 2px 0 0;
        color: var(--gd-muted);
        font-size: 12.5px;
    }

.gd-fx-rules-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    color: var(--gd-violet);
    font-size: 12.5px;
}

.gd-fx-seg {
    padding: 16px 18px;
    border: 1px solid var(--gd-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--gd-shadow-sm);
}

.gd-fx-air {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--gd-line-2);
}

    .gd-fx-air img {
        flex: none;
        width: 40px;
        height: 40px;
        padding: 4px;
        border-radius: 50%;
        background: var(--gd-mist);
        object-fit: contain;
    }

    .gd-fx-air > div {
        min-width: 0;
    }

    .gd-fx-air b {
        display: block;
        color: var(--gd-title);
        font-size: 14px;
        font-weight: 500;
    }

    .gd-fx-air small {
        color: var(--gd-muted);
        font-size: 12px;
    }

.gd-fx-code {
    color: var(--gd-violet-700);
    font-weight: 600;
    direction: ltr;
    unicode-bidi: isolate;
}

.gd-fx-track {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(96px, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}

.gd-fx-stn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

    .gd-fx-stn.is-end {
        align-items: flex-end;
        text-align: left;
    }

    .gd-fx-stn b {
        color: var(--gd-title);
        font-family: var(--gd-display);
        font-size: 25px;
        font-weight: 400;
        line-height: 1.2;
    }

    .gd-fx-stn small {
        max-width: 100%;
        overflow: hidden;
        color: var(--gd-text);
        font-size: 12px;
        line-height: 1.75;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

        .gd-fx-stn small + small {
            color: var(--gd-muted);
        }

    .gd-fx-stn .gd-greg {
        margin: 0;
    }

.gd-fx-iata {
    margin: 3px 0 2px;
    padding: 0 8px;
    border-radius: 6px;
    background: var(--gd-violet-50);
    color: var(--gd-violet-700);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .6px;
    direction: ltr;
}

/* the leg as a line between two stations, with the flight time in the middle */
.gd-fx-dur {
    position: relative;
    text-align: center;
}

    .gd-fx-dur::before {
        content: "";
        position: absolute;
        top: calc(50% - 1px);
        right: 4px;
        left: 4px;
        height: 2px;
        border-radius: 2px;
        background: var(--gd-route);
    }

    .gd-fx-dur::after {
        content: "";
        position: absolute;
        top: calc(50% - 4px);
        left: 0;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--gd-cobalt);
    }

    .gd-fx-dur span {
        position: relative;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 3px 10px;
        border: 1px solid var(--gd-line);
        border-radius: 999px;
        background: #fff;
        color: var(--gd-text);
        font-size: 11.5px;
        white-space: nowrap;
    }

        .gd-fx-dur span i {
            color: var(--gd-violet);
        }

.gd-fx-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

    .gd-fx-facts li {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 2px 11px;
        border-radius: 999px;
        background: var(--gd-mist);
        color: var(--gd-text);
        font-size: 12px;
        line-height: 1.9;
    }

        .gd-fx-facts li i {
            color: var(--gd-violet);
        }

/* a change of plane between two legs */
.gd-fx-lay {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    width: fit-content;
    max-width: 100%;
    margin: 10px auto;
    padding: 5px 15px;
    border: 1px dashed #cfa8e3;
    border-radius: 999px;
    background: var(--gd-coral-100);
    color: #66287f;
    font-size: 12.5px;
}

    .gd-fx-lay b {
        font-weight: 500;
    }

.gd-fx-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 26px;
    border-top: 1px solid var(--gd-line);
    background: #fff;
}

.gd-fx-price small {
    display: block;
    color: var(--gd-muted);
    font-size: 12px;
}

.gd-fx-price b {
    color: var(--gd-violet-700);
    font-family: var(--gd-display);
    font-size: 25px;
    font-weight: 400;
    line-height: 1.3;
}

.gd-fx-price span {
    margin-inline-start: 4px;
    color: var(--gd-muted);
    font-size: 12px;
}

.gd-fx-go {
    height: auto;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 26px !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: var(--gd-brand) !important;
    color: #fff !important;
    font-size: 15px;
    box-shadow: 0 14px 26px -14px rgba(74, 63, 176, .9);
    transition: transform .25s var(--gd-ease), box-shadow .25s;
}

    .gd-fx-go:hover {
        transform: translateY(-2px);
        box-shadow: 0 18px 30px -14px rgba(74, 63, 176, .95);
    }

.gd-fx-nobook {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gd-red);
    font-size: 13px;
}

@media (max-width: 575.98px) {
    .gd-fx .modal-dialog {
        margin: .5rem;
    }

    .gd-fx .modal-content {
        border-radius: 20px;
    }

    .gd-fx-head {
        padding: 16px 16px 18px;
    }

    .gd-fx-title {
        font-size: 20px;
    }

    .gd-fx-body {
        padding: 16px 12px;
    }

    .gd-fx-seg {
        padding: 14px 12px;
    }

    /* the two stations side by side, the flight time on its own row under them */
    .gd-fx-track {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 10px 12px;
    }

    .gd-fx-dur {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .gd-fx-stn b {
        font-size: 20px;
    }


    .gd-fx-foot {
        flex-wrap: wrap;
        gap: 8px;
        padding: 10px 16px 14px;
    }

    .gd-fx-price {
        display: flex;
        align-items: baseline;
        flex-wrap: wrap;
        gap: 0 6px;
        width: 100%;
    }

        .gd-fx-price small {
            margin-inline-end: auto;
        }

        .gd-fx-price b {
            font-size: 21px;
        }

    .gd-fx-go {
        flex: 1 1 100%;
        min-height: 46px;
    }
}

/* ---------------- Flight number filter (sidebar) ---------------- */
.gd-fno {
    position: relative;
}

    .gd-fno > i {
        position: absolute;
        top: 50%;
        right: 14px;
        transform: translateY(-50%);
        color: var(--gd-violet);
        font-size: 13px;
        pointer-events: none;
    }

    .gd-fno .form-control {
        height: 44px;
        padding: 0 40px 0 38px;
        border: 1px solid var(--gd-line-2);
        border-radius: 12px;
        background: var(--gd-mist);
        color: var(--gd-title);
        font-size: 13.5px;
        letter-spacing: .4px;
        transition: border-color .2s, box-shadow .2s, background .2s;
    }

        .gd-fno .form-control::placeholder {
            color: var(--gd-muted);
            letter-spacing: 0;
        }

        .gd-fno .form-control:focus {
            border-color: var(--gd-violet);
            background: #fff;
            box-shadow: var(--gd-ring);
        }

.gd-fno-clear {
    position: absolute;
    top: 50%;
    left: 8px;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: var(--gd-violet-100);
    color: var(--gd-violet-700);
    font-size: 12px;
}

    .gd-fno-clear:hover {
        background: var(--gd-violet);
        color: #fff;
    }

.gd-fno-hint {
    display: block;
    margin-top: 8px;
    color: #7c329a;
    font-size: 12px;
}

/* ---------------- "show more flights" under the list ---------------- */
.gd-more {
    text-align: center;
}

.gd-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 24px;
    border: 1px dashed var(--gd-violet-200);
    border-radius: 999px;
    background: var(--gd-violet-50);
    color: var(--gd-violet-700);
    font-size: 14px;
    transition: background .2s, border-color .2s, transform .25s var(--gd-ease);
}

    .gd-more-btn span {
        padding: 0 9px;
        border-radius: 999px;
        background: #fff;
        color: var(--gd-muted);
        font-size: 12px;
        line-height: 1.9;
    }

    .gd-more-btn:hover {
        border-style: solid;
        border-color: var(--gd-violet);
        background: #fff;
        transform: translateY(-2px);
    }

/* ---------------- Checkout: payment method (FlightDetail sidebar) ----------------
   radio rows like the bank apps: online gateway / wallet (credit payment is commented out in the view) */
.gd-pay {
    border-radius: var(--gd-r) !important;
    overflow: hidden;
}

.gd-pay-opt {
    display: block;
    margin: 0;
    padding: 16px 18px;
    border-top: 1px solid var(--gd-line);
    cursor: pointer;
    transition: background .2s;
}

    .gd-pay-opt:first-of-type {
        border-top: 0;
    }

    .gd-pay-opt:hover {
        background: var(--gd-violet-50);
    }

    .gd-pay-opt.is-on {
        background: linear-gradient(180deg, var(--gd-violet-50), #fff);
    }

    .gd-pay-opt.is-off {
        cursor: default;
    }

        .gd-pay-opt.is-off:hover {
            background: none;
        }

.gd-pay-head {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

    /* the radio: a ring that fills with navy */
    .gd-pay-head input[type="radio"] {
        flex: none;
        width: 20px;
        height: 20px;
        margin: 3px 0 0;
        border-radius: 50%;
        -webkit-appearance: none;
        appearance: none;
        background: #fff;
        box-shadow: inset 0 0 0 2px var(--gd-line-2);
        cursor: pointer;
    }

        .gd-pay-head input[type="radio"]:checked {
            box-shadow: inset 0 0 0 2px var(--gd-violet), inset 0 0 0 5px #fff, inset 0 0 0 10px var(--gd-violet);
        }

        .gd-pay-head input[type="radio"]:focus-visible {
            outline: 2px solid var(--gd-cobalt);
            outline-offset: 2px;
        }

        .gd-pay-head input[type="radio"]:disabled {
            background: var(--gd-mist);
            cursor: not-allowed;
        }

.gd-pay-txt b {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--gd-title);
    font-size: 15px;
}

    .gd-pay-txt b i {
        color: var(--gd-muted);
        font-size: 14px;
    }

.gd-pay-opt.is-on .gd-pay-txt b i {
    color: var(--gd-violet);
}

.gd-pay-txt small {
    display: block;
    margin-top: 2px;
    color: var(--gd-muted);
    font-size: 12.5px;
}

.gd-pay-opt.is-off .gd-pay-txt b {
    color: var(--gd-muted);
}

/* gateway / provider tiles */
.gd-pay-tiles {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    padding-right: 30px;
}

.gd-pay-tile {
    width: 64px;
    height: 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border: 1.5px solid var(--gd-line);
    border-radius: 12px;
    background: #fff;
    color: var(--gd-muted);
    font-size: 18px;
}

    .gd-pay-tile img {
        max-width: 38px;
        max-height: 38px;
        object-fit: contain;
    }

    .gd-pay-tile small {
        font-size: 10px;
        white-space: nowrap;
    }

.gd-pay-opt.is-on .gd-pay-tile.is-active {
    border-color: var(--gd-violet);
    color: var(--gd-violet);
    box-shadow: 0 0 0 3px var(--gd-violet-100);
}

/* wallet card */
.gd-pay-wallet {
    display: block;
    margin: 12px 30px 0 0;
    padding: 12px;
    border: 1.5px solid var(--gd-line);
    border-radius: 14px;
    background: #fff;
}

.gd-pay-opt.is-on .gd-pay-wallet {
    border-color: var(--gd-violet);
    box-shadow: 0 0 0 3px var(--gd-violet-100);
}

.gd-pay-wallet-top {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gd-line);
}

    .gd-pay-wallet-top b {
        color: var(--gd-title);
        font-size: 13.5px;
        font-weight: 600;
    }

.gd-pay-wallet-ico {
    flex: none;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid var(--gd-line);
    border-radius: 9px;
    background: #fff;
}

    .gd-pay-wallet-ico img {
        width: 24px;
        height: auto;
    }

.gd-pay-wallet-sum {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px 10px;
    padding-top: 9px;
    color: var(--gd-muted);
    font-size: 12.5px;
}

    .gd-pay-wallet-sum b {
        color: var(--gd-title);
    }

    .gd-pay-wallet-sum a {
        color: var(--gd-cobalt-700);
        font-size: 12.5px;
    }

.gd-pay-badge {
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--gd-red-100);
    color: var(--gd-red);
    font-size: 11.5px;
}

.gd-pay-note {
    display: block;
    margin: 10px 30px 0 0;
    padding: 8px 10px;
    border-radius: 10px;
    background: var(--gd-amber-100);
    color: var(--gd-amber);
    font-size: 12px;
}

/* ---------------- Search wait popup (Views/Shared/_SearchWait.cshtml) ----------------
   over the result skeleton while $scope.loading is true: a slim card with the search and
   a spinner, and under it an ad card (picture, title, text) from /Content/ads/search-wait-ads.js */
.gd-wait {
    position: fixed;
    inset: 0;
    z-index: 1065;
    display: grid;
    place-items: center;
    padding: 16px;
    background: rgba(15, 12, 54, .5);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    animation: gdWaitFade .3s ease;
}

    .gd-wait.is-dismissed {
        display: none;
    }

@keyframes gdWaitFade {
    from {
        opacity: 0;
    }
}

.gd-wait-stack {
    width: min(720px, 100%);
    max-height: calc(100vh - 32px);
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: auto;
    animation: gdWaitIn .45s var(--gd-ease);
}

@keyframes gdWaitIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
}

/* top card: the search on the right, spinner and close on the left */
.gd-wait-head {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 20px 50px -24px rgba(15, 12, 54, .55);
    overflow: hidden;
}

    /* thin brand line on the top edge */
    .gd-wait-head::before {
        content: "";
        position: absolute;
        inset: 0 0 auto;
        height: 3px;
        background: var(--gd-route);
    }

.gd-wait-head-txt {
    flex: 1;
    min-width: 0;
}

.gd-wait-title {
    margin: 0 0 4px;
    color: var(--gd-title);
    font-family: var(--gd-display);
    font-size: 17px;
    line-height: 1.6;
}

.gd-wait-sub {
    margin: 0;
    color: var(--gd-muted);
    font-size: 13.5px;
    white-space: pre-wrap;
}

    .gd-wait-sub:empty {
        display: none;
    }

.gd-wait-spin {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid var(--gd-violet-100);
    border-top-color: var(--gd-violet);
    border-left-color: var(--gd-cobalt);
    animation: gdWaitSpin .9s linear infinite;
}

@keyframes gdWaitSpin {
    to {
        transform: rotate(360deg);
    }
}

.gd-wait-close {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--gd-muted);
    font-size: 13px;
    cursor: pointer;
    opacity: .6;
    transition: background .2s, color .2s, opacity .2s;
}

    .gd-wait-close:hover {
        background: var(--gd-mist);
        color: var(--gd-title);
        opacity: 1;
    }

/* ad card: picture on top, caption under it */
.gd-wait-ad {
    position: relative;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 20px 50px -24px rgba(15, 12, 54, .55);
    overflow: hidden;
}

    .gd-wait-ad[hidden] {
        display: none;
    }

.gd-wait-ad-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

    .gd-wait-ad-link[href] {
        cursor: pointer;
    }

    .gd-wait-ad-link.is-in {
        animation: gdWaitAd .5s ease;
    }

@keyframes gdWaitAd {
    from {
        opacity: 0;
    }
}

.gd-wait-ad-img {
    display: block;
    aspect-ratio: 1200 / 530;
    background: var(--gd-mist);
}

    .gd-wait-ad-img img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }

.gd-wait-ad-cap {
    display: block;
    padding: 14px 20px 16px;
    text-align: center;
}

    .gd-wait-ad-cap[hidden], .gd-wait-ad-cap [hidden] {
        display: none;
    }

    .gd-wait-ad-cap b {
        display: block;
        color: var(--gd-title);
        font-size: 15px;
    }

    .gd-wait-ad-cap small {
        display: block;
        margin-top: 2px;
        color: var(--gd-text);
        font-size: 13.5px;
    }

.gd-wait-ad-link[href]:hover .gd-wait-ad-cap b {
    color: var(--gd-violet-700);
}

/* which ad is showing, when there are several */
.gd-wait-dots {
    position: absolute;
    top: 12px;
    left: 50%;
    display: flex;
    gap: 5px;
    transform: translateX(-50%);
}

    .gd-wait-dots[hidden] {
        display: none;
    }

    .gd-wait-dots i {
        display: block;
        width: 7px;
        height: 7px;
        border-radius: 999px;
        background: rgba(255, 255, 255, .7);
        box-shadow: 0 0 0 1px rgba(15, 12, 54, .15);
        transition: width .3s, background .3s;
    }

        .gd-wait-dots i.is-active {
            width: 20px;
            background: #fff;
        }

@media (prefers-reduced-motion: reduce) {
    .gd-wait-spin {
        animation-duration: 3s;
    }
}

@media (max-width: 575.98px) {
    .gd-wait-head {
        padding: 16px;
        gap: 12px;
    }

    .gd-wait-title {
        font-size: 15px;
    }

    .gd-wait-sub {
        font-size: 12.5px;
    }

    .gd-wait-spin {
        width: 32px;
        height: 32px;
    }
}

/* the flight-number box is type=search (browsers do not offer saved logins there): no second, native clear button */
.gd-fno input[type=search]::-webkit-search-cancel-button,
.gd-fno input[type=search]::-webkit-search-decoration { -webkit-appearance: none; appearance: none; display: none; }
.gd-fno input[type=search] { -webkit-appearance: none; appearance: none; }