/* Amadex Flight Search - Enhanced Styles */

/* Reset and Base Styles */
* {
    box-sizing: border-box;
}

.amadex-search,
.amadex-results-page,
.amadex-modal {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

a.amadex-price-box-call.amadex-call-btn {
    justify-content: center;
}
/* Search Form Styles */
.amadex-search {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin: 20px 0;
}

.amadex-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: end;
}

.amadex-field {
    display: flex;
    flex-direction: column;
}

.amadex-field label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.amadex-field input,
.amadex-field select {
    padding: 8px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.amadex-field input:focus,
.amadex-field select:focus {
    outline: none;
    border-color: #007cba;
}

.amadex-trip-types {
    display: flex;
    gap: 15px;
    margin-top: 8px;
}

.amadex-trip-types label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: normal;
    cursor: pointer;
}

.amadex-button {
    background: linear-gradient(135deg, #007cba, #005a87);
    color: #fff;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    grid-column: 1 / -1;
    justify-self: center;
    min-width: 200px;
}

.amadex-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 124, 186, 0.3);
}

/* Results Page Styles */
.amadex-results-page {
    max-width: 1200px;
    margin: 0 auto;
    /* padding: 20px; */
}

/* Search Header */
.amadex-search-header {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.amadex-search-info {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.amadex-route {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.amadex-dates,
.amadex-passengers,
.amadex-class {
    font-size: 14px;
    color: #666;
}

.amadex-search-again-btn {
    background: #007cba;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Results Content */
.amadex-results-content {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 28px;
}

/* Filters Sidebar */
.amadex-filters-sidebar {
   
    padding: 15px;
    position: sticky;
    top: 24px;
    height: fit-content;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 0px 15px #00000029;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.amadex-filters-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.amadex-filters-label {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    margin: 0;
    margin-bottom: 0!important;
}



.amadex-results-count {
    display: block;
    font-size: 13px;
    color: #6B7280;
    margin-top: 4px;
    display: none;
}

.amadex-clear-filters {
    background: #F0FDF4;
    border: 1px solid #C4E5D3;
    color: #0E7D3F;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.amadex-clear-filters:hover {
    background: #0E7D3F;
    color: #ffffff;
}

.amadex-filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 4px;
}

.amadex-filter-tags:empty {
    display: none;
}

.amadex-filter-tag {
    background: #F0FFF7 0% 0% no-repeat padding-box;
    border: 1px solid #0E7D3F;
    border-radius: 13px;
    color: #000000;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.amadex-filter-tag svg {
    width: 10px;
    height: 10px;
    stroke: rgb(14 125 63);
    background: #FFF;
}

.amadex-filter-tag:hover {
    background: #0E7D3F;
    color: #ffffff;
}

.amadex-filter-group-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.amadex-filter-group {
    border-top: 1px solid #E6E6E6;
    padding: 20px 0;
}

.amadex-filter-group h4 {
    margin: 0;
    color: #000000;
    font-size: 16px;
   font-weight:700;
}
    

.amadex-filter-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.amadex-filter-option {
    display: block;
    /* background: #ffffff;
    border: 1px solid #E2E8F0; */
    border-radius: 18px;
    padding: 5px 14px 5px 48px;
    position: relative;
    transition: all 0.2s ease;
    cursor: pointer;
    min-height: 40px;
}

.amadex-filter-option input[type="checkbox"] {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: 2px solid #D1D5DB;
    appearance: none;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.amadex-filter-option input[type="checkbox"]::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 12px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    top: 2px;
    left: 5px;
    opacity: 0;
}

/* .amadex-filter-option.is-checked {
    border-color: #0E7D3F;
    box-shadow: 0 10px 25px rgba(14,125,63,0.15);
} */

span.amadex-filter-price {
    display: none !important;
}

.amadex-filter-option input[type="checkbox"]:checked {
    background: #0E7D3F;
    border-color: #0E7D3F;
}

.amadex-filter-option input[type="checkbox"]:checked::after {
    opacity: 1;
}

.amadex-filter-option .amadex-filter-label {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: #111827;
    line-height:30px;
}

.amadex-filter-option .amadex-filter-time,
.amadex-filter-option .amadex-filter-price {
    font-size: 13px;
    color: #6B7280;
    font-weight: 500;
    display: block;
}

.amadex-filter-option.is-checked .amadex-filter-label,
.amadex-filter-option.is-checked .amadex-filter-time,
.amadex-filter-option.is-checked .amadex-filter-price {
    color: #0E7D3F;
}

.amadex-filter-chip-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
}

.amadex-filter-time-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

div#amadex-stops-filter {
    display: flex;
    flex-wrap: nowrap;
}

@media (max-width: 768px) {
    .amadex-filter-time-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.amadex-time-card {
    padding: 50px 6px 10px;
    min-height: 100px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 15px;
    border: 1px solid #D1D5DB;
    position: relative;
    background: #ffffff;
}

.amadex-time-card input[type="checkbox"] {
    opacity: 0;
    pointer-events: none;
}

.amadex-time-icon {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 42px;
    height: 42px;
    border-radius: 14px;
    /* background: #F3F4F6;
    color: #0E7D3F; */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.amadex-time-icon svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
    stroke: none;
}

.amadex-time-card .amadex-filter-label {
    font-size: 14px;
    font-weight: 400;
    color: #111827;
    line-height: 1.5;
}

.amadex-time-card .amadex-filter-time {
    font-size: 12px;
    font-weight: 500;
    color: #6B7280;
    display: none;
}

.amadex-time-card.is-checked {
    background: #0E7D3F;
    color: #ffffff;
    border-color: #0E7D3F;
    /* box-shadow: 0 14px 26px rgba(14,125,63,0.25); */
}

.amadex-time-card.is-checked .amadex-time-icon {
    /* background: rgba(255,255,255,0.2); */
    color: #ffffff;
}

.amadex-time-card.is-checked .amadex-filter-label,
.amadex-time-card.is-checked .amadex-filter-time {
    color: #ffffff;
}

.amadex-filter-options.is-disabled {
    opacity: 0.4;
    pointer-events: none;
}

.amadex-price-values,
.amadex-duration-values {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #0E7D3F;
    font-weight: 600;
    justify-content: space-between;
}

span#amadex-duration-min-display {
    margin-top: 14px;
    color: #000000;
    font-weight: 400;
}

span#amadex-duration-max-display  {
    margin-top: 14px;
    color: #000000;
    font-weight: 400;
}
.amadex-price-divider {
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, #0E7D3F 0%, #34D399 100%);
    border-radius: 999px;
}

.amadex-price-range,
.amadex-duration-range {
    padding: 8px 0 0;
}

.amadex-price-slider,
.amadex-duration-slider {
    position: relative;
    padding: 12px 0;
    height: 32px;
}

.amadex-price-slider input[type="range"],
.amadex-duration-slider input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 32px;
    margin: 0;
    background: transparent;
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: none;
}

.amadex-price-slider input[type="range"]::-webkit-slider-thumb,
.amadex-duration-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #0E7D3F;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    cursor: pointer;
    pointer-events: auto;
}

.amadex-price-slider input[type="range"]::-moz-range-thumb,
.amadex-duration-slider input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #0E7D3F;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    cursor: pointer;
    pointer-events: auto;
}

.amadex-price-slider-track,
.amadex-duration-slider-track {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 4px;
    border-radius: 999px;
    background: #0E7D3F;
}

/* --- Modern Flight Card Layout --- */
.amadex-flight-card {
    background: #FFFFFF 0% 0% no-repeat;
    box-shadow: 0px 0px 15px #00000029;
    border-radius: 20px;
    padding: 0 15px;
    margin-bottom: 20px;
    /* margin-bottom: 26px; */
}

button.amadex-price-box-select.amadex-select-flight-btn {
    display: none;
}

.amadex-flight-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* margin-bottom: 18px; */
}

.amadex-flight-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #FFF8ED;
    border: 1px solid #F8D7A4;
    font-weight: 600;
    color: #111827;
    font-size: 13px;
}

.amadex-flight-badge .badge-icon {
    width: 16px;
    height: 16px;
    color: #111827;
    flex-shrink: 0;
}

.amadex-flight-seats {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: #B80000;
    background: #B42318;
    background: #FFEEEE 0% 0% no-repeat padding-box;
    border-radius: 0px 0px 10px 10px;
}

/* .amadex-flight-seats.is-low {
    background: #B42318;
    border-color: #B42318;
} */

.amadex-flight-seats .seat-icon {
    width: 14px;
    height: 14px;
    color: #ffffff;
    flex-shrink: 0;
}

.amadex-flight-card-main {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.amadex-flight-card-info {
    flex: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.amadex-flight-airline-chip {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: #0E7D3F;
}

.amadex-flight-airline-chip img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    padding: 6px;
    border: 1px solid #E2E2E2;
}

.amadex-flight-legs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.amadex-flight-leg {
    background: #ffffff;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-right: 1px solid #E6E6E6;
    padding-right: 0;
}

.amadex-flight-leg:last-child {
    border-right: none;
    padding-right: 0;
}

.amadex-leg-title {
    font-weight: 700;
    font-size: 15px;
    color: #000000;
    line-height: 1.5;
}

.amadex-leg-airline-logo {
    margin: 8px 0;
}

.amadex-leg-airline-logo img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    /* border: 1px solid #E2E2E2; */
    object-fit: contain;
}

.amadex-leg-route {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 10px 0;
}

.amadex-leg-time-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 60px;
}

.amadex-leg-time {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.2;
}

.amadex-leg-code {
    font-size: 13px;
    color: #6B7280;
    margin-top: 4px;
}

.amadex-leg-path {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin: 0 ;
}

.amadex-leg-duration {
    text-align: center;
    font-weight: 400;
    font-size: 12px;
    color: #707070;
    display: flex;
    flex-direction: column;
    gap: 2px;

}

.amadex-leg-path small {
    font-size: 12px;
    color: #707070;
}

.amadex-leg-duration small {
    font-size: 12px;
    color: #9CA3AF;
}

.amadex-leg-path-line {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    position: relative;
}

.amadex-leg-path-line svg {
    width: 100%;
    max-width: 120px;
}

.amadex-layover-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* padding: 4px 12px;
    border-radius: 999px;
    border: 1px dashed #d1d5db; */
    font-size: 12px;
    color: #707070;
    /* background: #ffffff; */
    cursor: default;
    margin-top: 0;
    gap: 4px;
}

/* .amadex-layover-trigger.non-stop {
    border-style: solid;
    border-color: rgba(14, 125, 63, 0.35);
    color: #0E7D3F;
} */

.amadex-layover-trigger:focus {
    outline: 2px solid rgba(14, 125, 63, 0.45);
    outline-offset: 2px;
}

.amadex-layover-tooltip {
    position: absolute;
    top: 120%;
    left: 50%;
    transform: translate(-50%, -10px);
    min-width: 220px;
    background: #202924;
    color: #f9fafb;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 12px;
    line-height: 1.4;
    box-shadow: 0 20px 45px rgba(17, 24, 39, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 5;
}

.amadex-layover-tooltip::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 14px;
    height: 14px;
    background: #111827;
}

.amadex-layover-trigger:hover .amadex-layover-tooltip,
.amadex-layover-trigger:focus .amadex-layover-tooltip {
    opacity: 1;
    transform: translate(-50%, 0);
}

.amadex-layover-row {
    display: flex;
    flex-direction: row;
    gap: 2px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.amadex-layover-row:last-child {
    border-bottom: none;
}

.amadex-layover-index {
    font-weight: 600;
    color: #f3f4f6;
}

.amadex-layover-duration,
.amadex-layover-city {
    font-size: 11px;
    color: #fff;
}

.amadex-layover-dots {
    position: absolute;
    top: -6px;
    left: 0;
    right: 0;
    height: 12px;
    pointer-events: none;
    right: 38px;
}

.amadex-layover-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #ffffff;
    border: 2px solid #6B7280;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 2px #ffffff;
}

.amadex-leg-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #000000;
    margin-top: 8px;
    font-weight: 500;
}

.amadex-leg-included {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #6B7280;
    font-weight: 400;
}

.amadex-baggage-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    display: inline-block;
}

.amadex-flight-info-footer {
    margin-top: 12px;
}

.amadex-flight-detail-link {
    background:none;
    box-shadow:none;
    border: none;
    color: #0E7D3F;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    padding: 0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.amadex-flight-detail-link span {
    font-size: 25px;
    margin-bottom: 3px;
}
    
button:hover{
        background:none!important;
        border:none;
}


.amadex-flight-card-price {
    width: 230px;
    padding-left: 24px;
    border-left: 1px solid #E4E4E7;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.amadex-flight-class {
    font-weight: 600;
    font-size: 14px;
    color: #000000;
  
}

.amadex-flight-price-wrapper {
    display: inline-flex;
    align-items: baseline;
    gap: 0;
    line-height: 1.2;
}

.amadex-flight-price {
    font-size: 32px;
    font-weight: 700;
    color: #0B3D1F;
    display: inline-block;
}

.amadex-flight-price-note {
    font-size: 14px;
    color: #707070;
    font-weight: 400;
    display: inline-block;
}

.amadex-flight-card-price > .amadex-flight-price-note {
    font-size: 12px;
    color: #9CA3AF;
    margin-bottom: 8px;
    display: block;
}

.amadex-book-now-btn {
    width: 100%;
    border: 2px solid #0E7D3F;
    color: #0E7D3F;
    font-weight: 700;
    border-radius: 16px;
    padding: 12px 18px;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.amadex-book-now-btn:hover {
    background: #0E7D3F;
    color: #ffffff;
}

.amadex-price-box-select {
    width: 100%;
    border: none;
    background: transparent;
    color: #0E7D3F;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 0;
}

.amadex-price-box-call {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #0E7D3F;
    color: #ffffff;
    border-radius: 999px;
    padding: 12px 18px;
    text-decoration: none;
    font-weight: 600;
}

.amadex-call-icon-wrap {
    width: 28px;
    height: 32px;
    border-radius: 50%;

    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.amadex-book-now-btn:hover {
    background: #EEF9F2;
    color: #0e7d3f;
}

.amadex-call-icon-wrap img {
    width: 18px;
    height: 18px;
    display: block;
}

.amadex-call-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.amadex-call-number-text {
    font-size: 16px;
    font-weight: 700;
}

@media (max-width: 1024px) {
    .amadex-flight-card-main {
        flex-direction: column;
    }
    .amadex-flight-card-price {
        width: 100%;
        border-left: none;
        border-top: 1px solid #E4E4E7;
        padding-top: 16px;
        padding-left: 0;
    }
    .amadex-book-now-btn,
    .amadex-price-box-select,
    .amadex-price-box-call {
        width: 100%;
    }
}

.amadex-filter-search {
    position: relative;
    margin-bottom: 14px;
}

.amadex-filter-search input {
    width: 100%;
    border-radius: 16px;
    background: #F3F3F3 0% 0% no-repeat!important;
    border-radius: 18px;
    padding: 12px 46px 12px 16px;
    font-size: 14px;
    color: #111827;
    background: #fff;
    transition: border-color 0.2s ease;
}

.amadex-filter-search input:focus {
    border-color: #0E7D3F;
    outline: none;
}

.amadex-filter-search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
}

.amadex-filter-list-scroll {
    max-height: 260px;
    overflow-y: auto;
    padding-right: 4px;
}

.amadex-filter-list-scroll::-webkit-scrollbar {
    width: 4px;
}

.amadex-filter-list-scroll::-webkit-scrollbar-thumb {
    background: rgba(14,125,63,0.4);
    border-radius: 999px;
}

.amadex-switch {
    position: relative;
    display: inline-flex;
    width: 40px;
    height: 22px;
}

.amadex-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.amadex-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #E5E7EB;
    border-radius: 999px;
    transition: 0.2s;
}

.amadex-switch-slider::before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 2px;
    bottom: 2px;
    background-color: #ffffff;
    border-radius: 50%;
    transition: 0.2s;
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}

.amadex-switch input:checked + .amadex-switch-slider {
    background-color: #0E7D3F;
}

.amadex-switch input:checked + .amadex-switch-slider::before {
    transform: translateX(18px);
}

/* Main Results Area */
.amadex-results-main {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.amadex-booking-progress {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    border: 1px solid #E6E6E6;
    border-radius: 999px;
    padding: 10px 24px;
    /* box-shadow: 0 18px 35px rgba(14, 125, 63, 0.12); */
    margin: 0 auto 32px;
    max-width: 620px;
}

.booking-step {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #9CA3AF;
    font-weight: 500;
    font-size: 14px;
}

.booking-step.is-active {
    color: #0E7D3F;
}

.booking-step.is-complete {
    color: #0E7D3F;
    opacity: 0.8;
}

.booking-step-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid currentColor;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.booking-step-divider {
    flex: 1;
    height: 1.5px;
    background: #707070;
}

.booking-step-label {
    white-space: nowrap;
    font-size: 16px !important;
}

.amadex-flight-card.is-oneway-card .amadex-flight-legs {
    grid-template-columns: 1fr;
}

.amadex-results-sort-bar {
    margin: 0 auto 28px;
    /* background: #ffffff; */
    border-radius: 999px;
    padding: 12px 0;
    /* box-shadow: 0 18px 45px rgba(14, 125, 63, 0.12); */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.amadex-sort-tabs {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 0px 15px #00000029;
    border-radius: 18px;
    padding: 6px 15px;
}

.sort-tab {
    background: none;
    border: none;
    padding: 8px;
    border-radius: 999px;
    font-weight: 500;
    color: #111827;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: none;
    font-size: 15px;
}

.sort-tab.is-active {
    background: none;
    color: #0E7D3F;
}

.amadex-results-available {
    font-weight: 500;
    color: #000000;
    white-space: nowrap;
    font-size: 15px;
}

.amadex-results-controls {
    background: #f8f9fa;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    display: none;
}

.amadex-sort-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.amadex-sort-controls label {
    font-weight: 600;
    color: #333;
    width: 33%;
}

.amadex-sort-controls select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
}

.amadex-price-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
}

.amadex-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.amadex-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.amadex-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.amadex-toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.amadex-toggle input:checked + .amadex-toggle-slider {
    background-color: #007cba;
}

.amadex-toggle input:checked + .amadex-toggle-slider:before {
    transform: translateX(26px);
}

.amadex-toggle-label {
    font-size: 14px;
    color: #666;
}

/* Loading State */
.amadex-loading {
    text-align: center;
    padding: 60px 20px;
}

.amadex-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007cba;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* No Results State */
.amadex-no-results {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.amadex-new-search-btn {
    background: #007cba;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 15px;
}

/* Flight List */
.amadex-flights-list {
    padding: 0;
}

.amadex-flight-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 20px;
    transition: background-color 0.2s ease;
}

.amadex-flight-item:hover {
    background-color: #f8f9fa;
}

.amadex-flight-item:last-child {
    border-bottom: none;
}

.amadex-flight-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.amadex-flight-airline {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #007cba;
}

.amadex-flight-airline-logo {
    width: 60px;
    height: 60px;
    /* background: #f0f0f0; */
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.amadex-flight-price {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.amadex-flight-segments {
    margin-bottom: 15px;
}

.amadex-flight-segment {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    /* border-bottom: 1px solid #f0f0f0; */
}

.amadex-flight-segment:last-child {
    border-bottom: none;
}

.amadex-segment-airports {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.amadex-segment-airport {
    text-align: center;
    min-width: 80px;
}

.amadex-segment-airport-code {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.amadex-segment-airport-name {
    font-size: 12px;
    color: #666;
}

.amadex-segment-duration {
    font-size: 14px;
    color: #666;
    text-align: center;
    min-width: 100px;
}

.amadex-segment-connection {
    font-size: 12px;
    color: #666;
    text-align: center;
    min-width: 100px;
}

.amadex-flight-details {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.amadex-flight-detail {
    display: flex;
    align-items: center;
    gap: 5px;
}

.amadex-flight-detail-icon {
    width: 16px;
    height: 16px;
    background: #f0f0f0;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.amadex-flight-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.amadex-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.amadex-btn-primary {
    background: #28a745;
    color: #fff;
}

.amadex-btn-primary:hover {
    background: #218838;
}

.amadex-btn-secondary {
    background: #007cba;
    color: #fff;
    text-decoration: none !important;
}

.amadex-btn-secondary:hover {
    background: #005a87;
}
div#amadex-load-more-wrap {
    text-align: center;
    background: #0E7D3F 0% 0% no-repeat padding-box;
    border: 1px solid #0E7D3F;
    border-radius: 20px;
}
/* .amadex-load-more-wrap:hover {
   background:#fff!important;
} */
button#amadex-load-more:hover{
    color:#fff;
}
button#amadex-clear-filters {
    background: none;
    border: none;
    box-shadow: none;
    font-size: 16px;
    padding: 0;
    color: #0E7D3F;
    /* text-decoration:underline; */
}
button#amadex-load-more {
    font-size: 20px;
    padding: 14px 20px;
}
.amadex-filters-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.amadex-results-showing {
    padding: 10px 0;
}
span#amadex-results-count {
    color: green;
    font-weight: 700;
}
.amadex-btn-outline {
    background: transparent;
    color: #fff;
}

.amadex-btn-outline:hover {
    background: #fff;
    color: #0e7d3f;
}

/* Modal Styles */
.amadex-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.amadex-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.amadex-modal-header {
    background: #007cba;
    color: #fff;
    padding: 20px;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.amadex-modal-header h3 {
    margin: 0;
    font-size: 20px;
}

.amadex-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}

.amadex-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.amadex-modal-body {
    padding: 20px;
}

/* Booking Form */
.amadex-booking-form h4 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 18px;
}

.amadex-form-group {
    margin-bottom: 20px;
}

.amadex-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.amadex-form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
}

.amadex-form-group input:focus {
    outline: none;
    border-color: #007cba;
}

.amadex-booking-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .amadex-form {
        grid-template-columns: 1fr;
    }
    
    .amadex-results-content {
        grid-template-columns: 1fr;
    }
    
    .amadex-filters-sidebar {
        position: static;
        margin-bottom: 20px;
    }
    
    .amadex-search-header {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .amadex-search-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .amadex-results-controls {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .amadex-flight-header {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .amadex-flight-actions {
        flex-direction: column;
    }
    
    .amadex-segment-airports {
        flex-direction: column;
        gap: 10px;
    }
    
    .amadex-modal-content {
        width: 95%;
        margin: 10% auto;
    }
}

/* Utility Classes */
.amadex-hidden {
    display: none !important;
}

.amadex-text-center {
    text-align: center;
}

.amadex-text-success {
    color: #28a745;
}

.amadex-text-error {
    color: #dc3545;
}

.amadex-mb-20 {
    margin-bottom: 20px;
}

.amadex-mt-20 {
    margin-top: 20px;
}

/* Test Form Styles */
.amadex-test-form {
    background: #f8f9fa;
    border: 2px solid #007cba;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.amadex-test-form h3 {
    color: #007cba;
    margin-top: 0;
}

#test-results {
    margin-top: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    max-height: 400px;
    overflow-y: auto;
}

#test-results pre {
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Call Now Popup Styles */
.amadex-call-modal-content {
    max-width: 600px;
    width: 95%;
    margin: 2% auto;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-top:8rem;
}

.amadex-call-popup {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 500px;
}

.amadex-call-header {
    background: linear-gradient(135deg, #007cba 0%, #005a87 100%);
    color: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.amadex-call-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 18px;
    font-weight: bold;
}

.amadex-call-logo i {
    font-size: 24px;
}

/* Popup Logo Image Styling */
.amadex-popup-logo-img {
    max-height: 60px;
    max-width: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.amadex-call-timer {
    text-align: right;
}

.amadex-timer-label {
    display: block;
    font-size: 12px;
    opacity: 0.9;
}

.amadex-timer-countdown {
    display: block;
    font-size: 20px;
    font-weight: bold;
    color: #ff6b35;
}

.amadex-call-content {
    padding: 30px;
    text-align: center;
}

.amadex-call-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin: 0 0 10px 0;
}

.amadex-call-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0 0 10px 0;
}

.amadex-call-price {
    background: #28a745;
    color: #fff;
    padding: 15px 30px;
    border-radius: 8px;
    margin: 10px 0;
    display: inline-block;
}

.amadex-price-amount {
    display: block;
    font-size: 20px;
    font-weight: bold;
}

.amadex-price-label {
    display: block;
    font-size: 14px;
    opacity: 0.9;
}

.amadex-call-flight-info {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin: 10px 0;
}

.amadex-flight-route {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.amadex-route-segment {
    text-align: center;
    flex: 1;
}

.amadex-route-label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.amadex-route-airport {
    display: block;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.amadex-route-city {
    display: block;
    font-size: 12px;
    color: #666;
}

.amadex-route-date {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.amadex-route-arrow {
    font-size: 24px;
    color: #007cba;
    margin: 0 20px;
}



.amadex-call-actions {
    margin: 30px 0;
}

.amadex-call-button {
    display: inline-block;
    background: linear-gradient(135deg, #0a7d3f 0%, #03a84e 100%);
    color: #fff;
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
    transition: transform 0.2s ease;
}

.amadex-call-button:hover {
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}

.amadex-call-button i {
    margin-right: 10px;
}

.amadex-call-disclaimer {
    font-size: 12px;
    color: #666;
    margin: 15px 0;
    font-style: italic;
}

.amadex-call-or {
    font-size: 16px;
    color: #666;
    margin: 20px 0;
    font-weight: bold;
}

.amadex-callback-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.amadex-callback-section h4 {
    margin: 0 0 15px 0;
    color: #333;
}

.amadex-callback-form {
    display: flex;
    gap: 10px;
    max-width: 400px;
    margin: 0 auto;
}

.amadex-callback-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
}

.amadex-callback-input:focus {
    outline: none;
    border-color: #007cba;
}

.amadex-callback-btn {
    background: #ff6b35;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.amadex-callback-btn:hover {
    background: #e55a2b;
}

.amadex-call-footer {
    margin-top: 20px;
    color: #666;
    font-size: 12px;
}

.amadex-call-footer small {
    display: block;
    margin: 5px 0;
}

/* Call Modal Close Button */
.amadex-call-modal-content .amadex-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}

.amadex-call-modal-content .amadex-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

/* Responsive Design for Call Popup */
@media (max-width: 768px) {
    .amadex-call-modal-content {
        width: 98%;
        margin: 1% auto;
    }
    
    .amadex-call-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .amadex-call-content {
        padding: 20px;
    }
    
    .amadex-call-title {
        font-size: 24px;
    }
    
    .amadex-flight-route {
        flex-direction: row;
        gap: 15px;
    }
    
    .amadex-route-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }
    
    .amadex-callback-form {
        flex-direction: column;
    }
}

/* Airline Logo Styles */
.amadex-flight-airline-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.amadex-flight-airline-logo span {
    font-size: 11px;
    font-weight: 600;
    color: #666;
    text-align: center;
}

/* Passengers & Cabin Trigger Styles */
.amadex-passengers-cabin-field {
    position: relative;
}

.amadex-passengers-cabin-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.amadex-passengers-cabin-trigger:hover {
    border-color: #007cba;
}

.amadex-pax-icon {
    font-size: 18px;
}

.amadex-pax-summary {
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

.amadex-cabin-summary {
    font-size: 14px;
    color: #666;
}

.amadex-trigger-arrow {
    margin-left: auto;
    font-size: 12px;
    color: #666;
    transition: transform 0.3s ease;
}

.amadex-passengers-cabin-trigger.active .amadex-trigger-arrow {
    transform: rotate(180deg);
}

/* Passengers & Cabin Modal Styles */
.amadex-passengers-cabin-modal-content {
    max-width: 500px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

.amadex-passengers-cabin-modal-content .amadex-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    padding: 0;
}

.amadex-passengers-cabin-modal-content .amadex-modal-close:hover {
    color: #333;
}

.amadex-passengers-cabin-modal-content .amadex-modal-body {
    padding: 30px;
}

/* Cabin Section */
.amadex-cabin-section {
    margin-bottom: 30px;
}

.amadex-cabin-section h4 {
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.amadex-cabin-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.amadex-cabin-btn {
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.amadex-cabin-btn:hover {
    border-color: #007cba;
}

.amadex-cabin-btn.active {
    background: #007cba;
    border-color: #007cba;
    color: #fff;
}

/* Travelers Section */
.amadex-travelers-section {
    margin-bottom: 25px;
}

.amadex-travelers-section h4 {
    margin: 0 0 20px 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.amadex-traveler-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.amadex-traveler-row:last-child {
    border-bottom: none;
}

.amadex-traveler-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.amadex-traveler-label {
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

.amadex-traveler-age {
    font-size: 13px;
    color: #666;
}

.amadex-traveler-counter {
    display: flex;
    align-items: center;
    gap: 15px;
}

.amadex-counter-btn {
    width: 36px;
    height: 36px;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    background: #fff;
    color: #333;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.amadex-counter-btn:hover:not(:disabled) {
    border-color: #007cba;
    background: #f0f8ff;
}

.amadex-counter-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.amadex-counter-value {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    min-width: 30px;
    text-align: center;
}

.amadex-unaccompanied-minor {
    margin-top: 15px;
    text-align: center;
}

.amadex-unaccompanied-link {
    color: #007cba;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.amadex-unaccompanied-link:hover {
    text-decoration: underline;
}

/* Done Button */
.amadex-modal-actions {
    margin-top: 25px;
}

.amadex-done-btn {
    width: 100%;
    padding: 15px;
    background: #007cba;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.amadex-done-btn:hover {
    background: #005a87;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 124, 186, 0.3);
}

/* Responsive for Modal */
@media (max-width: 768px) {
    .amadex-passengers-cabin-modal-content {
        max-width: 95%;
        margin: 20px auto;
    }
    
    .amadex-cabin-options {
        grid-template-columns: 1fr;
    }
    
    .amadex-passengers-cabin-modal-content .amadex-modal-body {
        padding: 20px;
    }
}