.empty-legs-load{
    height              : 150px;
    background          : url('../img/loading.gif') no-repeat center center white;
    *border             : #b8d1f3 2px solid;
    *background-size    : 20%;
}

#empty-legs{
    margin-bottom       : 20px;
}

#empty-legs .detail-button{
    height              : 28px;
    line-height         : 20px;
}

#empty-legs .detail-button-tab{
    padding             : 0 22px 0 22px;
    height              : 30px;
    line-height         : normal;
    font-weight         : bold;
}

.modal-backdrop{
    z-index             : -1;
}

#empty-legs .modal-dialog{
    position            : fixed;
    width               : 55%;
    left                : 10px;
    right               : 20px;
    top                 : 15px;
}

#empty-legs .modal .col-md-3, #empty-legs .modal .col-md-8{
    padding             : 3px 6px 3px 6px ;
}

footer{
    z-index             : 1;
}

#random-search-loading-text{
    position            : absolute;
    top                 : 53%;
    left                : 28%;
    width               : 500px;
    text-align          : center;
}

.dataTables_filter {
    display             : none;
}

#empty-legs td:not(last-child){
    text-align          : left;
    padding-top         : 3px;
    padding-bottom      : 3px;
}

#empty-legs td:last-child{
    text-align          : center;
}

#tabs li{
    *width               : 25% !important;
}

.emptyleg-details, .send-mail, .confirm-send{
    position            : fixed !important;
    width               : 90% !important;
    left                : 20% !important;
}

.emptyleg-details{
    top                 : 8% !important;
}

.send-mail{
    top                 : 20% !important;
}

.confirm-send{
    top                 : 20% !important;

}

#tabs-search{
    display             : none;
}

#tabss, #tabs{
    *width               : 1078px !important;
}

#tabs-search .active {
    width               : 233px !important;
}

#tabs li{
    *width               : 269px !important;
}

.search-loading{
    background          : url("../img/loading1.gif") no-repeat 98% center;
    background-size     : 10%;
}

#show-all{
    display             : none;
}

#el_captcha{
    float               : right;
    height              : 50px;
    width               : 50%;
}

.send-mail input[name="captcha"]{
    width               : 45%;
    float               : left;
    display             : block;
}

.ws_images{
    width               : 100%;
    height              : 283px !important;
}

.emptyleg-details .ws_images img{
    width               : 100%;
}

.emptyleg-details .ws_images .diagram, .emptyleg-details .ws_images .Diagram{
    *margin-top          : 10%   !important;
}

.emptyleg-details .ws_images .cabin, .emptyleg-details .ws_images .Cabin{
    width               : 70% !important;
    margin-left         : 20% !important;
    margin-top          : 8% !important;
}

.tab-hold.tabs-wrapper a:hover, .tab-hold.tabs-wrapper .active a{
    text-decoration     : none      !important;
    color               : #2DA5E4   !important;
}

#tabs-search, #tabs{
    font-size           : 12px;
}

.tooltip-inner{
    color               : #000;
    background-color    : #FFFFFF;
    text-align          : left;
    border              : 1px solid;
}

.airport{
    cursor              : pointer;
    display             : block;
}

#america-epmty-legs-table .button.small{
    padding-top         : 12px;
    padding-bottom      : 12px;
    min-height          : 20px;
    line-height         : 0;
    font-size           : 12px;
}
.dataTables_length{
    float : right;
}


.modal.fade.emptyleg-details.in{
    overflow: initial;
    box-shadow: transparent 0px 0px 0px 0px;
    border: 0px;
    background: transparent;
}

.fusion-tabs .nav-tabs > .active > .tab-link:hover, .fusion-tabs .nav-tabs>.active>.tab-link:focus {
    border-top: 3px solid #67b7e1;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    color: white !important;
    border: 1px solid #67b7e1 !important;
    background-color: #67b7e1 !important;
    background: linear-gradient(to bottom, #67b7e1 0%, #1172c1 100%) !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
    cursor: default;
    color: #666 !important;
    border: 1px solid transparent !important;
    background: transparent !important;
    box-shadow: none;
}

.button.blue{
    color: white;
    background: #284895;
    padding: 10px 20px !important;
    font-family: 'Montserrat';
    height: auto !important;
    font-weight: 500 !important;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.button.blue:hover,
.button.blue:active,
.button.blue:focus,
.button.blue:visited,
.button.blue.ui-state-active,
.button.blue.active {
    color: white !important;
    background: #3b5db5 !important;
    border-color: #3b5db5 !important;
    outline: none !important;
}

#booking-content-emptyleg .planes .info > div:first-child {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat';
    font-weight: 600;
}

#booking-content-emptyleg .planes .detail .plane-name {
    font-size: 16px !important;
}

#booking-content-emptyleg .planes .detail .emptyleg-layout {
    display: flex;
    align-items: center;
    gap: 8px;
}



#booking-content-emptyleg .planes .detail .emptyleg-layout img {
    width: 18px !important;
}

#booking-content-emptyleg .planes > .details {
    padding: 30px 15px;
    background: #284895;
    border-radius: 0 0 10px 10px;
}

#booking-content-emptyleg .planes > .row {
    display: flex;
    justify-content: space-around;
    width: 100%;
    gap: 10px;
}

#booking-content-emptyleg .exterior-emptyleg {
    width: 1280px;
    margin: 20px auto;
}

#booking-content-emptyleg .exterior-emptyleg .item-block .info, #booking-content-emptyleg .exterior-emptyleg .item-block .detail, #booking-content-emptyleg .exterior-emptyleg .item-block .price {
    display: inline-block;
}

#booking-content-emptyleg .exterior-emptyleg .item-block .price {
    width: 218px;
    float: right;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#booking-content-emptyleg .exterior-emptyleg .item-block .detail {
    text-align: center;
    font-family: 'Montserrat';
}

#booking-content-emptyleg .info-plane .plane-information {
    font-family: 'Montserrat';
    font-weight: 600;
}

#booking-content-emptyleg .plane-information table tr:nth-child(odd) {
    background: #e6eeff !important;
}

#booking-content-emptyleg .exterior-emptyleg .item-block .icons dl {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 0 !important;
    font-weight: 600;
}

#booking-content-emptyleg .exterior-emptyleg .item-block .price .value {
    font-size: 18px !important;
}

#booking-content-emptyleg .plane-information table tr .td-text-style {
    color: #284895 !important;
}

/* emptyleg info */

#booking-content-emptyleg  .info-plane {
    width: 35%;
    float: left;background: white !important;
    border-radius: 6px !important;
    padding: 5px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

#planes-result-emptyleg .info-plane .plane-information {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    font-size: 14px;
}

#planes-result-emptyleg .info-plane .tab-header {
    display: flex;
    width: 100%;
    height: 36px;
    border-bottom: 1px solid #ddd;
}

#planes-result-emptyleg .info-plane .tab {
    float: left;
    padding: 8px 0;
    text-align: center;
    cursor: pointer;
    border-right: 1px solid #ddd;
    background-color: #f5f5f5;
    font-size: 12px;
}

#planes-result-emptyleg .info-plane .tab.active-tab {
    background-color: #fff;
    font-weight: bold;
    border-bottom: 2px solid #284895;
}

#planes-result-emptyleg .info-plane .tab:last-child {
    border-right: none;
}

#planes-result-emptyleg .info-plane .tab-content {
    width: 100%;
}

#planes-result-emptyleg .info-plane .info-row {
    display: grid !important;
    grid-template-columns: 20px 1fr auto;
    align-items: center;
    padding: 6px 8px;
    gap: 6px;
    border-bottom: 1px solid #eee;
}

#planes-result-emptyleg .info-plane .info-row:last-child {
    border-bottom: none;
}

#planes-result-emptyleg .info-plane .info-icon {
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

#planes-result-emptyleg .info-plane .info-icon img {
    max-width: 20px;
    max-height: 20px;
    margin-right: 6px;
}

#planes-result-emptyleg .info-plane .info-label {
    flex: 1;
    padding: 0 10px;
    font-weight: 500;
    color: #333;
    font-size: 12px;
}

#planes-result-emptyleg .info-plane .info-value {
    flex: 2;
    padding: 0 10px;
    color: #545454;
    font-size: 12px;
    text-align: left;
}

#planes-result-emptyleg .info-plane .info-value img {
    vertical-align: middle;
    margin-right: 5px;
}

#planes-result-emptyleg .info-plane .d {
    background-color: rgb(255, 255, 255);
    padding: 15px 0;
}

#planes-result-emptyleg .info-plane .a,
#planes-result-emptyleg .info-plane .b,
#planes-result-emptyleg .info-plane .c {
    display: none;
}

#planes-result-emptyleg .info-plane .active-tab-content {
    display: block;
}

#planes-result-emptyleg .info-plane .info-plane {
    float: left;
    width: 60%;
}

#planes-result-emptyleg .info-plane .row {
    clear: both;
    overflow: hidden;
}

#planes-result-emptyleg .planes > .details > .row {
    display: flex;
    justify-content: space-between;
}

/* slider */
.owl-carousel .owl-stage {
    display: flex;
}

.owl-carousel .owl-item {
    display: flex;
    justify-content: center;
}

.owl-carousel .item {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
}

.slider-img-wrap {
    width: 100%;
    text-align: center;
    position: relative;
    /* Force 16:9 aspect ratio */
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

/* Fallback for browsers that don't support aspect-ratio */
.slider-img-wrap::before {
    content: '';
    display: block;
    padding-top: 56.25%; /* 16:9 aspect ratio (9/16 = 0.5625) */
}

.slider-img-wrap:not(.cabin) img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

/* Alternative: use contain if you want to see entire image without cropping */
.slider-plane .slider-img-wrap.contain img {
    object-fit: contain;
}

/* Specific handling for diagram and cabin images */
.slider-plane .slider-img-wrap.diagram img,
.slider-plane .slider-img-wrap.cabin img {
    object-fit: contain; /* Show entire diagram/cabin images */
    background: #f8f9fa; /* Add background for transparent PNGs */
}

/* Ensure proper container sizing */
.slider-plane {
    overflow: hidden;
    width: 62%;
    float: left;
    position: relative;
}

.owl-carousel {
    position: relative;
    width: 100% !important;
}

/* Owl Carousel Navigation Arrows */
.owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    margin-top: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.owl-prev,
.owl-next {
    position: relative;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5) !important;
    color: white !important;
    border-radius: 50% !important;
    margin: 0 !important;
    pointer-events: all;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.owl-prev:hover,
.owl-next:hover {
    background: rgba(0, 0, 0, 0.8) !important;
    transform: scale(1.1);
}

.owl-prev {
    left: 15px;
}

.owl-next {
    right: 15px;
}

.owl-prev span,
.owl-next span {
    font-size: 30px !important;
    line-height: 1 !important;
    color: white !important;
    display: block;
    margin-top: -2px;
}

/* Owl Carousel Dots */
.owl-dots {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
    margin-top: 10px !important;
    display: none !important;
    justify-content: center;
    gap: 8px;
}

.owl-dot {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.5) !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    margin: 0 !important;
    transition: all 0.3s ease;
}

.owl-dot:hover {
    background: rgba(255, 255, 255, 0.8) !important;
    transform: scale(1.2);
}

.owl-dot.active {
    background: white !important;
    border-color: white !important;
    transform: scale(1.2);
}

/* Disabled state */
.owl-nav.disabled {
    display: none !important;
}

/* Ensure proper carousel height */
.owl-carousel .owl-stage-outer {
    position: relative;
}

/* Fix for carousel item alignment */
.owl-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Custom styling for your specific slider */
.owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    opacity: .2;
}

.owl-dots {
    position: absolute;
    bottom: 20px;
    opacity: .15;
}

/* Loading states for images */
.slider-img-wrap {
    background: #f8f9fa url('https://www.aircharter.net/wp-content/uploads/loading1.gif') no-repeat center center;
}

.slider-img-wrap img {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.slider-img-wrap img.loaded {
    opacity: 1;
    background: transparent;
}

/* Remove background when image is loaded */
.slider-img-wrap:has(img.loaded) {
    background: transparent;
}

/* Specific styles for cabin and diagram images */
.slider-img-wrap.cabin,
.slider-img-wrap.diagram {
    background: #f8f9fa url('https://www.aircharter.net/wp-content/uploads/loading1.gif') no-repeat center center;
}

/* Keep background for cabin/diagram even when loaded if needed */
.slider-img-wrap.cabin:has(img.loaded),
.slider-img-wrap.diagram:has(img.loaded) {
    background: #f8f9fa;
}

/* ensure images always fill the slide */
.owl-carousel .slider-img-wrap {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    display: block !important;
    border-radius: 6px !important;
}

/* if a legacy loader like bx-loading is inserted, keep it outside or hide */
.owl-carousel .bx-loading,
.owl-carousel .slider-loading,
.owl-carousel .loader {
    display: none !important;
}


/* Ensure arrows and text in cabin/diagram are positioned correctly */
.cabin-v-arrows,
.cabin-h-arrows,
.diagram-h-arrows {
    position: absolute;
    z-index: 10;
    pointer-events: none;
}

.cabin-v-arrows,
.cabin-h-arrows {
    color: #333;
    font-size: 12px;
    font-weight: bold;
}

/* Alternative: If you want to maintain original aspect ratio but constrain to max height */
.slider-plane .slider-img-wrap.original-ratio {
    aspect-ratio: unset;
    height: auto;
    max-height: 80vh; /* Maximum 80% of viewport height */
}

.slider-plane .slider-img-wrap.original-ratio::before {
    content: none;
}

.slider-plane .slider-img-wrap.original-ratio img {
    position: static;
    object-fit: contain;
    max-height: 80vh;
    width: auto;
    max-width: 100%;
}

.imgsource {
    z-index: 9 !important;
}

.cabin img {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85% !important;
    background: #d7e3ff !important;
}

.cabin {
    background: #d7e3ff !important;
}
        
/* Special styling for Cabin and Diagram */
.cabin, 
.diagram {
    position: relative;
    width: 100%;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
}
        
.cabin-v-arrows, 
.cabin-h-arrows, 
.diagram-h-arrows {
    position: absolute;
    color: white;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
}
        
.cabin-v-arrows {
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
}
        
.cabin-h-arrows {
    bottom: 3%;
    left: 50%;
    transform: translateX(-50%);
}
        
.diagram-h-arrows {
    bottom: 3%;
    left: 50%;
    transform: translateX(-50%);
}
        
.imgsource {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 3px 6px;
    font-size: 11px;
    border-radius: 3px;
    z-index: 10;
    opacity:.5;
}
        
.slider-plane .copyRight {
    text-align: right;
    font-size: 10px;
    font-family: 'Montserrat';
    color: #f6f6f6;
    opacity: 30%;
    margin-bottom: 10px;
    position: absolute;
    left: -4% !important;
    top: 10px !important;
}

/* arrows */
.row .diagram-h-arrows .arrows {
    background: url(https://www.aircharter.net/wp-content/plugins/Booking_Engine/media/images/icons/arrows/left_arrow.png) left center no-repeat, url(https://www.aircharter.net/wp-content/plugins/Booking_Engine/media/images/icons/arrows/right_arrow.png) right center no-repeat;
    background-size: 45%;
    height: 100%;
    display: block;
    font-size: 16px;
    font-weight: 600;
    line-height: 58px;
    color: #000;
    width: 80%;
    margin-left: 28px;
    text-align: center;
}
 .row .cabin-h-arrows .arrows {
    background: url(https://www.aircharter.net/wp-content/plugins/Booking_Engine/media/images/icons/arrows/left_arrow.png) left center no-repeat, url(https://www.aircharter.net/wp-content/plugins/Booking_Engine/media/images/icons/arrows/right_arrow.png) right center no-repeat;
    background-size: 40%;
    width: 60%;
    height: 100%;
    display: block;
    line-height: 4;
    font-weight: 600;
    text-align: center;
    color: #000;
    margin: auto;
}
 .row .cabin-v-arrows .arrows {
    background: url(https://www.aircharter.net/wp-content/plugins/Booking_Engine/media/images/icons/arrows/top_arrow.png) center top no-repeat, url(https://www.aircharter.net/wp-content/plugins/Booking_Engine/media/images/icons/arrows/bottom_arrow.png) center bottom no-repeat;
    background-size: 23%;
    height: 53%;
    display: block;
    line-height: 10;
    font-weight: 600;
    font-size: 16px;
    color: #000;
    text-align: center;
    margin: auto;
}
.row .cabin-h-arrows, .row .diagram-h-arrows {
    bottom: 0% !important;
    width: 100%;
}

/* emptyleg rows */
.tab-content .odd {
    background: #dae5ff !important;
}

.tab-content .odd > .sorting_1 {
    background: #aec5ff !important;
}

.tab-content .odd, .tab-content .even {
    font-family: 'Montserrat';
    font-weight: 600;
}

/* emptyleg tab */
.fusion-tabs.fusion-tabs-1 .nav-tabs li a {
    border-top-color: #284895 !important;
    background-color: #dae5ff !important;
    font-family: 'Montserrat';
    font-weight: 500;
    font-size: 14px;
}

.fusion-tabs.classic.horizontal-tabs .nav-tabs>.active>.tab-link {
    background-color: white !important;
}

table.dataTable thead .sorting {
    font-family: 'Montserrat';
    font-weight: 500;
}

/* emptyleg search */
#empty-legs .form-control {
    padding: 20px;
    border-radius: 8px;
    font-family: 'Montserrat';
}

label {
    font-weight: 500 !important;
    font-family: 'Montserrat' !important;
}

/* emptyleg details */
#planes-result-emptyleg > .planes .images img {
    border-radius: 8px;
}

.option-icon {
    width: 15px;
}

#trip-confirmation-emptyleg .info-trip-slider > div:first-child {
    overflow: hidden;
}

#trip-confirmation-emptyleg .info-trip-slider span > input {
}

#booking-content-emptyleg .planes {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
    border: 1px solid #d3dfff !important;
    border-radius: 12px !important;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.3s ease !important;
    margin-bottom: 10px !important;
    position: relative !important;
    overflow: hidden !important;
    cursor: pointer;
    margin: 0 10px;
}

#booking-content-emptyleg .planes:hover {
    background: linear-gradient(to bottom, #d6e3ff 0%, #e8efff 100%) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
    transform: translateY(-2px) !important;
}

#booking-content-emptyleg .planes::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: .5px !important;
    background: linear-gradient(90deg, #284895 10%, #d2deff 40%) !important;
}

#booking-content-emptyleg .planes > .item-block {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 20px !important;
    padding: 14px 24px 10px 24px !important;
    position: relative;
}

#booking-content-emptyleg .planes > .item-block > .info {
    flex: 1 !important;
    min-width: 0 !important;
    max-width: 160px !important;
    position: relative !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

#booking-content-emptyleg .planes > .item-block > .detail {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1px !important;
    flex: 1 !important;
    margin-top: -8px !important;
}

#booking-content-emptyleg .planes > .item-block > .price {
    display: flex !important;
    justify-content: space-evenly !important;
    flex-direction: column;
    align-items: center !important;
    gap: 10px;
    border-radius: 8px !important;
}

#booking-content-emptyleg .planes > .item-block > .price > .value {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #284895 !important;
    font-family: 'Montserrat' !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

#booking-content-emptyleg .planes > .item-block > .price > .confirm-button button {
    background: none;
    color: #284895;
    width: 100% !important;
    padding: 10px 26px;
    outline: 2px solid #3d5a9f !important;
    border-radius: 50px;
    border: none;
    transition: all 0.4s ease;
}

#booking-content-emptyleg .planes > .item-block > .price > .confirm-button button:hover {
    background: #284895;
    color: white;
}

#empty-legs .dropdown-menu .autocomplete-item {
    padding: 10px;
    font-family: 'Montserrat';
    background: transparent;
    color: black;
}

#empty-legs .dropdown-menu autocomplete-item {
    background: white;
    cursor: pointer;
    transition: background 0.3s ease;
}

#empty-legs .dropdown-menu .autocomplete-item {
    padding: 12px 12px 12px 46px;
}

#empty-legs .dropdown-menu .autocomplete-item:hover {
    background: #ebebeb !important;
}

#empty-legs .dropdown-menu {
    width: 100%;
    max-height: fit-content;
    list-style-type: none;
    background: white;
    font-size: 12px;
    font-family: 'Montserrat';
    font-weight: 500;
    position: absolute;
    border: 1px solid #d2d2d2;
    border-top: 0;
    z-index: 99999;
}

#empty-legs .dropdown-menu .country {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 15px 10px 4px 10px;
}

#empty-legs .dropdown-menu .country img {
    width: 28px;
    height: 18px;
    margin: 0 4px;
}

#empty-legs .dropdown-menu .country .country-name {
    font-weight: 600;
    font-size: 14px;
    color: #284895;
}

#empty-legs .dropdown-menu a {
    background: transparent;
    background-color: transparent;
    padding: 0;
    white-space: normal;
}

#planes-result-emptyleg .detail.specifications {
    display: flex;
    gap: 16px;
}

#planes-result-emptyleg .detail .specifications-layout .features-layout {
    width: 30%;
}

#planes-result-emptyleg .detail .specifications-layout .features {
    display: flex;
    gap: 4px;
    margin-top: 5px;
}

#planes-result-emptyleg .detail .specifications-layout .features img {
    width: 18px !important;
}

#planes-result-emptyleg .detail .specifications-layout {
    width: 100%;
}

#planes-result-emptyleg .detail .specifications .spec-items {
    display: flex !important;
    flex-direction: column;
    gap: 4px;
    flex: 0 0 200px !important;
    min-width: 20% !important;
}

#planes-result-emptyleg .detail .specifications .spec-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    border-radius: 4px !important;
    min-height: 6px !important;
    text-align: left !important;
}

#planes-result-emptyleg .detail .specifications .spec-item i {
    font-size: 14px;
    color: #284895 !important;
    margin-right: 6px !important;
    margin-bottom: 0 !important;
}

#planes-result-emptyleg .detail .spec-label {
    font-size: 10px;
    color: #666 !important;
    font-family: 'Montserrat' !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px;
    margin-bottom: 0 !important;
}

#planes-result-emptyleg .detail .spec-value {
    font-size: 11px !important;
    color: #284895 !important;
    font-family: 'Montserrat' !important;
    font-weight: 700 !important;
    margin-left: 8px;
}

/* emptyleg confirmation */
#trip-confirmation-emptyleg .info-trip-slider span[style*="background-color:#428FBC"] {
        background-color: #1e3a8a !important;
    font-size: 18px !important;
    padding: 8px !important;
    border-radius: 6px;
    letter-spacing: 2px;
}

#trip-confirmation-emptyleg .passengers-info input[type=text] {
    height: 32px;
    padding: 15px;
    color: #000
}

#trip-confirmation-emptyleg .passengers-info .form-group {
    margin-bottom: 0
}

#trip-confirmation-emptyleg .passengers-info input[type=radio] {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px
}

#trip-confirmation-emptyleg .passengers-info label {
    display: block;
    cursor: pointer;
    line-height: 2.5;
    font-size: 1em
}

#trip-confirmation-emptyleg .passengers-info input[type=radio]+span {
    display: block
}

#trip-confirmation-emptyleg .passengers-info input[type=radio]+span:before {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -.25em;
    border-radius: 1em;
    border: .125em solid #fff;
    box-shadow: 0 0 0 .15em #2B7DAC;
    margin-right: .75em;
    transition: .5s ease all;
    margin-left: 10px;
    margin-bottom: 5px
}

#trip-confirmation-emptyleg .passengers-info input[type=radio]:checked+span:before {
    background: #2B7DAC;
    box-shadow: 0 0 0 .25em #a6daf6
}

#trip-confirmation-emptyleg .passengers-info input[type=radio].radio-error+span::after {
    content: '*';
    font-size: 1.5em;
    line-height: 1;
    vertical-align: -.125em;
    color: red
}

#trip-confirmation-emptyleg .passengers-info {
    padding: 10px 15px 5px;
    margin: 20px 50px;
    background-color: rgba(255,255,255,.67);
    box-shadow: 0 0 20px 3px rgba(0,0,0,.25);
    border-radius: 5px
}

#trip-confirmation-emptyleg .passengers-info>div:not(.pass) {
    font-size: 16px;
    color: #1172c1
}

#trip-confirmation-emptyleg .passengers-info .passengers-block {
    background-color: rgba(193,225,122,.73);
    border-radius: 6px;
    padding: 6px 20px;
    margin-bottom: 5px;
    color: #54770f!important;
    text-shadow: 0 1px 0 #fff
}

#trip-confirmation-emptyleg .passengers-info .passenger-header {
    font-size: 20px!important;
    color: #426CC7!important;
    font-weight: 700;
    text-shadow: 1px 1px #b5d4e3
}

#trip-confirmation-emptyleg .passengers-info {
    background: #ffffff;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#trip-confirmation-emptyleg .passengers-info .passenger-header {
    font-size: 20px;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 12px;
}

#trip-confirmation-emptyleg .passengers-info .passengers-block {
    background: #d1fae5; /* Lighter green for better contrast */
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    color: #166534;
    text-align: center;
    margin-bottom: 16px;
}

#trip-confirmation-emptyleg .passengers-info .form-group {
    margin-bottom: 12px;
}

#trip-confirmation-emptyleg .passengers-info input[type="text"] {
    height: 36px;
    padding: 8px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    color: #1f2937;
}

#trip-confirmation-emptyleg .info-trip-buttons button[data-call="confirmTripEmptyLeg"] {
    background: #1e3a8a;
    font-size: 16px !important;
    font-family: 'Montserrat';
    font-weight: 400;
    padding: 14px !important;
    border-radius: 10px;
    letter-spacing: .4px;
    color: white;
}

#trip-confirmation-emptyleg .info-trip-buttons button[data-call="cancelTripEmptyLeg"] {
    background: #f97316;
    font-size: 16px !important;
    font-family: 'Montserrat';
    font-weight: 400;
    padding: 12px !important;
    border-radius: 10px;
    letter-spacing: .4px;
    color: white;
    height: auto !important;
    width: 120px !important;
}

#trip-confirmation-emptyleg .trip-info {
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, rgba(165, 206, 250, 0.45)), color-stop(1, rgba(146, 193, 249, 0.26))) !important;
    padding: 20px;
    margin-bottom: 16px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.5s ease;
}

#trip-confirmation-emptyleg .trip-info:hover {
    transform: translateY(-1px); /* Subtle lift effect on hover */
}

.center-tc-arrow+.bottom-empty .left-empty, .center-tc-arrow+.bottom-empty .right-empty {
    flex: 1;
    padding: 12px;
    text-align: center;
    border-radius: 6px;
    background: #f9fafb;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

#trip-confirmation-emptyleg .el-offer-header {
    margin-top: 16px;
    border-radius: 10px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3d5cb6 100%);
    color: #ffffff;
    padding: 16px 20px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

#trip-confirmation-emptyleg .el-offer-body {
    padding: 20px;
}

#trip-confirmation-emptyleg .el-make-offer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
    font-weight: 600;
    color: #2d3748;
}

#trip-confirmation-emptyleg .el-offer-input-wrapper {
    position: relative;
    flex: 1;
    max-width: 180px;
}

#trip-confirmation-emptyleg .el-offer-input-wrapper::before {
    content: '$';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
    color: #1e3a8a;
    font-size: 18px;
    z-index: 1;
}

#trip-confirmation-emptyleg .el-offer-input {
    width: 100%;
    height: 48px;
    padding: 0 12px 0 28px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    text-align: right;
    transition: all 0.2s;
    background: #f8fafc;
}

#trip-confirmation-emptyleg .el-offer-input:focus {
    outline: none;
    border-color: #1e3a8a;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(66, 143, 188, 0.15);
}

#trip-confirmation-emptyleg .el-offer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 12px;
}

#trip-confirmation-emptyleg .el-offer-label {
    font-weight: 600;
    color: #2d3748;
    min-width: 120px;
}

#trip-confirmation-emptyleg .el-input-group {
    position: relative;
    flex: 1;
    max-width: 200px;
}

#trip-confirmation-emptyleg .i-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background: #1e3a8a;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    z-index: 1;
}

#trip-confirmation-emptyleg .i-pax {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
}

#trip-confirmation-emptyleg .i-date {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z'/%3E%3C/svg%3E");
}

#trip-confirmation-emptyleg .el-pax-input,
#trip-confirmation-emptyleg .el-date-input {
    width: 100%;
    height: 44px;
    padding-left: 42px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    background: #f8fafc;
    transition: all 0.2s;
}

#trip-confirmation-emptyleg .el-pax-input:focus,
#trip-confirmation-emptyleg .el-date-input:focus {
    outline: none;
    border-color: #1e3a8a;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(66, 143, 188, 0.15);
}

#trip-confirmation-emptyleg .el-notes-input {
    width: 100%;
    min-height: 80px;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
    background: #f8fafc;
    transition: all 0.2s;
}

#trip-confirmation-emptyleg .el-notes-input:focus {
    outline: none;
    border-color: #1e3a8a;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(66, 143, 188, 0.15);
}

#trip-confirmation-emptyleg .country img {
    width: 14px;
    height: auto;
    margin: 0 4px;
}

/* msg confirmation */
#msg-confirmation {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 800px;
    margin: 40px auto;
    padding: 0 15px;
}

#msg-confirmation .message-confirmation {
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
}

#msg-confirmation .msg {
    width: 100% !important;
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 50px;
    background: linear-gradient(135deg, #f0f8ff 0%, #dcefff 100%);
    border-radius: 16px;
    border: 1px solid #b8dcff;
    box-shadow: 0 8px 25px rgba(66, 143, 188, 0.12);
    color: #2d3748;
    line-height: 1.7;
    font-size: 16px;
}

#msg-confirmation .msg h2 {
    color: #92b750 !important;
    font-size: 32px !important;
    font-weight: 700;
    margin: 0 0 20px 0 !important;
    line-height: 1.2;
    letter-spacing: -0.5px;
    text-align: center;
}

#msg-confirmation .tripRequestNumber,
#msg-confirmation .useremail,
#msg-confirmation .userphone,
#msg-confirmation .username {
    font-weight: 600;
    color: #2c5282;
    background: rgba(66, 143, 188, 0.1);
    padding: 2px 8px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 17px;
}

#msg-confirmation b {
    color: #2c5282;
    font-weight: 600;
}

#msg-confirmation .msg::before {
    content: "✓";
    display: block;
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: #92b750;
    color: white;
    font-size: 44px;
    line-height: 80px;
    text-align: center;
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(146, 183, 80, 0.3);
    font-weight: bold;
}

@media (max-width: 1280px) {
    #trip-confirmation-emptyleg {
        width: 100% !important;
    }
    #booking-content-emptyleg .exterior-emptyleg {
        width: 98%;
    }
    #trip-confirmation-emptyleg .info-trip-content {
        width: 40% !important;
    }
    #trip-confirmation-emptyleg .info-trip-slider {
        width: 55% !important;
    }
}

/* Mobile (max 768px) */
@media (max-width: 768px) {
    .col-sm-1 {
        width: 100% !important;
    }
    button.button.blue {
        margin-left: 0 !important;
    }
    table.dataTable tbody th, table.dataTable tbody td {
        padding: 4px !important;
    }
    .fusion-tabs:not(.mobile-mode-carousel) .nav:not(.fusion-mobile-tab-nav) {
        display: block !important;
    }

    #empty-legs td:nth-child(1),
    #empty-legs td:nth-child(2),
    #empty-legs td:nth-child(5) {
        display: none !important;
    }
    #msg-confirmation .msg-conf {
        margin: 20px;
    }
    #msg-confirmation .msg {
        padding: 30px 25px;
        font-size: 15px;
    }
    
    #msg-confirmation .msg h2 {
        font-size: 28px !important;
    }
    
    #msg-confirmation .msg::before {
        width: 65px;
        height: 65px;
        line-height: 65px;
        font-size: 36px;
    }
    #trip-confirmation-emptyleg .info-trip > .row:first-child {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    #trip-confirmation-emptyleg .trip-info {
        width: 94% !important;
    }
    #trip-confirmation-emptyleg .passengers-info > div[class="col-md-12"] {
        display: none;
    }
    #trip-confirmation-emptyleg .trip-info > .tc-date {
        display: flex;
        justify-content: space-evenly;
        align-items: center;
    }
    #trip-confirmation-emptyleg .trip-info > .tc-date > div, .tc-date div.tc-center {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    #trip-confirmation-emptyleg .trip-info > .tc-date > div:last-child {
        display: flex;
        flex-direction: column-reverse;
    }
    #trip-confirmation-emptyleg .trip-info > .tc-date > div:first-child {
        display: flex;
        flex-direction: column;
    }
    #trip-confirmation-emptyleg .trip-info > .tc-date > div:first-child img,  #trip-confirmation-emptyleg .trip-info > .tc-date > div:last-child img {
        width: 40px;
        height: auto !important;
    }
    #trip-confirmation-emptyleg .info-trip-slider, #trip-confirmation-emptyleg .info-trip-content {
        width: 100% !important;
    }
    #trip-confirmation-emptyleg .el-offer-body {
        padding: 20px 4px !important;
    }
    #trip-confirmation-emptyleg .passengers-info {
        margin: 20px !important;
    }
    #planes-result-emptyleg .planes > .details > .row {
        flex-direction: column;
    }
    #booking-content-emptyleg .info-plane, .slider-plane {
        width: 100%;
        margin-bottom: 15px;
    }
    #booking-content-emptyleg .planes > .item-block {
        flex-direction: column;
        justify-content: center;
    }
    #booking-content-emptyleg .planes .info > div:first-child {
        justify-content: center;
        display: none;
    }
    #booking-content-emptyleg .planes .info > .images {
        display: flex;
        justify-content: center;
    }
    #booking-content-emptyleg .exterior-emptyleg .item-block .price {
        flex-direction: row;
        width: 100%;
        justify-content: space-between !important;
        margin: 0;
    }
    #booking-content-emptyleg .exterior-emptyleg .item-block .detail {
        margin-top: 4px;
    }
    #booking-content-emptyleg .planes > .item-block > .info {
        display: flex;
        flex-direction: column-reverse;
        gap: 10px;
    }
}