/* START Last Minute Transfer Options block */
.last-minute-transfer-options .select2-container--default .select2-selection--single .select2-selection__clear {
    left: -5px;
    float: left;
    color: #2756A0;
}

.last-minute-transfer-options-header-section {
    min-height: 368px;
    padding-bottom: 40px;
}

.last-minute-transfer-options-header-section.has-last-bg {
    background-size: cover!important;
    background-position: center 30%!important;
}

.last-minute-transfer-options-header-section .section-heading-holder .highlighted-text {
    color: #db3832;
}

.last-minute-transfer-options-header-section .section-heading-holder {
    margin-bottom: 0px;
}

.last-minute-transfer-options-header-section .section-heading-holder .highlighted-text {
    color: #db3832;
}

.last-minute-transfer-options-header-section h1.section-heading {
    font-size: 44px;
    line-height: 56px;
    font-weight: 700;
    margin-bottom: 6px;
}

.last-minute-transfer-options-header-section .section-sub-heading {
    font-size: 24px;
    line-height: 24px;
    font-weight: 500;
}

.last-minute-transfer-options-heading-second-column-widget {
    box-shadow: 0px 4px 8px 3px rgba(0, 0, 0, 0.15);
    background-color: #F4F6FA;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.last-minute-transfer-options-header-section .content-holder {
    display: grid;
    grid-template-columns: 70% 30%;
}

.last-minute-transfer-options-header-section .filter-wrapper {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
    margin-top: 60px;
}

.last-minute-transfer-options .filter-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #F4F6FA;
    border-radius: 8px;
    border: 1px solid #EDEDED;
    box-shadow: 0px 2px 6px 0px #1018280F;
    gap: 16px;
    margin-bottom: 20px;
}

.last-minute-transfer-options .filter {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.last-minute-transfer-options .filter.quantity-selector-holder {
    width: auto;
}

.last-minute-transfer-options .filter label {
    font-size: 16px;
    color: #0E0E0E;
    margin-bottom: 5px;
}

.last-minute-transfer-options .filter .select-wrapper {
    display: flex;
    width: max-content;
}

.last-minute-transfer-options .filter .select-wrapper img {
    margin-left: 20px;
}

.last-minute-transfer-options .filter .select-wrapper .select2-container,
.last-minute-transfer-options .filter input[type="date"] {
    width: 260px!important;
}

.last-minute-transfer-options .select2-container--default .select2-selection,
.last-minute-transfer-options input[type="date"] {
    padding: 12px 16px;
    border: 1px solid #DADADA;
    border-radius: 4px;
    font-size: 16px;
    width: 100%;
    background: #fff;
}

.last-minute-transfer-options .select2-container {
    position: relative;
    display: inline-block;
    width: 100% !important;
}

.last-minute-transfer-options .select2-container--default .select2-selection {
    appearance: none;
    padding: 9px 30px 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: auto;
}

.last-minute-transfer-options .select2-container--default .select2-selection:focus {
    border-color: #007bff;
    outline: none;
}

.last-minute-transfer-options .select2-container--default .select2-selection--single .select2-selection__arrow {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url('/wp-content/uploads/dropdown-arrow.svg');
    background-size: cover;
    pointer-events: none;
    transition: transform 0.3s ease; /* Smooth transition */
    z-index: 9999;
}

.last-minute-transfer-options .select2-container--default .select2-selection--single .select2-selection__arrow b {
    display: none;
}

.last-minute-transfer-options .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow {
    transform: translateY(-50%) rotate(180deg);
    z-index: 999992;
}

.last-minute-select2-class.select2-container--open .select2-search.select2-search--dropdown {
    appearance: none;
    padding: 9px 30px 9px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: auto;
    border: 1px solid #DADADA;
    border-radius: 4px;
    width: 100%;
    background: #fff;
}

.last-minute-select2-class.select2-container--open .select2-search.select2-search--dropdown input {
    font-size: 16px;
}

.last-minute-select2-class.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 0;
}

.last-minute-select2-class.select2-container--open .select2-dropdown {
    margin-top: 0;
    top: -47px;
    background-color: unset;
    border: unset;
    z-index: 99999;
}

.last-minute-select2-class.select2-container--open .select2-dropdown .select2-results {
    margin-top: 14px;
    box-shadow: 0px 10px 16px 0px #2F2F2F1A;
    background-color: #fff;
    border-radius: 8px;
}

/* Style the scrollbar for the select2 dropdown */
.last-minute-select2-class.select2-container--open .select2-dropdown .select2-results .select2-results__options {
    border-radius: 8px;
    scrollbar-width: thin;
    scrollbar-color: #BCC3CA #F0F2F5;
}

/* Style the scrollbar track */
.last-minute-select2-class.select2-container--open .select2-dropdown .select2-results .select2-results__options::-webkit-scrollbar {
    width: 8px; /* Adjust the width as needed */
}

.last-minute-select2-class.select2-container--open .select2-dropdown .select2-results .select2-results__options::-webkit-scrollbar-track {
    background: #F0F2F5; /* Track color */
    border-radius: 8px; /* Optional: match the dropdown's border radius */
}

/* Style the scrollbar thumb */
.last-minute-select2-class.select2-container--open .select2-dropdown .select2-results .select2-results__options::-webkit-scrollbar-thumb {
    background: #BCC3CA; /* Thumb color */
    border-radius: 8px !important; /* Ensure the thumb has rounded corners */
}

/* Remove scrollbar arrows */
.last-minute-select2-class.select2-container--open .select2-dropdown .select2-results .select2-results__options::-webkit-scrollbar-button {
    display: none !important; /* Hides the arrows */
}


.last-minute-select2-class.select2-container--open .select2-results__option {
    font-family: Roboto;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.last-minute-select2-class.select2-container--open .select2-results__option--highlighted[aria-selected] {
    background-color: #F6F7F9;
    color: #303438;
}

/* .select2-hidden-accessible,
.select2-selection__clear {
    display: none;
} */

.select2-container--open .select2-results__option {
    padding: 8px 12px;
    font-size: 16px;
    color: #333;
    cursor: pointer;
}

.select2-container--open .select2-results__option--highlighted {
    background-color: #f0f0f0;
}

.last-minute-transfer-options .show-offers {
    background-color: #2756A0;
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    max-width: 180px;
    margin-top: 28px;
}

.last-minute-transfer-options .show-offers:hover {
    background-color: #3468b9;
}

.last-minute-transfer-options .quantity-selector button {
    width: 40px;
    height: 40px;
}

.last-minute-transfer-options .quantity-selector input {
    width: 30px;
}

.last-minute-transfer-options .active-filters {
    align-items: center;
    padding: 10px 20px;
    display: flex;
    background-color: #FFFFFF;
    border: 1px solid rgba(237, 237, 237, 1);
    box-shadow: 0px 4px 8px 3px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
}

.last-minute-transfer-options .active-filters.d-flex {
    display: flex;
}

.last-minute-transfer-options .active-filters .active-filters-title {
    font-size: 14px;
    font-weight: 500;
    color: #332E2B;
    margin-right: 16px;
}

.last-minute-transfer-options .active-filters span {
    font-size: 14px;
    color: #303438;
}

.last-minute-transfer-options .active-filters button {
    background: none;
    border: none;
    color: #2756A0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    text-decoration: underline;
}

.last-minute-transfer-options .active-filters .active-filters-value {
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
    color: #333333;
    border: 1px solid #DADADA;
    border-radius: 4px;
    padding: 11px 14px;
    margin-right: 10px;
}

.last-minute-transfer-options .remove-filter {
    margin-bottom: -2px;
    margin-left: 8px;
    cursor: pointer;
}

.last-minute-transfer-options img.remove-filter {
    margin-left: 0;
    height: 14px;
    width: 14px;
    display: flex;
}

.last-minute-transfer-options .transfer-type .transfer-type-label {
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    color: #545454;
}

.last-minute-transfer-options .flight-time-label {
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    color: #545454;
}

.last-minute-transfer-options .availability {
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: -0.011em;
    text-align: center;  
}

.last-minute-transfer-options .availability-label {
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.15px;
    text-align: center;    
}

.last-minute-transfer-options .info-icon {
    cursor: pointer;
    position: relative;
    display: inline-block;
    width: 13.33px;
    height: 13.33px;
    background: url('/wp-content/uploads/table-info-icon.svg') no-repeat center center;
    background-size: contain;
    margin-bottom: -2px;
}

.last-minute-transfer-options .info-icon::after {
    content: attr(data-title);
    position: absolute;
    bottom: 190%;
    left: 140px;
    transform: translateX(-50%);
    background-color: #172131E5;
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    white-space: normal;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 9999;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-align: left;
    text-transform: none;
    width: 340px;
}

.last-minute-transfer-options .info-icon::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #172131E5 transparent transparent transparent;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.last-minute-transfer-options .info-icon:hover::after,
.last-minute-transfer-options .info-icon:hover::before {
    opacity: 1;
    visibility: visible;
}

.last-minute-route-label {
    font-size: 10px;
    font-weight: 500;
    line-height: 14px;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 2px;
    padding: 1px 7px;
    border-radius: 10px;
    width: fit-content;
}

.last-minute-route-label.last-minute-route-label-most-popular {
    background-color: #1E57C6;
}

.last-minute-route-label.last-minute-route-label-special-offer {
    background-color: #212121;
}

.last-minute-transfer-options .quantity-control {
    width: fit-content;
    border: 1px solid #DDE1E4;
    background-color: #FFFFFF;
    padding: 3px;
    border-radius: 4px;
    display: flex;
    margin: 0 auto;
    position: relative;
}

.last-minute-transfer-options .quantity-control button {
    width: 30px;
    height: 30px;
    background-color: #F7F7F7;
    color: #B4B7BB;
    cursor: pointer;
    font-size: 22px;
    font-weight: 900;
    text-align: center;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.last-minute-transfer-options .quantity-control button:hover {
    color: #2756A0;
}

.last-minute-transfer-options .quantity-control input {
    width: 28px;
    color: #333;
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
    text-align: center;
    border-radius: 4px;
    margin: 0 5px;
}

.last-minute-transfer-options .subscribe-link-label {
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    color: #757575;
    letter-spacing: 0.15px;
}

.transfer-card .book-now,
.transfer-options-table .book-now,
.mobile-book-now {
    background-color: #E42727;
    color: #fff;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}


.transfer-card .book-now.blocked-button,
.transfer-options-table .book-now.blocked-button,
.mobile-book-now.blocked-button {
    background-color: #DCDEE1;
    color: #969DA7;
    position: relative;
    cursor: help;
}

body .modal-content .modal-actions .continue-booking-button.blocked-button {
    background-color: #DCDEE1!important;
    color: #969DA7!important;
    position: relative;
    cursor: help!important;
    pointer-events: none;
}

.blocked-button:not(.continue-booking-button, .book-done)::after {
    content: attr(data-title);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #172131E5;
    font-size: 14px;
    color: #fff;
    padding: 12px 16px;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 10;
    width: 220px;
}

.blocked-button:not(.continue-booking-button, .book-done)::before {
    content: '';
    position: absolute;
    bottom: 90%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.blocked-button:hover::after,
.blocked-button:hover::before {
    opacity: 1;
    visibility: visible;
}

.last-minute-transfer-options .show-in-page-select2-class.select2-container {
    width: 88px!important;
}

.select2-container--default.show-in-page-select2-class .select2-selection--single .select2-selection__rendered {
    padding-left: 8px;
    padding-right: 8px;
}

.mobile-filter-toggle {
    display: none;
}

.pagination {
    display: flex;
    gap: 5px;
    justify-content: space-between;
}

.pagination button {
    background-color: #F3F5F7;
    border: 1px solid #F3F5F7;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 4px;
    transition: border-color 0.3s, color 0.3s;
    font-size: 16px;
}

.pagination button:hover {
    border: 1px solid #757575;
}

.pagination button.active-page {
    background-color: #2756A0;
    border: 1px solid #2756A0;
    color: #fff;
}

.pagination button:active {
    background-color: #ebebeb;
}

.pagination span {
    padding: 8px 0px;
    color: #999;
}

.pagination .next-page,
.pagination .previous-page {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.pagination .next-page img,
.pagination .previous-page img {
    height: 16px;
}

.pagination .next-page img {
    transform: rotate(-90deg);
}

.pagination .previous-page img {
    transform: rotate(90deg);
}

.filter-wrapper-header,
.filter-wrapper-footer {
    display: none;
}

/* Add this CSS to your stylesheet */
.tbody-overlay {
    position: relative;
}

.tbody-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.tbody-overlay.loading::before {
    display: flex;
}

.tbody-overlay.loading {
    min-height: 550px;
}

.tbody-overlay.loading::after {
    content: url('/wp-content/uploads/a2a-submit-spin.svg');
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.last-minute-transfer-options .max-seats-message {
    position: absolute;
    display: none;
    bottom: 130%;
    left: 0;
    right: 0;
    padding: 4px;
    background-color: #f4f6fa;
    border-radius: 4px;
    color: #000;
    text-align: center;
    border: 2px solid #e53334;
}

.last-minute-transfer-options td.quantity .max-seats-message {
    bottom: 130%;
    min-width: 150px;
    left: -22%;
}

.last-minute-transfer-options .max-seats-message::after {
    content: "";
    position: absolute;
    bottom: -13px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #e53334 transparent transparent transparent;
}

.lmf-d-none {
    display: none;
}

.transfer-options .no-results-notice {
    display: none;
    width: 100%;
}

.transfer-options .no-results-notice-part-1 {
    margin-right: 6px;
}

.transfer-options .no-results-notice-part-1,
.transfer-options .no-results-notice-part-2 {
    font-size: 16px;
    font-weight: 500;
}

.transfer-options.no-results-notice-shown .no-results-notice {
    display: flex;
    align-items: center;
    padding: 24px;
    background-color: #F4F6FA;
}

.transfer-options .no-results-notice-search-params {
    font-size: 14px;
    font-weight: 400;
}

.transfer-options .no-results-notice-search-params span {
    margin-right: 6px;
    padding: 4px;
    border: 1px solid #2756a0;
    border-radius: 4px;
}

.subscribe-popup.hidden {
    display: none;
}

.subscribe-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 570px;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    box-sizing: border-box;
}

.subscribe-popup-header {
    padding: 12px;
    background-image: url('/wp-content/uploads/d227e556bd69b7d7b6686d1e76d8dc38-scaled.webp');
    background-size: cover;
    background-position: center;
    min-height: 140px;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.subscribe-popup-content {
    position: relative;
    padding: 28px 32px;
}

.subscribe-popup h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #000000;
}

.subscribe-popup p {
    font-size: 16px;
    margin-bottom: 32px;
    color: #555;
    letter-spacing: 0.15px;
}

.subscribe-popup .form-group {
    margin-bottom: 15px;
}

.subscribe-popup .form-group-50-50 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.subscribe-popup .form-group-30-70 {
    display: grid;
    grid-template-columns: 3fr 6fr;
    gap: 24px;
}

.subscribe-popup .form-input-holder {
    margin-bottom: 24px;
}

.subscribe-popup label {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
    color: #212121;
}

.subscribe-popup input[type="text"],
.subscribe-popup input[type="email"] {
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
    border: 1px solid #DADADA;
}

.subscribe-popup input[type="email"] {
    min-height: 48px;
}

.subscribe-popup input[type="email"]::placeholder {
    color: #7E7E7E;
}

.subscribe-popup .form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
}

.subscribe-popup .cancel-button,
.subscribe-popup .notify-button {
    border: 1px solid #2756A0;
    padding: 14px 28px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.2s, color 0.2s;
}

.subscribe-popup .cancel-button {
    background-color: #fff;
    color: #2756A0;
}

.subscribe-popup .notify-button {
    background-color: #2756A0;
    color: #fff;
}

.subscribe-popup .cancel-button:hover {
    background-color: #2756A0;
    color: #fff;
}

.subscribe-popup .notify-button:hover {
    background-color: #3468b9;
}

.subscribe-popup .close-popup {
    position: absolute;
    top: 12px;
    right: 12px;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    height: 32px;
    width: 32px;
    background: #FFFFFF33;
    border-radius: 8px;
    transition: background 0.2s;
}

.subscribe-popup .close-popup:hover {
    background: hsla(206,100%,73.3%,1);
}

.subscribe-popup .close-popup img {
    margin-bottom: -2px;
}

.subscribe-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #10203A99; /* Overlay color with transparency */
    z-index: 999; /* Ensure it appears above other content */
}

.subscribe-popup-overlay.hidden {
    display: none;
}

.last-minute-select2-class.select2-container--open.subscribe-popup-select2-open-class .select2-dropdown {
    top: -47px;
}

@media (min-width: 769px) {

    .transfer-options-table tbody tr:nth-child(odd) {
        background-color: #fff;
    }

    .transfer-options-table tbody tr:nth-child(even) {
        background-color: #F9FAFB;
    }

    .transfer-options-table tbody tr:hover {
        background-color: #EAEDF1;
    }

    .transfer-options-table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 32px;
        table-layout: auto;
    }

    .transfer-options-table td.action .other-options-link {
        margin-left: 12px;
    }

    .transfer-options-table thead, .transfer-options-table tbody {
        display: table;
        width: 100%;
    }

    .transfer-options-table td {
        padding: 22px 14px;
        text-align: left;
    }

    .transfer-options-table th.action,
    .transfer-options-table td.action {
    width: 21%; 
    }

    .transfer-options-table th,
    .transfer-options-table td {
    width: 15%; 
    }

    .transfer-options-table th.quantity,
    .transfer-options-table td.availability,
    .transfer-options-table td.quantity {
    width: 12%; 
    }

    .transfer-options-table th.route,
    .transfer-options-table td.route {
        width: 20%;
    }

    .transfer-options-table th.transfer-date,
    .transfer-options-table td.transfer-date {
        width: 8%;
    }

    .transfer-options-table th.transfer-type,
    .transfer-options-table td.transfer-type {
        width: 12%;
    }

    .transfer-options-table th.price,
    .transfer-options-table td.price {
        width: 12%;
    }

    .transfer-options-table th {
        border-bottom: 2px solid #D4D4D4;
        text-transform: uppercase;
        font-family: Roboto;
        font-size: 12px;
        font-weight: 700;
        line-height: 18px;
        letter-spacing: 0.03em;
        padding: 8px 14px;
        text-align: left;
        color: #212121;
    }

    .transfer-options-table th.quantity {
        text-align: center;
    }

    .transfer-options-table td.route,
    .transfer-options-table td.route a {
        color: #212121;
        text-decoration: none;
        font-weight: 500;
    }

    .transfer-options-table td.route a:hover {
        text-decoration: underline;
        color: #2756A0;
    }

    .transfer-options-table tbody {
        font-size: 14px;
    }
    
    .transfer-options-table tbody tr:hover {
        background-color: #f1f1f1;
    }

    .transfer-options-table .old-price {
        text-decoration: line-through;
        color: #545454;
        font-size: 12px;
    }

    .transfer-options-table .new-price {
        color: #e42727;
        font-weight: bold;
        font-size: 14px;
    }

    .transfer-options-table .price-holder-label {
        font-size: 12px;
        color: #757575;
        font-weight: 400;
    }

    .transfer-options-table .table-price-holder {
        display: flex;
        flex-direction: column;
    }

    .pagination-and-show-in-page {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 40px;
    }

    .show-in-page {
        display: flex;
        align-items: center;
        margin-left: auto;
    }

    .show-in-page label {
        font-size: 14px;
        font-weight: 400;
        line-height: 20px;
        margin-right: 10px;
    }

    .last-minute-transfer-options .show-in-page-select2-class.select2-container--default .select2-selection,
    .show-in-page-select2-open-class.select2-container--open .select2-search.select2-search--dropdown {
        height: 40px;
    }

    .show-in-page-select2-open-class.select2-container--open .select2-dropdown {
        top: -8px;
        z-index: 9991;
    }

    .show-in-page-select2-open-class.select2-container--open .select2-search.select2-search--dropdown input {
        display: none;
    }

    .show-in-page select {
        padding: 8px 40px 8px 8px;
        border: 1px solid #ddd;
        border-radius: 4px;
        cursor: pointer;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        position: relative;
    }

    .show-in-page select:after {
        content: '';
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        background: url('/../wp-content/uploads/dropdown-arrow.svg') no-repeat center;
        background-size: 28%;
        width: 16px;
        height: 16px;
        pointer-events: none;
    }
}

@media (min-width: 769px) {
    .transfer-options-table {
        display: block;
    }

    .transfer-options-cards {
        display: none;
    }
}

@media (max-width: 768px) {

    .last-minute-transfer-options-header-section .section-heading-holder,
    .last-minute-transfer-options-header-section .filter-wrapper,
    .last-minute-transfer-options-header-section .last-minute-transfer-options-heading-second-column-widget {
        grid-column: 1/3;
    }

    .last-minute-transfer-options-header-section .section-heading-holder,
    .last-minute-transfer-options-header-section .section-heading {
        text-align: center;
    }

    .last-minute-transfer-options-header-section h1.section-heading {
        font-size: 24px;
        font-weight: 700;
        line-height: 32px;
    }

    .last-minute-transfer-options-header-section .section-heading span {
        display: inline;
    }

    .last-minute-transfer-options-header-section .section-sub-heading {
        font-size: 16px;
        font-weight: 500;
        line-height: 24px;
    }

    .last-minute-transfer-options-header-section .section-heading-holder {
        padding: 40px 15px 32px 15px!important;
        background-color: #dae7f1;
    }

    .last-minute-transfer-options-header-section .section-heading-holder .section-heading {
        width: 90%;
        margin: 0 auto 12px auto;
    }

    .last-minute-transfer-options-header-section.has-last-bg {
        background-position: center!important;
        padding-top: 0px!important;
    }

    .last-minute-transfer-options-header-section .content-holder {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .last-minute-transfer-options-heading-second-column-widget {
        width: 100%;
        background: rgba(202, 217, 237, 0.4);
        min-height: 56px;
        padding: 0 15px;
        box-shadow: unset;
    }

    .last-minute-transfer-options-header-section .filter-wrapper {
        margin-top: 32px;
        width: 100%;
        padding: 0 15px;
    }

    .last-minute-transfer-options-header-section .container {
        padding: 0px!important;
    }

    .offer-blocked-message {
        display: none;
        position: absolute;
        bottom: 130%;
        left: 0;
        right: 0;
        padding: 4px;
        background-color: #f4f6fa;
        border-radius: 4px;
        color: #000;
        text-align: center;
        border: 2px solid #e53334;
    }

    .offer-blocked-message:after {
        content: "";
        position: absolute;
        bottom: -13px;
        left: 50%;
        transform: translateX(-50%);
        border-width: 6px;
        border-style: solid;
        border-color: #e53334 #fff0 #fff0 #fff0;
    }

    .subscribe-popup {
        width: 100%;
        height: 100dvh;
    }
    
    .subscribe-popup-header {
        padding: 12px;
        min-height: 100px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

    .subscribe-popup-content {
        padding: 16px;
        overflow-y: auto;
        max-height: calc(100vh - 164px); /* Adjust the value based on the height of the fixed child element */
    }

    .subscribe-popup h2 {
        font-size: 20px;
        font-weight: 500;
        line-height: 28px;
    }

    .subscribe-popup p {
        font-size: 14px;
        line-height: 20px;
        color: #333333;
    }

    .subscribe-popup .form-actions {
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        padding: 16px;
        border-top: 1px solid #E7E7E7;
        box-shadow: 0px -4px 8px 0px #5050501A;
        background: #fff;
    }

    .subscribe-popup .form-group-50-50,
    .subscribe-popup .form-group-30-70 {
        display: flex;
        flex-direction: column;
        gap: 0px;
    }

    .subscribe-popup .quantity-selector {
        width: 100%;
        justify-content: space-between;
    }

    .blocked-button::after {
        left: 10%;
    }

    .pagination button {
        font-size: 16px;
        padding: 8px 9px;
        min-height: 37px;
    }

    .pagination {
        justify-content: unset;
    }

    .pagination .next-page, .pagination .previous-page {
        font-size: 0px;
    }

    .tbody-overlay.loading {
        min-height: 340px;
    }

    .transfer-options.no-results-notice-shown .no-results-notice {
        align-items: flex-start;
    }

    .transfer-options .no-results-notice {
        flex-direction: column;
    }

    .transfer-options .no-results-notice-search-params {
        display: flex;
        flex-direction: column;
    }

    .filter-wrapper.mobile-filter-open {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100dvh;
        background-color: #F4F6FA;
        z-index: 99999;
        overflow-y: auto;
    }

    .filter-wrapper {
        display: flex;
        flex-direction: column;
    }

    .filter-wrapper .filter-section {
        order: 3;
        margin-top: 8px;
        background-color: #FFFFFF;
        border-radius: 0px;
    }

    .filter-wrapper .active-filters {
        order: 4;
        background-color: #FFFFFF;
        border: 1px solid rgba(237, 237, 237, 1);
        box-shadow: 0px 4px 8px 3px rgba(0, 0, 0, 0.15);
        border-radius: 8px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
        padding: 15px;
    }

    .filter-wrapper.mobile-filter-open .filter-wrapper-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px;
        order: 1;
        background-color: #FFFFFF;
        border-bottom: 1px solid #EFEEED;
        position: sticky;
        top: 0;
    }

    .filter-wrapper.mobile-filter-open .filter-wrapper-footer {
        order: 4;
        display: flex;
        justify-content: space-between;
        padding: 16px;
        margin-top: auto;
        background-color: #FFFFFF;
        box-shadow: 0px -4px 8px 0px #5050501A;
        position: sticky;
        bottom: 0;
    }

    .last-minute-transfer-options .show-offers {
        margin-top: 0;
        max-width: unset;
        flex-grow: 1;
    }

    .last-minute-transfer-options .filter .select-wrapper img {
        display: none;
    }

    .last-minute-transfer-options .filter label {
        display: none;
    }

    .last-minute-transfer-options .filter.quantity-selector-holder {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .last-minute-transfer-options-body-section {
        padding-top: 26px;
    }

    .last-minute-transfer-options .filter.quantity-selector-holder label {
        display: block;
    }

    .filter-wrapper.mobile-filter-open .filter-wrapper-footer .cancel-filter-button {
        background-color: #FFFFFF;
        border: 1px solid #2756A0;
        color: #2756A0;
        border-radius: 4px;
        padding: 14px 28px;
        font-size: 16px;
        font-weight: 500;
        line-height: 20px;
        flex-grow: 0;
    }

    .filter-wrapper-header .filter-wrapper-header-title {
        font-size: 20px;
        font-weight: 600;
        color: #333333;
    }

    .filter-wrapper-header .filter-wrapper-header-title span {
        font-weight: 400;
        color: #7D7571;
        font-size: 16px;
    }

    .filter-wrapper-header .close-filter-button img {
        width: 16px;
        height: 16px;
    }

    .filter-wrapper.mobile-filter-open .active-filters {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
        padding: 16px;
    }

    /* body .last-minute-transfer-options .active-filters.d-flex {
        display: none;
    }

    body .filter-wrapper.mobile-filter-open .active-filters.d-flex {
        display: flex;
    } */

    .last-minute-transfer-options .active-filters .active-filters-value {
        display: flex;
        order: 3;
        flex: 0;
        white-space: nowrap;
        margin-right: 0;
        padding: 11px 14px 11px 14px;
        font-size: 12px;
        grid-column: 1/3;
    }

    .last-minute-transfer-options .active-filters .remove-filter {
        margin-bottom: 2px;
        height: 14px;
        width: 24px;
        margin-left: auto;
    }

    .last-minute-transfer-options .active-filters .remove-filter img {
        height: 14px;
        width: 14px;
    }

    .last-minute-transfer-options .active-filters .active-filters-title {
        margin-bottom: 8px;
    }

    .last-minute-transfer-options .active-filters .active-filters-clear-all-form {
        margin-left: auto;
        width: 66%;
        text-align: right;
        margin-bottom: 8px;
    }

    .filter-wrapper.mobile-filter-open .filter-section {
        display: block;
    }

    .mobile-filter-toggle {
        display: block;
    }

    body .last-minute-transfer-options .filter-section {
        display: flex;
        flex-direction: column;
        border: 1px solid rgba(237, 237, 237, 1);
        box-shadow: 0px 4px 8px 3px rgba(0, 0, 0, 0.15);
        border-radius: 8px;
        background-color: rgba(244, 246, 250, 1);
        gap: 0;
    }

    body .last-minute-transfer-options .filter {
        margin-bottom: 16px;
    }

    body .last-minute-transfer-options .filter .select-wrapper .select2-container,
    body .last-minute-transfer-options .filter input[type="date"],
    body .last-minute-transfer-options .filter .quantity-selector,
    body .last-minute-transfer-options .filter .select-wrapper {
        width: 100%!important;
    }

    body .last-minute-transfer-options .filter .quantity-selector {
        justify-content: space-between;
        max-width: 146px;
    }

    .transfer-options-table {
        display: none; /* Hide table on mobile */
    }

    .transfer-options-cards {
        display: block;
    }

    .mobile-filter-toggle .mobile-filter-toggle-button {
        font-size: 16px;
        font-weight: 500;
        line-height: 20px;
        color: #2756A0;
        width: 100%;
        padding: 12px 24px 12px 24px;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        border: 1px solid #2756A0;
        border-radius: 4px;
        margin-bottom: 24px;
    }

    .mobile-filter-toggle .mobile-filter-toggle-button span.active-filters-count {
        color: #9BA2AD;
        font-weight: 400;
    }

    .transfer-card {
        border: 1px solid #ddd;
        border-radius: 8px;
        margin-bottom: 16px;
        padding: 16px;
        background-color: #fff;
        position: relative;
        padding-bottom: 50px;
    }

    .transfer-card.sold-out-transfer-card {
        padding-bottom: 16px;
    }

    .transfer-card.available-transfer-card {
        position: unset;
        padding-bottom: 16px;
    }

    .transfer-card .route {
        margin-bottom: 12px;
        position: relative;
        font-family: Roboto;
        font-size: 18px;
        font-weight: 500;
        line-height: 24px;
        letter-spacing: -0.01em;
    }

    .transfer-card .route-link {
        color: #212121;
        font-size: 16px;
        text-decoration: none;
    }

    .transfer-card .route .last-minute-route-label {
        position: absolute;
        top: -23px;
        font-size: 8px;
        line-height: 12px;
        letter-spacing: 0.04em;
        padding: 2px 6px;
    }

    .last-minute-transfer-options .transfer-card .availability {
        text-align: left;
        font-size: 13px;
        font-weight: 500;
        line-height: 18px;
    }

    .last-minute-transfer-options .transfer-card .actions-buttons .subscribe-link {
        font-size: 13px;
        font-weight: 500;
        line-height: 18px;
    }

    .last-minute-transfer-options .transfer-card .actions-buttons .subscribe-link-label {
        font-size: 11px;
        line-height: 16px;
        color: #545454;
    }

    .last-minute-transfer-options .transfer-card .availability-label {
        font-size: 11px;
        line-height: 16px;
        color: #545454;
        text-align: left;
    }

    .transfer-card .details {
        margin-bottom: 16px;
        display: flex;
        justify-content: space-between;
    }

    .transfer-card .details > * {
        display: flex;
        flex-direction: column;
        font-size: 13px;
        font-weight: 500;
        line-height: 18px;
    }

    .transfer-card .details label {
        font-size: 11px;
        font-weight: 400;
        line-height: 14px;
        letter-spacing: 0.15000000596046448px;
        color: #757575;
        margin-bottom: 4px;
    }

    .transfer-card .price {
        color: #E42727;
        font-weight: bold;
    }

    .transfer-card .table-price-holder {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .transfer-card .table-price-holder .old-price {
        font-size: 11px;
        line-height: 16px;
        color: #757575;
        text-decoration: line-through;
    }

    .transfer-card .table-price-holder .new-price {
        font-size: 14px;
        font-weight: 600;
        line-height: 16px;
        color: #E42727;
    }

    .transfer-card .table-price-holder .price-holder-label {
        font-size: 12px;
        line-height: 16px;
        font-weight: 400;
        color: #757575;
    }

    .transfer-card .actions {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .transfer-card .other-options {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 34px;
        background-color: #F9FAFB;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 0px 0px 8px 8px;
    }

    .transfer-card .other-options-link {
        font-size: 12px;
        font-weight: 500;
        line-height: 18px;
        color: #2756A0;
        text-decoration: underline;
    }

    #booking-modal {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: #FFFFFF;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        border-radius: 8px 8px 0 0;
        transform: translateY(100%); /* Start off-screen */
        opacity: 0;
        z-index: 9999;
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    }
    
    #booking-modal.slide-in {
        transform: translateY(0); /* Slide in */
        opacity: 1;
    }

    .modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
        display: none; /* Hidden by default */
        z-index: 9999; /* Ensure it's behind the modal */
    }

    #booking-modal .modal-content-head {
        display: flex;
        flex-direction: column;
        padding: 16px;
        background-color: #F4F6FA;
        border-top-left-radius: 16px;
        border-top-right-radius: 16px;
    }

    #booking-modal .modal-content-body {
        padding: 32px 16px 16px 16px;
    }

    #booking-modal .modal-route {
        font-size: 18px;
        line-height: 24px;
        font-weight: 500;
        color: #333333;
        margin-bottom: 12px;
    }

    #booking-modal .details {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        font-size: 14px;
        color: #757575;
    }

    #booking-modal .details > * {
        display: flex;
        flex-direction: column;
    }

    #booking-modal .details label {
        font-size: 11px;
        line-height: 14px;
        font-weight: 400;
        color: #757575;
        margin-bottom: 4px;
    }

    #booking-modal .details .time-value,
    #booking-modal .details .date-value,
    #booking-modal .details .available-seats-value {
        font-size: 13px;
        line-height: 18px;
        font-weight: 500;
        color: #333333;
    }

    #booking-modal .modal-price {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: baseline;
        margin-top: 14px;
    }

    #booking-modal .modal-price label {
        font-size: 11px;
        line-height: 16px;
        font-weight: 400;
        color: #757575;
        height: fit-content;
    }

    #booking-modal .modal-price .old-price {
        font-size: 13px;
        font-weight: 400;
        line-height: 20px;
        text-decoration-line: line-through;
        color: #757575;
    }

    #booking-modal .modal-price .new-price {
        font-size: 16px;
        font-weight: 600;
        line-height: 20px;
        color: #E42727;
    }

    #booking-modal .passenger-quantity {
        margin-bottom: 40px;
        display: flex;
        flex-direction: column;
    }

    #booking-modal .passenger-quantity label {
        font-size: 16px;
        font-weight: 500;
        line-height: 20px;
        letter-spacing: -0.01em;
    }

    #booking-modal .passenger-quantity-label {
        font-size: 11px;
        font-weight: 400;
        line-height: 14px;
        margin-top: 4px;
        margin-bottom: 16px;
        letter-spacing: 0.15000000596046448px;     
    }

    #booking-modal .quantity-control {
        width: 100%;
        display: flex;
        justify-content: space-between;
        position: relative;
    }

    #booking-modal .quantity-control button {
        width: 40px;
        height: 40px;
        background-color: #F7F7F7;
        border: none;
        border-radius: 4px;
        font-size: 16px;
        color: #B4B7BB;
        cursor: pointer;
    }

    #booking-modal .quantity-control button:active {
        color: #2756A0;
    }

    #booking-modal .quantity-input {
        width: 50px;
        text-align: center;
        margin: 0 10px;
        font-size: 16px;
        font-weight: 500;
        line-height: 20px;
    }

    #booking-modal .modal-actions {
        display: flex;
        justify-content: space-between;
        position: relative;
    }

    #booking-modal .cancel-button, 
    #booking-modal .continue-booking-button {
        border: none;
        border-radius: 4px;
        font-size: 16px;
        font-weight: 500;
        cursor: pointer;
    }

    #booking-modal .cancel-button {
        color: #2756A0;
        padding: 14px 30px;
    }

    #booking-modal .continue-booking-button {
        background-color: #2756A0;
        color: #FFFFFF;
        padding: 14px 40px;
    }
}

@media (min-width: 769px) and (max-width: 1299px) {
    .last-minute-transfer-options .filter-section {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .last-minute-transfer-options .filter {
        width: 48%;
    }
}

/* No Offers Popup Styles */
.no-offers-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgb(16 32 58 / .55);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-offers-popup {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgb(16 32 58 / .18), 0 1.5px 6px rgb(0 0 0 / .08);
    max-width: 520px;
    width: 100%;
    margin-top: 32px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

.no-offers-popup-header {
    width: 100%;
    height: 140px;
    background: url(/wp-content/uploads/closest-popular-routes-airports-bg-image@2x-scaled.webp) center center/cover no-repeat;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 16px 16px 0 0;
}

.no-offers-popup-header .close-popup {
    background: rgba(148, 148, 148, 0.75);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    top: 16px;
    right: 16px;
    box-shadow: 0 2px 8px rgb(16 32 58 / .15);
    transition: background 0.2s;
}
.no-offers-popup-header .close-popup:hover {
    background: rgb(129, 129, 129);
}

.no-offers-popup-content {
    padding: 32px 32px 28px 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.no-offers-popup h2 {
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: #222;
}

.no-offers-popup p {
    font-size: 1.05rem;
    margin-bottom: 28px;
    color: #444;
    line-height: 1.6;
}

.no-offers-popup strong {
    font-weight: 600;
    color: #2c3e50;
}

.no-offers-popup-actions {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 0;
}

.explore-offers-link {
    display: block;
    width: 100%;
    padding: 14px 0;
    background: #2756A0;
    color: #fff;
    font-size: 1.08rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgb(16 32 58 / .08);
    transition: background 0.2s;
    letter-spacing: .02em;
}

.explore-offers-link:hover {
    background: #1d4177;
    color: #fff;
    text-decoration: none;
}

@media (max-width: 600px) {
    .no-offers-popup {
        max-width: 95vw;
        margin-top: 12vw;
    }
    .no-offers-popup-content {
        padding: 22px 10px 18px 10px;
    }
    .no-offers-popup-header {
        height: 90px;
    }
}
/* END Last Minute Transfer Options block */