.thead-price-header {
    background-color: #b7d6e9 !important
}

.nav-header {
    background-color: white;
}

.nav-header .brand-logo {
    padding-left: 2.25rem;
}

.nav-header .brand-title {
    max-width: 200px;
    margin-left: 0;
}
.wide-popover {
    max-width: 600px; /* Adjust the width as needed */
}
.input-group-text {
    min-width: 25px !important;
}

.accordion__rounded_border {
    border: 1px solid #eaeaea;
    border-radius: 5px;
}

.accordion__rounded_border .accordion__header {
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
}

.accordion__rounded_border .accordion__header.collapsed {
    border-bottom: none !important;
}


.select2-selection.select2-selection--multiple {
    padding-bottom: 5px;
}

.select2-selection__clear {
    position: absolute !important;
    right: 20px !important;
    color: #343a40 !important;
    top: 4px;
}

/*.select2-selection--multiple .select2-selection__rendered {
    padding: 0 1px !important;
}*/

.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__rendered {
    padding: 0 !important;
}

.select2-container .select2-search--inline .select2-search__field {
    margin-left: 8px !important;
    margin-top: 8px !important;
}

.select2-container--bootstrap4 .select2-selection__clear {
    margin-left: 0.05em;
}

.select2-container--bootstrap4 .select2-selection__clear:hover {
    background-color: white !important;
    border: black 1px solid;
}

.select2-selection--multiple {
    overflow: hidden !important;
    height: auto !important;
}

.select2-selection__choice__remove {
    border: none;
    background: none;
}

.select2-selection__choice {
    margin-left: 4px;
    margin-top: 6px !important;
}

.select2-results__option--selectable {
    color: #454545;
}

.select2-results__options--nested li {
    padding-left: 25px;
}

.comment-cell {
    line-height: 1em;
}

table.dataTable.table-sm th, table.dataTable.table-sm td {
    padding: 0.3rem;
}
.badge-sm {
     /*font-size: 12px;*/
     padding: 0px 8px;
     line-height: 22px;
}
.schedule-item {
    display: flex;
    position: relative;
}

.schedule-logo {
    padding: 0 20px 0 0;
    display: flex;
    flex: none;
}

.schedule-logo i {
    line-height: 24px;
    letter-spacing: normal;
    text-rendering: optimizeLegibility;
    text-transform: none;
    display: inline-block;
    word-wrap: normal;
    direction: ltr;
    font-feature-settings: 'liga' 1;
}


.schedule-body {
    flex: auto;
    padding-bottom: 7px;
    min-width: 200px;
}

.schedule-date {
    font: 500 16px/24px 'Google Sans', Roboto, Arial, sans-serif;
    letter-spacing: .1px;
    color: #3c4043;
    margin: 2px 0;
}

.schedule-details {
    margin: 8px 0 0 0;
    background-color: #fff;
    border: 1px solid #dadce0;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    outline: none;
    /*overflow: hidden;*/
}

.schedule-details .icon {
    margin-left: 8px;
}

.schedule-details .route {
    align-items: center;
    display: flex;
    max-width: 350px;
    padding: 4px 0 8px;
}

.schedule-details .line {
    background-color: #9aa0a6;
    flex: auto;
    height: 2px;
    margin-left: 8px;
}

.schedule-details .airport {
    font: 500 16px/24px 'Google Sans', Roboto, Arial, sans-serif;
    letter-spacing: .1px;
    color: #3c4043;
}

.schedule-details .dot {
    background-color: #9aa0a6;
    border-radius: 50%;
    height: 6px;
    margin-right: 8px;
    width: 6px;
}

.schedule-details-short {
    -webkit-align-items: center;
    align-items: center;
    cursor: pointer;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    outline: none;
}

.flight-description {
    display: block;
}

.flight-description-body {
    -webkit-align-items: center;
    align-items: center;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    padding: 12px 0;
}

.airline-logo {
    -webkit-align-items: center;
    align-items: center;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-flex: none;
    -webkit-flex: none;
    flex: none;
    height: 40px;
    -webkit-justify-content: center;
    justify-content: center;
    padding: 0 12px;
    width: 64px;
}

.flight-route {
    max-height: 40px;
    overflow: hidden;
    -webkit-transition: max-height 300ms cubic-bezier(0.4, 0, 0.2, 1);
    transition: max-height 300ms cubic-bezier(0.4, 0, 0.2, 1);
    font: 500 14px/20px 'Google Sans', Roboto, Arial, sans-serif;
    letter-spacing: .25px;
    color: #3c4043;
}

.flight-additional {
    font: 400 12px/16px Roboto, Arial, sans-serif;
    letter-spacing: .3px;
    color: #5f6368;
}

.icon-expand {
    font-family: 'Material Icons Extended';
    font-weight: normal;
    font-style: normal;
    /*font-size: 24px;*/
    line-height: 1;
    letter-spacing: normal;
    text-rendering: optimizeLegibility;
    text-transform: none;
    display: inline-block;
    word-wrap: normal;
    direction: ltr;
    font-feature-settings: 'liga' 1;
    -webkit-font-smoothing: antialiased;
    margin: 0 16px;
}

.alert-violet {
    color: #8508b5;
    background-color: #ecc0ff;
    border-color: #7502a5;
}

.alert-alt.alert-violet.solid {
    border-left: 4px solid #5400a2 !important;
}

.badge-violet {
    color: white;
    background-color: #7502a5;
}

.text-violet {
    color: #8508b5;
}

.selectpicker-container .bootstrap-select {
    width: 100% !important;
}

.bootstrap-select .bs-ok-default::after {
    width: 0.3em;
    height: 0.6em;
    border-width: 0 0.1em 0.1em 0;
    transform: rotate(45deg) translateY(0.5rem);
}

.btn.dropdown-toggle:focus {
    outline: none !important;
}

.card-title-compact {
    padding: 0.45rem 1.25rem 5px !important;
    min-height: 40px;
}

.custom-tab-1 .nav-link.active {
    background: 0 0 !important;
    border: 0 !important;
    border-bottom: 2px solid #95cc47 !important;
}

.custom-tab-1 .nav-link {
    font-size: 14px;
    font-weight: 600;
    border: 0;
}

.custom-tab-1 .nav {
    border: 0;
}

.vertical-middle {
    vertical-align: middle;
}

.vertical-text-top {
    vertical-align: text-top !important;
}


/************************* FLIGHT SEARCH **********************/

@media (min-width: 841px) {
    .itinerary-header {
        padding: 8px 24px 8px 24px;
    }

    .itinerary-header-block .small-screen-title {
        display: none;
    }
}

.itinerary-header {
    align-items: center;
    display: flex;
    font: 500 11px/16px Roboto, Arial, sans-serif;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: #202124;
}

.itinerary-border {
    border-radius: 8px;
    background-color: #fff;
    border: 1px solid #dadce0;
    box-shadow: none;
}

/**********************************************************************/

#print-canvas {
    background: white;
    margin: 0 auto 23px;
    position: relative;
    max-width: 1440px;
    min-width: 940px;
    width: 740px;
    padding: 0;
}

.layover {
    font-family: "Arial", sans-serif;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 400;
    border-bottom: 1px solid #ccc;
    height: 7px;
    margin-bottom: 5px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: fit-content; /* Adjusts the width to fit the content */
    padding: 0 28%; /* Adds padding to ensure the border is wide enough */
}

.layover .layoverText {
    background-color: #fff;
    padding: 0 10px;
}

@media print {
    table tr.thead-dark > th {
        color: #fff !important;
        background-color: #212529 !important;
        border-color: #32383e !important;
    }

    table tr.thead-light > th {
        color: #495057 !important;
        background-color: #e9ecef !important;
        border-color: #EEEEEE !important;
    }

    table tr.thead-price-header > th {
        background-color: #b7d6e9 !important
    }

    table tr.bg-light > td {
        background-color: #f8f9fa !important;
    }

    table tr.bg-info > th {
        background-color: #46C79E !important;
    }

    .container {
        width: 100%;
    }
}

/* Select2 dropdown hover/selected colors (readable light blue) */
.select2-container--bootstrap4 .select2-results__option--highlighted,
.select2-container--bootstrap4 .select2-results__option--highlighted[aria-selected] {
    background-color: #e8f0fe !important; /* very light blue */
    color: #212529 !important; /* dark text for contrast */
}

.select2-container--bootstrap4 .select2-results__option[aria-selected="true"] {
    background-color: #e1ecff !important; /* light blue for selected */
    color: #212529 !important;
}

/* --- Flight search results styling --- */
.route-header {
    font-weight: 700;
    font-size: 1.125rem; /* ~18px */
    color: #212529;
}

.code-badge {
    display: inline-block;
    padding: .15rem .5rem;
    margin-left: .25rem;
    background: #e8f0fe; /* very light blue */
    border: 1px solid #cfe0ff;
    color: #0d6efd; /* bootstrap primary */
    border-radius: .25rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: .85rem;
}

.arrow-icon {
    color: #6c757d;
}

.segment-card {
    display: flex;
    align-items: center;
    border: 1px solid #e9ecef;
    background: #f8fbff;
    border-radius: .5rem;
    padding: .4rem .6rem;
}

.seg-fn {
    color: #0d6efd;
    font-weight: 600;
    margin-right: .5rem;
    white-space: nowrap;
}

.seg-route {
    flex: 1;
    min-width: 0;
}

.seg-time {
    font-weight: 600;
}

.seg-meta {
    color: #6c757d;
}

.badge-soft {
    background: #eef2f7;
    color: #495057;
    border: 1px solid #e2e6ea;
}

.checkbox-large {
    width: 26px;
    height: 26px;
}