/**
 * Amadex Modern Search Bar Styles
 * Enhanced with Smooth Functionality & Modern UI
 * Fully Merged & Deduplicated
 * Sources: amadex-search-modern.css + amadex-custom.css
 * Last updated: 11-3-26
 */

:root {
  /* Brand Colors */
  --amadex-green:             #0E7D3F;
  --amadex-green-dark:        #0a6835;
  --amadex-green-darker:      #085428;
  --amadex-green-light:       rgba(14, 125, 63, 0.08);
  --amadex-green-lighter:     rgba(14, 125, 63, 0.04);
  --amadex-green-tint:        rgba(14, 125, 63, 0.03);
  --amadex-green-shadow-sm:   rgba(14, 125, 63, 0.15);
  --amadex-green-shadow-md:   rgba(14, 125, 63, 0.25);
  --amadex-green-shadow-lg:   rgba(14, 125, 63, 0.35);

  --amadex-white:       #ffffff;
  --amadex-black:       #000000;
  --amadex-gray-50:     #F9FAFB;
  --amadex-gray-100:    #F3F4F6;
  --amadex-gray-150:    #F1F1F1;
  --amadex-gray-200:    #E5E7EB;
  --amadex-gray-250:    #E8E8E8;
  --amadex-gray-300:    #D1D5DB;
  --amadex-gray-400:    #9CA3AF;
  --amadex-gray-500:    #6B7280;
  --amadex-gray-600:    #707070;
  --amadex-gray-700:    #374151;
  --amadex-gray-800:    #1F2937;
  --amadex-gray-900:    #111827;
  --amadex-body:        #202924;

  /* Hover / Focus Backgrounds */
  --amadex-hover-bg:    #F0FFF7;
  --amadex-hover-bg-2:  #F0FDF4;
  --amadex-hover-bg-3:  #F0FFF8;
  --amadex-range-bg:    #E8F5E9;

  /* Borders */
  --amadex-border:      #E5E5E5;
  --amadex-border-alt:  #E6E6E6;
  --amadex-border-soft: #CFCFCF;

  /* Typography */
  --amadex-font-xs:     11px;
  --amadex-font-sm:     12px;
  --amadex-font-base:   13px;
  --amadex-font-md:     14px;
  --amadex-font-lg:     15px;
  --amadex-font-xl:     16px;
  --amadex-font-2xl:    17px;
  --amadex-font-3xl:    18px;

  /* Border Radius */
  --amadex-radius-sm:   8px;
  --amadex-radius-md:   12px;
  --amadex-radius-lg:   15px;
  --amadex-radius-xl:   16px;
  --amadex-radius-2xl:  18px;
  --amadex-radius-3xl:  20px;
  --amadex-radius-full: 999px;

  /* Transitions */
  --amadex-ease:            cubic-bezier(0.4, 0, 0.2, 1);
  --amadex-transition:      all 0.3s var(--amadex-ease);
  --amadex-transition-fast: all 0.2s ease;

  /* Shadows */
  --amadex-shadow-sm:       0 2px 8px var(--amadex-green-shadow-md);
  --amadex-shadow-md:       0 4px 12px var(--amadex-green-shadow-lg);
  --amadex-shadow-dropdown: 0 20px 60px rgba(0,0,0,0.15), 0 8px 24px rgba(0,0,0,0.08);
  --amadex-shadow-calendar: 0 24px 60px rgba(0,0,0,0.15), 0 10px 30px rgba(0,0,0,0.1);

  /* Field Padding */
  --amadex-field-padding: 14px 22px;

  /* Frontend / Legacy Plugin Colors */
  --amadex-blue:          #0073aa;
  --amadex-blue-dark:     #005a87;
  --amadex-blue-border:   rgba(0, 115, 170, 0.2);
  --amadex-gray-light:    #f8f9fa;
  --amadex-dark-bg:       #333333;
  --amadex-dark-bg-2:     #444444;
  --amadex-dark-bg-3:     #222222;
  --amadex-dark-border:   #555555;
  --amadex-ddd:           #dddddd;
  --amadex-red-error:     #d9534f;
}


/* =============================================================
   2. GLOBAL RESETS
   ============================================================= */
input[type="text"] {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="reset"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus {
  border-color: inherit !important;
  box-shadow: none !important;
  outline: none !important;
  color: inherit !important;
}

.search-amadex {
  display: flex;
  background: var(--amadex-white);
  padding: 10px;
  border-radius: 10px;
}

.amadex-price-summary-card,
.amadex-booking-main {
  box-shadow: none !important;
  border: 1px solid var(--amadex-border) !important;
  padding: 28px 15px;
}

section.amadex-card.amadex-passenger-details-card {
  border: 1px solid var(--amadex-border-alt) !important;
  margin-top: 15px;
}

.amadex-passenger-form-card {
  margin-bottom: 0 !important;
}

.amadex-form-field input {
  border-radius: var(--amadex-radius-lg) !important;
  border: 1px solid var(--amadex-border-alt) !important;
  padding: 14px 15px !important;
}

input#ccnumber,
input#ccexp,
input#cvv {
  border-radius: var(--amadex-radius-lg) !important;
}

.amadex-flight-route-title {
  font-size: var(--amadex-font-lg);
}

.amadex-flight-price-wrapper .amadex-flight-price {
  color: var(--amadex-black);
}

.main-calnder-mobile {
  display: contents;
}

.amadex-search-modern {
  max-width: 1040px;
  margin: 20px auto 0;
  position: relative;
}

.amadex-modern-form,
.amadex-modern-field,
.amadex-search-btn,
.amadex-trip-label {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.amadex-trip-selector {
    display: flex;
    width: fit-content;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    gap: 4px;
    background: #e5e5e57a;
    border-radius: 20px;
}

.amadex-trip-label {
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.radio-input:checked + .amadex-trip-label {
    background: #0e7d3f;
    color: #fff;
}
.amadex-search-modern .amadex-trip-option {
    display: flex;
}

label.amadex-trip-label {
    font-size: 12px !important;
}
.amadex-search-modern .amadex-trip-label {
  display: inline-block;
  padding: 2px;
  font-size: 12px !important;
  font-weight: 500;
  color: var(--amadex-black);
  cursor: pointer;
  transition: var(--amadex-transition);
  user-select: none;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

.amadex-trip-label:hover {
  color: var(--amadex-green);
}

.amadex-search-modern .amadex-trip-option input[type="radio"]:checked + .amadex-trip-label {
    color: #0e7d3f;
    font-weight: 600;
}

.amadex-search-modern .amadex-modern-form.searching .amadex-search-fields {
  pointer-events: none;
  opacity: 0.8;
}

.amadex-modern-field {
  will-change: background, box-shadow;
  background: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: visible;
  cursor: pointer;
}

.amadex-modern-field:focus-within {
  background: var(--amadex-green-lighter);
}

.amadex-modern-field.field-disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
  position: relative;
}

.amadex-modern-field.field-disabled::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.6);
  cursor: not-allowed;
  z-index: 1;
}

.amadex-modern-field.field-disabled .amadex-field-label,
.amadex-modern-field.field-disabled .amadex-field-value,
.amadex-modern-field.field-disabled .amadex-field-description {
  color: var(--amadex-gray-400);
}

.amadex-modern-field.amadex-date-field.field-disabled.subtle-disabled,
#return-field.field-disabled.subtle-disabled {
  opacity: 0.2 !important;
  pointer-events: none !important;
  cursor: not-allowed !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  touch-action: none !important;
  position: relative;
}

.amadex-modern-field.amadex-date-field.field-disabled.subtle-disabled *,
#return-field.field-disabled.subtle-disabled * {
  pointer-events: none !important;
  cursor: not-allowed !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  touch-action: none !important;
}

.amadex-modern-field.amadex-date-field.field-disabled.subtle-disabled .amadex-field-value,
.amadex-modern-field.amadex-date-field.field-disabled.subtle-disabled .amadex-field-input-wrap,
.amadex-modern-field.amadex-date-field.field-disabled.subtle-disabled #return-display,
.amadex-modern-field.amadex-date-field.field-disabled.subtle-disabled #return-day,
.amadex-modern-field.amadex-date-field.field-disabled.subtle-disabled input,
#return-field.field-disabled.subtle-disabled .amadex-field-value,
#return-field.field-disabled.subtle-disabled .amadex-field-input-wrap,
#return-field.field-disabled.subtle-disabled #return-display,
#return-field.field-disabled.subtle-disabled #return-day,
#return-field.field-disabled.subtle-disabled input {
  pointer-events: none !important;
  cursor: not-allowed !important;
  touch-action: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

.amadex-modern-field.amadex-date-field.field-disabled.subtle-disabled:hover,
.amadex-modern-field.amadex-date-field.field-disabled.subtle-disabled:focus-within,
#return-field.field-disabled.subtle-disabled:hover,
#return-field.field-disabled.subtle-disabled:focus-within {
  background: transparent !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

.amadex-modern-field.field-disabled.subtle-disabled::after {
  display: none;
}

.amadex-modern-field.field-disabled.subtle-disabled .amadex-field-label,
.amadex-modern-field.field-disabled.subtle-disabled .amadex-field-value,
.amadex-modern-field.field-disabled.subtle-disabled .amadex-field-description {
  color: inherit;
  opacity: 1;
}

.amadex-modern-field.field-disabled.subtle-disabled .amadex-field-label {
  color: var(--amadex-green);
  font-weight: 600;
}

.amadex-modern-field.field-disabled.subtle-disabled .amadex-field-value {
  color: var(--amadex-black);
  font-weight: 500;
  font-size: 12px;
}

.amadex-modern-field.field-disabled.subtle-disabled .amadex-field-description {
  color: var(--amadex-gray-500);
}

.amadex-modern-field.field-disabled.return-promo {
  cursor: default;
  pointer-events: none;
}

.amadex-modern-field.field-disabled.return-promo::after {
  display: none !important;
}

.amadex-modern-field.field-disabled.return-promo .amadex-field-label {
  color: var(--amadex-green) !important;
  opacity: 1 !important;
  font-size: var(--amadex-font-sm) !important;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: capitalize;
}

.amadex-modern-field.field-disabled.return-promo .amadex-field-value {
  color: var(--amadex-gray-900) !important;
  opacity: 1 !important;
  font-weight: 400;
  font-size: 10px;
  line-height: 1.5;
}

.amadex-modern-field.field-disabled.return-promo .amadex-field-value strong {
  font-weight: 700 !important;
  color: var(--amadex-gray-900) !important;
}

.amadex-modern-field.field-disabled.return-promo .amadex-field-description {
  color: var(--amadex-gray-500) !important;
  opacity: 1 !important;
  display: none;
}

.amadex-modern-form.amadex-multi-city-mode .amadex-modern-field.amadex-date-field.field-disabled.return-promo {
  background: var(--amadex-white) !important;
  opacity: 1 !important;
  position: relative;
  z-index: 1;
}

.amadex-modern-field.amadex-date-field.subtle-disabled.field-disabled.return-promo #return-display {
  opacity: 0.2 !important;
}

.amadex-modern-field.amadex-date-field.subtle-disabled.field-disabled.return-promo div#return-display {
  width: 100% !important;
  font-size: var(--amadex-font-sm);
}

.amadex-field-label {
  font-size: var(--amadex-font-base) !important;
  font-weight: 600;
  color: var(--amadex-green) !important;
  letter-spacing: 0.2px;
  text-transform: capitalize;
  opacity: 1;
  margin-bottom: 6px;
  transition: var(--amadex-transition);
}

.amadex-modern-field:focus-within .amadex-field-label {
  color: var(--amadex-green-dark);
  transform: translateY(-1px);
}

.amadex-field-value {
  font-size: 12px;
  font-weight: 600;
  color: var(--amadex-black);
  padding: 6px 0;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s var(--amadex-ease);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.amadex-field-value::placeholder {
  color: #cbd5e1;
  font-weight: 500;
}

.amadex-field-value:focus {
  outline: none;
  color: var(--amadex-green);
}

.amadex-field-value:hover {
  color: var(--amadex-green);
  background: var(--amadex-hover-bg);
}

.amadex-field-description {
  font-size: var(--amadex-font-md);
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  letter-spacing: 0;
  color: var(--amadex-gray-500);
  opacity: 1;
  transition: var(--amadex-transition);
  display: none !important;
}

.amadex-field-input-wrap {
  display: flex;
  flex-direction: row;
  color: var(--amadex-body);
  gap: 10px;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.amadex-field-input-wrap input {
  padding-left: 0 !important;
  border: none !important;
}

.amadex-field-input-wrap input:hover {
  background: var(--amadex-hover-bg-3) !important;
}

.amadex-field-value:focus-visible,
.amadex-counter-btn:focus-visible,
.amadex-cabin-btn:focus-visible {
  outline: 2px solid var(--amadex-green);
  outline-offset: 2px;
  border-radius: 4px;
}

.amadex-location-field .amadex-field-value {
  letter-spacing: 0;
  color: var(--amadex-black) !important;
  opacity: 1;
  border: none;
  box-shadow: none;
  padding: 0 !important;
  font-size: 12px !important;
}

#destination-field,
#origin-field {
  justify-content: center;
  align-items: flex-start;
  position: relative;
  overflow: visible;
}

.amadex-modern-field.amadex-location-field.field-active input#modern-origin,
.amadex-modern-field.amadex-location-field.field-active input#modern-destination {
  font-weight: 700;
}

#modern-origin.amadex-field-value::placeholder,
#modern-destination.amadex-field-value::placeholder,
input[id^="modern-origin"]::placeholder,
input[id^="modern-destination"]::placeholder {
  color: var(--amadex-black);
  font-weight: 600;
  opacity: 1;
}

.amadex-modern-field.amadex-date-field {
  justify-content: center;
  position: relative;
}

.amadex-date-field .amadex-field-value {
  cursor: pointer;
}

.amadex-date-field input[type="date"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.amadex-modern-field.amadex-travellers-field,
#travellers-field {
  position: relative;
  z-index: 1002;
  overflow: visible;
  align-items: flex-start;
  border-right: none !important;
}

.amadex-travellers-trigger {
  gap: 0 !important;
  padding: 0 !important;
}

.amadex-travellers-value {
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
      display: flex;
    justify-content: space-between;
    align-items: center;
}

.amadex-cabin-value {
  font-size: var(--amadex-font-base);
  letter-spacing: 0;
  color: var(--amadex-body);
}

.amadex-location-field.field-active ~ .amadex-travellers-field,
.amadex-location-field.field-active ~ #travellers-field,
.amadex-date-field.field-active ~ .amadex-travellers-field,
.amadex-date-field.field-active ~ #travellers-field {
  z-index: 1;
  opacity: 1;
}

.amadex-modern-field.amadex-travellers-field.field-active,
#travellers-field.field-active,
#travellers-field.active {
  z-index: 1002;
  position: relative;
}

.amadex-suggestions-dropdown.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: slideInDown 0.35s var(--amadex-ease);
}

.amadex-dropdown-search {
  padding: 16px 18px 14px;
  background: var(--amadex-white);
  position: sticky;
  top: 0;
  z-index: 10;
}

input.amadex-dropdown-search-input {
  width: 100%;
  background: var(--amadex-gray-50);
  color: var(--amadex-gray-800);
  font-size: var(--amadex-font-lg);
  font-weight: 400;
  border: none !important;
  box-shadow: none !important;
  border-radius: 10px;
  padding-left: 20px !important;
  margin-top: 6px;
  transition: all 0.3s var(--amadex-ease);
}

input.amadex-dropdown-search-input::placeholder {
  color: var(--amadex-gray-400);
  font-weight: 400;
}

.dst-adivaha-wrapper.js-dst-adivaha-wrapper.container.dst-wrapper.wp-block-ds-blocks-dst-wrapper {
    position: relative;
}

.amadex-dropdown-search-icon {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--amadex-gray-500);
  pointer-events: none;
}

.amadex-dropdown-search-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.amadex-suggestions-scroll {
  max-height: 380px;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--amadex-gray-300) transparent;
}

.amadex-suggestions-scroll::-webkit-scrollbar        { width: 6px; }
.amadex-suggestions-scroll::-webkit-scrollbar-track  { background: transparent; margin: 8px 0; }
.amadex-suggestions-scroll::-webkit-scrollbar-thumb  { background: var(--amadex-gray-300); border-radius: 10px; }
.amadex-suggestions-scroll::-webkit-scrollbar-thumb:hover { background: var(--amadex-green); }

.amadex-suggestions-section {
  padding: 14px 18px 10px;
  background: transparent;
}

.amadex-suggestions-section-title {
  font-size: var(--amadex-font-base);
  font-weight: 700;
  color: var(--amadex-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.amadex-suggestion-item {
  padding: 14px 18px;
  cursor: pointer;
  border-bottom: 1px solid var(--amadex-border-soft);
  transition: all 0.25s var(--amadex-ease);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.amadex-suggestion-item:last-child { border-bottom: none; }

.amadex-suggestion-item:hover { background: var(--amadex-hover-bg-2); }

.amadex-suggestion-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: var(--amadex-green);
  transition: width 0.25s var(--amadex-ease);
}

.amadex-suggestion-item:hover::before { width: 4px; }

.amadex-suggestion-content { flex: 1; min-width: 0; }

.amadex-suggestion-city {
  font-size: var(--amadex-font-lg);
  font-weight: 600;
  color: var(--amadex-gray-800);
  margin-bottom: 4px;
  transition: var(--amadex-transition-fast);
  letter-spacing: 0.2px;
}

.amadex-suggestion-item:hover .amadex-suggestion-city { color: var(--amadex-green); }

.amadex-suggestion-airport {
  font-size: var(--amadex-font-base);
  color: var(--amadex-gray-500);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 400;
}

.amadex-suggestion-code {
  padding: 6px 14px;
  background: var(--amadex-white);
  color: var(--amadex-green);
  font-size: var(--amadex-font-base);
  font-weight: 700;
  border-radius: var(--amadex-radius-xl);
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid var(--amadex-green);
  box-shadow: 0 2px 6px var(--amadex-green-shadow-md);
  letter-spacing: 0.5px;
  transition: all 0.25s var(--amadex-ease);
}

.amadex-suggestion-item:hover .amadex-suggestion-code {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px var(--amadex-green-shadow-lg);
}

.amadex-suggestions-empty {
  padding: 32px 18px;
  text-align: center;
  color: var(--amadex-gray-400);
  font-size: var(--amadex-font-lg);
  font-weight: 400;
}

.amadex-modern-field.amadex-date-field,
#departure-field,
#return-field {
  position: relative;
}

.amadex-calendar-widget,
#departure-calendar,
#return-calendar {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: auto;
  width: 100%;
  min-width: 320px;
  max-width: 400px;
  background: var(--amadex-white);
  border: 1px solid var(--amadex-gray-250);
  border-radius: var(--amadex-radius-3xl);
  box-shadow: var(--amadex-shadow-calendar);
  padding: 18px;
  z-index: 10001;
  display: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: all 0.35s var(--amadex-ease);
  margin-top: 4px;
}

.amadex-calendar-widget.active,
#departure-calendar.active,
#return-calendar.active,
.amadex-modern-field.amadex-date-field.field-active ~ .amadex-calendar-widget,
#departure-field.field-active ~ #departure-calendar,
#return-field.field-active ~ #return-calendar,
.amadex-modern-field.amadex-date-field.field-active + .amadex-calendar-widget,
#departure-field.field-active + #departure-calendar,
#return-field.field-active + #return-calendar {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0);
  animation: slideInDown 0.35s var(--amadex-ease);
}

.amadex-calendar-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-bottom: 18px;
  padding-right: 50px;
  border-bottom: 2px solid var(--amadex-border-soft);
  gap: 40px;
  position: relative;
}

.amadex-calendar-selected-date {
  font-size: var(--amadex-font-md);
  font-weight: 700;
  color: var(--amadex-gray-800);
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
}

.amadex-calendar-date-item {
  position: relative;
  padding-bottom: 6px;
}

.amadex-calendar-date-item.active { color: var(--amadex-green); }

.amadex-calendar-date-item.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--amadex-green);
  border-radius: 2px;
}

.amadex-calendar-trip-type {
  font-size: var(--amadex-font-md);
  color: var(--amadex-gray-400);
  font-weight: 500;
  margin-left: auto;
  display: none;
}

.amadex-calendar-close-btn {
  position: absolute;
  top: 0;
  right: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amadex-gray-500);
  transition: var(--amadex-transition-fast);
  z-index: 10;
  border-radius: var(--amadex-radius-sm);
}

.amadex-calendar-close-btn:hover { background: var(--amadex-gray-100); color: var(--amadex-gray-800); }
.amadex-calendar-close-btn:active { background: var(--amadex-gray-200); transform: scale(0.95); }
.amadex-calendar-close-btn svg { width: 20px; height: 20px; display: block; }

.amadex-calendar-months {
  display: block;
  position: relative;
  padding-top: 15px;
  width: 100%;
  max-width: 100%;
}

.amadex-calendar-months::before { display: none; }

.amadex-calendar-month {
  min-width: 280px;
  max-width: 100%;
  width: 100%;
  position: relative;
  margin: 0 auto;
}

.amadex-calendar-month-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  position: relative;
  padding: 0 8px;
}

.amadex-calendar-month-title {
  font-size: var(--amadex-font-2xl);
  font-weight: 700;
  color: var(--amadex-gray-800);
  letter-spacing: 0.2px;
  text-align: center;
  flex: 1;
  margin: 0 8px;
}

.amadex-calendar-nav {
  display: flex;
  gap: 6px;
  position: absolute;
  left: 0; right: 0;
  justify-content: space-between;
  pointer-events: none;
}

.amadex-calendar-nav-btn {
  pointer-events: auto;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--amadex-gray-100);
  color: var(--amadex-gray-800);
  border-radius: var(--amadex-radius-sm);
  cursor: pointer;
  transition: var(--amadex-transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  box-shadow: none;
  padding: 0;
  flex-shrink: 0;
}

.amadex-calendar-nav-btn:hover:not(:disabled) {
  background: var(--amadex-range-bg);
  color: var(--amadex-green);
  transform: scale(1.05);
}

.amadex-calendar-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  background: var(--amadex-gray-100);
  color: var(--amadex-gray-400);
}

.amadex-calendar-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  display: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.amadex-calendar-backdrop.active { display: block !important; }

table.amadex-calendar-table,
.amadex-calendar-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 4px 4px;
  border: none !important;
  border-style: none !important;
  margin-bottom: 0 !important;
}

.amadex-calendar-table thead th {
  font-size: var(--amadex-font-base);
  font-weight: 600;
  color: var(--amadex-gray-600);
  text-align: center;
  padding: 10px 4px;
  text-transform: capitalize;
  letter-spacing: 0.3px;
  border: none !important;
  border-style: none !important;
}

.amadex-calendar-table tbody td {
  text-align: center;
  padding: 2px;
  border: none !important;
  border-style: none !important;
}

.amadex-calendar-day {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--amadex-radius-sm);
  font-size: var(--amadex-font-lg);
  font-weight: 500;
  color: var(--amadex-gray-800);
  cursor: pointer;
  transition: all 0.2s var(--amadex-ease);
  border: 2px solid transparent;
  background: transparent;
}

.amadex-calendar-day:hover:not(.disabled):not(.selected) {
  background: var(--amadex-hover-bg-2);
  color: var(--amadex-green);
  border-color: var(--amadex-range-bg);
}

span.amadex-calendar-day.selected,
.amadex-calendar-day.selected {
  background: var(--amadex-green) !important;
  color: var(--amadex-white) !important;
  font-weight: 700;
  box-shadow: 0 2px 8px var(--amadex-green-shadow-md);
  border-color: var(--amadex-green);
}

.amadex-calendar-day.in-range {
  background: var(--amadex-range-bg);
  color: var(--amadex-green);
  font-weight: 500;
}

.amadex-calendar-day.disabled {
  color: #B9B9B9;
  cursor: not-allowed;
  opacity: 1;
}

.amadex-calendar-day.other-month {
  color: var(--amadex-gray-200);
  font-weight: 400;
}

.amadex-calendar-day.today:not(.selected) {
  border-color: var(--amadex-green);
  font-weight: 600;
  color: var(--amadex-green);
}

button.amadex-swap-button {
    width: fit-content;
    background: none !important;
    border: none;
    color: var(--amadex-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.6s var(--amadex-ease), background-color 0.3s ease;
    box-shadow: none !important;
    z-index: 10;
    font-size: 20px;
    will-change: transform;
    overflow: visible;
    padding: 0;
}

button.amadex-flight-tab:focus {
  --outline-color: none !important;
}

button.amadex-swap-button::before { display: none; }

button.amadex-swap-button.animating {
  animation: rotateAnticlockwisePositioned 0.6s var(--amadex-ease);
}

button.amadex-swap-button svg,
button.amadex-swap-button i {
    color: var(--amadex-white);
    font-size: 20px;
    border-radius: 50px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    pointer-events: none;
    fill: var(--amadex-white);
    stroke-width: 0.5;
    display: block;
}
#swap-locations svg {
    transition: transform 0.4s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border-radius: 50%;
}
svg#swap-locations {
    width: 32px;
    height: 32px;
}

#swap-locations svg {
    width: 30px;
    height: 30px;
}
#swap-locations svg:hover {
    transform: rotate(180deg);
}

#swap-locations {
    box-shadow: 0 3px 8px rgb(0 0 0 / 41%) !important;
    transition: box-shadow 0.3s ease;
    background: #0d7d40 !important;
    border-radius: 35px;
}

#swap-locations.active{
    box-shadow: 0 8px 18px rgba(0,0,0,0.35);
}
button.amadex-swap-button {
    box-shadow: 0 3px 8px rgb(0 0 0 / 57%) !important;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

button.amadex-swap-button.swap-rotate {
    transform: rotate(180deg);
    box-shadow: 0 8px 18px rgba(0,0,0,0.35);
}

button.amadex-swap-button:hover svg,
button.amadex-swap-button:hover i,
button.amadex-swap-button.rotating svg,
button.amadex-swap-button.rotating i {
  filter: brightness(1.1);
}


.amadex-search-btn {
  background: linear-gradient(135deg, var(--amadex-green) 0%, var(--amadex-green-dark) 100%);
  color: var(--amadex-white);
  border: none;
  padding: 0 24px;
  font-size: var(--amadex-font-xl);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.4s var(--amadex-ease);
  white-space: nowrap;
  min-height: 60px;
  margin-bottom: 8px;
  opacity: 1;
  box-shadow: 0 4px 12px var(--amadex-green-shadow-md), 0 2px 6px var(--amadex-green-shadow-sm);
  position: relative;
  overflow: hidden;
  line-height: 1;
  width: 100%;
}

.amadex-search-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.amadex-search-btn:hover::before { left: 100%; }

.amadex-search-btn:hover:not(.loading) {
  background: linear-gradient(135deg, var(--amadex-green-dark) 0%, var(--amadex-green-darker) 100%);
  /*transform: translateY(-3px);*/
  box-shadow: 0 8px 24px var(--amadex-green-shadow-lg), 0 4px 12px var(--amadex-green-shadow-md);
  color: var(--amadex-white);
}

.amadex-search-btn:active:not(.loading) {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--amadex-green-shadow-lg);
}

.amadex-search-btn .amadex-search-icon,
.amadex-search-btn svg,
.amadex-search-btn .search-icon-svg {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 2px;
  transition: var(--amadex-transition);
  vertical-align: middle;
}

.amadex-search-btn:hover .amadex-search-icon { transform: scale(1.1) rotate(15deg); }

.amadex-modern-form button.amadex-search-btn {
    background: var(--amadex-green);
    /*border-radius: var(--amadex-radius-xl);*/
    font-size: var(--amadex-font-3xl);
    font-weight: 600;
    flex-shrink: 0;
}

form#amadex-modern-form-results button#amadex-modify-search-btn {margin-bottom: 0; }
.amadex-results-page #amadex-modify-search-btn .amadex-search-icon { display: none; }
.amadex-se-finding {
    display: none !important;
}
.amadex-se-results-hero-wrap {
    display: none !important;
}

.amadex-search-btn.loading {
  color: transparent !important;
  pointer-events: none;
  background: var(--amadex-green) !important;
  opacity: 0.85 !important;
  cursor: not-allowed;
  box-shadow: none !important;
}

.amadex-results-page .amadex-search-btn.loading::after,
.amadex-results-page #amadex-modify-search-btn.loading::after {
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: var(--amadex-white);
}

.amadex-search-btn.loading .amadex-search-icon,
.amadex-search-btn.loading > * {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.amadex-search-btn.loading::before {
  display: none !important;
  content: none !important;
}

.amadex-search-btn.loading::after {
  content: '';
  width: 22px; height: 22px;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--amadex-white);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  z-index: 10;
  display: block;
  visibility: visible;
  opacity: 1;
    right: 75px;
    position: absolute;
}

.amadex-modern-form button.amadex-search-btn.loading {
  /* position: relative !important; */
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  width: 146px;
  /* height: 100% !important; */
  transform: none !important;
  overflow: visible !important;
}

.amadex-travellers-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  background: var(--amadex-white);
  border: 1px solid var(--amadex-gray-200);
  border-radius: var(--amadex-radius-xl);
  box-shadow: var(--amadex-shadow-dropdown);
  padding: 15px;
  z-index: 10003;
  margin-top: 14px;
  min-width: 320px;
  width: 320px;
  display: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: all 0.35s var(--amadex-ease);
}

.amadex-travellers-dropdown.active,
.amadex-modern-field.amadex-travellers-field.field-active .amadex-travellers-dropdown,
.amadex-modern-field.amadex-travellers-field.field-active .amadex-travellers-dropdown.active,
#travellers-field.field-active .amadex-travellers-dropdown,
#travellers-field.field-active .amadex-travellers-dropdown.active,
#travellers-field.active .amadex-travellers-dropdown,
#travellers-field.active .amadex-travellers-dropdown.active {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  animation: slideInDown 0.35s var(--amadex-ease);
  z-index: 10003;
}

.amadex-travellers-dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  /* right: 24px; */
  width: 16px; height: 16px;
  background: var(--amadex-white);
  border-left: 1px solid var(--amadex-gray-200);
  border-top: 1px solid var(--amadex-gray-200);
  transform: rotate(45deg);
}

.amadex-travellers-dropdown::-webkit-scrollbar { width: 6px; }
.amadex-travellers-dropdown::-webkit-scrollbar-track { background: #f1f5f9; border-radius: 0 16px 16px 0; }
.amadex-travellers-dropdown::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }
.amadex-travellers-dropdown::-webkit-scrollbar-thumb:hover { background: var(--amadex-green); }

.amadex-traveller-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.amadex-traveller-row:last-child {
  border-bottom: 1px solid var(--amadex-gray-100);
  margin-bottom: 4px;
}

.amadex-traveller-label { display: flex; flex-direction: column; gap: 6px; }

.amadex-traveller-type {
  font-size: var(--amadex-font-xl);
  font-weight: 600;
  color: var(--amadex-gray-900);
  letter-spacing: -0.2px;
}

.amadex-traveller-age {
  font-size: var(--amadex-font-sm);
  color: var(--amadex-body);
  font-weight: 400;
}

.amadex-traveller-counter { display: flex; align-items: center; gap: 10px; }

.amadex-counter-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--amadex-transition-fast);
  font-weight: 500;
  line-height: 1;
  padding: 0;
}

.amadex-counter-btn.amadex-counter-minus {
  background: var(--amadex-gray-150);
  color: var(--amadex-black);
  border: 1px solid var(--amadex-gray-300);
  border-radius: 5px;
}

.amadex-counter-btn.amadex-counter-minus:hover:not(:disabled) {
  background: var(--amadex-gray-300);
  transform: scale(1.05);
}

.amadex-counter-btn.amadex-counter-plus {
  background: var(--amadex-green);
  color: var(--amadex-white);
  border: 1px solid var(--amadex-green);
  border-radius: 5px;
}

.amadex-counter-btn.amadex-counter-plus:hover:not(:disabled) {
  background: var(--amadex-green-dark);
  border-color: var(--amadex-green-dark);
  transform: scale(1.05);
}

.amadex-counter-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.amadex-counter-value {
  min-width: 32px;
  text-align: center;
  font-size: var(--amadex-font-2xl);
  font-weight: 600;
  color: var(--amadex-body);
}

.amadex-cabin-selector { padding-top: 0; border-top: none; }

.amadex-cabin-label {
  font-size: var(--amadex-font-lg);
  font-weight: 600;
  color: var(--amadex-gray-900);
  margin-bottom: 14px;
  letter-spacing: -0.2px;
}

.amadex-cabin-options { display: flex; gap: 10px; flex-wrap: wrap; }

.amadex-cabin-btn {
  padding: 11px 16px;
  border: 1px solid var(--amadex-border-soft);
  border-radius: var(--amadex-radius-lg);
  background: var(--amadex-white);
  color: var(--amadex-gray-900);
  font-size: var(--amadex-font-md);
  font-weight: 500;
  cursor: pointer;
  transition: var(--amadex-transition-fast);
  text-align: center;
  white-space: nowrap;
}

.amadex-cabin-btn:hover:not(.active) {
  border-color: var(--amadex-gray-400);
  background: var(--amadex-gray-50);
}

.amadex-cabin-btn.active {
  border-color: var(--amadex-green);
  background: var(--amadex-green-light);
  color: var(--amadex-green);
  font-weight: 600;
}

.amadex-travellers-apply-btn {
  width: 100%;
  padding: 14px 24px;
  margin-top: 20px;
  background: var(--amadex-green);
  color: var(--amadex-white);
  border: none;
  border-radius: var(--amadex-radius-sm);
  font-size: var(--amadex-font-xl);
  font-weight: 600;
  cursor: pointer;
  transition: var(--amadex-transition-fast);
  text-align: center;
  letter-spacing: 0.3px;
}

.amadex-travellers-apply-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px var(--amadex-green-shadow-md);
}

.amadex-multi-city-flights {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.amadex-multi-city-flights div#return-field {
  border-right: 1px solid var(--amadex-gray-250);
  opacity: 2 !important;
}

.amadex-flight-segment:last-child { margin-bottom: 0; }

.amadex-multi-city-mode .amadex-flight-segment + .amadex-flight-segment {
  margin-top: 8px;
}

.amadex-multi-city-mode .amadex-search-fields {
  align-items: center;
  margin-bottom: 10px;
}

.m-shortcode__container.container {
    max-width: 100%;
}
/* button#swap-locations {
    height: fit-content;
    position: relative;
    right: 0;
} */
.amadex-modern-form:not(.amadex-multi-city-mode) .amadex-flight-segment:not([data-segment="1"]) {
  display: none !important;
}

.amadex-multi-city-mode .amadex-segment-title { font-size: var(--amadex-font-base); }
.amadex-multi-city-mode .amadex-segment-remove-btn,
.amadex-multi-city-mode .amadex-remove-segment-btn { height: 24px; font-size: var(--amadex-font-md); padding: 20px; }
.amadex-multi-city-mode .amadex-add-city-btn,
.amadex-multi-city-mode .amadex-add-segment-btn { padding: 12px 16px; font-size: var(--amadex-font-md); }
.amadex-multi-city-mode .amadex-flight-segment .amadex-field-label { display:none !important; }
.amadex-multi-city-mode .amadex-flight-segment .amadex-field-value { font-size: 12px; font-weight: 600; }
.amadex-multi-city-mode .amadex-flight-segment .amadex-field-description { font-size: var(--amadex-font-xs); }
.amadex-modern-form.amadex-multi-city-mode.has-extra-segments .amadex-field-description { display: none; }

.amadex-modern-form.has-extra-segments .amadex-add-city-btn {
  margin-left: 0;
  margin-right: auto;
}
div#dateID {
    border-right: 1px solid #E8E8E8;
    border-left: 1px solid #E8E8E8;
}
.amadex-remove-field label.amadex-field-label {
    display: none !important;
}

.amadex-add-city-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  background: var(--amadex-white);
  border: 1px solid var(--amadex-green);
  border-radius: var(--amadex-radius-lg);
  color: var(--amadex-green);
  font-size: var(--amadex-font-xl);
  font-weight: 600;
  cursor: pointer;
  transition: var(--amadex-transition-fast);
  margin: 8px 0 0;
}

.amadex-add-city-btn .amadex-add-city-icon {
  width: 26px; height: 26px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  line-height: 1;
}

.amadex-add-city-btn:hover {
  background: rgba(14, 125, 63, 0.05);
  border-color: var(--amadex-green-dark);
  color: var(--amadex-green-dark);
  transform: translateY(-1px);
}

.amadex-add-city-btn:active { transform: translateY(0); }

.amadex-add-city-btn:disabled,
.amadex-add-city-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  color: #93A38E;
  border-color: #C8D1C8;
  transform: none;
}

.amadex-remove-field { display: flex; flex-direction: column; justify-content: flex-end; }
.amadex-remove-field .amadex-field-label { visibility: hidden; height: 16px; display: none; }
.amadex-remove-inner { display: flex; align-items: center; justify-content: center; height: 100%; width: 100%; }

.amadex-remove-segment-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: none;
  background: transparent !important;
  border-radius: var(--amadex-radius-full);
  color: var(--amadex-black);
  font-size: var(--amadex-font-md);
  font-weight: 500;
  cursor: pointer;
  transition: var(--amadex-transition-fast);
  white-space: nowrap;
}

@media (min-width: 768px) {
    
    .amadex-results-page .amadex-search-bar-wrapper {
    display: none !important;
}
    .amadex-booking-sidebar {
        position: sticky !important;
        top: 20px !important;
        align-self: flex-start !important;
        max-height: calc(100vh - 40px);
        overflow-y: auto;
        overflow-x: visible;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .amadex-booking-sidebar::-webkit-scrollbar {
        display: none;
    }

    .amadex-booking-content {
        align-items: start !important;
        overflow: visible !important;
    }
}

@media (max-width: 767px) {
    .amadex-review-section.amadex-review-dropdown-section {
    padding: 0 !important;
    background: #edf8f100 !important;
    border-radius: 15px !important;
    border: 0 !important;
}
    .amadex-payment-container {
    padding: 2px !important;
    border: 0;
}
    .vsb-segment-remove {
    width: 100%;
    justify-content: center;
}
    button.amadex-swap-button.amadex-segment-swap {
    right: 10px !important;
    top: 5px;
}
.amadex-remove-segment-btn {
    padding: 6px 15px !important;
    background: #e53935 !important;
    color: #fff !important;
    font-weight: 600 !important;
}
    .dst-wrapper.dst-adivaha-wrapper:not(.is-fixed) {
    height: auto !important;
}
    /* button#swap-locations {
    right: 12px;
    margin-left: unset !important;
} */

/* #swap-locations svg {
    width: 40px;
    height: 38px;
} */
.amadex-search-btn.loading::after {
    top: 25px !important;
}
.amadex-search-bar-container div#vsb-loader {
    display: none;
}
    .amadex-flight-tab-panels {
    padding: 0 !important;
}
.amadex-flight-segment-list {
    padding: 0px !important;
}
    .amadex-confirmation-content {
    flex-direction: column;
}
section.amadex-card.amadex-passenger-details-card.amadex-ce-reveal.amadex-ce-visible {
    margin: 0 !important;
    margin-top: 10px !important;
}
.amadex-flight-card-content {
    padding: 15px 25px !important;
}
svg#group-480 {
    width: 100%;
}
.amadex-confirmation-main {
    width: 100% !important;
}
.amadex-timeline-line-vertical {
    width: 100% !important;
}
div#amadex-confirmation-page {
    padding: 0;
}
aside.amadex-confirmation-sidebar {
    width: 100% !important;
}

.amadex-search-bar-wrapper {
    display: none !important;
}
.amadex-search-bar-wrapper.amadex-search-bar-active {
    display: block !important;
}

 .amadex-search-bar-wrapper.amadex-search-bar-active {
    height: fit-content !important;
}
.amadex-calendar-widget, #departure-calendar, #return-calendar {
    top: 140px !important;
    left: 0 !important;
    right: 0 !important;
}
    .amadex-addon-title {
    margin: 0;
    font-size: 20px;
}
.amadex-addon-description {
    font-size: 12px !important;
    display: none;
}
    .amadex-booking-sidebar {
        position: relative !important;
        top: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }
}
.amadex-remove-segment-btn svg { width: 16px; height: 16px; stroke-width: 2.5; }

.amadex-remove-segment-btn:hover {
  background: var(--amadex-gray-200);
  border-color: var(--amadex-gray-400);
  color: var(--amadex-gray-700);
}

.amadex-remove-segment-btn:active { transform: scale(0.98); }

.amadex-return-placeholder .amadex-field-value { color: var(--amadex-black); font-weight: 500; font-size: var(--amadex-font-base); }
.amadex-return-placeholder .amadex-field-input-wrap { display: flex; align-items: center; }

.amadex-return-promo { background: var(--amadex-white); border: none; cursor: default; pointer-events: none; }
.amadex-return-promo .amadex-field-value { color: var(--amadex-gray-900); font-weight: 400; font-size: var(--amadex-font-md); line-height: 1.5; }
.amadex-return-promo .amadex-field-value strong { font-weight: 700; color: var(--amadex-gray-900); }
.amadex-return-promo .amadex-field-label { color: var(--amadex-green); font-size: var(--amadex-font-sm); font-weight: 600; letter-spacing: 0.3px; text-transform: capitalize; opacity: 1; }
.amadex-return-promo .amadex-field-description { display: none; }

.amadex-results-page .amadex-search-summary-modern { margin-bottom: 0; width: 100%; }

.amadex-search-summary-modern .amadex-modern-form {
  margin: 0;
  padding: 20px;
  border-radius: var(--amadex-radius-3xl);
  transition: var(--amadex-transition);
}

.amadex-search-summary-modern .amadex-modern-form.amadex-multi-city-mode {
  min-height: auto;
  max-height: none;
  transition: all 0.4s ease;
  animation: expandForm 0.3s ease;
}

.amadex-results-page .amadex-search-summary-modern .amadex-field-label { color: var(--amadex-black); }
.amadex-search-summary-modern .amadex-location-field .amadex-field-value { font-weight: 600; }

/* .amadex-results-page .amadex-search-summary-modern div#destination-description,
.amadex-results-page .amadex-search-summary-modern div#origin-description,
.amadex-results-page .amadex-search-summary-modern #origin-description { display: none !important; } */

.amadex-search-summary-modern .amadex-field-description { padding: 10px 0; font-size: var(--amadex-font-md); }

.amadex-search-summary-modern .amadex-field-input-wrap {
  flex-direction: row;
  gap: 6px !important;
  align-items: center;
  justify-content: flex-start;
}

.amadex-search-summary-modern .amadex-date-field .amadex-field-value { width: 80%; }
.amadex-results-page #destination-field { padding-left: 25px; }
.amadex-results-page .amadex-search-summary-modern .amadex-travellers-trigger { flex-direction: column; }

.amadex-results-page .amadex-search-summary-modern .amadex-trip-selector {
  margin-bottom: 0;
  background: none;
  box-shadow: none;
}

.amadex-results-page .amadex-search-summary-modern .amadex-modern-field {
  justify-content: center;
  min-height: 50px;
}

.amadex-results-page .amadex-search-summary-modern .amadex-search-fields {
  min-height: 80px;
  width: 85%;
  grid-template-columns: 1.3fr 1.3fr 1fr 1fr 1.2fr;
}

.amadex-results-page .amadex-search-bar-wrapper {
  background: #f8f8f8;
  padding: 16px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--amadex-border);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.amadex-results-page .amadex-search-bar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.amadex-results-page .amadex-modern-form {
    padding: 0 !important;
    margin: 0;
    background: transparent;
}

.amadex-results-page .amadex-trip-selector {
  margin-bottom: 16px;
  max-width: 100%;
}

.amadex-results-page #amadex-modify-search-btn,
.amadex-results-page .amadex-search-btn {
  background: var(--amadex-green);
}

.amadex-results-page #amadex-modify-search-btn:hover,
.amadex-results-page .amadex-search-btn:hover {
  background: var(--amadex-green-dark);
}

.amadex-results-page #amadex-modify-search-btn.loading .amadex-search-icon,
.amadex-results-page .amadex-search-btn.loading .amadex-search-icon {
  display: none;
}

@media (min-width: 769px) {

  .amadex-results-page .amadex-search-summary-modern {
    position: static !important;
    display: block !important;
  }

  .amadex-results-page .amadex-search-fields {
    display: grid !important;
    grid-template-columns: 1.2fr 1.2fr 0.9fr 0.9fr 1fr !important;
    gap: 12px !important;
  }

  .amadex-results-page .amadex-modern-field {
    min-height: 60px;
    padding: 10px 14px;
  }

  .amadex-results-page .amadex-field-label { font-size: 11px !important; }
  .amadex-results-page .amadex-field-value { font-size: var(--amadex-font-md); }
  .amadex-results-page .amadex-field-description { font-size: 11px; }

  .amadex-results-page .amadex-search-btn {
    min-height: 60px;
    padding: 12px 24px;
    font-size: var(--amadex-font-lg);
  }
.amadex-results-page .amadex-route-header { display: none; }

  .amadex-results-header-mobile {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }

  .amadex-disclaimer-note {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }

  .amadex-mobile-sort-bar {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }
}

@media (max-width: 768px) {
  .amadex-results-page .amadex-search-bar-wrapper {
    background: #EEF9F2 !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
    border-bottom: none !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    display: none !important;
  }
  /* .dst-wrapper__inner {
    min-height: 100rem !important;
} */
.vsb-fields {
    padding: 10px 8px !important;
    width: 100%;
}
  .amadex-results-page .amadex-search-bar-wrapper.amadex-search-bar-active {
    display: block !important;
    padding: 16px 0 !important;
    margin-bottom: 16px !important;
  }

  .amadex-results-page .amadex-search-bar-container { padding: 0px; }

  .amadex-results-page .amadex-modern-form {
    padding: 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-radius: var(--amadex-radius-md);
  }

  .amadex-results-page .amadex-trip-selector { margin-bottom: 12px; width: 100%; }
  .amadex-results-page .amadex-search-fields { gap: 10px; margin-bottom: 12px; }
  .amadex-results-page .amadex-modern-field { min-height: 58px; padding: 10px 12px; }
  .amadex-results-page .amadex-field-label { font-size: 10px !important; margin-bottom: 3px; }
  .amadex-results-page .amadex-field-value { font-size: var(--amadex-font-base); }
  .amadex-results-page .amadex-field-description { font-size: 10px; margin-top: 1px; }
  .amadex-results-page .amadex-search-btn { min-height: 48px; padding: 12px 20px; font-size: var(--amadex-font-md); }
  /* .amadex-results-page .amadex-swap-button { width: 30px; height: 38px; margin: -5px auto; } */
  .amadex-results-page .amadex-trip-label { padding: 8px 12px; font-size: var(--amadex-font-sm) !important; }
}

@media only screen and (min-width: 320px) and (max-width: 767px) {
  .amadex-results-header-mobile {
    display: none !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .amadex-route-header {
    display: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    padding: 12px 16px;
    background: var(--amadex-white);
    border-bottom-width: 0;
    border-bottom-color: transparent;
    border-bottom-style: none;
    margin-bottom: 12px;
  }

  .amadex-disclaimer-note {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

div#travellers-field {
    border-right: none !important;
    border: 1px solid #c5c5c5 !important;
    padding: 6px 12px !important;
    border-radius: 10px;
}

  .amadex-mobile-sort-bar {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

span.amadex-switch-slider,
a.c-btn.-default.-primary.dst-adivaha-switcher { display: none !important; }

.amadex-search-bar-wrapper.sticky,
.amadex-search-bar-wrapper.fixed,
.amadex-search-summary-modern.sticky,
.amadex-search-summary-modern.fixed { display: none !important; position: static !important; }

.amadex-modern-form,
.amadex-swap-button,
.amadex-search-btn,
.amadex-trip-label,
.amadex-suggestions-dropdown,
.amadex-travellers-dropdown {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.amadex-trip-label,
.amadex-counter-btn,
.amadex-cabin-btn,
.amadex-swap-button,
.amadex-search-btn {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

  .amadex-modern-field,
  #origin-field,
  #destination-field,
  #departure-field,
  #return-field,
  #travellers-field {
    display: flex !important;
    flex-direction: column !important;
    min-height: 40px !important;
    padding: 0 10px !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
  }

  #travellers-field { justify-content: center; }
  #return-field { align-items: center; }
  #destination-field { justify-content: center; align-items: flex-start; }
  #origin-field { justify-content: center; align-items: flex-start; }

  .amadex-field-label,
  .amadex-field-value,
  .amadex-field-description {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  button.amadex-swap-button { display: flex !important; visibility: visible !important; }
  .amadex-search-btn.loading,
  .amadex-modern-form button.amadex-search-btn.loading {
    /* position: relative !important; */
    transform: none !important;
  }

  .amadex-modern-form button.amadex-search-btn.loading {
    right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
  }

  .amadex-travellers-field.active .amadex-travellers-trigger::after {
    transform: translateY(-40%) rotate(-135deg);
  }

  /* .amadex-modern-form.amadex-multi-city-mode.has-extra-segments button.amadex-swap-button {
    top: 0.6rem;
    left: 41.5rem;
  } */

  /* .amadex-results-page .amadex-search-summary-modern .amadex-modern-form.amadex-multi-city-mode.has-extra-segments button.amadex-swap-button {
    left: 46.5rem;
  } */

  .amadex-multi-city-mode .amadex-multi-city-flights { display: flex; }
  .amadex-multi-city-mode .amadex-flight-segment { display: block; }
  .amadex-multi-city-mode > .amadex-search-fields:not(.amadex-flight-segment .amadex-search-fields) { display: none !important; }

  .amadex-modern-form:not(.amadex-multi-city-mode) .amadex-modern-field { display: flex !important; visibility: visible !important; opacity: 1 !important; }

@keyframes slideInDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.97); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes expandForm {
  from { opacity: 0.9; }
  to   { opacity: 1; }
}

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes rotateAnticlockwise {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-180deg); }
}

@keyframes rotateAnticlockwisePositioned {
  from { transform: translateX(-50%) rotate(0deg); }
  to   { transform: translateX(-50%) rotate(-180deg); }
}

@keyframes formEntrance {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.amadex-modern-form { animation: formEntrance 0.6s var(--amadex-ease); }

.amadex-search,
.amadex-results-page,
.amadex-modal {
  line-height: 1.6;
  color: #333;
}

.amadex-call-now-banner {
  display: none;
}

a.amadex-price-box-call.amadex-call-btn {
  justify-content: center;
}

.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;
}

button.amadex-flight-continue-btn.amadex-book-now-btn {
  max-width: 40%;
}

.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-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);
}

.amadex-results-page {
    width: 100%;
    margin: 0;
    padding: 0;
}

.amadex-search-bar-wrapper {
    width: 100%;
    margin: 0 auto;
    background-color: #EEF9F2;
    padding: 24px 0;
    position: relative !important;
    z-index: 25 !important;
}

.amadex-search-bar-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 10px 20px;
    background: #eef9f2;
    border-radius: 20px;
    position: relative;
    z-index: 26;
}

@media only screen and (min-width: 768px) {
    .amadex-search-bar-wrapper {
        width: 100%;
    }
    
    .amadex-search-bar-container {
        max-width: 1500px;
        padding: 10px 20px;
    }
}

.dst-adivaha-wrapper.js-dst-adivaha-wrapper.container.dst-wrapper.wp-block-ds-blocks-dst-wrapper {
    z-index: 10 !important;
}

.dst-adivaha-wrapper.js-dst-adivaha-wrapper.container.dst-wrapper.wp-block-ds-blocks-dst-wrapper.is-fixed {
    z-index: 15 !important;
}

.amadex-search-bar-wrapper ~ .dst-adivaha-wrapper,
.dst-adivaha-wrapper ~ .amadex-search-bar-wrapper {
    position: relative;
}

.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;
}

.amadex-results-content-wrapper {
    width: 100%;
    background-color: #EEF9F2;
    padding: 24px 0;
}

.amadex-results-content {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 28px;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}

.amadex-filters-sidebar {
    padding: 15px;
    position: sticky;
    top: 24px;
    height: fit-content;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    overflow-x: hidden;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 0px 15px #00000029;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
    box-sizing: border-box;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.amadex-filters-sidebar::-webkit-scrollbar {
    display: none;
}

@media only screen and (min-width: 320px) and (max-width: 767px) {
    label.amadex-trip-label {
    font-size: 12px !important;
}
.vsb-field {
    position: unset;
}
button#swap-locations {
    right: 15px !important;
    position: relative;
}
.vsb-card {
    padding: 0;
}
input#modern-destination {
    font-size: 14px;
}
input#modern-origin {
    font-size: 14px;
}
.amadex-trip-selector {
    gap: 0;
}
.vsb-field.vsb-field--origin {
    max-width: 48% !important;
}
.vsb-field.vsb-field--destination {
    max-width: 40%;
}
    .amadex-filters-sidebar {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        position: absolute !important;
        left: -9999px !important;
        width: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .amadex-mobile-filter-modal .amadex-filters-sidebar {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        overflow: visible !important;
        position: static !important;
        left: auto !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        flex-direction: column !important;
    }
}

@media only screen and (min-width: 768px) {
    .amadex-filters-sidebar {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: sticky !important;
        height: fit-content !important;
        max-height: calc(100vh - 80px) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        width: auto !important;
        padding: 15px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
}

.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: 10px;
}

.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;
    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;
}

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;
    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;
}

.amadex-time-card.is-checked .amadex-time-icon {
    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;
}
.amadex-promotional-container {
    margin-bottom: 20px;
    transition: all 0.3s ease;
    width: var(--pc-width, 100%);
    height: var(--pc-height, auto);
    min-width: var(--pc-min-width, 0);
    max-width: var(--pc-max-width, none);
    min-height: var(--pc-min-height, 0);
    max-height: var(--pc-max-height, none);
}

.amadex-promotional-container.amadex-promo-width-full {
    width: var(--pc-width, 100%);
}

.amadex-promotional-container.amadex-promo-width-compact {
    width: var(--pc-width, 65%);
    margin-left: auto;
    margin-right: auto;
}

.amadex-promotional-container.amadex-promo-width-mini {
    width: var(--pc-width, 45%);
    margin-left: auto;
    margin-right: auto;
}

.amadex-promo-content {
    background: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: var(--pc-border-radius, 8px);
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    padding-top: var(--pc-padding-top, var(--pc-padding, 20px));
    padding-right: var(--pc-padding-right, var(--pc-padding, 20px));
    padding-bottom: var(--pc-padding-bottom, var(--pc-padding, 20px));
    padding-left: var(--pc-padding-left, var(--pc-padding, 20px));
    column-gap: var(--pc-gap-column, 20px);
    row-gap: var(--pc-gap-row, 20px);
    gap: var(--pc-gap-column, 20px) var(--pc-gap-row, 20px);
    --compactness-factor: var(--pc-compactness, 0.5);
    --compactness-multiplier: calc(1.2 - var(--compactness-factor) * 0.6);
    column-gap: calc(var(--pc-gap-column, 20px) * var(--compactness-multiplier));
    row-gap: calc(var(--pc-gap-row, 20px) * var(--compactness-multiplier));
}

.amadex-promotional-container:hover .amadex-promo-content {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.amadex-promo-type-price_alert .amadex-promo-content {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-left: 4px solid #0e7d3f;
}

.amadex-promo-type-price_alert .amadex-promo-title {
    color: #0e7d3f;
    margin-bottom: 8px;
    font-size: calc(18px * var(--pc-typography-scale, 1.0));
    font-weight: 600;
}

.amadex-promo-type-price_alert .amadex-promo-description {
    color: #6b7280;
    margin-bottom: 0;
    font-size: calc(14px * var(--pc-typography-scale, 1.0));
}

.amadex-promo-type-price_alert .amadex-promo-form {
    display: flex;
    gap: 10px;
    margin-left: auto;
    flex-shrink: 0;
}

.amadex-promo-email-input,
.amadex-promo-phone-input {
    padding: 10px 15px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    min-width: 200px;
}

.amadex-promo-type-airline_ad .amadex-promo-content {
    background: linear-gradient(135deg, #fef3c7 0%, #ffffff 100%);
    border-left: 4px solid #f59e0b;
}

.amadex-promo-airline-logo {
    flex-shrink: 0;
}

.amadex-promo-airline-logo img {
    max-width: 80px;
    max-height: 60px;
    object-fit: contain;
}

.amadex-promo-offer {
    color: #f59e0b;
    font-weight: 600;
    margin-top: 5px;
    margin-bottom: 0;
    font-size: 14px;
}

.amadex-promo-type-product_cross_sell .amadex-promo-content {
    background: linear-gradient(135deg, #e0f2fe 0%, #ffffff 100%);
    border-left: 4px solid #0284c7;
}

.amadex-promo-image {
    flex-shrink: 0;
}

.amadex-promo-image img {
    max-width: 100px;
    max-height: 80px;
    object-fit: contain;
    border-radius: 6px;
}

.amadex-promo-type-callback .amadex-promo-content {
    background: linear-gradient(135deg, #fce7f3 0%, #ffffff 100%);
    border-left: 4px solid #db2777;
    flex-direction: column;
    align-items: stretch;
}

.amadex-promo-type-callback .amadex-promo-form {
    margin-left: 0;
    margin-top: 15px;
}

.amadex-promo-message {
    margin-top: 10px;
    padding: 10px;
    background: #dcfce7;
    border: 1px solid #86efac;
    border-radius: 6px;
    color: #166534;
    font-size: 14px;
}

.amadex-promo-type-ad .amadex-promo-content {
    padding: 15px;
    text-align: center;
    flex-direction: column;
}

.amadex-promo-ad-image {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
    border-radius: 6px;
}

.amadex-promo-ad-link {
    display: block;
    text-decoration: none;
}

.amadex-promo-ad-link:hover {
    opacity: 0.9;
}

.amadex-promo-button {
    padding: 10px 20px;
    background: #0e7d3f;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
}

.amadex-promo-button:hover {
    background: #0a5d2e;
    transform: translateY(-1px);
}

.amadex-promo-button:active {
    transform: translateY(0);
}

.amadex-promo-link {
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.amadex-promo-text {
    flex: 1;
}

.amadex-promo-title {
    margin: 0 0 8px 0;
    font-size: calc(18px * var(--pc-typography-scale, 1.0));
    font-weight: 600;
    color: #1f2937;
}

.amadex-promo-description {
    margin: 0;
    font-size: calc(14px * var(--pc-typography-scale, 1.0));
    color: #6b7280;
    line-height: 1.5;
}

@media (max-width: 767px) {
    .amadex-promotional-container.amadex-promo-width-compact,
    .amadex-promotional-container.amadex-promo-width-mini {
        width: 100%;
    }
    
    .amadex-promo-content {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .amadex-promo-type-price_alert .amadex-promo-form {
        margin-left: 0;
        flex-direction: column;
    }
    
    .amadex-promo-email-input,
    .amadex-promo-phone-input {
        min-width: 100%;
        width: 100%;
    }
    
    .amadex-promo-button {
        width: 100%;
    }
    
    .amadex-promo-image,
    .amadex-promo-airline-logo {
        align-self: center;
    }
}

.amadex-template-native-inline-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: center;
}

.amadex-template-native-inline-card .amadex-template-image {
    flex-shrink: 0;
}

.amadex-template-native-inline-card .amadex-template-image img {
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
    border-radius: 6px;
}

.amadex-template-native-inline-card .amadex-template-text {
    flex: 1;
}

.amadex-template-native-inline-card .amadex-template-action {
    flex-shrink: 0;
}

.amadex-template-itinerary-promo {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 20px;
    align-items: center;
}

.amadex-template-itinerary-promo .amadex-template-destination,
.amadex-template-itinerary-promo .amadex-template-dates {
    margin-top: 8px;
    font-size: 13px;
}

.amadex-template-itinerary-promo .amadex-template-dates {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.amadex-template-itinerary-promo .amadex-template-price {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.amadex-template-three-agent-cards .amadex-template-header {
    grid-column: 1 / -1;
    margin-bottom: 20px;
    text-align: center;
}

.amadex-template-three-agent-cards .amadex-template-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.amadex-template-card {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    padding: 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.amadex-template-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.amadex-template-card-image {
    margin-bottom: 10px;
}

.amadex-template-card-image img {
    width: 100%;
    max-height: 120px;
    object-fit: cover;
    border-radius: 6px;
}

.amadex-template-card-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.amadex-template-card-description {
    font-size: 13px;
    margin: 0 0 10px 0;
    line-height: 1.5;
}

.amadex-template-two-column-feature .amadex-template-header {
    grid-column: 1 / -1;
    margin-bottom: 20px;
    text-align: center;
}

.amadex-template-two-column-feature .amadex-template-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.amadex-template-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.amadex-template-column-image img {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
}

.amadex-template-column-content {
    line-height: 1.6;
}

.amadex-template-hero-spotlight {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 400px;
    padding: 40px 20px;
    position: relative;
}

.amadex-template-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    opacity: 0.1;
}

.amadex-template-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.amadex-template-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.amadex-template-hero-subtitle {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight: 600;
}

.amadex-template-hero-title {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.amadex-template-hero-description {
    font-size: 18px;
    margin: 0 0 25px 0;
    line-height: 1.5;
}

.amadex-template-hero-button {
    font-size: 18px;
    padding: 15px 40px;
}

.amadex-template-promo-carousel .amadex-template-header {
    margin-bottom: 20px;
    text-align: center;
}

.amadex-template-carousel-wrapper {
    position: relative;
}

.amadex-template-carousel-slides {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.amadex-template-carousel-slides::-webkit-scrollbar {
    display: none;
}

.amadex-template-carousel-slide {
    min-width: 100%;
    scroll-snap-align: start;
    padding: 20px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    align-items: center;
}

.amadex-template-carousel-image img {
    max-width: 150px;
    max-height: 150px;
    object-fit: contain;
    border-radius: 8px;
}

.amadex-template-carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
}

.amadex-template-carousel-prev,
.amadex-template-carousel-next {
    background: #0e7d3f;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.amadex-template-carousel-prev:hover,
.amadex-template-carousel-next:hover {
    background: #0a5d2e;
}

.amadex-template-carousel-dots {
    display: flex;
    gap: 8px;
}

.amadex-template-video-promo-tile {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: center;
}

.amadex-template-video-thumbnail {
    position: relative;
    flex-shrink: 0;
    cursor: pointer;
}

.amadex-template-video-thumbnail img {
    width: 200px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}

.amadex-template-video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease;
}

.amadex-template-video-thumbnail:hover .amadex-template-video-play-button {
    transform: translate(-50%, -50%) scale(1.1);
}

.amadex-template-video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.amadex-template-video-link {
    text-decoration: none;
    display: block;
}

@media (max-width: 1298px) {
    div#travellers-field {
    border-right: none !important;
    border: 1px solid #c5c5c5 !important;
    padding: 6px 12px !important;
    border-radius: 10px;
}
    .vsb-segment-remove {
    width: 100%;
    justify-content: center;
}
    button.amadex-swap-button.amadex-segment-swap {
    right: 16px !important;
    top: 0;
}
.amadex-remove-segment-btn {
    padding: 6px 15px !important;
    background: #e53935 !important;
    color: #fff !important;
    font-weight: 600 !important;
}
    .dst-wrapper.dst-adivaha-wrapper:not(.is-fixed) {
    height: auto !important;
}
    button#swap-locations {
    right: 12px;
    margin-left: unset !important;
}
}

@media (max-width: 1024px) {
    .vsb-segment-remove {
    width: 100%;
    justify-content: center;
}
    button.amadex-swap-button.amadex-segment-swap {
    right: 16px !important;
}
.amadex-remove-segment-btn {
    padding: 6px 15px !important;
    background: #e53935 !important;
    color: #fff !important;
    font-weight: 600 !important;
}
    .dst-wrapper.dst-adivaha-wrapper:not(.is-fixed) {
    height: auto !important;
}
    button#swap-locations {
    right: 12px;
    margin-left: unset !important;
}
    .amadex-template-itinerary-promo {
        grid-template-columns: 1fr 1fr;
    }
    
    .amadex-template-three-agent-cards .amadex-template-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .amadex-template-native-inline-card,
    .amadex-template-itinerary-promo,
    .amadex-template-video-promo-tile {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .amadex-template-three-agent-cards .amadex-template-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .amadex-template-two-column-feature .amadex-template-columns {
        grid-template-columns: 1fr;
    }
    
    .amadex-template-hero-spotlight {
        min-height: 300px;
        padding: 30px 15px;
    }
    
    .amadex-template-hero-title {
        font-size: 28px;
    }
    
    .amadex-template-hero-description {
        font-size: 16px;
    }
    
    .amadex-template-carousel-slide {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .amadex-template-video-thumbnail img {
        width: 100%;
        height: auto;
    }
}

.amadex-container-type-320x50 {
    width: 320px !important;
    height: 50px !important;
    max-width: 320px !important;
    min-width: 300px !important;
    max-height: 60px !important;
    min-height: 50px !important;
    margin: 0 auto;
}

.amadex-container-type-320x50 .amadex-promo-content {
    padding: 5px 10px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    height: 100%;
}

.amadex-container-type-320x50 .amadex-promo-title {
    font-size: 12px !important;
    margin: 0 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.amadex-container-type-320x50 .amadex-promo-description {
    display: none;
}

.amadex-container-type-320x50 .amadex-promo-button {
    padding: 6px 12px !important;
    font-size: 11px !important;
    white-space: nowrap;
    flex-shrink: 0;
}

.amadex-container-type-320x100 {
    width: 320px !important;
    height: 100px !important;
    max-width: 320px !important;
    min-width: 300px !important;
    max-height: 120px !important;
    min-height: 90px !important;
    margin: 0 auto;
}

.amadex-container-type-320x100 .amadex-promo-content {
    padding: 8px 12px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: 100%;
}

.amadex-container-type-320x100 .amadex-promo-title {
    font-size: 14px !important;
    margin: 0 0 4px 0 !important;
}

.amadex-container-type-320x100 .amadex-promo-description {
    font-size: 11px !important;
    margin: 0 !important;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.amadex-container-type-320x100 .amadex-promo-button {
    padding: 8px 16px !important;
    font-size: 12px !important;
    flex-shrink: 0;
}

.amadex-container-type-300x250 {
    width: 300px !important;
    height: 250px !important;
    max-width: 320px !important;
    min-width: 280px !important;
    max-height: 270px !important;
    min-height: 230px !important;
    margin: 0 auto;
}

.amadex-container-type-300x250 .amadex-promo-content {
    padding: 15px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    text-align: center;
}

.amadex-container-type-300x250 .amadex-promo-title {
    font-size: 16px !important;
    margin: 0 0 8px 0 !important;
}

.amadex-container-type-300x250 .amadex-promo-description {
    font-size: 13px !important;
    margin: 0 0 12px 0 !important;
    line-height: 1.4;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.amadex-container-type-300x250 .amadex-promo-image img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
}

.amadex-container-type-300x250 .amadex-promo-button {
    width: 100%;
    padding: 10px !important;
    font-size: 13px !important;
}

.amadex-container-type-728x90 {
    width: 728px !important;
    height: 90px !important;
    max-width: 750px !important;
    min-width: 700px !important;
    max-height: 95px !important;
    min-height: 85px !important;
    margin: 0 auto;
}

.amadex-container-type-728x90 .amadex-promo-content {
    padding: 10px 20px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: 100%;
}

.amadex-container-type-728x90 .amadex-promo-title {
    font-size: 18px !important;
    margin: 0 0 4px 0 !important;
}

.amadex-container-type-728x90 .amadex-promo-description {
    font-size: 13px !important;
    margin: 0 !important;
    line-height: 1.3;
}

.amadex-container-type-728x90 .amadex-promo-button {
    padding: 10px 24px !important;
    font-size: 14px !important;
    white-space: nowrap;
    flex-shrink: 0;
}

.amadex-container-type-300x600 {
    width: 300px !important;
    height: 600px !important;
    max-width: 320px !important;
    min-width: 280px !important;
    max-height: 620px !important;
    min-height: 580px !important;
    margin: 0 auto;
}

.amadex-container-type-300x600 .amadex-promo-content {
    padding: 20px !important;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: 100%;
}

.amadex-container-type-300x600 .amadex-promo-title {
    font-size: 20px !important;
    margin: 0 0 12px 0 !important;
}

.amadex-container-type-300x600 .amadex-promo-description {
    font-size: 14px !important;
    margin: 0 0 15px 0 !important;
    line-height: 1.5;
    flex: 1;
}

.amadex-container-type-300x600 .amadex-promo-image img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.amadex-container-type-300x600 .amadex-promo-button {
    width: 100%;
    padding: 12px !important;
    font-size: 14px !important;
    margin-top: auto;
}

.amadex-container-type-native-inline {
    width: 100% !important;
    max-width: 1200px !important;
    height: auto !important;
    margin: 0 auto;
}

.amadex-container-type-native-inline .amadex-promo-content {
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.amadex-container-type-itinerary-native {
    width: 100% !important;
    max-width: 800px !important;
    height: auto !important;
    min-height: 120px !important;
    margin: 0 auto;
}

.amadex-container-type-itinerary-native .amadex-promo-content {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.amadex-container-type-brand-banner {
    width: 100% !important;
    max-width: 1200px !important;
    height: auto !important;
    min-height: 200px !important;
    max-height: 600px !important;
    margin: 0 auto;
}

.amadex-container-type-brand-banner .amadex-promo-content {
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    padding: 40px !important;
    text-align: center;
}

.amadex-container-type-brand-banner .amadex-promo-title {
    font-size: 32px !important;
    margin: 0 0 15px 0 !important;
}

.amadex-container-type-brand-banner .amadex-promo-description {
    font-size: 18px !important;
    margin: 0 0 25px 0 !important;
}

.amadex-container-type-brand-banner .amadex-promo-button {
    padding: 15px 40px !important;
    font-size: 16px !important;
}

.amadex-container-type-carousel {
    width: 100% !important;
    max-width: 1200px !important;
    height: auto !important;
    min-height: 200px !important;
    max-height: 500px !important;
    margin: 0 auto;
}

.amadex-container-type-carousel .amadex-promo-content {
    border-radius: 12px;
    overflow: hidden;
}

.amadex-container-type-hero-takeover {
    width: 100% !important;
    height: auto !important;
    min-height: 400px !important;
    max-height: 800px !important;
    margin: 0;
}

.amadex-container-type-hero-takeover .amadex-promo-content {
    border-radius: 0;
    padding: 60px 40px !important;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.amadex-container-type-hero-takeover .amadex-promo-title {
    font-size: 48px !important;
    margin: 0 0 20px 0 !important;
    font-weight: 700;
}

.amadex-container-type-hero-takeover .amadex-promo-description {
    font-size: 22px !important;
    margin: 0 0 30px 0 !important;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.amadex-container-type-hero-takeover .amadex-promo-button {
    padding: 18px 50px !important;
    font-size: 18px !important;
}

.amadex-container-type-in-banner-video {
    width: 100% !important;
    max-width: 1200px !important;
    height: auto !important;
    min-height: 200px !important;
    max-height: 600px !important;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
}

.amadex-container-type-in-banner-video .amadex-promo-content {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    padding: 0 !important;
}

.amadex-container-type-in-banner-video .amadex-promo-content::before {
    content: '';
    display: block;
    padding-top: 56.25%;
}

@media (max-width: 1024px) {
    .amadex-container-type-728x90 {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        height: 90px !important;
    }
    
    .amadex-container-type-300x600 {
        width: 100% !important;
        max-width: 400px !important;
        height: auto !important;
        min-height: 400px !important;
    }
    
    .amadex-container-type-hero-takeover {
        min-height: 350px !important;
    }
    
    .amadex-container-type-hero-takeover .amadex-promo-title {
        font-size: 36px !important;
    }
    
    .amadex-container-type-hero-takeover .amadex-promo-description {
        font-size: 18px !important;
    }
}

@media (max-width: 767px) {
    .amadex-container-type-320x50,
    .amadex-container-type-320x100 {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
    }
    
    .amadex-container-type-300x250 {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        height: auto !important;
        min-height: 250px !important;
    }
    
    .amadex-container-type-728x90 {
        height: auto !important;
        min-height: 90px !important;
    }
    
    .amadex-container-type-300x600 {
        height: auto !important;
        min-height: 300px !important;
    }
    
    .amadex-container-type-hero-takeover {
        min-height: 300px !important;
        padding: 40px 20px !important;
    }
    
    .amadex-container-type-hero-takeover .amadex-promo-title {
        font-size: 28px !important;
    }
    
    .amadex-container-type-hero-takeover .amadex-promo-description {
        font-size: 16px !important;
    }
    
    .amadex-container-type-brand-banner {
        padding: 30px 20px !important;
    }
    
    .amadex-container-type-brand-banner .amadex-promo-title {
        font-size: 24px !important;
    }
    
    .amadex-container-type-brand-banner .amadex-promo-description {
        font-size: 16px !important;
    }
}

@media (max-width: 767px) {
    .amadex-animation-mobile-disabled,
    .amadex-animation-mobile-disabled *,
    .amadex-animation-mobile-disabled::before,
    .amadex-animation-mobile-disabled::after {
        animation: none !important;
    }
}

@keyframes amadex-shine {
    0% {
        transform: translateX(-160%) skewX(-20deg);
        opacity: 0;
    }
    10% {
        opacity: calc(0.2 + (0.7 * var(--amadex-intensity, 0.5)));
    }
    35% {
        opacity: 0;
    }
    100% {
        transform: translateX(260%) skewX(-20deg);
        opacity: 0;
    }
}

.amadex-promotional-container.amadex-animation-shine {
    --amadex-intensity: 0.5;
    position: relative !important;
    overflow: hidden !important;
}

.amadex-promotional-container.amadex-animation-shine::after {
    content: "";
    position: absolute;
    inset: 0;
    width: calc(40% + (40% * var(--amadex-intensity, 0.5)));
    background: rgba(255, 255, 255, calc(0.5 + (0.5 * var(--amadex-intensity, 0.5))));
    mix-blend-mode: overlay;
    transform: translateX(-160%) skewX(-20deg);
    animation: amadex-shine 2.4s linear infinite;
    pointer-events: none;
    z-index: 10;
    will-change: transform, opacity;
}

@keyframes amadex-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(calc(1 + (0.15 * var(--amadex-intensity, 0.5))));
        opacity: calc(1 - (0.1 * var(--amadex-intensity, 0.5)));
    }
}

.amadex-promotional-container.amadex-animation-pulse {
    --amadex-intensity: 0.5;
    animation: amadex-pulse var(--amadex-duration, 2s) cubic-bezier(0.4, 0, 0.2, 1) infinite !important;
    animation-delay: var(--amadex-delay, 0s);
    will-change: transform;
}

@keyframes amadex-fade-in {
    0% {
        opacity: 0;
        transform: translateY(calc(20px * var(--amadex-intensity, 0.5)));
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.amadex-promotional-container.amadex-animation-fade_in {
    --amadex-intensity: 0.5;
    animation: amadex-fade-in var(--amadex-duration, 0.8s) cubic-bezier(0.4, 0, 0.2, 1) forwards !important;
    animation-delay: var(--amadex-delay, 0s);
    will-change: transform, opacity;
}

@keyframes amadex-slide-in-left {
    0% {
        opacity: 0;
        transform: translateX(calc(-300px * var(--amadex-intensity, 0.5)));
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.amadex-animation-slide_in_left {
    --amadex-intensity: 0.5;
    animation: amadex-slide-in-left 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    will-change: transform, opacity;
}

@keyframes amadex-slide-in-right {
    0% {
        opacity: 0;
        transform: translateX(calc(300px * var(--amadex-intensity, 0.5)));
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.amadex-animation-slide_in_right {
    --amadex-intensity: 0.5;
    animation: amadex-slide-in-right 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    will-change: transform, opacity;
}

@keyframes amadex-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(calc(-40px * var(--amadex-intensity, 0.5)));
    }
    60% {
        transform: translateY(calc(-20px * var(--amadex-intensity, 0.5)));
    }
}

.amadex-animation-bounce {
    --amadex-intensity: 0.5;
    animation: amadex-bounce 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    will-change: transform;
}

@keyframes amadex-glow {
    0%, 100% {
        box-shadow: 0 0 calc(3px + (7px * var(--amadex-intensity, 0.5))) rgba(14, 125, 63, calc(0.2 + (0.3 * var(--amadex-intensity, 0.5)))),
                    0 0 calc(6px + (14px * var(--amadex-intensity, 0.5))) rgba(14, 125, 63, calc(0.15 + (0.25 * var(--amadex-intensity, 0.5)))),
                    0 0 calc(9px + (21px * var(--amadex-intensity, 0.5))) rgba(14, 125, 63, calc(0.1 + (0.2 * var(--amadex-intensity, 0.5))));
    }
    50% {
        box-shadow: 0 0 calc(6px + (14px * var(--amadex-intensity, 0.5))) rgba(14, 125, 63, calc(0.4 + (0.5 * var(--amadex-intensity, 0.5)))),
                    0 0 calc(12px + (28px * var(--amadex-intensity, 0.5))) rgba(14, 125, 63, calc(0.3 + (0.4 * var(--amadex-intensity, 0.5)))),
                    0 0 calc(18px + (42px * var(--amadex-intensity, 0.5))) rgba(14, 125, 63, calc(0.2 + (0.3 * var(--amadex-intensity, 0.5))));
    }
}

.amadex-animation-glow {
    --amadex-intensity: 0.5;
}

.amadex-promotional-container.amadex-animation-glow .amadex-promo-content {
    animation: amadex-glow var(--amadex-duration, 2s) cubic-bezier(0.4, 0, 0.2, 1) infinite !important;
    animation-delay: var(--amadex-delay, 0s);
    will-change: box-shadow;
}

.amadex-animation-rotate {
    --amadex-intensity: 0.5;
    animation: amadex-rotate calc(30s - (27s * var(--amadex-intensity, 0.5))) linear infinite;
    will-change: transform;
}

@keyframes amadex-rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.amadex-animation-rotate .amadex-promo-content {
    animation: none;
}

@keyframes amadex-blink {
    0%, 50%, 100% {
        opacity: 1;
    }
    25%, 75% {
        opacity: calc(0.5 - (0.5 * var(--amadex-intensity, 0.5)));
    }
}

.amadex-animation-blink {
    --amadex-intensity: 0.5;
    animation: amadex-blink 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    will-change: opacity;
}

@keyframes amadex-gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.amadex-promotional-container.amadex-animation-gradient_shift .amadex-promo-content {
    background: linear-gradient(-45deg, #f8f9fa, #ffffff, #e8f5e9, #f8f9fa);
    background-size: 400% 400%;
    animation: amadex-gradient-shift var(--amadex-duration, 4s) ease infinite !important;
    animation-delay: var(--amadex-delay, 0s);
}

@keyframes amadex-float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(calc(-25px * var(--amadex-intensity, 0.5)));
    }
}

.amadex-promotional-container.amadex-animation-float {
    --amadex-intensity: 0.5;
    animation: amadex-float var(--amadex-duration, 3s) cubic-bezier(0.4, 0, 0.2, 1) infinite !important;
    animation-delay: var(--amadex-delay, 0s);
    will-change: transform;
}

@keyframes amadex-shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(calc(-15px * var(--amadex-intensity, 0.5)));
    }
    20%, 40%, 60%, 80% {
        transform: translateX(calc(15px * var(--amadex-intensity, 0.5)));
    }
}

.amadex-animation-shake {
    --amadex-intensity: 0.5;
    animation: amadex-shake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) infinite;
    will-change: transform;
}

@keyframes amadex-zoom-in {
    0% {
        transform: scale(calc(0.95 - (0.45 * var(--amadex-intensity, 0.5))));
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.amadex-animation-zoom_in {
    --amadex-intensity: 0.5;
    animation: amadex-zoom-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    will-change: transform, opacity;
}

@keyframes amadex-glazing-shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
        opacity: 0;
    }
    50% {
        opacity: calc(0.3 + (0.5 * var(--amadex-intensity, 0.5)));
    }
    100% {
        transform: translateX(200%) translateY(200%) rotate(45deg);
        opacity: 0;
    }
}

.amadex-promotional-container.amadex-animation-glazing {
    --amadex-intensity: 0.5;
    position: relative !important;
    overflow: hidden !important;
}

.amadex-promotional-container.amadex-animation-glazing::before {
    content: "" !important;
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, calc(0.3 + (0.5 * var(--amadex-intensity, 0.5)))) 50%,
        transparent 70%
    );
    animation-name: amadex-glazing-shine !important;
    animation-duration: var(--amadex-duration, 3s) !important;
    animation-timing-function: linear !important;
    animation-iteration-count: infinite !important;
    animation-delay: var(--amadex-delay, 0s);
    pointer-events: none;
    z-index: 11;
    will-change: transform, opacity;
}

.amadex-promotional-container.amadex-animation-glazing[style*="--amadex-duration: infinite"]::before {
    animation-duration: 3s !important;
}

.amadex-promotional-container.amadex-animation-glazing .amadex-promo-content {
    backdrop-filter: blur(calc(5px + (10px * var(--amadex-intensity, 0.5))));
    background: rgba(255, 255, 255, calc(0.85 + (0.15 * var(--amadex-intensity, 0.5))));
    position: relative;
    z-index: 1;
}

@keyframes amadex-wave {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(calc(-10px * var(--amadex-intensity, 0.5))) rotate(calc(2deg * var(--amadex-intensity, 0.5)));
    }
    50% {
        transform: translateY(calc(-16px * var(--amadex-intensity, 0.5))) rotate(0deg);
    }
    75% {
        transform: translateY(calc(-10px * var(--amadex-intensity, 0.5))) rotate(calc(-2deg * var(--amadex-intensity, 0.5)));
    }
}

.amadex-animation-wave {
    --amadex-intensity: 0.5;
    animation: amadex-wave 2.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    will-change: transform;
}

@keyframes amadex-neon-glow {
    0%, 100% {
        box-shadow: 0 0 calc(5px + (15px * var(--amadex-intensity, 0.5))) rgba(14, 125, 63, calc(0.3 + (0.5 * var(--amadex-intensity, 0.5)))),
                    0 0 calc(10px + (30px * var(--amadex-intensity, 0.5))) rgba(14, 125, 63, calc(0.3 + (0.5 * var(--amadex-intensity, 0.5)))),
                    0 0 calc(15px + (45px * var(--amadex-intensity, 0.5))) rgba(14, 125, 63, calc(0.3 + (0.5 * var(--amadex-intensity, 0.5)))),
                    0 0 calc(20px + (60px * var(--amadex-intensity, 0.5))) rgba(14, 125, 63, calc(0.3 + (0.5 * var(--amadex-intensity, 0.5)))),
                    inset 0 0 calc(5px + (15px * var(--amadex-intensity, 0.5))) rgba(14, 125, 63, calc(0.2 + (0.4 * var(--amadex-intensity, 0.5))));
    }
    50% {
        box-shadow: 0 0 calc(10px + (30px * var(--amadex-intensity, 0.5))) rgba(14, 125, 63, calc(0.6 + (0.4 * var(--amadex-intensity, 0.5)))),
                    0 0 calc(20px + (60px * var(--amadex-intensity, 0.5))) rgba(14, 125, 63, calc(0.6 + (0.4 * var(--amadex-intensity, 0.5)))),
                    0 0 calc(30px + (90px * var(--amadex-intensity, 0.5))) rgba(14, 125, 63, calc(0.6 + (0.4 * var(--amadex-intensity, 0.5)))),
                    0 0 calc(40px + (120px * var(--amadex-intensity, 0.5))) rgba(14, 125, 63, calc(0.5 + (0.3 * var(--amadex-intensity, 0.5)))),
                    inset 0 0 calc(10px + (30px * var(--amadex-intensity, 0.5))) rgba(14, 125, 63, calc(0.4 + (0.4 * var(--amadex-intensity, 0.5))));
    }
}

.amadex-animation-neon_glow {
    --amadex-intensity: 0.5;
}

.amadex-animation-neon_glow .amadex-promo-content {
    border: 2px solid rgba(14, 125, 63, calc(0.6 + (0.4 * var(--amadex-intensity, 0.5))));
    animation: amadex-neon-glow 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    will-change: box-shadow;
}

@keyframes amadex-shimmer-sweep {
    0% {
        transform: translateX(-200%) skewX(-25deg);
        opacity: 0;
    }
    15% {
        opacity: calc(0.3 + (0.5 * var(--amadex-intensity, 0.5)));
    }
    30% {
        opacity: 0;
    }
    50% {
        transform: translateX(0%) skewX(-25deg);
        opacity: 0;
    }
    65% {
        opacity: calc(0.3 + (0.5 * var(--amadex-intensity, 0.5)));
    }
    80% {
        opacity: 0;
    }
    100% {
        transform: translateX(200%) skewX(-25deg);
        opacity: 0;
    }
}

.amadex-promotional-container.amadex-animation-shimmer_sweep {
    --amadex-intensity: 0.5;
    position: relative !important;
    overflow: hidden !important;
}

.amadex-promotional-container.amadex-animation-shimmer_sweep::after {
    content: "";
    position: absolute;
    inset: 0;
    width: calc(50% + (30% * var(--amadex-intensity, 0.5)));
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, calc(0.4 + (0.6 * var(--amadex-intensity, 0.5)))),
        transparent
    );
    mix-blend-mode: overlay;
    transform: translateX(-200%) skewX(-25deg);
    animation: amadex-shimmer-sweep 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 10;
    will-change: transform, opacity;
}

@keyframes amadex-cta-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(14, 125, 63, calc(0.4 + (0.6 * var(--amadex-intensity, 0.5))));
    }
    50% {
        transform: scale(calc(1 + (0.1 * var(--amadex-intensity, 0.5))));
        box-shadow: 0 0 0 calc(10px + (20px * var(--amadex-intensity, 0.5))) rgba(14, 125, 63, 0);
    }
}

.amadex-animation-cta_pulse .amadex-promo-button {
    --amadex-intensity: 0.5;
    animation: amadex-cta-pulse 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    will-change: transform, box-shadow;
}

@keyframes amadex-slide-in-settle {
    0% {
        opacity: 0;
        transform: translateX(calc(-150px * var(--amadex-intensity, 0.5))) translateY(calc(-30px * var(--amadex-intensity, 0.5)));
    }
    60% {
        opacity: 1;
        transform: translateX(0) translateY(calc(10px * var(--amadex-intensity, 0.5)));
    }
    80% {
        transform: translateX(0) translateY(calc(-5px * var(--amadex-intensity, 0.5)));
    }
    100% {
        transform: translateX(0) translateY(0);
        opacity: 1;
    }
}

.amadex-animation-slide_in_settle {
    --amadex-intensity: 0.5;
    animation: amadex-slide-in-settle 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    will-change: transform, opacity;
}

.amadex-animation-number_counter {
    --amadex-intensity: 0.5;
}

.amadex-animation-number_counter .amadex-counter-number {
    display: inline-block;
    animation: amadex-counter-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    will-change: transform;
}

@keyframes amadex-counter-pop {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.amadex-animation-hover_microinteraction .amadex-promo-content {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, box-shadow;
}

.amadex-animation-hover_microinteraction .amadex-promo-content:hover {
    transform: translateY(calc(-4px * var(--amadex-intensity, 0.5))) scale(calc(1 + (0.02 * var(--amadex-intensity, 0.5))));
    box-shadow: 0 calc(8px + (12px * var(--amadex-intensity, 0.5))) calc(16px + (24px * var(--amadex-intensity, 0.5))) rgba(0, 0, 0, calc(0.15 + (0.1 * var(--amadex-intensity, 0.5))));
}

.amadex-animation-hover_microinteraction .amadex-promo-button {
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.amadex-animation-hover_microinteraction .amadex-promo-button:hover {
    transform: translateY(calc(-2px * var(--amadex-intensity, 0.5))) scale(calc(1 + (0.05 * var(--amadex-intensity, 0.5))));
    box-shadow: 0 calc(4px + (8px * var(--amadex-intensity, 0.5))) calc(12px + (16px * var(--amadex-intensity, 0.5))) rgba(14, 125, 63, calc(0.3 + (0.2 * var(--amadex-intensity, 0.5))));
}

.amadex-animation-hover_microinteraction .amadex-promo-button:active {
    transform: translateY(0) scale(0.98);
}

@keyframes amadex-ornament-sparkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: calc(0.6 + (0.4 * var(--amadex-intensity, 0.5)));
        transform: scale(calc(1.1 + (0.1 * var(--amadex-intensity, 0.5))));
    }
}

.amadex-animation-seasonal_ornament_edges {
    --amadex-intensity: 0.5;
    position: relative;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.amadex-animation-seasonal_ornament_edges::before {
    content: "";
    position: absolute;
    inset: -2px;
    border: 2px solid;
    border-image: linear-gradient(
        45deg,
        rgba(14, 125, 63, calc(0.3 + (0.4 * var(--amadex-intensity, 0.5)))),
        rgba(246, 133, 31, calc(0.3 + (0.4 * var(--amadex-intensity, 0.5)))),
        rgba(14, 125, 63, calc(0.3 + (0.4 * var(--amadex-intensity, 0.5))))
    ) 1;
    border-radius: inherit;
    animation: amadex-ornament-rotate 4s linear infinite;
    pointer-events: none;
    z-index: -1;
}

.amadex-animation-seasonal_ornament_edges::after {
    content: "✦";
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(14, 125, 63, calc(0.6 + (0.4 * var(--amadex-intensity, 0.5))));
    font-size: 12px;
    animation: amadex-ornament-sparkle 2s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes amadex-ornament-rotate {
    0% {
        filter: hue-rotate(0deg);
    }
    100% {
        filter: hue-rotate(360deg);
    }
}

@media (max-width: 768px) {
    .amadex-promotional-container.amadex-animation-mobile-disabled,
    .amadex-promotional-container.amadex-animation-mobile-disabled::before,
    .amadex-promotional-container.amadex-animation-mobile-disabled::after,
    .amadex-promotional-container.amadex-animation-mobile-disabled .amadex-promo-content {
        animation: none !important;
    }
    
    .amadex-promotional-container.amadex-animation-mobile-disabled {
        transform: none !important;
    }
    
    .amadex-promotional-container.amadex-animation-mobile-disabled::before,
    .amadex-promotional-container.amadex-animation-mobile-disabled::after {
        display: none !important;
    }
    
    .amadex-animation-hover_microinteraction .amadex-promo-content:hover {
        transform: none !important;
    }
}

.amadex-flight-card {
    background: #FFFFFF;
    border: 1.5px solid #0E7D3F;
    border-radius: 10px;
    padding: 0;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"><path d="M50,20 Q100,10 150,20 T250,20" stroke="%23E5E7EB" stroke-width="0.5" fill="none" opacity="0.3"/><path d="M30,80 Q80,70 130,80 T230,80" stroke="%23E5E7EB" stroke-width="0.5" fill="none" opacity="0.3"/><path d="M40,140 Q90,130 140,140 T240,140" stroke="%23E5E7EB" stroke-width="0.5" fill="none" opacity="0.3"/><path d="M60,180 Q110,170 160,180 T260,180" stroke="%23E5E7EB" stroke-width="0.5" fill="none" opacity="0.3"/><circle cx="80" cy="60" r="8" fill="%23E5E7EB" opacity="0.2"/><circle cx="120" cy="100" r="6" fill="%23E5E7EB" opacity="0.2"/><circle cx="140" cy="150" r="7" fill="%23E5E7EB" opacity="0.2"/></svg>');
    background-size: 400px 400px;
    background-position: center;
    background-repeat: repeat;
}

.amadex-viewers-badge {
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    background: #EE9C31;
    color: #FFFFFF;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    white-space: nowrap;
    animation: amadexBadgeFadeIn 0.4s ease-out;
    pointer-events: none;
    max-width: 140px;
}

@keyframes amadexBadgeFadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.amadex-viewers-badge-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    opacity: 0.9;
}

.amadex-viewers-badge-icon svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
}

.amadex-viewers-badge-count {
    font-weight: 700;
    font-size: 12px;
    color: #FFFFFF;
}

.amadex-viewers-badge-text {
    font-size: 10px;
    font-weight: 500;
    opacity: 0.95;
    text-transform: lowercase;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media screen and (max-width: 768px) {
    .amadex-viewers-badge {
        padding: 5px 8px;
        font-size: 10px;
        max-width: 120px;
        gap: 3px;
    }
    
    .amadex-viewers-badge-icon svg {
        width: 12px;
        height: 12px;
    }
    
    .amadex-viewers-badge-count {
        font-size: 11px;
    }
    
    .amadex-viewers-badge-text {
        font-size: 9px;
    }
    
    .amadex-viewers-badge-top-left,
    .amadex-viewers-badge-top-right {
        top: 6px;
    }
    
    .amadex-viewers-badge-top-left,
    .amadex-viewers-badge-bottom-left {
        left: 6px;
    }
    
    .amadex-viewers-badge-top-right,
    .amadex-viewers-badge-bottom-right {
        right: 6px;
    }
    
    .amadex-viewers-badge-bottom-left,
    .amadex-viewers-badge-bottom-right {
        bottom: 6px;
    }
}

@media screen and (max-width: 480px) {
    .amadex-viewers-badge {
        padding: 4px 6px;
        font-size: 9px;
        max-width: 100px;
    }
    
    .amadex-viewers-badge-text {
        display: none;
    }
    
    .amadex-viewers-badge-icon svg {
        width: 11px;
        height: 11px;
    }
    
    .amadex-viewers-badge-count {
        font-size: 10px;
    }
    
    .amadex-viewers-badge-top-left,
    .amadex-viewers-badge-top-right {
        top: 4px;
    }
    
    .amadex-viewers-badge-top-left,
    .amadex-viewers-badge-bottom-left {
        left: 4px;
    }
    
    .amadex-viewers-badge-top-right,
    .amadex-viewers-badge-bottom-right {
        right: 4px;
    }
    
    .amadex-viewers-badge-bottom-left,
    .amadex-viewers-badge-bottom-right {
        bottom: 4px;
    }
}

button.amadex-price-box-select.amadex-select-flight-btn {
    display: none;
}

.amadex-boarding-pass-header {
    background: linear-gradient(to right, #F6851F 0%, #F9B647 100%);
    color: #FFFFFF;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 8px 8px 0 0;
    position: relative;
}

.amadex-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.amadex-header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    padding-left: 20px;
}

.amadex-header-right::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: rgba(255, 255, 255, 0.3);
}

.amadex-boarding-pass-header .amadex-header-plane-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
}

.amadex-boarding-pass-text {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    white-space: nowrap;
}

.amadex-header-subtitle {
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.05em;
    opacity: 0.95;
    text-transform: none;
}

.amadex-verified-flight-text {
    white-space: nowrap;
}

.amadex-boarding-pass-content {
    position: relative;
    display: flex;
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
}

.amadex-barcode-svg {
    width: 100%;
    height: 100%;
    max-height: 180px;
    transform: rotate(90deg);
    transform-origin: center;
}

.amadex-perforated-line {
    position: relative;
    flex-shrink: 0;
    width: 6px;
    margin: 0 8px;
    background: transparent;
    z-index: 2;
    overflow: visible;
    align-self: stretch;
}

.amadex-perforated-line::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #0E7D3F;
    transform: translateX(-50%);
    mask-image: radial-gradient(circle at center, transparent 4px, black 4px, black 5px, transparent 5px);
    mask-size: 2px 12px;
    mask-repeat: repeat-y;
    mask-position: center;
    -webkit-mask-image: radial-gradient(circle at center, transparent 4px, black 4px, black 5px, transparent 5px);
    -webkit-mask-size: 2px 12px;
    -webkit-mask-repeat: repeat-y;
    -webkit-mask-position: center;
}

.amadex-perforated-line::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FFFFFF;
    transform: translateX(-50%);
    box-shadow: 
        0 12px 0 0 #FFFFFF,
        0 24px 0 0 #FFFFFF,
        0 36px 0 0 #FFFFFF,
        0 48px 0 0 #FFFFFF,
        0 60px 0 0 #FFFFFF,
        0 72px 0 0 #FFFFFF,
        0 84px 0 0 #FFFFFF,
        0 96px 0 0 #FFFFFF,
        0 108px 0 0 #FFFFFF,
        0 120px 0 0 #FFFFFF,
        0 132px 0 0 #FFFFFF,
        0 144px 0 0 #FFFFFF,
        0 156px 0 0 #FFFFFF,
        0 168px 0 0 #FFFFFF,
        0 180px 0 0 #FFFFFF,
        0 192px 0 0 #FFFFFF,
        0 204px 0 0 #FFFFFF,
        0 216px 0 0 #FFFFFF,
        0 228px 0 0 #FFFFFF,
        0 240px 0 0 #FFFFFF,
        0 252px 0 0 #FFFFFF,
        0 264px 0 0 #FFFFFF,
        0 276px 0 0 #FFFFFF,
        0 288px 0 0 #FFFFFF,
        0 300px 0 0 #FFFFFF,
        0 312px 0 0 #FFFFFF,
        0 324px 0 0 #FFFFFF,
        0 336px 0 0 #FFFFFF,
        0 348px 0 0 #FFFFFF,
        0 360px 0 0 #FFFFFF;
}

.amadex-flight-card-header:empty {
    display: none;
}
.amadex-leg-path-line svg#Group_199 {
    width: 35%;
}
.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: 12px;
    font-weight: 700;
    color: #B80000;
    background: #B42318;
    background: #FFEEEE 0% 0% no-repeat padding-box;
    border-radius: 0px 0px 10px 10px;
}
.amadex-flight-seats .seat-icon {
    width: 14px;
    height: 14px;
    color: #ffffff;
    flex-shrink: 0;
}

.amadex-flight-card-main {
    display: flex;
    gap: 0;
    align-items: stretch;
    width: 100%;
    padding-left: 15px;
    padding-right: 20px;
    position: relative;
    z-index: 2;
    min-height: 0;
}

.amadex-flight-card-info {
    flex: 1 1 75%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-self: stretch;
}

.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;
    margin-top: 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;
    flex-shrink: 0;
}

.amadex-leg-airline-logo img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: contain;
}

.amadex-leg-route {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin:0;
    width: 100%;
}

.amadex-leg-route > .amadex-leg-airline-logo + .amadex-leg-time-block {
    margin-left: 0;
}

.amadex-leg-route > .amadex-leg-airline-logo {
    margin-right: 4px;
}

@media (max-width: 640px) {
    .amadex-leg-route {
        gap: 8px;
    }
}

.amadex-leg-time-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    flex-shrink: 0;
}

.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;
    justify-content: center;
    gap: 0;
    margin: 0 8px;
    min-height: 80px;
    max-width: 180px;
}

@media (max-width: 768px) {
    .amadex-leg-path {
        margin: 0 4px;
        gap: 0;
        min-height: 70px;
    }
}

@media (max-width: 640px) {
    .amadex-leg-path {
        max-width: 140px;
        gap: 0;
        min-height: 65px;
    }
    
    .amadex-leg-path-line {
        max-width: 140px;
    }
    
    .amadex-leg-path-line .amadex-path-line {
        max-width: 140px;
    }
}

.amadex-leg-duration {
    text-align: center;
    font-weight: 500;
    font-size: 13px;
    color: #0E7D3F;
    line-height: 1.2;
    margin-bottom: 4px;
}

.amadex-leg-duration span {
    display: block;
    white-space: nowrap;
}

.amadex-leg-path small {
    font-size: 12px;
    color: #707070;
}

.amadex-leg-duration small {
    font-size: 12px;
    color: #9CA3AF;
}

.amadex-leg-path-line {
    width: 100%;
    max-width: 140px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 4px 0;
    position: relative;
    height: 2px;
}

.amadex-leg-path-line .amadex-path-line {
    width: 100%;
    max-width: 140px;
    height: 2px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.amadex-leg-path-line .amadex-plane-icon {
    position: absolute;
    right: 0;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: #ffffff;
    padding: 2px;
    z-index: 3;
    transition: transform 0.3s ease;
    transform: rotate(90deg);
}

.amadex-leg-info-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    margin-top: 2px;
}

@media (max-width: 640px) {
    .amadex-leg-info-row {
        gap: 3px;
        margin-top: 1px;
    }
}

.amadex-layover-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #707070;
    cursor: pointer;
    margin: 0;
    gap: 4px;
    white-space: nowrap;
}

.amadex-layover-trigger.non-stop {
    color: #0E7D3F;
    font-weight: 500;
}

.amadex-layover-trigger:focus {
    outline: 2px solid rgba(14, 125, 63, 0.45);
    outline-offset: 2px;
}

.amadex-layover-tooltip {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    min-width: 320px;
    max-width: 90vw;
    max-height: 80vh;
    background: #FFFFFF;
    color: #111827;
    border-radius: 12px;
    padding: 0;
    font-size: 12px;
    line-height: 1.5;
    box-shadow: 0 8px 24px rgba(14, 125, 63, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #E5E7EB;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 10000;
    overflow: hidden;
}

.amadex-layover-tooltip::before {
    display: none; /* Hide arrow for centered tooltip */
}

.amadex-layover-tooltip-header {
    background: #EEF9F2;
    padding: 12px 16px;
    border-bottom: 1px solid #E5E7EB;
    display: flex;
    align-items: center;
    gap: 8px;
}

.amadex-layover-tooltip-header-icon {
    width: 16px;
    height: 16px;
    color: #0E7D3F;
}

.amadex-layover-tooltip-body {
    padding: 12px 16px;
    overflow-y: auto;
    max-height: calc(80vh - 60px);
}

.amadex-layover-trigger:hover .amadex-layover-tooltip,
.amadex-layover-trigger:focus .amadex-layover-tooltip,
.amadex-layover-trigger.active .amadex-layover-tooltip {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

.amadex-layover-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 0;
    border-bottom: 1px solid #F3F4F6;
}

.amadex-layover-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.amadex-layover-row.has-plane-change,
.amadex-layover-row.has-terminal-change {
    background: #EEF9F2;
    padding: 12px 12px;
    border-radius: 8px;
    margin: 4px 0;
    border: 1px solid rgba(14, 125, 63, 0.15);
}

.amadex-layover-row-header {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
}

.amadex-layover-index {
    font-weight: 700;
    color: #0E7D3F;
    font-size: 15px;
}

.amadex-layover-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 6px;
    background: #0E7D3F;
    color: #FFFFFF;
    font-weight: 600;
}

.amadex-layover-badge.plane-change {
    background: #F6851F;
    color: #FFFFFF;
}

.amadex-layover-badge.terminal-change {
    background: #3B82F6;
    color: #FFFFFF;
}

.amadex-layover-badge-icon {
    width: 12px;
    height: 12px;
}

.amadex-layover-row-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 6px;
}

.amadex-layover-duration {
    font-size: 15px;
    color: #B91C1C;
    font-weight: 600;
}

.amadex-layover-city {
    font-size: 12px;
    color: #111827;
    font-weight: 500;
}

.amadex-layover-terminal {
    display: inline-block;
    font-size: 15px;
    color: rgba(193, 31, 31, 1);
    font-weight: 500;
    margin-left: 4px;
}

.amadex-layover-dots {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 12px;
    pointer-events: none;
    transform: translateY(-50%);
    z-index: 2;
}

.amadex-layover-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #ffffff;
    border: 2px solid #707070;
    border-radius: 50%;
    transform: translateX(-50%) translateY(-50%);
    top: 50%;
    box-shadow: 0 0 0 2px #ffffff;
    z-index: 2;
}

.amadex-leg-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #000000;
    margin-top: 0;
    font-weight: 500;
    width: 100%;
}

@media (max-width: 768px) {
    .amadex-leg-meta {
        gap: 6px;
        margin-top: 10px;
        font-size: 13px;
    }
}

@media (max-width: 640px) {
    .amadex-leg-meta {
        gap: 4px;
    margin-top: 8px;
        font-size: 12px;
        flex-direction: column;
        align-items: flex-start;
    }
}

.amadex-leg-aircraft-info {
    font-size: 11px;
    color: #9CA3AF;
    font-weight: 500;
    text-align: center;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(156, 163, 175, 0.1);
    white-space: nowrap;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.amadex-leg-aircraft-info:hover {
    background: rgba(14, 125, 63, 0.1);
    color: #0E7D3F;
}

.amadex-leg-aircraft-info.amadex-aircraft-loading {
    opacity: 0.6;
    cursor: wait;
}

@media (max-width: 640px) {
    .amadex-leg-aircraft-info {
        font-size: 10px;
        padding: 3px 8px;
    }
}

.amadex-aircraft-tooltip {
    position: absolute;
    z-index: 10000;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    max-width: 320px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform: translateY(-4px);
}

.amadex-aircraft-tooltip-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.amadex-aircraft-tooltip-click {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.amadex-aircraft-tooltip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-bottom: 1px solid #E5E7EB;
    background: #F9FAFB;
    border-radius: 8px 8px 0 0;
}

.amadex-aircraft-tooltip-code {
    font-size: 11px;
    font-weight: 600;
    color: #6B7280;
    letter-spacing: 0.5px;
}

.amadex-aircraft-tooltip-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #9CA3AF;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.amadex-aircraft-tooltip-close:hover {
    color: #374151;
}

.amadex-aircraft-tooltip-body {
    padding: 12px;
}

.amadex-aircraft-tooltip-name {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 6px;
}

.amadex-aircraft-tooltip-description {
    font-size: 12px;
    color: #6B7280;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .amadex-aircraft-tooltip-hover .amadex-aircraft-tooltip-close {
        display: none;
    }
    
    .amadex-aircraft-tooltip-click {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0.95);
        max-width: 90%;
    }
    
    .amadex-aircraft-tooltip-click.amadex-aircraft-tooltip-visible {
        transform: translate(-50%, -50%) scale(1);
    }
}

.amadex-operating-carrier {
    font-size: 12px;
    color: #9CA3AF;
    font-weight: 400;
    font-style: italic;
}

.amadex-leg-airline {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
    font-size: 14px;
    line-height: 1.4;
}

@media (max-width: 640px) {
    .amadex-leg-airline {
        font-size: 12px;
        width: 100%;
    }
}

.amadex-leg-included {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #6B7280;
    font-weight: 400;
}

.amadex-baggage-label {
    margin-right: 4px;
    color: #000000;
}

.amadex-baggage-icons-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    position: relative;
}

.amadex-baggage-svg {
    flex-shrink: 0;
    display: inline-block;
    width: 10px;
    height: 14.545px;
}

.amadex-baggage-svg:last-of-type {
    width: 11.666px;
    height: 14.243px;
}

.amadex-leg-included.no-baggage {
    opacity: 0.5;
}

.amadex-leg-included.no-baggage .amadex-baggage-icons-wrapper {
    opacity: 0.5;
}

.amadex-leg-included.no-baggage .amadex-baggage-svg path {
    fill: #9CA3AF !important;
}

.amadex-baggage-cross {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
    flex-shrink: 0;
}

.amadex-baggage-cross svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.amadex-baggage-cross {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
}

.amadex-baggage-cross svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

.amadex-baggage-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    display: inline-block;
}

.amadex-flight-info-footer {
    margin-top: 0;
}

.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;
    outline: none!important;
}

.amadex-flight-detail-link span {
    font-size: 25px;
    margin-bottom: 3px;
}

.amadex-flight-card-price {
    flex: 0 0 25%;
    min-width: 200px;
    max-width: 250px;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-self: stretch;
    justify-content: flex-start;
}
.amadex-search-summary-modern button.amadex-search-btn:hover {
    color: #fff;
    background-color: #0E7D3F;
    box-shadow: 0 8px 24px rgba(14, 125, 63, 0.35), 0 4px 12px rgba(14, 125, 63, 0.2);
}

.amadex-flight-price-wrapper {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    line-height: 1.2;
}

.amadex-flight-price-wrapper .amadex-flight-price-note {
    font-size: 12px;
    color: #707070;
    font-weight: 400;
    display: inline-block;
}

.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-price-box-call .amadex-phone-icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

.amadex-call-icon-wrap {
    width: 28px;
    height: 32px;
    border-radius: 50%;

    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.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-banner-wrapper {
    width: 100%;
    min-height: 48px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    padding: 12px 18px;
    box-sizing: border-box;
    margin-top: 8px;
    overflow: hidden;
    position: relative;
}

.amadex-call-banner-wrapper > * {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

@media (min-width: 1024px) {
    .amadex-call-banner-wrapper {
        position: relative;
    }
    
    .amadex-call-banner-wrapper .tgn-banner {
        width: 100% !important;
        margin: 0 !important;
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
    }
    
    .amadex-call-banner-wrapper .tgn-card {
        width: 100% !important;
        max-width: 100% !important;
        position: relative;
    }
    
    .amadex-call-banner-wrapper .tgn-drawer {
        position: relative !important;
        overflow: visible !important;
    }
    
    .amadex-call-banner-wrapper .tgn-expanded {
        position: absolute !important;
        right: calc(100% + 12px) !important;
        top: 0 !important;
        left: auto !important;
        bottom: auto !important;
        transform: none !important;
        max-height: calc(100vh - 200px) !important;
        min-width: 380px;
        max-width: 420px;
        width: auto !important;
        opacity: 0 !important;
        pointer-events: none !important;
        z-index: 99999 !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
        border-radius: 12px;
        transition: opacity 0.3s ease !important;
    }
    
    .amadex-call-banner-wrapper .tgn-drawer.tgn-open .tgn-expanded,
    .amadex-call-banner-wrapper .tgn-open .tgn-expanded {
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    
    .amadex-call-banner-wrapper .tgn-expanded::before {
        content: '';
        position: absolute;
        right: -6px;
        top: 20px;
        width: 12px;
        height: 12px;
        background: rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(2px);
        border-right: 1px solid rgba(255, 255, 255, 0.35);
        border-bottom: 1px solid rgba(255, 255, 255, 0.35);
        transform: rotate(-45deg);
        z-index: 1;
    }
    
    .amadex-call-banner-wrapper .tgn-panel {
        max-height: calc(100vh - 200px) !important;
        overflow-y: auto;
    }
}

@media (max-width: 1023px) {
    .amadex-call-banner-wrapper {
        min-height: 48px;
    }
    
    .amadex-call-banner-wrapper .tgn-expanded {
        position: relative !important;
        right: auto !important;
        top: auto !important;
        left: auto !important;
    }
}

@media (max-width: 640px) {
    .amadex-call-banner-wrapper {
        padding: 10px 16px;
        min-height: 44px;
        border-radius: 14px;
    }
}

@media (max-width: 1024px) {
    .amadex-flight-card-main {
        flex-direction: column;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .amadex-boarding-pass-content {
        padding: 0 0 0 0;
    }
    
    .amadex-perforated-line {
        display: none;
    }
    
    .amadex-flight-card-price {
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
        border-left: none;
        border-top: 1px solid #E4E4E7;
        padding-top: 16px;
        padding-left: 0;
        align-self: stretch;
    }
    
    .amadex-flight-card-info {
        flex: 1 1 100%;
        align-self: stretch;
    }
    
    .amadex-book-now-btn,
    .amadex-price-box-select,
    .amadex-price-box-call,
    .amadex-call-banner-wrapper {
        width: 100%;
        min-height: 48px;
    }
}

@media (max-width: 640px) {
    .amadex-boarding-pass-header {
        padding: 10px 16px 28px 16px;
        font-size: 11px;
        flex-wrap: wrap;
        align-items: flex-start;
        position: relative;
    }
    
    .amadex-header-left {
        flex: 1 1 auto;
        min-width: 0;
        justify-content: flex-start;
        align-items: center;
        padding-right: 10px;
    }
    
    .amadex-header-right {
        flex: 0 0 auto;
        padding-left: 0;
        justify-content: flex-end;
        align-items: center;
    }
    
    .amadex-header-right::before {
        display: none;
    }
    
    .amadex-boarding-pass-header .amadex-header-plane-icon {
        width: 14px;
        height: 14px;
    }
    
    .amadex-boarding-pass-text {
        font-size: 11px;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        white-space: nowrap;
    }
    
    .amadex-header-subtitle {
        font-size: 9px;
        display: block;
        position: absolute;
        left: 16px;
        right: 16px;
        bottom: 8px;
        width: auto;
        margin: 0;
        text-align: center;
        padding-top: 6px;
        white-space: normal;
        box-sizing: border-box;
    }
    
    .amadex-verified-flight-text {
        font-size: 11px;
        white-space: nowrap;
    }
    
    .amadex-boarding-pass-content {
        padding: 0 0 0 0;
    }
    
    .amadex-flight-card-main {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .amadex-perforated-line {
        display: none;
    }
}

@media (max-width: 768px) {
    .amadex-leg-title {
        font-size: 12px;
    }
    
    .amadex-leg-time {
        font-size: 16px;
    }
    
    .amadex-leg-code {
        font-size: 12px;
    }
    
    .amadex-leg-duration {
        font-size: 12px;
    }
}

@media (max-width: 640px) {
    .amadex-flight-leg {
        padding: 0;
    }
    
    .amadex-leg-route {
        gap: 5px;
        margin: 0;
    }
    
    .amadex-leg-time {
        font-size: 15px;
    }
    
    .amadex-leg-code {
        font-size: 11px;
        margin-top: 2px;
    }
    
    .amadex-leg-duration {
        font-size: 11px;
    }
    
    .amadex-layover-trigger {
        font-size: 11px;
    }
}

.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: 20px!important;
    padding: 12px 46px 12px 16px;
    font-size: 14px;
    color: #000!important;
    background: #fff;
    transition: border-color 0.2s ease;
}


.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!important;
    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);
}

.amadex-results-main {
    width: 100%;
    max-width: 100%;
    background: #eef9f2;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.amadex-booking-progress {
    display: flex!important;
    align-items: center;
    gap: 16px;
    margin: 0 auto 32px;
    width: 100%;
    max-width: 100%;
    justify-content: center;
}

.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: #0e7d3f;
}

.booking-step-label {
    white-space: nowrap;
    font-size: 14px !important;
    color: #707070;
}

.amadex-booking-header {
    flex-direction: row;
}

.amadex-back-link {
    text-align: left;
    width: 100%;
}

.amadex-flight-card.is-oneway-card .amadex-flight-legs {
    grid-template-columns: 1fr;
}

.amadex-segment-tabs-container {
    margin: 0 auto 24px;
    padding: 0;
    width: 100%;
}

.amadex-segment-tabs-wrapper {
    width: 100%;
}

.amadex-segment-tabs-header {
    margin-top: 24px;
}

.amadex-segment-tab {
    background: #ffffff;
    border: 2px solid #E5E7EB;
    border-radius: 16px;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    min-width: 190px;
    flex: 1 1 190px;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
}

.amadex-segment-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: transparent;
    transition: background 0.3s ease;
}

.amadex-segment-tab:hover {
    border-color: #0E7D3F;
    box-shadow: 0 6px 16px rgba(14, 125, 63, 0.2);
    transform: translateY(-4px);
}

.amadex-segment-tab:hover::before {
    background: #0E7D3F;
}

.amadex-segment-tab.is-active {
    background: linear-gradient(135deg, #0E7D3F 0%, #0d6e35 100%);
    border-color: #0E7D3F;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(14, 125, 63, 0.3);
    transform: translateY(-2px);
}

.amadex-segment-tab.segment-selected {
    border-color: #0e7d3f;
    background: #F0FDF4;
}

.amadex-segment-tab.segment-selected.is-active {
    background: linear-gradient(135deg, #0e7d3f 0%, #0e7d3f 100%);
    border-color: #0e7d3f;
}

.segment-selected-indicator {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: #0e7d3f;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
}

.amadex-segment-tab.is-active .segment-selected-indicator {
    background: #ffffff;
    color: #0e7d3f;
}

.amadex-flight-card.flight-selected {
    border: 2px solid #0e7d3f;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
    background: #F0FDF4;
}

.amadex-flight-card.flight-selected::before {
    content: '✓ Selected';
    position: absolute;
    top: 10px;
    right: 10px;
    background: #0e7d3f;
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
    display: none;
}

.amadex-segment-tab.segment-selected {
    border-color: #0e7d3f;
    background: #F0FDF4;
}

.amadex-segment-tab.segment-selected.is-active {
    background: linear-gradient(135deg, #0e7d3f 0%, #0e7d3f 100%);
    border-color: #0e7d3f;
}

.segment-selected-indicator {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: #0e7d3f;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
    z-index: 5;
}

.amadex-segment-tab.is-active .segment-selected-indicator {
    background: #ffffff;
    color: #0e7d3f;
}

.amadex-segment-tab-content {
    position: relative;
}

.amadex-flight-card.flight-selected {
    border: 2px solid #0e7d3f !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2) !important;
    background: #FFF !important;
    position: relative;
}

.amadex-flight-card.flight-selected::after {
    content: '✓ Selected';
    position: absolute;
    top: 10px;
    right: 4px;
    background: #0e7d3f;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
    margin-top:30px;
}

.amadex-multicity-feedback {
    background: linear-gradient(135deg, #0e7d3f 0%, #059669 100%);
    color: #ffffff;
    padding: 16px 24px;
    border-radius: 12px;
    margin: 16px 0;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    display: none;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.amadex-segment-tab-content {
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.amadex-segment-tab-route {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 4px;
}

.amadex-segment-tab-origin,
.amadex-segment-tab-destination {
    color: #111827;
    font-weight: 600;
    text-align: center;
}

.amadex-segment-tab.is-active .amadex-segment-tab-origin,
.amadex-segment-tab.is-active .amadex-segment-tab-destination {
    color: #ffffff;
}

.amadex-segment-tab-arrow {
    color: #6B7280;
    font-size: 20px;
    font-weight: 400;
}

.amadex-segment-tab.is-active .amadex-segment-tab-arrow {
    color: rgba(255, 255, 255, 0.9);
}

.amadex-segment-tab-date {
    font-size: 14px;
    color: #6B7280;
    font-weight: 500;
    line-height: 1.5;
}

.amadex-segment-tab.is-active .amadex-segment-tab-date {
    color: rgba(255, 255, 255, 0.95);
}

.amadex-segment-tab-duration {
    font-size: 13px;
    color: #9CA3AF;
    font-weight: 500;
    margin-top: 4px;
}

.amadex-segment-tab.is-active .amadex-segment-tab-duration {
    color: rgba(255, 255, 255, 0.85);
}
.amadex-segment-tab-number {
    display: none;
}
@media (max-width: 1024px) {
    .amadex-segment-tab {
        min-width: 240px;
        flex: 1 1 240px;
    }
    .amadex-segment-tab {
        width: 90% !important;
        min-width: 90% !important;
    }
}

@media (max-width: 768px) {
.amadex-segment-tabs-header {
    flex-direction: row !important;
    overflow: scroll;
}
    
    .amadex-segment-tab {
        width: 100%;
        min-width: 100%;
        flex: 1 1 100%;
    }
    
    .amadex-segment-tab-content {
        padding: 16px 20px;
    }
    
    .amadex-segment-tab-route {
        font-size: 16px;
    }
}

.amadex-results-sort-bar {
    margin: 0;
    width: 100%;
    border-radius: 999px;
    padding: 12px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

@media only screen and (min-width: 320px) and (max-width: 767px) {
    .amadex-results-sort-bar {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        position: absolute !important;
        left: -9999px !important;
        width: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .amadex-flight-leg {
        border-right:none!important;
        padding: 0 !important;
    }
}

@media only screen and (min-width: 768px) {
    .amadex-results-sort-bar {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: static !important;
        height: auto !important;
        overflow: visible !important;
        width: 100% !important;
        padding: 12px 0 !important;
        margin: 0 auto 15px !important;
    }
}

.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 0px #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;
}

.amadex-no-results {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    margin: 20px 0;
    order: 1;
    width: 100%;
}

.amadex-new-search-btn {
    background: #007cba;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 15px;
}

.amadex-flights-list {
    width: 100%;
    padding: 0;
    background: #EEF9F2;
    display: flex;
    flex-direction: column;
    padding: 0 10px !important;
}

.amadex-flights-list .amadex-no-results {
    order: 1;
    margin-top: 0;
    margin-bottom: 20px;
}

.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;
    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-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;
}

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;
}
button#amadex-load-more {
    font-size: 20px;
    padding: 10px 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-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: 40%;
    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;
    position: relative;
}

.amadex-flight-details-header {
    background: #fff !important;
    color: #111827 !important;
    padding: 20px 24px !important;
    border-bottom: 1px solid #E5E7EB !important;
    position: relative;
}

.amadex-flight-details-header h3 {
    color: #111827 !important;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.amadex-flight-details-close {
    background: #0E7D3F !important;
    color: #fff !important;
    border: none !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    font-size: 20px !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.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;
}

.amadex-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: amadex-fadeIn 0.3s ease-out;
}

.amadex-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes amadex-fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.amadex-flight-details-modal-wrapper {
    background: #ffffff;
    border-radius: 24px;
    max-width: 700px;
    width: 95%;
    max-height: 60vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: amadex-slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    margin: auto;
}

@keyframes amadex-slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.amadex-flight-details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    border-bottom: 1px solid #E5E7EB;
    margin-bottom: 0;
    background: #ffffff;
    position: relative;
}

.amadex-flight-details-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.02em;
}

.amadex-flight-details-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid #E5E7EB;
    color: #6B7280;
    font-size: 22px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    top: 20px;
    right: 24px;
}

.amadex-flight-details-body {
    padding: 0;
    overflow-y: auto;
    flex: 1;
    scrollbar-width: thin;
    scrollbar-color: #E5E7EB transparent;
}

.amadex-flight-details-body::-webkit-scrollbar {
    width: 8px;
}

.amadex-flight-details-body::-webkit-scrollbar-track {
    background: transparent;
}

.amadex-flight-details-body::-webkit-scrollbar-thumb {
    background: #E5E7EB;
    border-radius: 4px;
}

.amadex-flight-details-body::-webkit-scrollbar-thumb:hover {
    background: #D1D5DB;
}

div#amadex-flight-details-modal {
    max-width: 100%;
}

.amadex-flight-tabs {
    display: flex;
    gap: 0;
    flex-wrap: nowrap;
    border-bottom: 2px solid #F3F4F6;
    margin: 0;
    padding: 0 28px;
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 5;
}

.amadex-flight-tab {
    flex: 0 1 auto;
    border: none;
    background: transparent;
    color: #000000;
    font-weight: 600;
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 15px;
    position: relative;
    outline: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    outline: none!important;
}

.amadex-flight-tab:hover {
    color: #0E7D3F;
    background: rgba(14, 125, 63, 0.05);
}

.amadex-flight-tab.is-active {
    color: #0E7D3F;
    border-bottom-color: #0E7D3F;
    background: transparent;
    font-weight: 700;
}

.amadex-flight-tab-panels {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 28px;
}

.amadex-flight-tab-panel {
    display: none;
    animation: amadex-fadeInPanel 0.3s ease-out;
}

@keyframes amadex-fadeInPanel {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.amadex-flight-tab-panel.is-active {
    display: block;
}

.amadex-flight-overview-card {
    background: #F3F8F4;
    border-radius: 18px;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border: 1px solid #E5E7EB;
    margin-bottom: 16px;
}

.amadex-flight-summary-left {
    flex: 1;
}

.amadex-flight-route-title {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}

.amadex-flight-overview-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    font-size: 14px;
    color: #6B7280;
    font-weight: 500;
}

.amadex-flight-overview-meta span {
    display: inline-flex;
    align-items: center;
}

.amadex-flight-chip {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(14, 125, 63, 0.1);
    color: #0E7D3F;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 6px;
}

.amadex-flight-overview-card h4 {
    margin: 0;
    font-size: 20px;
    color: #111827;
}

.amadex-flight-date {

    color: #000;
    font-size: 14px;
}

.amadex-flight-overview-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: right;
    font-weight: 600;
    color: #111827;
}

.amadex-flight-airline-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.amadex-airline-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #E5E7EB;
}

.amadex-airline-pill img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.amadex-airline-cabin {
    font-weight: 600;
    color: #0E7D3F;
}

.amadex-flight-info-pills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin: 12px 0 4px;
}

.amadex-info-pill {
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 12px 16px;
}

.amadex-info-pill .label {
    display: block;
    font-size: 12px;
    color: #6B7280;
    margin-bottom: 4px;
}

.amadex-info-pill strong {
    font-size: 15px;
    color: #111827;
}

.amadex-flight-segment-list {
    border: 1px solid #E5E7EB;
    border-radius: 18px;
    padding: 0;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.amadex-segment-airline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #EEF9F2 0% 0%;
    border-radius: 20px 20px 0px 0px;
}

.amadex-segment-meta-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.amadex-segment-aircraft {
    font-size: 12px;
    color: #6B7280;
    font-weight: 500;
    padding: 4px 10px;
    background: #F9FAFB;
    border-radius: 6px;
}

.amadex-segment-airline-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.amadex-segment-airline-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 18px;
}

.amadex-segment-airline-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.amadex-segment-airline-name {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    line-height: 1.2;
}

.amadex-segment-flight-number {
    font-size: 14px;
    color: #6B7280;
    font-weight: 500;
}

.amadex-segment-travel-class {
    font-size: 14px;
    color: #0E7D3F;
    font-weight: 600;
    padding: 6px 12px;
    background: rgba(14, 125, 63, 0.1);
    border-radius: 6px;
}

.amadex-segment-timeline-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 20px;
    position: relative;
}

.amadex-segment-timeline-row {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    position: relative;
    padding-bottom: 0;
}

.amadex-segment-departure,
.amadex-segment-arrival,
.amadex-segment-departure-section,
.amadex-segment-arrival-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.amadex-segment-airport-code {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
    margin-top: 4px;
}

.amadex-segment-airport-name {
    font-size: 14px;
    color: #111827;
    font-weight: 500;
    line-height: 1.3;
}

.amadex-segment-city-name {
    font-size: 14px;
    color: #111827;
    font-weight: 500;
    margin-top: 2px;
}

.amadex-segment-time-main {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.amadex-day-diff {
    font-size: 12px;
    color: #0E7D3F;
    font-weight: 600;
    vertical-align: super;
    margin-left: 2px;
}

.amadex-segment-airport-full {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.amadex-segment-airport-name {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.amadex-segment-date-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    margin-top: 6px;
}

.amadex-date-text {
    color: #6B7280;
    font-weight: 500;
    line-height: 1.4;
}

.amadex-terminal-text {
    color: #6B7280;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

.amadex-segment-duration-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 120px;
    position: relative;
    padding: 0 8px;
    flex-shrink: 0;
}

.amadex-segment-line-vertical {
    width: 2px;
    flex: 1;
    background: #8b8ca4;
    min-height: 34px;
    border-radius: 1px;
}

.amadex-segment-duration-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.amadex-duration-text {
    font-size: 13px;
    font-weight: 600;
    color: #707070;
    line-height: 1.2;
    border: none;
}

.amadex-segment-plane-icon {
    width: 16px;
    height: 16px;
    color: #0E7D3F;
    flex-shrink: 0;
}

.amadex-layover-info {
    margin-top: 16px;
    padding: 8px 16px;
    background: #FFF9EB;
    border: 1px dashed #F59E0B;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.amadex-layover-label {
    color: #92400E;
    font-weight: 600;
}

.amadex-layover-duration {
    color: #92400E;
    font-weight: 600;
}

.amadex-baggage-info-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 20px 0 0 0;
    padding: 20px;
    border-radius: 15px;
    background: transparent linear-gradient(90deg, #EFEFEF 0%, #EFEFEF00 100%) 0% 0% no-repeat padding-box;
}

.amadex-baggage-item {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 12px 0;
    border-bottom: 1px solid #E5E7EB;
}

.amadex-baggage-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.amadex-baggage-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.amadex-baggage-label {
    font-size: 15px;
    color: #111827;
    font-weight: 600;
}

.amadex-baggage-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
}

.amadex-baggage-status-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.amadex-baggage-status-text {
    white-space: nowrap;
    font-weight: 600;
}

.amadex-baggage-included {
    background: #F0FDF4;
    border: 1px solid #86EFAC;
}

.amadex-baggage-included .amadex-baggage-status-text {
    color: #0E7D3F !important;
}

.amadex-baggage-chargeable {
    background: #FEF2F2;
    border: 1px solid #FCA5A5;
}

.amadex-baggage-chargeable .amadex-baggage-status-text {
    color: #DC2626 !important;
}

.amadex-baggage-details {
    font-size: 14px;
    color: #6B7280;
    font-weight: 400;
    line-height: 1.5;
}

.amadex-baggage-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 12px;
    border-right: 1px solid #E5E7EB;
}

.amadex-baggage-column:first-child {
    padding-left: 0;
}

.amadex-baggage-column:last-child {
    border-right: none;
    padding-right: 0;
}

.amadex-baggage-header {
    font-size: 14px;
    color: #111827;
    font-weight: 600;
    margin-bottom: 4px;
}

.amadex-baggage-content {
    font-size: 14px;
    color: #111827;
    font-weight: 500;
    line-height: 1.4;
}

.amadex-amenities-section {
    margin: 0;
    padding: 16px 10px !important;
}

.amadex-amenities-title {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 12px 0;
}

.amadex-amenities-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.amadex-amenity-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 13px;
}

.amadex-amenity-icon {
    font-size: 16px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.amadex-amenity-icon svg,
.amadex-wifi-icon,
.amadex-ac-power-icon,
.amadex-usb-power-icon,
.amadex-personal-device-icon,
.amadex-live-tv-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
    display: block;
}

.amadex-ac-power-icon {
    width: 14px;
    height: 16px;
}

.amadex-usb-power-icon {
    width: 12px;
    height: 16px;
}

.amadex-personal-device-icon {
    width: 14px;
    height: 16px;
}

.amadex-live-tv-icon {
    width: 16px;
    height: 14px;
}

.amadex-amenity-name {
    font-size: 13px;
    color: #111827;
    font-weight: 500;
    line-height: 1.4;
}

.amadex-segment-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.amadex-segment-time {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 120px;
}

.amadex-segment-time .time {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}

.amadex-segment-time .code {
    font-size: 14px;
    color: #0E7D3F;
    font-weight: 600;
}

.amadex-segment-time .city {
    font-size: 13px;
    color: #6B7280;
}

.amadex-segment-middle {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    color: #6B7280;
    font-weight: 600;
}

.amadex-segment-middle .segment-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, #0E7D3F, rgba(14,125,63,0));
    border-radius: 999px;
}

.amadex-layover-row {
    padding: 0;
    background: #202924;
    border-radius: 12px;
    font-size: 13px;
    color: #92400E;
    justify-content: center;
}

.amadex-flight-footer-bar {
    position: sticky;
    bottom: 0;
    background: #fff;
    border: none;
    z-index: 10;
    border-radius: 0;
    padding: 20px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    box-shadow: 0px 0px 15px #00000029;
    border: 1px solid #0E7D3F !important;
    border-radius: 20px 20px 0px 0px;
}

.amadex-flight-price-wrap {
    color: #ffffff;
}

.amadex-flight-price-wrap .amadex-price-label {
    color: #000000;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
    font-weight: 700;
}

.amadex-price-row .amadex-flight-price {
    color: #000000;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

.amadex-discount-badge {
    background:#77dfa530;
    color: #0E7D3F;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    border: 1px dashed #0E7D3F;
}


.amadex-flight-continue-btn:hover {
    background: #F0FDF4;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #000000;
}

.amadex-flight-price-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.amadex-price-row {
    display: flex;
    align-items: center;
    gap: 12px;
}


.amadex-flight-price {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
}

.amadex-discount-pill {
    background: #0E7D3F;
    color: #fff;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.amadex-flight-continue-btn {
    background: #0E7D3F!important;
    color: #fff!important;
    border: none;
    padding: 14px 36px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    width: 30%;
}
.amadex-flight-continue-btn:hover {
    background: #0b6a34;
}

.amadex-fare-rules-card {
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 20px;
    background: #fff;
}

.amadex-fare-rules-card h4 {
    margin: 0 0 6px;
}

.amadex-fare-intro {
    margin: 0 0 18px;
    color: #6B7280;
}

.amadex-fare-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.amadex-fare-grid .label {
    font-size: 12px;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.amadex-fare-rule-list {
    margin: 0;
    padding-left: 18px;
    color: #4B5563;
    line-height: 1.6;
}

.amadex-empty-details {
    text-align: center;
    color: #6B7280;
    padding: 40px 0;
}

.amadex-connecting-banner {
    background: #FFF9EB;
    border: 1px dashed #F59E0B;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.amadex-connecting-text {
    font-size: 14px;
    font-weight: 600;
    color: #92400E;
}

.amadex-connecting-time {
    font-size: 14px;
    font-weight: 600;
    color: #92400E;
}

.amadex-fare-rules-route-section {
    margin-bottom: 30px;
}

.amadex-fare-rules-route-section:last-child {
    margin-bottom: 0;
}

.amadex-fare-rules-route-title {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 16px 0;
}

.amadex-fare-rules-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.amadex-fare-rule-btn {
    padding: 10px 18px;
    border: 2px solid #0E7D3F;
    background: #ffffff;
    color: #0E7D3F;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.amadex-fare-rule-btn:hover {
    background: #F0FDF4;
}

.amadex-fare-rule-btn.active {
    background: #0E7D3F;
    color: #ffffff;
}

.amadex-fare-rules-content {
    margin-top: 16px;
}

.amadex-fare-rule-text {
    display: none;
    font-size: 14px;
    line-height: 1.6;
    color: #4B5563;
    padding: 16px;
    background: #F9FAFB;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
}

.amadex-fare-rule-text.active {
    display: block;
}

.amadex-flight-price-wrap {
    color: #ffffff;
}

.amadex-flight-price {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
}

.amadex-flight-continue-btn:hover {
    background: #F0FDF4;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@keyframes amadex-call-banner-pulse {
    0% {
        box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(14, 125, 63, 0.7);
    }
    50% {
        box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.15), 0 0 0 10px rgba(14, 125, 63, 0);
    }
    100% {
        box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(14, 125, 63, 0);
    }
}

@-webkit-keyframes amadex-call-banner-pulse {
    0% {
        box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(14, 125, 63, 0.7);
    }
    50% {
        box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.15), 0 0 0 10px rgba(14, 125, 63, 0);
    }
    100% {
        box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(14, 125, 63, 0);
    }
}

.amadex-call-now-banner {
    display: none;
}

.amadex-call-now-floating {
    display: none !important;
}

.amadex-call-now-pulse.amadex-call-now-floating {
    display: none !important;
}

@media (min-width: 769px) {
    .amadex-call-now-banner.amadex-call-now-floating,
    .amadex-call-now-banner.amadex-call-now-floating.amadex-call-now-pulse,
    .amadex-call-now-floating,
    .amadex-call-now-pulse.amadex-call-now-floating {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        position: absolute !important;
        left: -9999px !important;
    }
}

@media (min-width: 1024px) {
    .amadex-call-now-banner.amadex-call-now-floating,
    .amadex-call-now-banner.amadex-call-now-floating.amadex-call-now-pulse {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}

@media (max-width: 1024px) {
   .amadex-search-bar-container {
    width: 100% !important;
}
}

@media (max-width: 768px) {
    .outer-route {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0e7d3f;
    padding: 10px 20px;
    border-radius: 80px;
}
.amadex-results-content-wrapper {
    padding: 0px !important;
}
    .amadex-call-now-floating {
        display: block !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: #fff;
        border-radius: 20px 20px 0 0 !important;
        padding: 12px 16px;
        z-index: 99999 !important;
        box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.15);
        margin: 0 !important;
        max-width: 100% !important;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
        will-change: transform;
        cursor: pointer;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        transition: background-color 0.2s ease, transform 0.2s ease;
    }
    .amadex-call-now-banner.amadex-call-now-floating.amadex-call-now-pulse{
        border-radius: 20px;
    }
    
    .amadex-call-now-floating:hover,
    .amadex-call-now-floating:active {
        background: #0a5d2e;
    }
    
    .amadex-call-now-floating:active {
        transform: translateY(2px);
    }
    
    .amadex-call-now-pulse.amadex-call-now-floating {
        display: block !important;
        animation: amadex-call-banner-pulse 2s ease-in-out infinite;
        -webkit-animation: amadex-call-banner-pulse 2s ease-in-out infinite;
    }
    
    .amadex-call-now-mobile-only,
    .amadex-call-now-banner:not(.amadex-call-now-floating) {
        display: block !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: #0E7D3F;
        border-radius: 20px 20px 0 0 !important;
        padding: 12px 16px;
        z-index: 99999 !important;
        box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.15);
        margin: 0 !important;
        max-width: 100% !important;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
        will-change: transform;
        cursor: pointer;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        transition: background-color 0.2s ease, transform 0.2s ease;
    }
    
    .amadex-call-now-mobile-only:hover,
    .amadex-call-now-mobile-only:active,
    .amadex-call-now-banner:not(.amadex-call-now-floating):hover,
    .amadex-call-now-banner:not(.amadex-call-now-floating):active {
        background: #0a5d2e;
    }
    
    .amadex-call-now-mobile-only:active,
    .amadex-call-now-banner:not(.amadex-call-now-floating):active {
        transform: translateY(2px);
    }

    
    .amadex-call-now-pulse.amadex-call-now-mobile-only,
    .amadex-call-now-pulse.amadex-call-now-banner:not(.amadex-call-now-floating) {
        animation: amadex-call-banner-pulse 2s ease-in-out infinite;
        -webkit-animation: amadex-call-banner-pulse 2s ease-in-out infinite;
    }

    .amadex-call-banner-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        max-width: 100%;
        margin: 0 auto;
        flex-wrap: wrap;
    }

    .amadex-call-banner-left {
        display: flex;
        align-items: center;
        gap: 10px;
        flex: 1 1 auto;
        min-width: 0;
    }

    .amadex-call-icon-circle {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .amadex-call-icon-circle svg {
        width: 20px;
        height: 20px;
        color: #0E7D3F;
    }

    .amadex-call-phone-number {
        font-size: 16px;
        font-weight: 700;
        color: #ffffff;
        text-decoration: none;
        white-space: nowrap;
        transition: opacity 0.2s ease;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .amadex-call-phone-number:hover {
        opacity: 0.9;
        color: #ffffff;
        text-decoration: none;
    }

    .amadex-call-banner-middle {
        order: 3;
        width: 100%;
        flex: 1 1 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
    }

    .amadex-call-cta-text {
        background: #ffffff;
        color: #0E7D3F;
        padding: 6px 16px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 600;
        white-space: nowrap;
        text-align: center;
        width: 100%;
        max-width: 280px;
    }

    .amadex-call-banner-right {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        flex-shrink: 0;
    }

    .amadex-call-service-image {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        overflow: hidden;
        background: transparent;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 3px solid rgba(255, 255, 255, 0.3);
    }

    .amadex-call-service-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }
}

@media (max-width: 480px) {
    .amadex-call-now-banner {
        padding: 10px 12px;
        border-radius: 0 !important;
    }

    .amadex-call-banner-content {
        gap: 8px;
    }

    .amadex-call-icon-circle {
        width: 36px;
        height: 36px;
    }

    .amadex-call-icon-circle svg {
        width: 18px;
        height: 18px;
    }

    .amadex-call-phone-number {
        font-size: 14px;
    }

    .amadex-call-cta-text {
        padding: 5px 12px;
        font-size: 11px;
    }

    .amadex-call-service-image {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 768px) {
    body.amadex-has-call-banner {
        padding-bottom: 90px;
    }
}

@media (max-width: 480px) {
    body.amadex-has-call-banner {
        padding-bottom: 80px;
    }
}

@media (min-width: 769px) {
    body.amadex-has-call-banner {
        padding-bottom: 0 !important;
    }
    
    .amadex-call-now-banner.amadex-call-now-floating,
    .amadex-call-now-banner.amadex-call-now-floating.amadex-call-now-pulse {
        height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
    }
}

@media (max-width: 430px) {
    /* Flight Cards */
    .amadex-flight-card {
        padding: 0;
        border-radius: 16px !important;
    }
    
    .amadex-flight-card-main {
        gap: 0;
    }

    .amadex-flight-price {
        font-size: 20px !important;
    }
    
    .amadex-flight-details-modal-wrapper {
        width: 96% !important;
        max-width: 96% !important;
        margin: 10px !important;
        border-radius: 16px !important;
    }
    
    .amadex-flight-details-header {
        padding: 14px 12px !important;
    }
    
    .amadex-flight-details-header h3 {
        font-size: 18px !important;
    }
    
    .amadex-flight-tabs {
        padding: 8px 6px !important;
        gap: 6px !important;
    }
    
    .amadex-flight-tab {
        padding: 8px 12px !important;
        font-size: 12px !important;
        border-radius: 8px !important;
    }
    
    .amadex-flight-footer-bar {
        padding: 12px 14px !important;
        border-radius: 0 0 16px 16px !important;
    }
    
    .amadex-flight-price-wrap {
        gap: 4px !important;
    }
    
    .amadex-price-label {
        font-size: 11px !important;
    }
    
    .amadex-flight-price {
        font-size: 20px !important;
    }

    .amadex-modal-body {
    padding: 12px;
}
    
    .amadex-flight-continue-btn {
        padding: 12px 20px !important;
        font-size: 16px !important;
        border-radius: 10px !important;
    }
    

    
    .amadex-segment-airline-header {
        padding: 10px 12px !important;
    }
    
    .amadex-segment-airline-logo {
        width: 40px !important;
        height: 40px !important;
    }
    
    .amadex-segment-airline-name {
        font-size: 13px !important;
    }
    
    .amadex-segment-point {
        padding: 10px 12px !important;
    }
    
    .amadex-segment-point-time {
        font-size: 16px !important;
    }
    
    .amadex-segment-point-airport {
        font-size: 12px !important;
    }
    
    .amadex-connecting-banner {
        padding: 10px 12px !important;
        margin: 12px 0 !important;
        border-radius: 10px !important;
        font-size: 12px !important;
    }
    
    .amadex-baggage-info-section {
        padding: 12px !important;
    }
    
    .amadex-baggage-item {
        padding: 10px 12px !important;
    }
    
    .amadex-baggage-label {
        font-size: 12px !important;
    }
    
    .amadex-baggage-value {
        font-size: 14px !important;
    }
    
    .amadex-call-now-banner {
        padding: 12px 14px !important;
        border-radius: 20px !important;
    }
    
    .amadex-call-banner-content {
        gap: 10px !important;
    }
    
    .amadex-call-phone-number {
        font-size: 15px !important;
    }
    
    .amadex-call-cta-text {
        font-size: 11px !important;
        padding: 6px 12px !important;
    }
}

@media (max-width: 412px) {
    .amadex-flight-card {
        padding: 12px 10px !important;
    }
    
    .amadex-flight-details-modal-wrapper {
        width: 98% !important;
        max-width: 98% !important;
        margin: 5px !important;
    }
    
    .amadex-flight-tabs {
        padding: 6px 4px !important;
        gap: 4px !important;
    }
    
    .amadex-flight-tab {
        padding: 6px 10px !important;
        font-size: 11px !important;
    }
    
    .amadex-flight-price {
        font-size: 18px !important;
    }
    
    .amadex-flight-continue-btn {
        padding: 10px 16px !important;
        font-size: 13px !important;
    }
    
    .amadex-segment-point-time {
        font-size: 15px !important;
    }
    
    .amadex-call-now-banner {
        padding: 10px 12px !important;
    }
    
    .amadex-call-phone-number {
        font-size: 14px !important;
    }
}

@media (max-width: 640px) {
    .amadex-flight-tabs {
        flex-direction:row;
    }
    
    .amadex-flight-overview-card {
        flex-direction: column;
        gap: 10px;
    }
    
    .amadex-flight-footer-bar {
        flex-direction: column;
        align-items: center;
    }
    
    .amadex-flight-continue-btn {
        width: 100%;
        text-align: center;
    }
}

.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-booking-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
}

@media only screen and (min-width: 768px) {
    .amadex-search-bar-wrapper {
        width: 100%;
    }
    
    .amadex-results-content-wrapper {
        width: 100%;
    }
    
    .amadex-results-content {
        max-width: 1500px;
        grid-template-columns: 320px 1fr;
        gap: 28px;
        padding: 0 20px;
    }
    
    .amadex-results-main {
        width: 100%;
        max-width: 100%;
    }
    
    .amadex-booking-progress {
        width: 100%;
        max-width: 100%;
    }
    
    .amadex-results-sort-bar {
        width: 100%;
    }
}

@media only screen and (min-width: 1024px) {
    .amadex-results-content {
        max-width: 1500px;
        grid-template-columns: 320px 1fr;
        gap: 28px;
        padding: 0 20px;
    }
    
    .amadex-search-bar-container {
        max-width: 1500px;
        padding: 10px 20px;
    }
}

@media only screen and (min-width: 1280px) {
    .amadex-results-content {
        max-width: 1500px;
    }
    
    .amadex-search-bar-container {
        max-width: 1500px;
    }
}

@media (max-width: 767px) {
    .amadex-form {
        grid-template-columns: 1fr;
    }
    
    .amadex-search-bar-wrapper {
        padding: 16px 0;
        width: 100%;
    }
    
    .amadex-search-bar-container {
        padding: 0 15px;
    }
    
    .amadex-results-content-wrapper {
        padding: 16px 0;
        width: 100%;
    }
    
    .amadex-results-content {
        grid-template-columns: 1fr;
        padding: 0 15px;
        max-width: 100%;
    }
    
    .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;
    }
}

.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;
}

.amadex-call-modal-content {
    max-width: 750px;
    width: 95%;
    margin: 2% auto;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.2);
    margin-top: 20rem;
    position: relative;
}

.amadex-call-popup-new {
    background: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.amadex-popup-banner {
    background: rgb(253 225 175);
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #000;
    font-weight: 600;
    font-size: 14px;
    border-radius: 15px;
}

.amadex-banner-text {
    font-weight: 600;
}

.amadex-banner-countdown {
    font-weight: 600;
    color: #000;
}

.amadex-banner-countdown #amadex-countdown {
    font-weight: 700;
    color: #AA2300;
}

.amadex-popup-content-wrapper {
    display: flex;
    flex-direction: row;
    min-height: 400px;
}

.amadex-popup-left-column {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: transparent linear-gradient(90deg, #FFEFDB 0%, #FBE8D000 100%) 0% 0% no-repeat padding-box;
    border-radius: 20px;
}

.amadex-popup-deal-heading {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.amadex-deal-label {
    font-size: 18px;
    font-weight: 500;
    color: #000;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.amadex-deal-destination-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.amadex-deal-destination {
    font-size: 30px;
    font-weight: 700;
    color: #000;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.amadex-deal-price-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.amadex-price-label-text {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.amadex-price-amount-large {
    font-size: 28px;
    font-weight: 700;
    color: #0E7D3F;
    line-height: 1;
}

.amadex-popup-flight-box {
    border: none;
    border-radius: 12px;
    padding: 20px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    overflow: hidden;
    border: 1px dashed #0e7d3f;
    box-shadow: 0px 0px 15px #615c5c45;
    background: #fff;
}

.amadex-popup-flight-box > * {
    position: relative;
    z-index: 1;
}

.amadex-flight-box-header {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
    background: #F6F6F6 0% 0% no-repeat padding-box;
    border-radius: 11px;
    padding: 10px 12px;
    width: auto;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}

.amadex-flight-box-route {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.amadex-flight-box-segment {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.amadex-flight-box-label {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.amadex-flight-box-code {
    font-size: 20px;
    font-weight: 700;
    color: #000;
}

.amadex-flight-box-city {
    font-size: 14px;
    color: #666;
}

.amadex-flight-box-date {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.amadex-flight-box-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 100px;
    height: 100px;
}

.amadex-flight-box-arrow svg {
    width: 100px;
    height: 100px;
}

.amadex-segment-duration-line svg {
    transform: rotate(90deg);
}

.amadex-popup-call-button-large {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #0e7d3f;
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.amadex-popup-call-button-large:hover {
    background: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(34, 197, 94, 0.4);
    color: #ffffff;
    text-decoration: none;
}

.amadex-call-icon-svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.amadex-call-button-text {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.amadex-popup-right-column {
    flex: 0 0 320px;
}

.amadex-customer-service-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

.amadex-customer-service-placeholder {
    width: 120px;
    height: 120px;
    background: #e5e5e5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.amadex-popup-trust-badges {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.amadex-trust-badge-years {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.amadex-trust-badge-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.3);
}

.amadex-trust-years-text {
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
    text-align: center;
    line-height: 1.2;
}

.amadex-trust-badge-label {
    font-size: 12px;
    font-weight: 600;
    color: #333;
    text-align: center;
    background: #22c55e;
    padding: 4px 12px;
    border-radius: 4px;
    color: #ffffff;
    margin-top: -8px;
    position: relative;
    z-index: 1;
}

.amadex-trust-badge-trustpilot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.amadex-trustpilot-logo {
    font-size: 16px;
    font-weight: 700;
    color: #00b67a;
    letter-spacing: 0.5px;
}

.amadex-trustpilot-stars {
    display: flex;
    gap: 2px;
    align-items: center;
}

.amadex-star {
    color: #00b67a;
    font-size: 18px;
    line-height: 1;
}

.amadex-star-partial {
    opacity: 0.5;
}

.amadex-trustpilot-rating {
    font-size: 12px;
    font-weight: 600;
    color: #333;
}

.amadex-call-modal-content .amadex-modal-close {
    color: #161313;
    font-size: 24px;
    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: -10px;
    right: 4px;
    z-index: 10;
}

.amadex-call-modal-content .amadex-modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 0, 0, 0.3);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    body.amadex-modal-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
    
    .amadex-modal {
        padding: 10px;
        align-items: flex-start;
        padding-top: 20vh;
    }
    
    .amadex-call-modal-content {
        max-width: 95%;
        width: 95%;
        margin: 0 auto;
        border-radius: 20px;
        max-height: 96vh;
        overflow-y: auto;
        position: relative;
        -webkit-overflow-scrolling: touch;
    }
    
    .amadex-call-modal-content .amadex-modal-close {
        width: 32px;
        height: 32px;
        top: 10px;
        right: 10px;
        padding: 6px;
        background: rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .amadex-call-modal-content .amadex-modal-close svg {
        width: 16px;
        height: 16px;
    }
    
    .amadex-popup-content-wrapper {
        flex-direction: row;
        min-height: auto;
        flex-wrap: nowrap;
    }
    
    .amadex-popup-left-column {
        padding: 20px 16px;
        gap: 16px;
       flex-direction: column;
    }
    
    .amadex-popup-right-column {
        flex: 1;
        padding: 20px 16px;
        border-radius: 0 0 20px 20px;
    }
    
    .amadex-popup-banner {
        padding: 10px 16px;
        font-size: 10px;
        flex-wrap: nowrap;
        gap: 8px;
    }
    
    .amadex-banner-text {
        font-size: 13px;
        font-weight: 600;
    }
    
    .amadex-banner-countdown {
        font-size: 13px;
        font-weight: 600;
    }
    
    .amadex-banner-countdown #amadex-countdown {
        font-size: 14px;
        font-weight: 700;
        color: #DC2626;
    }
    
    .amadex-popup-deal-heading {
        gap: 8px;
    }
    
    .amadex-deal-label {
        font-size: 14px;
        font-weight: 500;
        letter-spacing: 0.3px;
    }
    
    .amadex-deal-destination-wrapper {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
    }
    
    .amadex-deal-destination {
        font-size: 18px;
        font-weight: 700;
        line-height: 1.2;
        flex: 1;
        min-width: 0;
    }
    
    .amadex-deal-price-section {
        align-items: flex-end;
        gap: 2px;
    }
    
    .amadex-price-amount-large {
        font-size: 24px;
        font-weight: 700;
        line-height: 1;
    }
    
    .amadex-popup-flight-box {
        padding: 8px;
        border-radius: 12px;
    }
    
    .amadex-flight-box-header {
        font-size: 12px;
        padding: 8px 12px;
        width: auto;
        margin-bottom: 12px;
        text-align: center;
        display: inline-block;
        margin-left: auto;
        margin-right: auto;
    }
    
    .amadex-flight-box-route {
        flex-direction: row;
        gap: 8px;
        align-items: flex-start;
    }
    
    .amadex-flight-box-segment {
        flex: 1;
        gap: 4px;
        min-width: 0;
    }
    
    .amadex-flight-box-label {
        font-size: 11px;
        font-weight: 500;
        color: #666;
        margin-bottom: 2px;
    }
    
    .amadex-flight-box-code {
        font-size: 18px;
        font-weight: 700;
        color: #000;
        line-height: 1.2;
    }
    
    .amadex-flight-box-city {
        font-size: 13px;
        color: #666;
        font-weight: 400;
        line-height: 1.3;
        margin-top: 2px;
    }
    
    .amadex-flight-box-date {
        font-size: 11px;
        color: #666;
        margin-top: 4px;
        line-height: 1.3;
    }
    
    .amadex-flight-box-arrow {
        width: 40px;
        height: auto;
        flex-shrink: 0;
        padding: 0 4px;
        align-self: center;
    }
    
    .amadex-flight-box-arrow svg {
        width: 100%;
        max-width: 80px;
        height: auto;
    }
    
    .amadex-popup-call-button-large {
        width: 100%;
        padding: 14px 20px;
        font-size: 16px;
        font-weight: 700;
        border-radius: 16px;
        gap: 10px;
    }
    
    .amadex-call-icon-svg {
        width: 18px;
        height: 18px;
    }
    
    .amadex-call-button-text {
        font-size: 12px;
        font-weight: 700;
        min-height: auto;
    }
    
    .amadex-popup-right-column {
        padding: 20px 16px;
        gap: 20px;
    }
    
    .amadex-customer-service-img {
        max-width: 180px;
        margin: 0 auto;
    }
    
    .amadex-popup-trust-badges {
        gap: 16px;
    }
    
    .amadex-trust-badge-circle {
        width: 70px;
        height: 70px;
    }
    
    .amadex-trust-years-text {
        font-size: 12px;
    }
    
    .amadex-trust-badge-label {
        font-size: 11px;
        padding: 3px 10px;
    }
    
    .amadex-trustpilot-logo {
        font-size: 14px;
    }
    
    .amadex-star {
        font-size: 16px;
    }
    
    .amadex-trustpilot-rating {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .amadex-modal {
        padding: 5px;
        padding-top: 20vh;
    }


    .amadex-popup-banner {
        position: absolute;
        bottom: 1rem;
        width: 90%;
        margin: auto;
    }

.amadex-modal-body {
min-height: 380px;
}
    
    .amadex-call-modal-content {
        max-width: 98%;
        width: 98%;
        margin: 0 auto;
        border-radius: 16px;
        max-height: 98vh;
    }
    
    .amadex-call-modal-content .amadex-modal-close {
        width: 28px;
        height: 28px;
        top: 8px;
        right: 8px;
        padding: 5px;
        background: rgba(0, 0, 0, 0.15);
        border: 1px solid rgba(0, 0, 0, 0.15);
    }
    
    .amadex-call-modal-content .amadex-modal-close svg {
        width: 14px;
        height: 14px;
    }
    
    .amadex-popup-left-column {
        padding: 16px 12px;
        gap: 14px;
    }
    
    .amadex-popup-right-column {
        padding: 0;
        align-items: center;
        display: flex;
    }
    
    .amadex-popup-banner {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .amadex-banner-countdown #amadex-countdown {
        font-size: 13px;
    }
    
    .amadex-deal-label {
        font-size: 13px;
    }
    
    .amadex-deal-destination {
        font-size: 14px;
    }
    
    .amadex-price-amount-large {
        font-size: 14px;
    }
    
    .amadex-popup-flight-box {
        padding: 8px;
    }
    
    .amadex-flight-box-header {
        font-size: 11px;
        padding: 6px 10px;
    }
    
    .amadex-flight-box-code {
        font-size: 10px;
    }
    
    .amadex-flight-box-city {
        font-size: 10px;
    }
    
    .amadex-flight-box-date {
        font-size: 10px;
    }
    
    .amadex-flight-box-arrow {
        width: 30px;
        padding: 0 2px;
    }
    
    .amadex-popup-call-button-large {
        padding: 12px 10px;
        font-size: 15px;
    }
    
    .amadex-customer-service-img {
        max-width: 175px;
    }
    
    .amadex-trust-badge-circle {
        width: 60px;
        height: 60px;
    }
    
    .amadex-trust-years-text {
        font-size: 11px;
    }
}

.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;
}

.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);
}

.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;
}

.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: #F0FFF7;
    border-color: #0e7d3f;
    color: #0e7d3f;
}

.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;
}

.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);
}

@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;
    }
}

.amadex-calendar-widget, #departure-calendar, #return-calendar {
    left: 34rem;
    right: auto;
    border-radius: 10px;
}


.amadex-se-hero, .amadex-se-popular, .close_amadex_form {
    display: none;
}

.amadex-search-fields {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 10px;
}
input[type="radio"] {
  accent-color: #0E7D3F;
}
button#swap-locations {
    outline: none;
    bottom: 0;
}

.wrapper input[type=text], .wrapper input[type=email], .wrapper input[type=phone], .wrapper input[type=tel], .wrapper input[type=number], .wrapper input[type=date], .wrapper input[type=file], .wrapper input[type=password], .wrapper textarea, .wrapper select{
    background: transparent !important;
}
button#amadex-modify-search-btn {
    margin: 0;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.wrapper input[type=text], .wrapper input[type=email], .wrapper input[type=phone], .wrapper input[type=tel], .wrapper input[type=number], .wrapper input[type=date], .wrapper input[type=file], .wrapper input[type=password], .wrapper textarea, .wrapper select {
    box-sizing: border-box;
    background-color: var(--dst--input-bg-color, #fff);
    color: var(--dst--input-color);
    border: var(--dst--input-border-width, 1px) solid var(--dst--input-border-color, #666);
    border-radius: var(--dst--input-border-radius, 5px);
    font-size: clamp(16px,1vw,var(--dst--input-font-size));
    font-weight: var(--dst--input-font-weight, 400);
}

input#modern-departure {
    padding: 0;
}
.radio-input {
    display: none;
}
div#origin-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    /* width: 420px; */
    background: #fff;
    margin-top: 8px;
    border-radius: 10px;
    z-index: 9000;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

div#destination-suggestions {
    position: absolute;
    top: 100%;
    /* left: 0; */
    /* width: 420px; */
    background: #fff;
    margin-top: 8px;
    border-radius: 10px;
    z-index: 9000;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .amadex-travellers-value {
    font-size: 12px;
}
.amadex-field-value {
    font-size: 12px;
}
.amadex-travellers-value {
    justify-content: space-between !important;
    align-items: center !important;
    background: #fff;
    /* padding: 12px 14px; */
}
}

@media (max-width: 1024px) {
    .amadex-calendar-month {
    display: flex;
    flex-direction: column;
    align-items: center;
}
    .amadex-calendar-widget, #departure-calendar, #return-calendar {
    left: 0;
    top: 15rem;
    right: auto;
    border-radius: 10px;
}
    /* button#swap-locations {
    position: absolute;
    top: 10rem;
    right: 5px;
} */
div#dateID {
    border: 0;
}
.amadex-modern-form.amadex-multi-city-mode .amadex-modern-field.amadex-date-field.field-disabled.return-promo {
    background: none !important;
}

.amadex-modern-field, #origin-field, #destination-field, #departure-field, #return-field, #travellers-field {
    padding: 0 !important;
}
div#return-field {
    border: 0 !important;
}

.amadex-travellers-trigger {
    padding: 0;
}
.visit-main-nav {
    padding: 10px 6px 0 !important;
}
.amadex-travellers-value {
    justify-content: space-between !important;
    align-items: center !important;
    background: #fff;
    border-radius: 10px !important;
    /* padding: 12px 14px; */
}
    
    .amadex-search-fields {
    background: transparent;
    flex-direction: column;
    gap: 10px;
}

.amadex-field-input-wrap {
    background: #fff;
    border-radius: 10px;
    height: 5rem;
    padding: 12px;
}
 
button#amadex-modify-search-btn {
    border-radius: 10px;
}
}
.amadex-modern-form.amadex-multi-city-mode #return-field,
.amadex-modern-form.amadex-multi-city-mode #return-field.return-promo,
.amadex-modern-form.amadex-multi-city-mode #return-field.field-disabled.return-promo {
    opacity: 0.5 !important;
    pointer-events: none !important;
    cursor: not-allowed !important;
}

.amadex-modern-form.amadex-multi-city-mode #return-display {
    color: #999 !important;
    font-weight: 400 !important;
    font-size: inherit !important;
}

.amadex-modern-form.amadex-multi-city-mode #return-display strong {
    display: none !important;
}

.amadex-modern-form.amadex-multi-city-mode #return-display {
    font-size: 0 !important;
}

.amadex-modern-form.amadex-multi-city-mode #return-display::after {
    content: "Return Date";
    font-size: 12px !important;
    color: #999 !important;
    font-weight: 400 !important;
}

#amadex-multicity-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
    width: 100%;
}

.amadex-multi-row {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    flex-wrap: nowrap;
}

.amadex-multi-row .amadex-mc-field {
    flex: 1;
    min-width: 0;
    position: relative;
}

.amadex-multi-row .amadex-mc-field .amadex-field-input-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 14px;
    height: 56px;
    cursor: pointer;
}

.amadex-multi-row .amadex-mc-field .amadex-field-value {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    color: #333;
    background: transparent;
    width: 100%;
}

.amadex-multi-row .amadex-mc-field .amadex-field-value::placeholder {
    color: #999;
}

.amadex-multi-row .amadex-mc-field .mc-date-display {
    flex: 1;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

.amadex-multi-row .amadex-suggestions-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    max-height: 240px;
    overflow-y: auto;
    display: none;
}

.amadex-multi-row .amadex-suggestions-dropdown.active {
    display: block;
}

/* Remove button */
.amadex-remove-mc-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 8px 12px;
    color: #666;
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
    height: 56px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.amadex-remove-mc-btn:hover {
    background: #fff0f0;
    border-color: #e53e3e;
    color: #e53e3e;
}

@media (max-width: 768px) {
       .submit-btn-amadex {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .amadex-multi-row {
        flex-wrap: wrap;
    }
    .amadex-multi-row .amadex-mc-field {
        flex: 1 1 calc(50% - 8px);
        min-width: calc(50% - 8px);
    }
    .amadex-remove-mc-btn {
        width: 100%;
        justify-content: center;
    }
}

.amadex-modern-form.amadex-multi-city-mode #add-city-btn {
    display: none !important;
}

#amadex-multicity-wrapper { display: none !important; }
#amadex-add-city { display: none !important; }

.amadex-modern-form.amadex-multi-city-mode #add-city-btn {
    display: inline-flex !important;
}

.amadex-flight-segment[data-segment="1"] .amadex-remove-segment-btn {
    display: none !important;
}

[id^="origin-suggestions-"],
[id^="destination-suggestions-"] {
    position: absolute;
    top: 100%;
    left: 0;
    width: 320px;
    background: #fff;
    margin-top: 8px;
    border-radius: 10px;
    z-index: 9000;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: opacity 0.2s ease, transform 0.2s ease;
    display: none;
}

[id^="origin-suggestions-"].active,
[id^="destination-suggestions-"].active {
    display: block;
}

.amadex-flight-segment .amadex-location-field {
    position: relative !important;
    overflow: visible !important;
}
 .vsb-segment-card input {
    display: none;
}
button.amadex-swap-button.amadex-segment-swap {
    width: 31px !important;
    height: 32px;
    background: #0d7d40 !important;
    border-radius: 29px;
    position: relative;
    right: 2px;
}
.pointernone {
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0.2 !important;
}

button.amadex-swap-button:focus {
  outline: none;
  box-shadow: none;
}

.page-id-803 .amadex-results-page .amadex-search-bar-wrapper{
    display: none !important;
}

.amadex-loading-animation {
    padding: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
    background: #f8f9fa;
    border-radius: 8px;
}

.amadex-loading-content {
    max-width: 320px;
    margin: 0 auto;
}

.amadex-airplane-container {
    margin-bottom: 1rem;
}
.visit-date {
    display: flex;
    width: 33.3%;
}
.amadex-loading-spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto;
    border: 3px solid #e0e0e0;
    border-top-color: #0073aa;
    border-radius: 50%;
    animation: amadex-spin-loader 0.8s linear infinite;
}

@keyframes amadex-spin-loader {
    to { transform: rotate(360deg); }
}

.amadex-loading-message {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #333;
}

.amadex-progress-container {
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
}

.amadex-progress-bar {
    height: 100%;
    width: 30%;
    background: #0073aa;
    border-radius: 2px;
    animation: amadex-progress-anim 1.2s ease-in-out infinite;
}

@keyframes amadex-progress-anim {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(233%); }
}

.amadex-loading-animation.fade-out {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.amadex-skeleton-container {
    margin-bottom: 1rem;
}

.amadex-skeleton-card {
    padding: 1rem;
    margin-bottom: 1rem;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.amadex-skeleton-header {
    margin-bottom: 0.75rem;
}

.amadex-skeleton-content {
    margin-bottom: 0.75rem;
}

.amadex-skeleton-price {
    overflow: hidden;
}

.amadex-skeleton-line {
    background: linear-gradient(90deg, #e8e8e8 25%, #f0f0f0 50%, #e8e8e8 75%);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: amadex-skeleton-shine 1.2s ease-in-out infinite;
}

@keyframes amadex-skeleton-shine {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.amadex-skeleton-container.fade-out {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.amadex-virtual-scroll-container {
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    height: 100%;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.amadex-virtual-scroll-wrapper {
    position: relative;
    width: 100%;
}

.amadex-virtual-scroll-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}
.visit-location {
    display: flex;
    align-items: center;
}
.amadex-virtual-scroll-item {
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .visit-location {
    border: 1px solid #c5c5c5 !important;
    padding: 6px 12px !important;
    border-radius: 10px;
    width: 100%;
}
    .visit-date {
    width: 100%;
    border: 1px solid #c5c5c5 !important;
    padding: 6px 12px !important;
    border-radius: 10px;
}
    .amadex-virtual-scroll-container {
        -webkit-overflow-scrolling: touch;
    }
}
.amadex-regional-settings-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.amadex-regional-settings-btn:hover:not(.amadex-regional-settings-btn--capsule) {
    background: #f5f5f5;
    border-color: #0E7D3F;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.amadex-regional-settings-btn:focus {
    outline: none;
    border-color: #0E7D3F;
    box-shadow: 0 0 0 3px rgba(14,125,63,0.1);
}

#amadex-regional-settings-trigger.amadex-regional-settings-btn--capsule,
.amadex-regional-settings-btn.amadex-regional-settings-btn--capsule,
button.amadex-regional-settings-btn--capsule {
    gap: 6px !important;
    padding: 4px 12px !important;
    border-radius: 999px !important;
    background: #0E7D3F !important;
    color: #ffffff !important;
    border: 1px solid #0E7D3F !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    box-shadow: 0 2px 4px rgba(14,125,63,0.2) !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    height: auto !important;
}

.amadex-regional-settings-btn--capsule .amadex-regional-settings-code {
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
}

.amadex-regional-settings-btn--capsule .amadex-regional-settings-divider {
    color: rgba(255,255,255,0.7) !important;
    opacity: 0.8 !important;
    margin: 0 2px !important;
    font-weight: 400 !important;
}

#amadex-regional-settings-trigger.amadex-regional-settings-btn--capsule:hover,
.amadex-regional-settings-btn.amadex-regional-settings-btn--capsule:hover,
button.amadex-regional-settings-btn--capsule:hover {
    background: #0E7D3F !important;
    border-color: #0E7D3F !important;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(14,125,63,0.4), 0 0 20px rgba(14,125,63,0.2) !important;
}

#amadex-regional-settings-trigger.amadex-regional-settings-btn--capsule:focus,
.amadex-regional-settings-btn.amadex-regional-settings-btn--capsule:focus,
button.amadex-regional-settings-btn--capsule:focus {
    outline: none !important;
    border-color: #0E7D3F !important;
    box-shadow: 0 0 0 3px rgba(14,125,63,0.3) !important;
}

.amadex-regional-settings-btn--capsule .screen-reader-text {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.amadex-regional-settings-labels {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.amadex-regional-settings-language,
.amadex-regional-settings-country,
.amadex-regional-settings-currency {
    font-size: 14px;
    font-weight: 400;
    line-height: 1rem;
    color: #333;
}

.amadex-regional-settings-btn-header {
    margin-left: auto;
}

.amadex-regional-settings-btn-floating {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9998;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.amadex-regional-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.amadex-regional-modal[style*="display: flex"],
.amadex-regional-modal:not([style*="display: none"]) {
    display: flex !important;
}

.amadex-regional-modal-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.amadex-regional-modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    z-index: 10001;
    animation: amadex-regional-modal-fade-in 0.3s ease-out;
}

@keyframes amadex-regional-modal-fade-in {
    from { opacity: 0; transform: scale(0.95) translateY(-20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.amadex-regional-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid #e0e0e0;
}

.amadex-regional-modal-title {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.amadex-regional-modal-close {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #666;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.amadex-regional-modal-close:hover {
    background: #f5f5f5;
    color: #333;
}

.amadex-regional-modal-body {
    padding: 24px;
}

.amadex-regional-field {
    margin-bottom: 24px;
}

.amadex-regional-field:last-child {
    margin-bottom: 0;
}

.amadex-regional-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.amadex-regional-label-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.amadex-regional-description {
    font-size: 14px;
    color: #666;
    margin: 0 0 12px 0;
    line-height: 1.5;
}

.amadex-regional-select {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    font-size: 15px;
    background: #ffffff;
    color: #333;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23000000%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-6.5%200-12.3%203.2-16.1%208.1-3.9%204.9-4.6%2011.4-2.1%2017.4l139.3%20192.6c3.9%205.3%2010.8%208.6%2018.2%208.6s14.3-3.3%2018.2-8.6l139.3-192.6c2.5-6%201.8-12.5-2.1-17.4Z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
}

.amadex-regional-select:hover { border-color: #0E7D3F; }
.amadex-regional-select:focus {
    outline: none;
    border-color: #0E7D3F;
    box-shadow: 0 0 0 3px rgba(14,125,63,0.1);
}

.amadex-regional-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 24px;
    border-top: 1px solid #e0e0e0;
}

.amadex-regional-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.amadex-regional-btn-cancel {
    background: #ffffff;
    color: #333;
    border: 1px solid #d0d0d0;
}

.amadex-regional-btn-cancel:hover {
    background: #f5f5f5;
    border-color: #0E7D3F;
    color: #0E7D3F;
}

.amadex-regional-btn-save {
    background: #0E7D3F;
    color: #ffffff;
}

.amadex-regional-btn-save:hover {
    background: #0d6e35;
    box-shadow: 0 4px 12px rgba(14,125,63,0.3);
}

.amadex-regional-btn-save:active { transform: translateY(1px); }

.amadex-regional-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    z-index: 10002;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    animation: amadex-regional-notif-in 0.3s ease-out;
    max-width: 300px;
}
form#amadex-modern-form {
    margin-bottom: 0;
    position: relative;
    z-index: 999;
}
.amadex-regional-notification-success { background: #0E7D3F; color: #ffffff; }
.amadex-regional-notification-error   { background: #dc3545; color: #ffffff; }
.amadex-regional-notification-info    { background: #0d6efd; color: #ffffff; }
.vsb-fields input {
    min-height: auto !important;
}
@keyframes amadex-regional-notif-in {
    from { transform: translateX(100%); opacity: 0; }
    to   { transform: translateX(0);   opacity: 1; }
}


@media (max-width: 1292px) {
    /* .vsb-card {
        padding: 0;
    } */
    .vsb-card {
        flex-direction: column;
        border-radius: 14px;
    }
        .vsb-fields {
        flex-wrap: wrap;
        gap: 6px;
        margin-bottom: 8px;
    }
    .vsb-fields {
        padding: 10px 8px !important;
        width: 100%;
    }
        .visit-location {
        width: 100%;
    }
        .visit-location {
        border: 1px solid #c5c5c5 !important;
        padding: 6px 12px !important;
        border-radius: 10px;
        width: 50%;
    }
    .vsb-field.vsb-field--origin {
        max-width: 49% !important;
        border-right: 1px solid #e0e0e0;
    }
      label.amadex-trip-label {
    font-size: 12px !important;
}
.vsb-field.vsb-field--departure {
    border-right: 1px solid #c5c5c5 !important;
}

.vsb-field.vsb-field--return {
    margin-left: 10px;
    padding-left: 18px;
}
.vsb-fields {
    gap: 6px;
}
      .visit-date {
        width: 49%;
        border: 1px solid #c5c5c5 !important;
        padding: 6px 12px !important;
        border-radius: 10px;
    }
/* button#swap-locations {
    right: 15px;
} */
.vsb-card {
    padding: 0;
}
input#modern-destination {
    font-size: 14px;
}
input#modern-origin {
    font-size: 14px;
}
.amadex-trip-selector {
    gap: 0;
}
.vsb-field.vsb-field--origin {
    max-width: 49% !important;
}
.vsb-field.vsb-field--destination {
    max-width: 40%;
}
    .amadex-filters-sidebar {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        position: absolute !important;
        left: -9999px !important;
        width: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .submit-btn-amadex {
    max-width: 50% !important;
    margin-bottom: 14px !important;
}
    .amadex-mobile-filter-modal .amadex-filters-sidebar {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        overflow: visible !important;
        position: static !important;
        left: auto !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        flex-direction: column !important;
    }


    #travellers-field {
    height: unset !important;
    max-height: unset !important;
}
.vsb-card {
    padding: 0px 15px 15px 15px !important;
}
/* button#amadex-modify-search-btn {
    height: unset !important;
} */
}

@media (max-width: 768px) {
    .visit-location {
    width: 100%;
}
.visit-date {
    width: 100%;
}
    .amadex-regional-modal-content {
        width: 95%;
        max-width: none;
        border-radius: 12px;
        max-height: 95vh;
    }
    .amadex-regional-modal-header,
    .amadex-regional-modal-body,
    .amadex-regional-modal-footer { padding: 20px; }
    .amadex-regional-modal-title  { font-size: 20px; }
    .amadex-regional-modal-footer { flex-direction: row; }
    .amadex-regional-btn          { width: 100%; }
    .amadex-regional-settings-btn-floating { top: 10px; right: 10px; padding: 6px 10px; }
    .amadex-regional-settings-labels { flex-direction: column; align-items: flex-start; gap: 4px; }
    .amadex-regional-settings-language,
    .amadex-regional-settings-country,
    .amadex-regional-settings-currency { font-size: 0.7rem; }
    .amadex-regional-settings-btn--capsule { padding: 3px 10px !important; font-size: 11px !important; }
    .amadex-regional-settings-btn--capsule .amadex-regional-settings-code { font-size: 11px !important; }
}

:root {
    --amadex-se-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --amadex-se-dur: 0.35s;
    --amadex-se-dur-slow: 0.5s;
    --amadex-se-primary: var(--amadex-ce-color-brand, #0e7d3f);
    --amadex-se-primary-light: rgba(14, 125, 63, 0.12);
    --amadex-se-muted: var(--amadex-ce-color-muted, #6b7280);
    --amadex-se-shadow: 0 2px 12px rgba(14, 125, 63, 0.1);
}

@media (prefers-reduced-motion: reduce) {
    :root { --amadex-se-dur: 0.01ms; --amadex-se-dur-slow: 0.01ms; }
}

.amadex-se-hero {
    font-size: calc(1.75rem * var(--amadex-ce-text-scale, 1));
    font-weight: 700;
    line-height: 1.5;
    color: var(--amadex-ce-color-primary, #111827);
    margin: 0 0 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
    transform: translateY(-8px);
    animation: amadex-se-fade-in var(--amadex-se-dur-slow) var(--amadex-se-ease) forwards;
}

.amadex-se-hero svg {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    color: var(--amadex-se-primary);
}

.amadex-se-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--amadex-se-primary);
    background: var(--amadex-se-primary-light);
    border-radius: 999px;
    margin-top: 0.75rem;
    opacity: 0;
    transform: scale(0.95);
    animation: amadex-se-badge-in var(--amadex-se-dur-slow) var(--amadex-se-ease) 0.3s forwards;
}

.amadex-se-badge svg {
    width: 1.125rem;
    height: 1.125rem;
    flex-shrink: 0;
}

.amadex-se-teaser {
    font-size: calc(0.9375rem * var(--amadex-ce-text-scale, 1));
    font-weight: 500;
    line-height: 1.5;
    color: var(--amadex-se-muted);
    margin-top: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.amadex-se-teaser svg {
    width: 1.125rem;
    height: 1.125rem;
    color: var(--amadex-se-primary);
    flex-shrink: 0;
}

.amadex-se-strip {
    background: var(--amadex-se-primary-light);
    border: 1px solid rgba(14, 125, 63, 0.2);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--amadex-se-shadow);
}

.amadex-se-strip svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--amadex-se-primary);
    flex-shrink: 0;
}

.amadex-se-route-mini {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 1.25rem 0;
    font-size: calc(1rem * var(--amadex-ce-text-scale, 1));
    font-weight: 500;
    color: var(--amadex-ce-color-primary, #374151);
}

.amadex-se-route-mini .amadex-se-route-dash {
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--amadex-se-primary));
    border-radius: 1px;
}

.amadex-se-route-mini .amadex-se-route-plane {
    width: 20px;
    height: 20px;
    color: var(--amadex-se-primary);
}

.amadex-se-route-mini .amadex-se-route-dash + .amadex-se-route-dash {
    background: linear-gradient(90deg, var(--amadex-se-primary), transparent);
}

.amadex-se-micro-progress {
    font-size: 0.8125rem;
    color: var(--amadex-se-muted);
    margin-bottom: 0.75rem;
}

.amadex-se-micro-progress strong { color: var(--amadex-se-primary); }

.amadex-se-popular {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    align-items: center;
}

.amadex-se-popular > span {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--amadex-se-muted);
    margin-right: 0.25rem;
}

.amadex-se-popular-chip {
    padding: 0.6875rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #374151;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    cursor: pointer;
    transition: background var(--amadex-se-dur), border-color var(--amadex-se-dur), transform var(--amadex-se-dur), box-shadow var(--amadex-se-dur);
    white-space: nowrap;
}

.amadex-se-popular-chip:hover {
    background: var(--amadex-se-primary-light);
    border-color: rgba(14, 125, 63, 0.3);
    transform: translateY(-2px);
    box-shadow: var(--amadex-se-shadow);
}

.amadex-se-finding {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--amadex-se-primary);
    background: var(--amadex-se-primary-light);
    border-radius: 12px;
    margin-top: 1.25rem;
    opacity: 0;
    animation: amadex-se-fade-in var(--amadex-se-dur) var(--amadex-se-ease) forwards;
}

.amadex-se-finding,
.amadex-se-results-hero-wrap { display: none !important; }

.amadex-se-finding-plane {
    width: 1.5rem;
    height: 1.5rem;
    animation: amadex-se-plane-move 1.2s var(--amadex-se-ease) infinite;
}

@keyframes amadex-se-plane-move {
    0%, 100% { transform: translateX(0); }
    50%       { transform: translateX(6px); }
}

.amadex-se-results-hero {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.amadex-se-results-count {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--amadex-se-primary);
}

.amadex-se-select-strip { margin-top: 1rem; margin-bottom: 1rem; }

.amadex-se-skip-ok {
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--amadex-se-muted);
    margin-top: 0.75rem;
}

.amadex-se-protected {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--amadex-se-primary);
    margin-bottom: 1.25rem;
}

.amadex-se-protected svg { width: 1.125rem; height: 1.125rem; }

.amadex-se-field-wrap { position: relative; }

.amadex-se-field-success {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--amadex-se-primary);
    opacity: 0;
    transition: opacity var(--amadex-se-dur) var(--amadex-se-ease);
}

.amadex-se-field-wrap.is-valid .amadex-se-field-success { opacity: 1; }

.amadex-se-book-dots { position: absolute; pointer-events: none; }

.amadex-se-book-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--amadex-se-primary);
    animation: amadex-se-dot-out 0.5s var(--amadex-se-ease) forwards;
    opacity: 0.9;
}

@keyframes amadex-se-dot-out {
    to { transform: translate(var(--dx, 0), var(--dy, 0)) scale(0); opacity: 0; }
}

.amadex-se-enter .amadex-flight-detail-card,
.amadex-se-enter .amadex-review-section {
    opacity: 0;
    transform: translateY(12px);
    animation: amadex-se-card-in var(--amadex-se-dur-slow) var(--amadex-se-ease) forwards;
}

.amadex-se-enter .amadex-flight-detail-card:nth-child(1),
.amadex-se-enter .amadex-review-section:nth-child(1) { animation-delay: 0.05s; }
.amadex-se-enter .amadex-flight-detail-card:nth-child(2),
.amadex-se-enter .amadex-review-section:nth-child(2) { animation-delay: 0.1s; }
.amadex-se-enter .amadex-flight-detail-card:nth-child(3),
.amadex-se-enter .amadex-review-section:nth-child(3) { animation-delay: 0.15s; }
.amadex-se-enter .amadex-flight-detail-card:nth-child(4),
.amadex-se-enter .amadex-review-section:nth-child(4) { animation-delay: 0.2s; }
.amadex-se-enter .amadex-flight-detail-card:nth-child(5),
.amadex-se-enter .amadex-review-section:nth-child(5) { animation-delay: 0.25s; }

@keyframes amadex-se-card-in {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes amadex-se-fade-in {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes amadex-se-badge-in {
    to { opacity: 1; transform: scale(1); }
}

.amadex-se-optional {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--amadex-se-muted);
    margin-left: 0.5rem;
}

.amadex-se-recommended {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--amadex-se-primary);
    margin-left: 0.5rem;
}

.amadex-se-secure-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--amadex-se-primary);
    background: var(--amadex-se-primary-light);
    border-bottom: 1px solid rgba(14, 125, 63, 0.2);
}

.amadex-se-secure-bar svg { width: 1.125rem; height: 1.125rem; }

@media (prefers-reduced-motion: reduce) {
    .amadex-se-hero,
    .amadex-se-badge,
    .amadex-se-finding { animation: none; opacity: 1; transform: none; }
    .amadex-se-finding-plane { animation: none; }
    .amadex-se-popular-chip:hover { transform: none; }
    .amadex-se-book-dot { display: none; }
    .amadex-se-enter .amadex-flight-detail-card,
    .amadex-se-enter .amadex-review-section { animation: none; opacity: 1; transform: none; }
}

@media (max-width: 767px) {
    .amadex-se-hero  { font-size: 1.5rem; }
    .amadex-se-strip { padding: 0.875rem 1rem; font-size: 0.9375rem; }
    .amadex-se-popular { margin-bottom: 1rem; }
    .amadex-se-popular-chip { padding: 0.625rem 1rem; font-size: 0.875rem; }
    .amadex-se-results-hero { font-size: 1.25rem; }
}

:root {
    --amadex-ce-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --amadex-ce-ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --amadex-ce-ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --amadex-ce-duration-fast: 0.2s;
    --amadex-ce-duration-normal: 0.35s;
    --amadex-ce-duration-slow: 0.5s;
    --amadex-ce-primary: #0e7d3f;
    --amadex-ce-primary-hover: #0a5f2f;
    --amadex-ce-glass-bg: rgba(255, 255, 255, 0.85);
    --amadex-ce-glass-border: rgba(255, 255, 255, 0.4);
    --amadex-ce-shadow-sm: 0 2px 8px rgba(14, 125, 63, 0.08);
    --amadex-ce-shadow-md: 0 8px 24px rgba(14, 125, 63, 0.12);
    --amadex-ce-shadow-lg: 0 16px 48px rgba(14, 125, 63, 0.16);
}

@media (prefers-reduced-motion: reduce) {
    :root {
        --amadex-ce-duration-fast: 0.01ms;
        --amadex-ce-duration-normal: 0.01ms;
        --amadex-ce-duration-slow: 0.01ms;
    }
}

.amadex-btn,
button.amadex-btn,
#amadex-confirm-book,
.amadex-step-next,
[id*="amadex-confirm"],
input[type="submit"].amadex-submit {
    position: relative;
    overflow: hidden;
    transition:
        transform var(--amadex-ce-duration-fast) var(--amadex-ce-ease-out),
        box-shadow var(--amadex-ce-duration-normal) var(--amadex-ce-ease-out),
        background-color var(--amadex-ce-duration-fast) var(--amadex-ce-ease-out),
        border-color var(--amadex-ce-duration-fast) var(--amadex-ce-ease-out);
}

.amadex-btn:not(:disabled):hover,
button.amadex-btn:not(:disabled):hover,
#amadex-confirm-book:not(:disabled):hover,
.amadex-step-next:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: var(--amadex-ce-shadow-md);
}

.amadex-btn:not(:disabled):active,
button.amadex-btn:not(:disabled):active,
#amadex-confirm-book:not(:disabled):active,
.amadex-step-next:not(:disabled):active {
    transform: translateY(0) scale(0.98);
    transition-duration: var(--amadex-ce-duration-fast);
}

.amadex-btn:focus-visible,
#amadex-confirm-book:focus-visible,
.amadex-step-next:focus-visible {
    outline: 3px solid var(--amadex-ce-primary);
    outline-offset: 2px;
}

.amadex-ce-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: amadex-ce-ripple-out var(--amadex-ce-duration-slow) var(--amadex-ce-ease-out) forwards;
    pointer-events: none;
}

@keyframes amadex-ce-ripple-out {
    to { transform: scale(4); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .amadex-ce-ripple { display: none; }
}

button#amadex-modify-search-btn {
    position: unset;
}

@media (min-width: 768px) {
    #amadex-booking-page.amadex-booking-page {
        overflow-x: clip !important;
    }

    .amadex-booking-content {
        overflow: visible !important;
        align-items: start !important;
    }

    .amadex-booking-page .amadex-booking-sidebar,
    .amadex-booking-content .amadex-booking-sidebar {
        top: 20px !important;
        align-self: flex-start !important;
        max-height: calc(100vh - 40px);
        overflow-y: auto;
        overflow-x: visible;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .amadex-booking-page .amadex-booking-sidebar::-webkit-scrollbar,
    .amadex-booking-content .amadex-booking-sidebar::-webkit-scrollbar {
        display: none;
    }
}

.amadex-results-page .amadex-flight-card {
    border: none !important;
    border-radius: 18px !important;
    box-shadow:
        0 0 0 1px rgba(14, 125, 63, 0.18),
        0 2px 10px rgba(0, 0, 0, 0.06) !important;
    margin-bottom: 16px !important;
    transition: box-shadow 0.22s ease, transform 0.22s ease !important;
    background-image: none !important;
    background-color: #ffffff !important;
}

.amadex-results-page .amadex-flight-card:hover {
    box-shadow:
        0 0 0 1.5px #0E7D3F,
        0 6px 20px rgba(14, 125, 63, 0.12) !important;
    transform: translateY(-2px);
}

.amadex-results-page .amadex-boarding-pass-header {
    border-radius: 18px 18px 0 0 !important;
    padding: 9px 20px !important;
}
.amadex-booking-progress {
    background: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    width: 92% !important;
}
.amadex-results-page .amadex-boarding-pass-text {
    font-size: 13.5px !important;
    gap: 6px !important;
}

.amadex-results-page .amadex-flight-card-main {
    padding: 16px 16px 14px 16px !important;
    align-items: stretch !important;
    gap: 0 !important;
}

.amadex-results-page .amadex-flight-card-info {
    gap: 8px !important;
    padding-right: 16px;
}

.amadex-results-page .amadex-flight-legs {
    gap: 0 !important;
}

.amadex-results-page .amadex-flight-leg {
    padding: 0 20px 0 0;
    border-right: 1px solid #EFEFEF;
}

.amadex-results-page .amadex-flight-leg:last-child {
    padding: 0 0 0 20px;
    border-right: none !important;
}

.amadex-results-page .amadex-flight-card.is-oneway-card .amadex-flight-leg {
    padding: 0 !important;
    border-right: none !important;
}

.amadex-results-page .amadex-leg-title {
    font-size: 11.5px !important;
    font-weight: 600 !important;
    /* color: #9CA3AF !important; */
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    margin-bottom: 10px !important;
}

.amadex-results-page .amadex-leg-airline-logo img {
    width: 34px !important;
    height: 34px !important;
    border-radius: 8px !important;
    object-fit: contain;
    border: 1px solid #F0F0F0;
    padding: 2px;
    background: #fff;
}

.amadex-results-page .amadex-leg-meta {
    margin-top: 10px !important;
    padding-top: 8px !important;
    border-top: 1px dashed #4f4f4f;
    gap: 6px !important;
    font-size: 13px !important;
}

.amadex-results-page .amadex-flight-detail-link {
    color: #0E7D3F !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    gap: 2px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    text-decoration: none !important;
    transition: gap 0.15s ease !important;
}

.amadex-results-page .amadex-flight-detail-link:hover {
    gap: 5px !important;
}

.amadex-results-page .amadex-flight-info-footer {
    padding: 4px 0 2px !important;
}

.amadex-results-page .amadex-flight-card-price {
    border-left: 1px solid #F0F0F0;
    padding-left: 18px !important;
    gap: 8px !important;
    justify-content: center !important;
    min-width: 195px !important;
}

.amadex-results-page .amadex-flight-seats {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    padding: 4px 10px !important;
    background: #FFF0F0 !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #B80000 !important;
    border: none !important;
    width: max-content;
}

.amadex-results-page .amadex-flight-class {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #6B7280 !important;
}

.amadex-results-page .amadex-flight-card-price .amadex-flight-price {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #0B3D1F !important;
    letter-spacing: -0.3px;
}

.amadex-results-page .amadex-flight-price-wrapper .amadex-flight-price-note {
    font-size: 11px !important;
    font-weight: 400 !important;
}
.amadex-price-row.total {
    padding: 10px !important;
}

.amadex-results-page .amadex-book-now-btn {
    width: 100% !important;
    border: 2px solid #0E7D3F !important;
    color: #0E7D3F !important;
    font-weight: 700 !important;
    border-radius: 14px !important;
    padding: 11px 16px !important;
    text-align: center !important;
    text-decoration: none !important;
    font-size: 14px !important;
    background: transparent !important;
    transition: background 0.18s ease, color 0.18s ease !important;
    display: block !important;
}

.amadex-results-page .amadex-book-now-btn:hover {
    background: #0E7D3F !important;
    color: #ffffff !important;
}

.amadex-results-page a.amadex-price-box-call.amadex-call-btn {
    width: 100% !important;
    border-radius: 999px !important;
    padding: 11px 14px !important;
    gap: 8px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    background: #0E7D3F !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    transition: background 0.18s ease, box-shadow 0.18s ease !important;
    letter-spacing: 0.01em;
}

.amadex-results-page a.amadex-price-box-call.amadex-call-btn:hover {
    background: #0a6835 !important;
    box-shadow: 0 4px 14px rgba(14, 125, 63, 0.3) !important;
}

.amadex-results-page .amadex-price-box-call .amadex-phone-icon svg {
    width: 16px !important;
    height: 16px !important;
}
.amadex-flight-class-wrapper {
    justify-content: center;
}

@media (min-width: 768px) and (max-width: 1150px) {
    .amadex-results-page .amadex-flight-card-price {
    border-left: 0;
}
    .amadex-results-page .amadex-flight-card-price {
        min-width: 170px !important;
        padding-left: 14px !important;
    }

    .amadex-results-page .amadex-flight-card-price .amadex-flight-price {
        font-size: 20px !important;
    }

    .amadex-results-page .amadex-book-now-btn {
        font-size: 13px !important;
        padding: 9px 12px !important;
    }

    .amadex-results-page a.amadex-price-box-call.amadex-call-btn {
        font-size: 12px !important;
        padding: 9px 10px !important;
    }

    .amadex-results-page .amadex-flight-leg {
        padding: 0 14px 0 0 !important;
    }

    .amadex-results-page .amadex-flight-leg:last-child {
        padding: 0 0 0 14px !important;
    }
}

.amadex-mobile-sort-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid #E6E6E6;
  padding: 12px 16px;
  z-index: 99;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
}

.amadex-mobile-sort-bar-content {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
}

.amadex-mobile-filter-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  cursor: pointer;
  color: #0E7D3F;
  border: 1.5px solid #e0e0e0;
  border-radius: 999px;
  padding: 4px;
  background: #ffffff;
  transition: border-color 0.18s, color 0.18s;
  box-sizing: content-box;
}

.amadex-mobile-filter-icon:hover {
  border-color: #0E7D3F;
  color: #0E7D3F;
}

.amadex-mobile-sort-options {
  display: flex;
  gap: 8px;
  flex: 1;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.amadex-mobile-sort-options::-webkit-scrollbar {
  display: none;
}

.amadex-mobile-sort-btn {
  padding: 7px 16px;
  border-radius: 999px;
  border: 1.5px solid #e0e0e0;
  background: #f5f5f5;
  color: #333333;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.18s, color 0.18s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
}

.amadex-mobile-sort-btn:hover:not(.active) {
  border-color: #0E7D3F;
  color: #0E7D3F;
}

.amadex-mobile-sort-btn.active {
  border-color: #0E7D3F;
  color: #0E7D3F;
  font-weight: 600;
  background: #EEF9F2;
}

@media (max-width: 767px) {
    .amadex-results-page .amadex-flight-legs {
    gap: 6rem !important;
}
  .amadex-mobile-sort-bar {
    display: block !important;
  }
}

@media (max-width: 480px) {
  .amadex-mobile-sort-bar {
    padding: 10px 12px;
  }
  .amadex-mobile-sort-btn {
    padding: 7px 12px;
    font-size: 12px;
  }
  .amadex-mobile-sort-options {
    gap: 6px;
  }
}

.amadex-mobile-filter-overlay {
    display: none;
    position: fixed;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.5) !important;
    z-index: 9998 !important;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.amadex-mobile-filter-overlay.active {
    display: block !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.amadex-mobile-filter-modal {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: #ffffff !important;
    border-radius: 24px 24px 0 0 !important;
    max-height: 80vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    z-index: 9999 !important;
    transform: translateY(100%) !important;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    padding: 0 0 80px 0 !important;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.18) !important;
    box-sizing: border-box !important;
    will-change: transform;
    -webkit-overflow-scrolling: touch;
}

.amadex-mobile-filter-modal.active {
    transform: translateY(0) !important;
}

.amadex-mobile-filter-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 18px 20px 14px !important;
    position: sticky !important;
    top: 0 !important;
    background: #ffffff !important;
    z-index: 10 !important;
    border-bottom: 1px solid #F0F0F0 !important;
    margin-bottom: 0 !important;
}

.amadex-mobile-filter-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin: 0 !important;
}

.amadex-mobile-filter-count {
    font-size: 13px !important;
    color: #6B7280 !important;
    margin-top: 2px !important;
}

.amadex-mobile-filter-close {
    width: 32px !important;
    height: 32px !important;
    border: none !important;
    background: #F3F4F6 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    transition: background 0.15s ease !important;
}

.amadex-mobile-filter-close:hover {
    background: #E5E7EB !important;
}

.amadex-mobile-filter-content {
    padding: 16px 20px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.amadex-mobile-filter-apply {
    position: sticky !important;
    bottom: -80px !important;
    left: 0 !important;
    right: 0 !important;
    background: #ffffff !important;
    padding: 14px 20px !important;
    border-top: 1px solid #F0F0F0 !important;
    z-index: 11 !important;
}

button.amadex-mobile-filter-apply-btn {
    width: 100% !important;
    background: #0E7D3F !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 14px 24px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: background 0.18s ease !important;
}

button.amadex-mobile-filter-apply-btn:hover {
    background: #0a6835 !important;
}

body.amadex-filter-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    top: 0 !important;
}

@media (max-width: 768px) {
    .amadex-mobile-filter-modal .amadex-filter-group {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        padding: 16px 0 !important;
        border-top: 1px solid #F0F0F0 !important;
    }

    .amadex-mobile-filter-modal .amadex-filter-group h4 {
        font-size: 15px !important;
        font-weight: 700 !important;
        color: #111827 !important;
        margin: 0 0 12px !important;
    }

    .amadex-mobile-filter-modal .amadex-filter-options {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .amadex-mobile-filter-modal .amadex-filter-chip-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .amadex-mobile-filter-modal .amadex-filter-time-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .amadex-mobile-filter-modal .amadex-price-range,
    .amadex-mobile-filter-modal .amadex-duration-range,
    .amadex-mobile-filter-modal .amadex-price-slider,
    .amadex-mobile-filter-modal .amadex-duration-slider {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .amadex-mobile-filter-modal input[type="checkbox"] {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .amadex-mobile-filter-modal .amadex-switch {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

@media (max-width: 1023px) {
    .amadex-baggage-info-section {
    margin: 20px 10px !important;
}
div#amadex-mobile-route-title {
    color: #fff;
    font-size: 12px;
}
    .amadex-results-page {
        padding-top: 0 !important;
    }

.amadex-results-page .amadex-route-header {
    position: sticky !important;
    top: 60px !important;
    left: 0 !important;
    right: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 18px !important;
    border-bottom: 1px solid #E8E8E8 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
    margin-bottom: 0 !important;
    will-change: transform;
    flex-direction: column;
}

    .amadex-results-page .amadex-route-info {
        display: flex !important;
        flex-direction: column !important;
        gap: 2px !important;
        flex: 1 !important;
        min-width: 0 !important;
    }

 .amadex-results-page .amadex-route-details, .amadex-results-page #amadex-mobile-route-details {
    font-size: 11px !important;
    color: #fff !important;
    font-weight: 400 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.3 !important;
}
    .amadex-results-page .amadex-route-edit,
    .amadex-results-page #amadex-mobile-edit-search {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        border-radius: 50% !important;
        border: 1.5px solid #E0E0E0 !important;
        background: #ffffff !important;
        color: #0E7D3F !important;
        cursor: pointer !important;
        flex-shrink: 0 !important;
        margin-left: 12px !important;
        transition: background 0.18s ease, border-color 0.18s ease !important;
        -webkit-tap-highlight-color: transparent !important;
    }

    .amadex-results-page .amadex-route-edit:hover,
    .amadex-results-page #amadex-mobile-edit-search:hover,
    .amadex-results-page .amadex-route-edit.active,
    .amadex-results-page #amadex-mobile-edit-search.active {
        background: #0E7D3F !important;
        border-color: #0E7D3F !important;
        color: #ffffff !important;
    }

    .amadex-results-page .amadex-route-edit svg,
    .amadex-results-page #amadex-mobile-edit-search svg {
        width: 16px !important;
        height: 16px !important;
        stroke: currentColor !important;
        flex-shrink: 0 !important;
    }

    .amadex-results-page .amadex-search-bar-wrapper {
        display: none !important;
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 199 !important;
        background: #EEF9F2 !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
        max-height: calc(100vh - 57px) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
.amadex-results-page .desktop-search-bar {
    display: none;
}
    .amadex-results-page .amadex-search-bar-wrapper.amadex-search-bar-active1 {
        display: block !important;
    }

    .amadex-results-page .amadex-results-content-wrapper {
        margin-top: 0 !important;
    }

    .amadex-results-page .amadex-results-header-mobile {
        padding: 10px 16px 6px !important;
        background: #EEF9F2 !important;
        display: block !important;
    }
.m-shortcode__container.container {
    padding: 0;
}
    .amadex-results-page .amadex-results-count-mobile {
        font-size: 14px !important;
        color: #374151 !important;
        font-weight: 500 !important;
        display: none;
    }

    .amadex-results-page .amadex-results-count-mobile strong {
        color: #0E7D3F !important;
        font-weight: 700 !important;
    }

    .amadex-mobile-sort-bar {
        bottom: 0 !important;
        z-index: 99 !important;
    }

}

@media (max-width: 768px) {
    .amadex-search-modern .amadex-search-fields {
    width: 100%!important;
}
    .amadex-flight-class-wrapper {
    justify-content: flex-start;
}
    .amadex-search-bar-header-mobile {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 14px 16px 10px !important;
        border-bottom: 1px solid #D1E8D8 !important;
        background: #EEF9F2 !important;
    }

    .amadex-search-bar-title {
        font-size: 16px !important;
        font-weight: 700 !important;
        color: #111827 !important;
    }

    button.amadex-search-bar-close {
        background: none !important;
        border: none !important;
        width: 32px !important;
        height: 32px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        color: #6B7280 !important;
        border-radius: 50% !important;
        -webkit-tap-highlight-color: transparent !important;
    }
}

.amadex-flight-card-main {
    background: #fff;
}

.amadex-confirmation-content {
    display: flex;
    gap: 30px;
}

.amadex-confirmation-main {
    width: 60%;
}

aside.amadex-confirmation-sidebar {
    width: 40%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.amadex-greeting-left {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 23px;
}

.amadex-greeting-text {
    margin-left: 15px;
}

p.amadex-greeting-message {
    font-size: 12px;
}

h1.amadex-greeting-title {
    font-weight: 600;
    color: #0e7d3f;
    font-size: 18px;
}

.amadex-booking-section {
    padding: 20px 10px;
    margin-bottom: 0;
    border: 1px solid #fff;
    border-radius: 10px;
}

.amadex-confirmation-greeting {
    border-radius: 10px;
}
.amadex-booking-section {
    padding: 20px 10px;
    margin-bottom: 0;
}

p.amadex-status-text strong {
    color: #000;
}

strong.amadex-booking-id-value {
    color: #000;
}

.amadex-passenger-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    border-radius: 12px;
    overflow: hidden;
}

.amadex-passenger-table,
.amadex-passenger-table tbody,
.amadex-passenger-table tr,
.amadex-passenger-table td {
    display: block;
    width: 100%;
}


.amadex-passenger-table thead {
    display: none;
}


.amadex-passenger-table tr {
    border-radius: 14px;
    margin-bottom: 16px;
}
.amadex-segment-travel-class-right span {
    font-size: 14px;
}

.amadex-passenger-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 14px;
    border: none;
}
section.amadex-card.amadex-passenger-details-card {
    margin: 0 10px !important;
}

.amadex-passenger-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #666;
    font-size: 12px;
    text-transform: uppercase;
}

.amadex-passenger-table td {
    color: #222;
    font-weight: 500;
}

td[data-label="Name"] {
    font-size: 16px;
    font-weight: 600;
    color: #111;
}

td[data-label="Seat Selection"] {
    color: #1a7f37;
    font-weight: 600;
}

td[data-label="Contact"] {
    color: #777;
    font-size: 13px;
}

.amadex-passenger-table td:not(:last-child) {
    border-bottom: 1px dashed #0e7b3e;
}

.amadex-next-steps li {
    font-size: 14px;
}

.amadex-next-steps li::before {
    top: 8px !important;
}

.amadex-booking-id {
    color: #000;
    font-size: 15px;
    margin-bottom: 12px;
}

span.amadex-segment-type-label {
    font-size: 14px;
    color: #0e7d3f;
    font-weight: 700;
}

span.amadex-segment-date-label {
    font-size: 14px;
    color: #0e7d3f;
    font-weight: 700;
}

.amadex-support-illustration {
    display: none;
}
.amadex-support-header p {
    font-size: 15px;
}

.amadex-segment-airline-info {
    width: 100%;
    /* justify-content: space-between; */
}

.amadex-greeting-text {
    margin-left: 15px;
    width: 100%;
}

.amadex-greeting-left svg {
    display: none;
}

.amadex-greeting-icons svg {
    display: block !important;
}

.amadex-timeline-line-vertical {
    width: 100px;
    height: 2px;
    background: #8b8ca4;
    position: relative;
    border-radius: 999px;
}

a#amadex-back-to-results-confirmation {
    margin-bottom: 24px;
}

@media (min-width: 1025px) {
    .desktop-search-bar {
        display: block !important;
        width: 100%;
    }
    .amadex-search-bar-wrapper {
        display: block !important;
        position: static !important;
    }
    .amadex-search-bar-header-mobile {
        display: none !important;
    }
}

@media (max-width: 1024px) {
    /* .desktop-search-bar {
        display: none !important;
    } */
}

@media (min-width: 768px) and (max-width: 1024px) {

    .desktop-search-bar {
        display: block !important;
    }

    .amadex-results-page .desktop-search-bar .amadex-search-fields,
    .amadex-results-page .amadex-search-summary-modern .amadex-search-fields {
        background: transparent !important;
        flex-direction: column !important;
        gap: 10px !important;
    }

    .amadex-results-page .desktop-search-bar .amadex-field-input-wrap,
    .amadex-results-page .amadex-search-summary-modern .amadex-field-input-wrap {
        background: #fff !important;
        border-radius: 10px !important;
        height: 5rem !important;
        padding: 12px !important;
    }

    .amadex-results-page .desktop-search-bar .amadex-travellers-value,
    .amadex-results-page .amadex-search-summary-modern .amadex-travellers-value {
        justify-content: space-between !important;
        align-items: center !important;
        background: #fff !important;
        border-radius: 10px !important;
        /* padding: 12px 14px !important; */
    }

    .amadex-results-page .desktop-search-bar .submit-btn-amadex,
    .amadex-results-page .amadex-search-summary-modern .submit-btn-amadex {
        width: 100% !important;
    }

    .amadex-results-page .desktop-search-bar button#amadex-modify-search-btn,
    .amadex-results-page .amadex-search-summary-modern button#amadex-modify-search-btn {
        border-radius: 10px !important;
    }

    /* .amadex-results-page .desktop-search-bar button#swap-locations,
    .amadex-results-page .amadex-search-summary-modern button#swap-locations {
        position: absolute !important;
        top: 10rem !important;
        right: 5px !important;
    } */

    .amadex-results-page .desktop-search-bar div#dateID,
    .amadex-results-page .desktop-search-bar div#return-field {
        border: 0 !important;
    }

    /* .amadex-results-page .desktop-search-bar .amadex-modern-field,
    .amadex-results-page .desktop-search-bar #origin-field,
    .amadex-results-page .desktop-search-bar #destination-field,
    .amadex-results-page .desktop-search-bar #departure-field,
    .amadex-results-page .desktop-search-bar #return-field,
    .amadex-results-page .desktop-search-bar #travellers-field {
        padding: 0 !important;
    } */
}

.amadex-search-modern .amadex-trip-option input[type="radio"]:checked + .amadex-trip-label {
    background: #ffffff00 !important;
}

/* button#amadex-modify-search-btn {
    background: #0E7D3F !important;
} */
button#amadex-modify-search-btn {
    background: #0E7D3F !important;
    height: 10rem;
    border-radius: 10px;
}
h4.amadex-itinerary-label {
    padding: 12px 8px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background: #0e7d3f;
    border-radius: 10px;
    margin-bottom: 25px;
    margin-top: 25px;
}
/* ========================================================== */
/* New april 1 2026 */
/* ========================================================== */
.vsb-wrap {
    width: 100%;
    font-family: inherit;
}

/* ---------- Nav tabs ---------- */
/* .vsb-nav {
    display: flex;
    gap: 4px;
    width: fit-content;
    padding: 10px 15px;
    background: #fff;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
} */

.vsb-nav {
    display: flex;
    gap: 4px;
    width: fit-content;
    background: #dfdfdf;
    border-radius: 20px;
}
.visit-main-nav {
    background: #fff;
    width: fit-content;
    padding: 10px 15px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.vsb-nav__option {
    display: flex;
}

.vsb-nav__option input[type="radio"] {
    display: none;
}

.vsb-nav__label {
    font-size: 14px !important;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    padding: 7px 16px;
    border-radius: 20px;
    background: transparent;
    border: 1px solid transparent;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    user-select: none;
    line-height: 1.4;
}

.vsb-nav__option input:checked + .vsb-nav__label {
    background: #0e7d3f;
    color: #fff;
    border-color: #0e7d3f;
}

.vsb-nav__option input:not(:checked) + .vsb-nav__label:hover {
    background: #f0faf4;
    color: #0e7d3f;
}

/* ---------- Search card ---------- */
.vsb-card {
    background: #fff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    padding: 0px 15px 0 0;
    border-top-left-radius: 0 !important;
}

.vsb-card input {
    padding: 0 !important;
    min-height: fit-content !important;
}

button.vsb-search-btn {
    height: 10rem;
    border-radius: 10px;
}
/* ---------- Fields row ---------- */
.vsb-fields {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    padding: 10px 15px;
    border: 1px solid #00000030;
    margin: 15px;
    border-radius: 10px;
}
.vsb-fields input {
    border: 0 !important;
}
/* ---------- Individual field ---------- */
.vsb-field {
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: background 0.15s, box-shadow 0.15s;
    flex: 1;
    min-width: 0;
}

/* Vertical dividers via ::before */
/* .vsb-field + .vsb-field::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18%;
    height: 64%;
    width: 1px;
    background: rgba(0, 0, 0, 0.12);
    transition: opacity 0.15s;
    pointer-events: none;
} */

/* Hover state — inset shadow, no layout shift */
/* .vsb-field:hover {
    background: #f5fbf7;
    box-shadow: inset 0 0 0 2px #0e7d3f;
    border-radius: 10px;
    z-index: 2;
} */

/* Hide dividers adjacent to hovered field */
.vsb-field:hover::before,
.vsb-field:hover + .vsb-field::before,
.vsb-field:hover + .vsb-swap + .vsb-field::before {
    opacity: 0;
}

/* ---------- Field label ---------- */
.vsb-field__label {
    font-size: 11px;
    font-weight: 700;
    color: #0e7d3f;
    margin-bottom: 3px;
    white-space: nowrap;
    letter-spacing: 0.03em;
    display: block;
}

/* ---------- Field main value ---------- */
.vsb-field__value {
    font-size: 14px;
    font-weight: 700;
    color: #111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* Reset for <input> */
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    padding: 0;
    margin: 0;
    cursor: pointer;
    font-family: inherit;
}

.vsb-field__value::placeholder {
    color: #bbb;
    font-weight: 400;
}

/* ---------- Field sub text ---------- */
.vsb-field__sub {
    font-size: 11px;
    color: #888;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

/* ---------- Hidden date input ---------- */
.vsb-date-hidden {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* ---------- Swap button ---------- */
.vsb-swap {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 4px;
    flex-shrink: 0;
    z-index: 3;
    transition: transform 0.25s ease;
}

.vsb-swap:hover {
    transform: rotate(180deg);
}

/* ---------- Field width overrides ---------- */
.vsb-field--origin,
.vsb-field--destination {
    flex: 1.3;
}

.vsb-field--departure,
.vsb-field--return {
    flex: 1;
}

.vsb-field--travellers {
    flex: 1.2;
    min-width: 130px;
}

/* ---------- Travellers row layout ---------- */
.vsb-travellers-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
}

.vsb-chevron {
    flex-shrink: 0;
}

/* ---------- Search button ---------- */
.vsb-search-btn {
    background: #0e7d3f;
    color: #fff;
    border: none;
    border-radius: 0 12px 12px 0;
    padding: 0 28px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    min-width: 120px;
    transition: background 0.15s;
    font-family: inherit;
    letter-spacing: 0.01em;
}

.vsb-search-btn:hover {
    background: #0a6130;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .vsb-card {
        flex-direction: column;
        border-radius: 14px;
    }

    .vsb-fields {
        flex-wrap: wrap;
        margin-bottom: 8px;
    }

    .vsb-field {
        flex: 1 1 45%;
        /* border-bottom: 1px solid rgba(0, 0, 0, 0.08); */
    }

    .vsb-field + .vsb-field::before {
        display: none;
    }
/* .vsb-card {
    padding: 0 !important;
} */
    .vsb-search-btn {
        border-radius: 0 0 12px 12px;
        width: 100%;
        min-width: unset;
        justify-content: center;
        padding: 16px;
    }
}

.dst-wrapper.--banner>.dst-wrapper__inner {
    max-width: 120rem !important;
}

/* =============================================
   ADD-ONS REDESIGN - April 2026
   ============================================= */
#amadex-addons-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.amadex-addon-card-new {
    background: linear-gradient(
154deg, #FFE2B3 0%, #ffe2b3bd 60%, #FFD187 100%);
    border: 1.5px solid #F6C96B;
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    cursor: pointer;
}

.amadex-addon-card-new:hover {
    box-shadow: 0 6px 20px rgba(200, 121, 10, 0.18);
    transform: translateY(-2px);
}

.amadex-addon-card-new.is-selected {
    border-color: #0e7d3f;
    background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
}

/* Header row */
.amadex-addon-card-new__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1.5px dashed #F6C96B;
}

.amadex-addon-card-new.is-selected .amadex-addon-card-new__header {
    border-bottom-color: #86efac;
}

.amadex-addon-card-new__icon {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(200, 121, 10, 0.15);
}

.amadex-addon-card-new.is-selected .amadex-addon-card-new__icon svg {
    stroke: #0e7d3f;
}

.amadex-addon-card-new__header-text {
    flex: 1;
    min-width: 0;
}

.amadex-addon-card-new__title {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 2px 0;
}

.amadex-addon-card-new__subtitle {
    font-size: 12px;
    color: #92400e;
    margin: 0;
    font-weight: 500;
}

.amadex-addon-card-new.is-selected .amadex-addon-card-new__subtitle {
    color: #166534;
}

/* ADD button */
.amadex-addon-card-new__btn {
    flex-shrink: 0;
    background: #0e7d3f;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s ease, transform 0.15s ease;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.amadex-addon-card-new__btn:hover {
    background: #0a6130;
    transform: scale(1.04);
}

.amadex-addon-card-new__btn.is-added {
    background: #374151;
}


/* Body row */
.amadex-addon-card-new__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 20px;
}

.amadex-addon-card-new__desc {
    flex: 1;
    min-width: 0;
}

.amadex-addon-card-new__desc p {
    font-size: 13px;
    color: #374151;
    margin: 0;
    line-height: 1.5;
}

.amadex-addon-card-new__price-tag {
    font-size: 22px;
    font-weight: 800;
    color: #0e7d3f;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Mobile */
@media (max-width: 768px) {
    .amadex-addon-card-new__header {
        flex-wrap: wrap;
        gap: 10px;
    }
    div#origin-suggestions {
    left: -24px;
}
    .amadex-addon-card-new__btn {
        width: 100%;
        justify-content: center;
    }
    .amadex-addon-card-new__body {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* Search bar validation */
.amadex-field-error .amadex-field-input-wrap {
    border: 1.5px solid #e53935 !important;
    border-radius: 8px;
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.12) !important;
    animation: amadex-shake 0.4s ease;
}

.amadex-field-error .amadex-field-value {
    color: #e53935;
}

.amadex-field-error-msg {
    display: block;
    color: #e53935;
    font-size: 11px;
    font-weight: 600;
    margin-top: 4px;
    padding: 0 2px;
    animation: fadeInDown 0.25s ease;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes amadex-shake {
    0%, 100% { transform: translateX(0); }
    20%       { transform: translateX(-6px); }
    40%       { transform: translateX(6px); }
    60%       { transform: translateX(-4px); }
    80%       { transform: translateX(4px); }
}

/* VSB Trip Type Active State */
.amadex-trip-label.is-active {
    color: #0e7d3f;
    font-weight: 700;
    border-bottom: 2px solid #0e7d3f;
}

/* VSB Return field disabled state */
.vsb-field--return.field-disabled,
.vsb-field--return.subtle-disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* ── VSB Multi-City ── */
/* .vsb-add-city-btn {
    display: block;
    margin: 12px auto 0;
    background: transparent;
    border: 2px dashed #0e7d3f;
    color: #0e7d3f;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 28px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
} */


.vsb-add-city-btn {
    display: block;
    margin: 12px auto 0;
    background: #ffffff;
    border: 0;
    color: #0e7d3f;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.vsb-add-city-btn:hover {
    background: #0e7d3f;
    color: #fff;
}
.vsb-segment-card {
    margin-top: 4px;
    border-radius: 10px !important;
}


form#amadex-modern-form-results span#origin-description {
    display: none;
}

form#amadex-modern-form-results span#destination-description {
    display: none;
}
form#amadex-modern-form-results span#departure-day {
    display: none;
}
form#amadex-modern-form-results div#cabin-display {
    display: none;
}
.vsb-remove-btn {
    background: transparent;
    border: 1px solid #e53935;
    color: #e53935;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
}
.vsb-remove-btn:hover {
    background: #e53935;
    color: #fff;
}
.amadex-trip-label.is-active {
    color: #0e7d3f;
    font-weight: 700;
    border-bottom: 2px solid #0e7d3f;
}
.vsb-field--return.field-disabled,
.vsb-field--return.subtle-disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* Passenger limit messages */
.amadex-pax-limit-msg {
    margin: 8px 0 4px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}
.amadex-pax-limit-msg--total {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffc107;
}
.amadex-pax-limit-msg--infants {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffc107;
}

form#amadex-modern-form {
    margin-bottom: 0;
}

/* VSB Search Bar Loader */
.vsb-loader-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    width: 100%;
}

.vsb-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;

    /* Price Breakdown Toggle */
.amadex-price-row--expandable .amadex-price-row-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.amadex-fare-breakdown-toggle {
    background: none;
    border: 1px solid #0e7d3f;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    color: #0e7d3f;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.amadex-fare-breakdown-toggle.is-open {
    transform: rotate(180deg);
}

.amadex-fare-breakdown {
    background: #f8fdf9;
    border-radius: 6px;
    padding: 8px 12px;
    margin: -6px 0 8px;
    border: 1px solid #e8f5ee;
}

.amadex-fare-breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    font-size: 13px;
    color: #555;
    border-bottom: 1px dashed #e8f5ee;
}

.amadex-fare-breakdown-row:last-child {
    border-bottom: none;
}
}

.vsb-loader__spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e8f5ee;
    border-top: 3px solid #0e7d3f;
    border-radius: 50%;
    animation: vsb-spin 0.8s linear infinite;
}

.vsb-loader__text {
    font-size: 13px;
    color: #0e7d3f;
    font-weight: 500;
    letter-spacing: 0.3px;
}

@keyframes vsb-spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hide vsb-wrap until ready */
.vsb-wrap.vsb-loading {
    display: none !important;
}

/* Price Breakdown Toggle */
.amadex-price-row--expandable .amadex-price-row-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.amadex-fare-breakdown-toggle {
    background: none;
    border: 1px solid #0e7d3f;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    color: #0e7d3f;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.amadex-fare-breakdown-toggle.is-open {
    transform: rotate(180deg);
}

.amadex-fare-breakdown {
    background: #f8fdf9;
    border-radius: 6px;
    padding: 8px 12px;
    margin: -6px 0 8px;
    border: 1px solid #e8f5ee;
}

.amadex-fare-breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    font-size: 13px;
    color: #555;
    border-bottom: 1px dashed #e8f5ee;
}

.amadex-fare-breakdown-row:last-child {
    border-bottom: none;
}

/* Fare breakdown group header row */
.amadex-fare-breakdown-row--group {
    font-weight: 600;
    color: #333;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid #d4edda;
}
.amadex-fare-breakdown-row--group:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}
.amadex-fare-breakdown-row--group em {
    font-weight: 400;
    font-style: normal;
    font-size: 11px;
    color: #777;
    margin-left: 4px;
}

/* Individual passenger rows — indented */
.amadex-fare-breakdown-row--individual {
    padding-left: 14px;
    font-size: 12px;
    color: #666;
    border-bottom: 1px dashed #edf7f0;
}
.amadex-fare-breakdown-row--individual:last-child {
    border-bottom: none;
}

/* ============================================================================================= */
/* 8/4/2026 */
/* ============================================================================================= */


/* Mobile (small devices) */
@media (max-width: 480px) {
    .vsb-fields input {
    min-height: unset !important;
}
  #travellers-field .amadex-travellers-trigger {
    gap: 0 !important;
    padding: 0 !important;
}
    button#amadex-modify-search-btn {
        height: unset;
    }
}

/* Mobile (large / general) */
@media (max-width: 767px) {
    .submit-btn-amadex {
    max-width: 100% !important;
    margin-bottom: 14px !important;
    width: 100%;
}
    .vsb-fields input {
    min-height: unset !important;
}
  #travellers-field .amadex-travellers-trigger {
    gap: 0 !important;
    padding: 0 !important;
}
    button#amadex-modify-search-btn {
        height: unset;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
  .vsb-fields input {
    min-height: unset !important;
}
#travellers-field .amadex-travellers-trigger {
    gap: 0 !important;
    padding: 0 !important;
}
.submit-btn-amadex {
    max-width: 100% !important;
    margin-bottom: 0 !important;
    width: 100% !important;
}
    button#amadex-modify-search-btn {
        height: unset;
        position: unset !important;
    }
}

/* Laptop */
@media (min-width: 1024px) and (max-width: 1279px) {
        button#amadex-modify-search-btn {
    height: unset;
    border-radius: 10px;
    width: 100%;
    margin-bottom: 15px;
}
    .vsb-fields input {
    min-height: unset !important;
}
  #travellers-field .amadex-travellers-trigger {
    gap: 0 !important;
    padding: 0 !important;
}
.submit-btn-amadex {
    max-width: 100% !important;
    margin-bottom: 14px !important;
    width: 100%;
}
    button#amadex-modify-search-btn {
        height: unset;
        position: unset !important;
    }
}

/* Desktop */
@media (min-width: 1280px) {
  
}

/* ============================================================================================= */
/* 9/4/2026 */
/* ============================================================================================= */

/* Mobile (small devices) */
@media (max-width: 480px) {

}

/* Mobile (large / general) */
@media (max-width: 767px) {

}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {

}

/* Laptop */
@media (min-width: 1023px) {
    form#amadex-modern-form-results span#return-day {
    display: none !important;
}
    .vsb-segment-remove {
    display: flex;
    align-items: center;
    padding: 0 8px;
    width: 22%;
}
    button.amadex-remove-segment-btn.vsb-remove-btn {
    width: 100%;
    background: #9b0101 !important;
    text-align: center;
    display: flex;
    justify-content: center;
    color: #fff;
    font-weight: 600;
}
    .vsb-segment-card .visit-location {
    width: 45%;
}
.amadex-results-page .amadex-route-header {
    left: 0 !important;
    right: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 18px !important;
    margin-bottom: 0 !important;
    will-change: transform;
    flex-direction: column;
    background: none;
    position: relative;
    z-index: 9;
}

div#amadex-results-page .vsb-fields {
    padding: 5px 15px;
    margin: 8px 10px;
}

div#amadex-results-page .visit-main-nav {
    padding: 5px 15px 0;
}

div#amadex-results-page form#amadex-modern-form-results {
    padding: 0 !important;
    background: none !important;
}
div#amadex-results-page button#amadex-modify-search-btn {
    background: #0E7D3F !important;
    height: 5rem;
    border-radius: 10px;
}
div#amadex-results-page .amadex-results-page .amadex-modern-form {
    box-shadow: unset;
    background: none;
}
.amadex-route-header {
    display: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    padding: 12px 16px;
    background: var(--amadex-white);
    border-bottom-width: 0;
    border-bottom-color: transparent;
    border-bottom-style: none;
    margin-bottom: 12px;
}

.outer-route {
    width: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    background: #0e7d3f;
    padding: 10px 20px;
    border-radius: 80px;
}

.amadex-results-page .amadex-route-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    flex: 1 !important;
    min-width: 0 !important;
}

div#amadex-mobile-route-title {
    color: #fff;
    font-size: 12px;
}

.amadex-results-page .amadex-route-details, .amadex-results-page #amadex-mobile-route-details {
    font-size: 11px !important;
    color: #fff !important;
    font-weight: 400 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.3 !important;
}

.amadex-results-page .amadex-route-edit, .amadex-results-page #amadex-mobile-edit-search {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    border-radius: 50% !important;
    border: 1.5px solid #E0E0E0 !important;
    background: #ffffff !important;
    color: #0E7D3F !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    margin-left: 12px !important;
    transition: background 0.18s ease, border-color 0.18s ease !important;
    -webkit-tap-highlight-color: transparent !important;
}

.amadex-search-bar-container {
    max-width: 1500px !important;
    padding: 10px 20px;
    width: 1500px;
}

.vsb-field.vsb-field--destination {
    margin-left: 22px;
}

.amadex-search-bar-container {
    max-width: 1500px;
    padding: 10px 20px;
}

.visit-location {
    width: 50%;
}

.amadex-results-page .amadex-swap-button {
    width: unset !important;
}

.vsb-field.vsb-field--destination {
    margin-left: 22px;
}

.outer-route {
    display: none;
}
}

  .flight-booking-modify {
    display: flex;
}

div#amadex-selected-seats-summary {
    width: 50%;
}

li.amadex-seat-summary-route {
    display: block;
}
/* ── Split layout ── */
.amadex-seat-split-layout {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    width: 100%;
}

/* LEFT panel */
.amadex-seat-passenger-panel {
    width: 200px;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    position: sticky;
    top: 100px;
}

.amadex-pax-panel-list {
    display: flex;
    flex-direction: column;
}

.amadex-pax-panel-item {
    padding: 14px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s;
}

.amadex-pax-panel-item:hover { background: #f8fafc; }
.amadex-pax-panel-item.active { background: #e6f4ed; }

.amadex-pax-panel-name { margin-bottom: 4px; }
.amadex-pax-panel-label { font-size: 12px; color: #3e3e3e; display: block; }
.amadex-pax-panel-fullname { font-size: 14px; color: #000818; display: block; font-weight: 600;}

.amadex-pax-panel-seat { font-size: 12px; }
.amadex-pax-seat-selected {
    color: #0e7d3f;
    font-weight: 700;
    background: #0e7d3f38;
    width: 25%;
    display: flex;
    justify-content: center;
    border-radius: 5px;
}
.amadex-pax-seat-empty { color: #0e7d3f; font-size: 12px; }

/* RIGHT panel */
.amadex-seat-map-panel {
    flex: 1;
    min-width: 0;
}
.amadex-seat.available .amadex-seat-number {
    opacity: 1 !important;
}
.amadex-seat.available .amadex-seat-price {
    display: none;
}
/* Mobile: stack vertically */
@media (max-width: 768px) {
    .amadex-seat-split-layout { flex-direction: column; }
    .amadex-seat-passenger-panel { width: 100%; position: static; }
    .amadex-pax-panel-list { flex-direction: row; overflow: auto; }
    .amadex-pax-panel-item { flex: 1; min-width: 120px; border-bottom: none; border-right: 1px solid #f1f5f9; }
}


/* Seat Tooltip Styles */
.amadex-seat {
    position: relative;
    cursor: pointer;
}

/* Tooltip container */
.amadex-seat-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #1f2937;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: normal;
    white-space: nowrap;
    z-index: 1000;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    margin-bottom: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Tooltip arrow */
.amadex-seat-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #1f2937 transparent transparent transparent;
}

/* Show tooltip on hover */
.amadex-seat:hover .amadex-seat-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Tooltip for window seats */
.amadex-seat.window .amadex-seat-tooltip {
    background: #1f2937;
}

.amadex-seat.window .amadex-seat-tooltip::after {
    border-color: #0e7d3f transparent transparent transparent;
}

/* Tooltip for aisle seats */
.amadex-seat.aisle .amadex-seat-tooltip {
    background: #1f2937;
}

.amadex-seat.aisle .amadex-seat-tooltip::after {
    border-color: #f97316 transparent transparent transparent;
}

/* Tooltip for selected seats */
.amadex-seat.selected .amadex-seat-tooltip {
    background: #1f2937;
}

.amadex-seat.selected .amadex-seat-tooltip::after {
    border-color: #059669 transparent transparent transparent;
}

/* Tooltip for unavailable seats */
.amadex-seat.unavailable .amadex-seat-tooltip {
    background: #1f2937;
}

.amadex-seat.unavailable .amadex-seat-tooltip::after {
    border-color: #6b7280 transparent transparent transparent;
}

/* Tooltip content layout */
.amadex-seat-tooltip-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.amadex-seat-tooltip-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.amadex-seat-tooltip-label {
    font-weight: 600;
    color: #9ca3af;
}

.amadex-seat-tooltip-value {
    font-weight: 500;
    color: #ffffff;
}

.amadex-seat-tooltip-price {
    color: #fbbf24;
    font-weight: 700;
}

/* Mobile touch support */
@media (max-width: 768px) {
    .amadex-seat-tooltip {
        white-space: normal;
        min-width: 140px;
        font-size: 11px;
    }
}


/* Review details */

/* Review & Confirm Dropdown Styles */
.amadex-review-dropdown {
    margin-bottom: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.amadex-review-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #edf8f1 !important;
    cursor: pointer;
    transition: background 0.2s ease;
}

.amadex-review-dropdown-header:hover {
    background: #edf8f1;
}

.amadex-review-dropdown-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
}

.amadex-review-dropdown-chevron {
    transition: transform 0.3s ease;
    color: #6b7280;
}

.amadex-review-dropdown-chevron svg {
    width: 20px;
    height: 20px;
}

.amadex-review-dropdown-chevron.open {
    transform: rotate(180deg);
}

.amadex-review-dropdown-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.amadex-review-dropdown-content.open {
    max-height: 1000px;
    padding: 15px 10px;
    border-top: 1px solid #e5e7eb;
}

/* Review sections inside dropdown */
.amadex-review-dropdown-section {
    margin-bottom: 24px;
}

.amadex-review-dropdown-section:last-child {
    margin-bottom: 0;
}

.amadex-review-dropdown-section h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #0e7d3f;
    display: inline-block;
}

/* Passenger list inside dropdown */
.amadex-review-dropdown-passenger-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.amadex-review-dropdown-passenger-item {
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.amadex-review-dropdown-passenger-item:last-child {
    border-bottom: none;
}

.amadex-review-dropdown-passenger-name {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.amadex-review-dropdown-passenger-details {
    font-size: 13px;
    color: #6b7280;
}

.amadex-review-dropdown-passenger-seat {
    font-size: 13px;
    color: #0e7d3f;
    font-weight: 500;
    margin-top: 4px;
}

/* Add-ons list */
.amadex-review-dropdown-addons-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.amadex-review-dropdown-addons-item {
    padding: 0 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
}

.amadex-review-dropdown-addons-item:last-child {
    border-bottom: none;
        margin-top: 14px;
}

.amadex-review-dropdown-addons-name {
    font-weight: 500;
    color: #1a1a1a;
    font-size: 15px;
}

.amadex-review-dropdown-addons-price {
    color: #0e7d3f;
    font-weight: 600;
}
.amadex-review-dropdown-header h3 {
    margin: 0 !important;
}
div#amadex-review-section {
    padding-bottom: 0;
}
@media (max-width: 768px) {
    div#amadex-contact-section {
    margin-top: 20px;
}
    .amadex-flight-tab-panel {
    padding: 10px 15px;
}
    a#amadex-back-to-results {
    width: 92% !important;
}
.amadex-booking-header {
    flex-direction: column;
}
    .amadex-review-dropdown-header {
        padding: 12px 16px;
    }
    
    .amadex-review-dropdown-header h3 {
        font-size: 16px !important;
    }
    .amadex-flights-list .amadex-booking-progress {
    width: 100% !important;
}
    .amadex-review-dropdown-content.open {
        padding: 10px 8px;
    }
    .amadex-price-breakdown {
    padding: 10px 8px !important;
}
.amadex-route-header {
    z-index: 99;
}
}

@media (min-width: 768px) and (max-width: 1580px) {
 .amadex-search-bar-container {
    max-width: 100% !important;
    padding: 10px 20px;
    width: 100% !important;
}
.outer-route {
    display: none;
}
.amadex-results-page .amadex-route-header {
    top: 0 !important;
}
.amadex-results-page .amadex-route-header {
    top: 0 !important;
    box-shadow: none !important;
    border-bottom: 0 !important;
}
form#amadex-modern-form-results span#return-day {
    display: none !important;
}
.vsb-field.vsb-field--destination {
    margin-left: 10px;
}
.vsb-field.vsb-field--origin {
    border-right: 0 !important;
}
.amadex-booking-header {
    flex-direction: column;
}
.amadex-booking-progress {
    width: 100% !important;
}
a#amadex-back-to-results {
    width: 100% !important;
}
}

/* 15*4*26*/

.vsb-segment-card div#departure-field-2 {
    border: 0 !important;
}

div#amadex-review-dropdown-seats {
    margin-top: 14px;
}

div#amadex-review-dropdown-passengers h4 {
    font-size: 15px;
    padding: 4px 0;
    color: #000;
}

div#amadex-review-seats-content {
    border: 1px solid #E4EDE3;
    border-radius: 15px;
    padding: 0 15px;
    background: #edf8f1;
}

div#amadex-review-dropdown-seats h4 {
    font-size: 15px;
    padding: 4px 0;
    color: #000;
}

div#amadex-review-dropdown-addons {
    display: none;
}


/* Review & Confirm Dropdown Styles */
.amadex-review-dropdown {
    margin-bottom: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    transition: all 0.3s ease;
}

.amadex-review-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #f9fafb;
    cursor: pointer;
    transition: background 0.2s ease;
}

.amadex-review-dropdown-header:hover {
    background: #f3f4f6;
}

.amadex-review-dropdown-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
}

.amadex-review-dropdown-chevron {
    transition: transform 0.3s ease;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
}

.amadex-review-dropdown-chevron svg {
    width: 20px;
    height: 20px;
}

.amadex-review-dropdown-chevron.open {
    transform: rotate(180deg);
}

.amadex-review-dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.amadex-review-dropdown-content.open {
    max-height: 2000px;
    transition: max-height 0.6s ease-in;
}

.amadex-review-dropdown-section {
    margin-bottom: 24px;
    padding: 0 20px;
}

.amadex-review-dropdown-section:first-of-type {
    padding-top: 20px;
}

.amadex-review-dropdown-section:last-child {
    padding-bottom: 20px;
    margin-bottom: 0;
}

.amadex-review-dropdown-section h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #0e7d3f;
    display: inline-block;
}

/* Original review sections hidden */
#amadex-review-passengers,
#amadex-review-seats,
#amadex-review-addons,
#amadex-review-price {
    display: none !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .amadex-review-dropdown-header {
        padding: 12px 16px;
    }
    
    .amadex-review-dropdown-header h3 {
        font-size: 16px;
    }
    
    .amadex-review-dropdown-section {
        padding: 0 16px;
    }
    
    .amadex-review-dropdown-section:first-of-type {
        padding-top: 16px;
    }
    
    .amadex-review-dropdown-section:last-child {
        padding-bottom: 16px;
    }
}

.amadex-review-section.amadex-review-dropdown-section {
    padding: 10px 15px;
    background: #edf8f1;
    border-radius: 15px;
    border: 1px solid #eef4ee;
}
/* ─────────────────────────────────────────────
   Passenger Details Table — Review & Confirm
   Add to: custom.css
───────────────────────────────────────────── */

.amadex-review-passenger-item {
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
    list-style: none;
}

.amadex-review-passenger-item:last-child {
    border-bottom: none;
}

.amadex-review-passenger-name {
    font-size: 15px;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.amadex-review-passenger-name strong {
    font-weight: 600;
}

/* Table layout */
.amadex-review-passenger-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.amadex-review-passenger-table tr {
    border-bottom: 1px solid #f5f5f5;
}

.amadex-review-passenger-table tr:last-child {
    border-bottom: none;
}

.amadex-rpt-label {
    width: 38%;
    padding: 5px 8px 5px 0;
    color: #888888;
    font-weight: 500;
    vertical-align: top;
    white-space: nowrap;
}

.amadex-rpt-value {
    padding: 5px 0;
    color: #1a1a1a;
    font-weight: 500;
    vertical-align: top;
    text-align: right;
}
ul.amadex-review-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
/* Mobile */
@media (max-width: 480px) {
    .amadex-review-passenger-table tr {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        padding: 3px 0;
        border-bottom: none;
    }

    .amadex-rpt-label {
        width: auto;
        flex: 0 0 44%;
    }

    .amadex-rpt-value {
        flex: 1;
        text-align: right;
    }
}