/* ============================================
   JourneyXpress — Premium Flight Search v2
   Conversion-optimized, MakeMyTrip-level UX
   ============================================ */

/* ---------- FORM SHELL ---------- */
.jx-search-form {
    background: #fff;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 8px 48px rgba(0,0,0,.10), 0 1px 3px rgba(0,0,0,.06);
    position: relative;
    overflow: visible;
    max-width: 1100px;
    margin: 0 auto;
}

/* ---------- TRIP TYPE TABS ---------- */
.jx-trip-tabs {
    display: flex;
    justify-content: center;
    gap: 4px;
    padding: 18px 24px 0;
}

.jx-trip-tab {
    border: none;
    background: transparent;
    color: #63697b;
    font-size: 14px;
    font-weight: 600;
    padding: 9px 24px;
    border-radius: 28px;
    cursor: pointer;
    transition: all .22s ease;
    letter-spacing: .2px;
    outline: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.jx-trip-tab:hover {
    color: #FA5636;
    background: rgba(211,47,47,.06);
}

.jx-trip-tab.active {
    background: linear-gradient(135deg, #FA5636 0%, #e74040 100%);
    color: #fff;
    box-shadow: 0 3px 12px rgba(211,47,47,.30);
}

.jx-trip-tab-icon {
    font-size: 15px;
    opacity: .85;
}

/* ---------- FIELDS CARD ---------- */
.jx-fields-card {
    padding: 20px 24px 6px;
}

.jx-fields-row {
    display: flex;
    align-items: stretch;
    border: 1.5px solid #e1e6f0;
    border-radius: 12px;
    background: #fff;
    position: relative;
    overflow: visible;
    transition: border-color .2s, box-shadow .2s;
}

.jx-fields-row:focus-within {
    border-color: #FA5636;
    box-shadow: 0 0 0 3px rgba(211,47,47,.06);
}

/* ---------- INDIVIDUAL FIELD ---------- */
.jx-field {
    flex: 1;
    position: relative;
    border-right: 1.5px solid #e1e6f0;
    padding: 14px 18px 10px;
    min-width: 0;
    cursor: pointer;
    transition: background .2s ease, box-shadow .2s ease;
}

.jx-field:last-child {
    border-right: none;
}

.jx-field:hover {
    background: #fafbfe;
}

.jx-field:focus-within {
    background: #f0f4ff;
}

.jx-field--from { flex: 2; }
.jx-field--to   { flex: 2; }
.jx-field--date  { flex: 1.3; }
.jx-field--travellers { flex: 1.6; position: relative; }

.jx-field__label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 10.5px;
    font-weight: 700;
    color: #8a92a6;
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 3px;
}

.jx-field__label i {
    font-size: 10px;
    color: #b0b8c4;
}

/* Colored dots */
.jx-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.jx-dot--red   { background: #FA5636; }
.jx-dot--green { background: #2e7d32; }

/* ---------- INPUTS ---------- */
.jx-field__input {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
    width: 100%;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.jx-field__input::placeholder {
    font-size: 15px;
    font-weight: 500;
    color: #c0c6d2;
}

.jx-date-input {
    font-size: 16px !important;
    cursor: pointer;
}

/* Date quick chips */
.jx-date-quick {
    display: flex;
    gap: 6px;
    margin-top: 4px;
}

.jx-date-chip {
    border: none;
    background: #f0f2f7;
    color: #63697b;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 12px;
    cursor: pointer;
    transition: all .15s;
    outline: none !important;
}

.jx-date-chip:hover {
    background: #ffe5e5;
    color: #FA5636;
}

.jx-oneway-hint {
    margin-top: 6px;
}

/* ---------- AIRPORT SUGGESTIONS ---------- */
.jx-field__airport-wrap {
    position: relative;
}

.jx-suggestions {
    position: absolute;
    top: calc(100% + 10px);
    left: -18px;
    right: -18px;
    background: #fff;
    border: 1px solid #e4e8f0;
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(0,0,0,.16), 0 2px 8px rgba(0,0,0,.06);
    max-height: 340px;
    overflow-y: auto;
    z-index: 1060;
    display: none;
    scrollbar-width: thin;
    scrollbar-color: #ddd transparent;
}

.jx-suggestions::-webkit-scrollbar {
    width: 5px;
}
.jx-suggestions::-webkit-scrollbar-track {
    background: transparent;
}
.jx-suggestions::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 10px;
}

.jx-suggestions.show {
    display: block;
    animation: jxSlideDown .2s cubic-bezier(.16,1,.3,1);
}

@keyframes jxSlideDown {
    from { opacity: 0; transform: translateY(-8px) scale(.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Popular Cities Header */
.jx-suggestions-header {
    padding: 12px 16px 8px;
    font-size: 11px;
    font-weight: 700;
    color: #8a92a6;
    text-transform: uppercase;
    letter-spacing: .8px;
    border-bottom: 1px solid #f3f4f8;
    display: flex;
    align-items: center;
    gap: 6px;
}
.jx-suggestions-header i {
    color: #f5a623;
    font-size: 10px;
}

.airport-suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f8;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all .15s ease;
}

.airport-suggestion-item:last-child {
    border-bottom: none;
}

.airport-suggestion-item:hover,
.airport-suggestion-item.highlighted {
    background: linear-gradient(135deg, #fff8f6 0%, #fff5f2 100%);
}

.airport-suggestion-item:active {
    transform: scale(.99);
}

/* Suggestion plane icon */
.airport-suggestion-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #f8f9fc;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #b0b8c4;
    font-size: 13px;
    transition: all .15s;
}

.airport-suggestion-item:hover .airport-suggestion-icon,
.airport-suggestion-item.highlighted .airport-suggestion-icon {
    background: #FA5636;
    color: #fff;
}

.airport-suggestion-code {
    font-weight: 800;
    font-size: 13px;
    color: #fff;
    background: #FA5636;
    padding: 3px 8px;
    border-radius: 6px;
    min-width: 40px;
    text-align: center;
    letter-spacing: .5px;
    flex-shrink: 0;
}

.airport-suggestion-info {
    flex: 1;
    min-width: 0;
}

.airport-suggestion-name {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.airport-suggestion-location {
    font-size: 11.5px;
    color: #999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 1px;
}

.jx-suggestions .no-results,
.jx-suggestions .loading-results {
    padding: 20px 16px;
    text-align: center;
    color: #aaa;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.jx-suggestions .no-results i {
    font-size: 14px;
    color: #ccc;
}

/* Animated loading dots */
.jx-suggestion-loader {
    display: inline-flex;
    gap: 4px;
    align-items: center;
}
.jx-suggestion-loader span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #FA5636;
    animation: jxDotBounce .6s ease-in-out infinite;
}
.jx-suggestion-loader span:nth-child(2) { animation-delay: .1s; }
.jx-suggestion-loader span:nth-child(3) { animation-delay: .2s; }

@keyframes jxDotBounce {
    0%, 100% { transform: translateY(0); opacity: .4; }
    50% { transform: translateY(-4px); opacity: 1; }
}

/* ---------- RICH AIRPORT DISPLAY ---------- */
.jx-airport-rich-display {
    display: none;
    align-items: baseline;
    gap: 8px;
    cursor: pointer;
    padding: 2px 0;
}

.jx-airport-city {
    font-size: 22px;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jx-airport-code-badge {
    font-size: 12px;
    font-weight: 700;
    color: #FA5636;
    background: #fff0ed;
    padding: 2px 8px;
    border-radius: 6px;
    letter-spacing: .5px;
    flex-shrink: 0;
}

.jx-input-hidden-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
}

/* When field is focused, hide rich display and show input */
.jx-field--active .jx-airport-rich-display {
    display: none !important;
}
.jx-field--active .jx-input-hidden-text {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
    clip: auto !important;
}

/* ---------- DATE TEXT DISPLAY ---------- */
.jx-date-text {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    cursor: pointer;
    line-height: 1.4;
}

/* Make date field clickable */
.jx-field--date {
    cursor: pointer;
}

.jx-field--date:hover {
    background: #f8faff;
}

/* ---------- ACTIVE FIELD HIGHLIGHT ---------- */
.jx-field--active {
    background: #f0f4ff !important;
    box-shadow: inset 0 0 0 2px #FA5636;
    border-radius: 4px;
}

/* ---------- SWAP BUTTON ---------- */
.jx-swap-btn {
    flex: 0 0 0px;
    width: 0;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    position: relative;
    border: none;
    background: none;
    padding: 0;
}

.jx-swap-btn > svg,
.jx-swap-btn > span {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FA5636, #e74040);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(211,47,47,.30);
    cursor: pointer;
    transition: all .25s ease;
    border: 3px solid #fff;
    padding: 8px;
}

.jx-swap-btn:hover > svg,
.jx-swap-btn:hover > span {
    transform: translate(-50%, -50%) rotate(180deg);
    box-shadow: 0 4px 16px rgba(211,47,47,.40);
}

/* Swap spinning animation */
.jx-swap-spinning > svg,
.jx-swap-spinning > span {
    animation: jxSwapSpin .4s ease !important;
}

@keyframes jxSwapSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(180deg); }
}

/* ---------- FIELD ERRORS ---------- */
.jx-field__error {
    font-size: 11px;
    color: #FA5636;
    font-weight: 600;
    margin-top: 3px;
    display: none;
}

.jx-field__error.show {
    display: block;
    animation: jxShake .3s ease;
}

@keyframes jxShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-3px); }
    40%, 80% { transform: translateX(3px); }
}

/* ---------- TRAVELLERS TRIGGER & PANEL ---------- */
.jx-travellers-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 2px 0;
}

.jx-travellers-num {
    font-size: 24px;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1;
}

.jx-travellers-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.jx-travellers-text span:first-child {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
}

.jx-travellers-class {
    font-size: 12px;
    font-weight: 500;
    color: #8a92a6;
}

.jx-travellers-arrow {
    font-size: 10px;
    color: #b0b8c4;
    margin-left: auto;
    transition: transform .2s;
}

.jx-travellers-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 320px;
    background: #fff;
    border: 1px solid #e4e8f0;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0,0,0,.15);
    z-index: 1070;
    padding: 20px;
    display: none;
}

.jx-travellers-panel.show {
    display: block;
    animation: jxSlideDown .18s ease;
}

.jx-pax-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0f2f7;
}

.jx-pax-row:last-of-type {
    border-bottom: none;
}

.jx-pax-row strong {
    display: block;
    font-size: 14px;
    color: #222;
}

.jx-pax-row small {
    display: block;
    font-size: 11px;
    color: #999;
}

.jx-pax-counter {
    display: flex;
    align-items: center;
    gap: 12px;
}

.jx-pax-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #FA5636;
    background: transparent;
    color: #FA5636;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .18s;
    outline: none !important;
    padding: 0;
}

.jx-pax-btn:hover {
    background: #FA5636;
    color: #fff;
}

.jx-pax-val {
    font-size: 17px;
    font-weight: 700;
    min-width: 22px;
    text-align: center;
    color: #1a1a2e;
    transition: transform .15s;
}

.jx-pax-val.jx-pax-bounce {
    animation: jxPaxBounce .2s ease;
}

@keyframes jxPaxBounce {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); color: #FA5636; }
    100% { transform: scale(1); }
}

.jx-cabin-section {
    padding-top: 14px;
    margin-top: 6px;
    border-top: 1px solid #f0f2f7;
}

.jx-cabin-options {
    display: flex;
    gap: 6px;
}

.jx-cabin-opt {
    flex: 1;
    text-align: center;
    padding: 8px 6px;
    border: 2px solid #e1e6f0;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    color: #63697b;
    cursor: pointer;
    transition: all .15s;
    margin: 0;
}

.jx-cabin-opt:hover {
    border-color: #FA5636;
    color: #FA5636;
}

.jx-cabin-opt.active {
    border-color: #FA5636;
    background: #fff5f5;
    color: #FA5636;
}

.jx-cabin-opt input[type="radio"] {
    display: none;
}

.jx-pax-apply {
    width: 100%;
    margin-top: 14px;
    padding: 10px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #FA5636, #e74040);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    outline: none !important;
}

.jx-pax-apply:hover {
    box-shadow: 0 4px 14px rgba(211,47,47,.35);
}

/* ---------- MULTI-CITY TIMELINE ---------- */
.jx-mc-container {
    padding: 0 24px;
}

.jx-mc-timeline {
    position: relative;
    padding-left: 28px;
}

.jx-mc-timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: linear-gradient(to bottom, #FA5636 0%, #e74040 50%, #ff8a80 100%);
    border-radius: 2px;
}

.jx-mc-row {
    position: relative;
    background: #f8faff;
    border: 1.5px solid #e1e6f0;
    border-radius: 12px;
    padding: 16px 18px 12px;
    margin-bottom: 12px;
    transition: all .2s;
}

.jx-mc-row:hover {
    border-color: #FA5636;
    box-shadow: 0 4px 16px rgba(211,47,47,.08);
}

.jx-mc-row::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 24px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #FA5636;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #FA5636;
    z-index: 2;
}

.jx-mc-row-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.jx-mc-row-label {
    font-size: 12px;
    font-weight: 700;
    color: #FA5636;
    text-transform: uppercase;
    letter-spacing: .6px;
}

.jx-mc-remove {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    background: #fff;
    color: #999;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .15s;
    padding: 0;
    outline: none !important;
}

.jx-mc-remove:hover {
    background: #FA5636;
    color: #fff;
    border-color: #FA5636;
}

.jx-mc-fields {
    display: grid;
    grid-template-columns: 1fr auto 1fr 1fr;
    gap: 0 8px;
    align-items: end;
}

.jx-mc-field {
    position: relative;
}

.jx-mc-field .jx-field__label {
    font-size: 10px;
}

.jx-mc-field .jx-field__input {
    font-size: 15px;
    font-weight: 700;
    padding: 6px 0 !important;
    border-bottom: 2px solid #e1e6f0 !important;
    border-radius: 0 !important;
    transition: border-color .2s;
}

.jx-mc-field .jx-field__input:focus {
    border-bottom-color: #FA5636 !important;
}

.jx-mc-field .jx-field__input::placeholder {
    font-size: 13px;
    font-weight: 500;
}

.jx-mc-field .jx-suggestions {
    left: 0;
    right: auto;
    min-width: 280px;
}

.jx-mc-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FA5636;
    font-size: 18px;
    padding: 0 4px;
    padding-top: 16px;
}

.jx-mc-field--date .jx-field__input {
    font-size: 14px;
}

.jx-mc-add-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 0 8px 28px;
}

.jx-mc-add-btn {
    border: 2px dashed #FA5636;
    background: transparent;
    color: #FA5636;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 10px;
    cursor: pointer;
    transition: all .2s;
    text-transform: uppercase;
    letter-spacing: .3px;
    outline: none !important;
}

.jx-mc-add-btn:hover {
    background: #fff5f5;
    border-color: #D94420;
}

.jx-mc-add-btn i {
    margin-right: 6px;
}

.jx-mc-max-msg {
    font-size: 12px;
    color: #999;
}

/* ---------- SEARCH CTA ---------- */
.jx-search-cta {
    padding: 16px 24px 20px;
    display: flex;
    justify-content: center;
}

.jx-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 240px;
    padding: 14px 56px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #FA5636 0%, #e74040 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .3s ease;
    box-shadow: 0 6px 24px rgba(211,47,47,.35);
    outline: none !important;
    position: relative;
    overflow: hidden;
}

.jx-search-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), transparent);
    transition: left .5s ease;
}

.jx-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(211,47,47,.40);
}

.jx-search-btn:hover::before {
    left: 100%;
}

.jx-search-btn:active {
    transform: translateY(0);
}

.jx-search-btn.loading {
    pointer-events: none;
    opacity: .85;
}

.jx-search-btn.loading .jx-search-icon,
.jx-search-btn.loading .jx-search-btn-text {
    display: none;
}

.jx-search-btn.loading .jx-search-btn-loader {
    display: flex !important;
}

.jx-search-icon {
    flex-shrink: 0;
}

.jx-spinner {
    width: 22px;
    height: 22px;
    border: 3px solid rgba(255,255,255,.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: jxSpin .7s linear infinite;
}

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

#returnDateCol.jx-hidden {
    display: none !important;
}

/* Multi-city mode hides route fields, keeps travellers */
.jx-fields-card.jx-mc-mode .jx-fields-row {
    border: none;
    background: transparent;
}

.jx-fields-card.jx-mc-mode .jx-field--from,
.jx-fields-card.jx-mc-mode .jx-field--to,
.jx-fields-card.jx-mc-mode .jx-field--date,
.jx-fields-card.jx-mc-mode .jx-swap-btn {
    display: none !important;
}

.jx-fields-card.jx-mc-mode .jx-field--travellers {
    border: 1.5px solid #e1e6f0;
    border-radius: 12px;
    max-width: 280px;
}

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */
@media (max-width: 991px) {
    .jx-search-form {
        border-radius: 14px;
    }

    .jx-fields-row {
        flex-direction: column;
        border-radius: 12px;
    }

    .jx-field {
        border-right: none !important;
        border-bottom: 1.5px solid #e1e6f0;
    }

    .jx-field:last-child {
        border-bottom: none;
    }

    .jx-swap-btn {
        width: 100%;
        height: 0;
        overflow: visible;
    }

    .jx-swap-btn > svg,
    .jx-swap-btn > span {
        transform: translate(-50%, -50%) rotate(90deg);
        margin: 0 auto;
    }

    .jx-field--from, .jx-field--to,
    .jx-field--date, .jx-field--travellers {
        flex: unset;
    }

    .jx-airport-city {
        font-size: 20px;
    }

    .jx-mc-fields {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .jx-mc-arrow {
        transform: rotate(90deg);
        padding: 4px 0;
    }

    .jx-mc-field .jx-suggestions {
        min-width: 100%;
    }
}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */
@media (max-width: 767px) {
    .jx-search-form {
        border-radius: 12px;
        margin: 0 -4px;
    }

    .jx-trip-tabs {
        padding: 14px 16px 0;
        gap: 2px;
    }

    .jx-trip-tab {
        flex: 1;
        padding: 8px 10px;
        font-size: 12px;
        justify-content: center;
    }

    .jx-fields-card {
        padding: 14px 16px 4px;
    }

    .jx-field {
        padding: 12px 14px 8px;
    }

    .jx-field__input {
        font-size: 16px;
    }

    .jx-airport-city {
        font-size: 18px;
    }

    .jx-search-cta {
        padding: 12px 16px 16px;
    }

    .jx-search-btn {
        width: 100%;
        min-width: unset;
        padding: 14px 20px;
        font-size: 15px;
    }

    .jx-travellers-panel {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: auto;
        border-radius: 18px 18px 0 0;
        box-shadow: 0 -6px 40px rgba(0,0,0,.20);
        padding: 24px 20px;
        z-index: 2000;
    }

    .jx-suggestions {
        position: fixed !important;
        top: auto !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        max-height: 60vh;
        border-radius: 18px 18px 0 0;
        box-shadow: 0 -6px 40px rgba(0,0,0,.20);
        z-index: 2000;
    }

    .jx-mc-container {
        padding: 0 16px;
    }

    .jx-mc-timeline {
        padding-left: 22px;
    }

    .jx-mc-row {
        padding: 14px 14px 10px;
    }

    .jx-mc-add-wrap {
        padding-left: 22px;
    }

    .jx-mc-add-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .jx-trip-tab-icon {
        display: none;
    }

    .jx-mc-fields {
        grid-template-columns: 1fr;
    }

    .jx-cabin-options {
        flex-direction: column;
    }
}

/* Sticky on search results page */
.jx-search-form.jx-sticky {
    position: sticky;
    top: 0;
    z-index: 100;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,.12);
}

/* Parent theme overrides */
.bravo-form-search-space {
    padding-top: 50px !important;
    padding-bottom: 20px !important;
}

.bravo-form-search-space .g-form-control {
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
    margin: 10px 0 0 !important;
}

.bravo_wrap .page-template-content .bravo-form-search-space .g-form-control {
    margin: 10px 0 0 !important;
    min-height: 0 !important;
    height: auto !important;
}

.card-body .jx-search-form {
    box-shadow: none;
    border-radius: 0;
}

.hero-tab-pane .card-body {
    overflow: visible;
}

.bravo-form-search-all .card-body {
    padding: 0 !important;
}
