:root {
  --color-green-50: #f0fdf4;
  --color-green-200: #b9f8cf;
  --color-green-500: #00c951;
  --color-green-600: #00a63e;
  --color-green-700: #008236;
  --color-green-800: #016630;
  --color-red-400: #ff6467;
  --color-gray-400: #99a1af;
  --color-green-900: #4a7c7e;
  --color-orange-50: #fff7ed;
  --color-orange-200: #ffd7a8;
  --color-orange-500: #ff6900;
  --color-orange-600: #f54a00;
  --color-orange-800: #9f2d00;
  --color-blue-50: #eff6ff;
  --color-blue-200: #bedbff;
  --color-blue-600: #155dfc;
  --color-gray-50: #fbf9fa;
  --color-gray-300: #d1d5dc;
}

.color-text-dark-same {
  color: var(--color-dark) !important;
}

.stroke-gray-400 {
  stroke: var(--color-gray-400) !important;
}

.stroke-green-500 {
  stroke: var(--color-green-500) !important;
}

.stroke-green-600 {
  stroke: var(--color-green-600) !important;
}

.color-text-green-700 {
  color: var(--color-green-700) !important;
}

.stroke-orange-500 {
  stroke: var(--color-orange-500) !important;
}

.stroke-red-400 {
  stroke: var(--color-red-400) !important;
}

.border-gray-400 {
  border-color: var(--color-gray-400) !important;
}

.color-text-orange-600 {
  color: var(--color-orange-600) !important;
}

.color-text-orange-800 {
  color: var(--color-orange-800) !important;
}

.bgColor-gray-50 {
  background-color: var(--color-gray-50) !important;
}

.bgColor-green-50 {
  background-color: var(--color-green-50) !important;
}

.bgColor-orange-50 {
  background-color: var(--color-orange-50) !important;
}

.bgColor-blue-50 {
  background-color: var(--color-blue-50) !important;
}

.bgColor-green-700 {
  background-color: var(--color-green-700) !important;
}

.border-color-orange-200 {
  border-color: var(--color-orange-200) !important;
}

.border-color-green-200 {
  border-color: var(--color-green-200) !important;
}

.border-color-blue-200 {
  border-color: var(--color-blue-200) !important;
}

.border-color-green-700 {
  background-color: var(--color-green-700) !important;
}

.min-h-auto {
  min-height: auto !important;
}

.list-style-disc,
.list-style-disc li {
  list-style-type: disc;
}

.bgColor-blue-50 .list-style-disc li::marker {
  color: var(--color-blue-600);
}

.custom-slider-track {
  gap: 12px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 10px 0;
}

.custom-slider-track::-webkit-scrollbar {
  display: none;
}

.custom-slider .offer-card {
  min-width: 280px;
  border-radius: 12px;
}

.custom-slider .slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
}

.custom-slider .slider-prev {
  left: 0;
}

.custom-slider .slider-next {
  right: 0;
}

.date-item-slider {
  position: relative;
}

.custom-slider.date-item-slider .slider-btn {
  top: 0;
  bottom: 0;
  transform: unset;
  border-radius: 0;
}

.custom-slider.date-item-slider .custom-slider-track .date-item {
  border-bottom: 2px solid transparent;
  cursor: pointer;
}

.custom-slider.date-item-slider .custom-slider-track .date-item.active {
  border-color: var(--color-second);
}

.custom-slider.date-item-slider .custom-slider-track .date-item.active .date,
.custom-slider.date-item-slider .custom-slider-track .date-item.active .price {
  color: var(--color-second) !important;
}

/* --- compare modal css ---- */
button.added {
  color: var(--color-second);
  font-weight: 600;
}

.compare-panel {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 320px;
  background: var(--color-dark-first);
  border-radius: 8px;
  overflow: hidden;
  color: var(--color-white);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  z-index: 999;
}

.compare-header {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  font-weight: 600;
}

.compare-body {
  background: var(--color-white);
  color: var(--color-dark);
  max-height: 220px;
  overflow: auto;
}

.compare-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-bottom: 1px solid var(--color-light-grey);
  font-size: 13px;
}

.compare-item img {
  width: 28px;
}

.compare-item .compare-timeline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.compare-item .timeline-line {
  flex: 1;
  min-width: 50px;
  height: 2px;
  background: #2dc4a0;
}

.compare-item .compare-content .custom-field .img-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.compare-item .compare-content .custom-field .img-title div:first-child {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
}

.compare-item .compare-content .custom-field .img-title div:first-child img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare-item .compare-content .custom-field .img-title div:last-child span {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.compare-floating {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-dark-first);
  color: var(--color-white);
  border: none;
  font-size: 22px;
  display: none;
  cursor: pointer;
}

.add-compare-btn {
  position: relative !important;
}

/* --- view fares and flight details css ---- */
.flight-card-expandable {
  max-height: none;
}

.flight-card-actions,
.flight-card-extra-info {
  position: relative;
  z-index: 99;
}

.flight-card-toggle {
  min-width: 145px;
}

.flight-card-chevron {
  transition: transform 0.2s ease;
}

.flight-card-link-btn[aria-expanded="true"] .flight-card-chevron {
  transform: rotate(180deg);
}

.flight-card-panel {
  border: 1px solid #e4e8ef;
}

.flight-fare-box {
  border-width: 2px !important;
  background: var(--color-white);
  border-color: #d8dde6 !important;
}

.flight-fare-box:hover {
  box-shadow: 0 4px 6px -1px var(--tw-shadow-color, #0000001a), 0 2px 4px -2px var(--tw-shadow-color, #0000001a);
}

.flight-fare-box-active {
  border-color: var(--color-second) !important;
}

.flight-fare-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.flight-fare-points li {
  position: relative;
  margin-bottom: 10px;
  color: var(--color-dark);
  font-size: 0.95rem;
  list-style: none;
}

.flight-timeline {
  position: relative;
  padding-left: 28px;
}

.flight-timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 37px;
  width: 2px;
  background: var(--color-gray-300);
}

.flight-timeline-item {
  position: relative;
  margin-bottom: 24px;
}

.flight-timeline-item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-green-600);
}

.flight-timeline-item.dark-green-dot::before {
  background-color: var(--color-green-900);
}

.flight-timeline-stop::before {
  background: #ff9f43;
}

.flight-info-box {
  background: var(--color-white);
  border-color: #d8dde6 !important;
}


button:focus {
  box-shadow: none !important;
}

.payment-mode-img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.sticky-payment-summary .position-sticky.top-0 {
  top: 120px !important;
}

/*multicity and round trip css start */
.flight-card:has(input[type="radio"]:checked),
.flight-fare-box:has(input[type="radio"]:checked),
.booking-form-section .flight-fare-box .form-check-input[type="radio"]:checked {
  border-color: var(--color-second) !important;
}

.booking-form-section .flight-fare-box .form-check-input[type="radio"] {
  border-color: var(--color-gray) !important;
}

.md-position-absolute {
  position: absolute;
  top: 20px;
  right: 15px;
}

.flight-select-card input:is(:checked)+label {
  background-color: #fdf2f8 !important;
  border-color: var(--color-second) !important;
  color: var(--color-second) !important;
}

.round-trip-sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0px;
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transform: translateY(120%);
  transition: all .25s ease;
  pointer-events: none;
}

.round-trip-sticky-bar.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.round-trip-sticky-shell {
  background-color: rgba(255, 255, 255, 0.18);
  border-radius: 18px 18px 0 0;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: relative;
  overflow: hidden;
}

.round-trip-sticky-shell::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  backdrop-filter: blur(8px);
}

.round-trip-sticky-items {
  display: flex;
  align-items: stretch;
  gap: 14px;
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.round-trip-sticky-item {
  flex: 1;
  padding: 0 14px 0 0;
  border-right: 1px solid rgb(76 76 76 / 18%);
  display: flex;
}

.round-trip-sticky-item:last-child {
  border-right: 0;
  padding-right: 0;
}

.round-trip-sticky-logo {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.round-trip-sticky-route {
  color: var(--color-white);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1;
  margin-bottom: 8px;
}

.round-trip-sticky-meta {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  line-height: 1.35;
}

.round-trip-sticky-fare {
  color: var(--color-text-black);
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 8px;
}

.round-trip-sticky-item-empty {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  min-height: 46px;
  display: flex;
  align-items: center;
}

.round-trip-sticky-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.round-trip-sticky-total {
  color: var(--color-white);
  text-align: right;
}

.round-trip-sticky-toggle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid 1px solid rgb(0 0 0 / 18%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-content);
  background: transparent;
  transition: transform .2s ease;
}

/* .round-trip-sticky-shell.is-collapsed .round-trip-sticky-items {
    display: none;
  } */

.round-trip-sticky-shell .round-trip-sticky-toggle svg,
.round-trip-sticky-shell:has(.fare-details-section.collapse) .round-trip-sticky-toggle svg {
  transform: rotate(180deg);
  transition: transform .2s ease;
}

.round-trip-sticky-shell.is-collapsed .round-trip-sticky-toggle svg,
.round-trip-sticky-shell:has(.fare-details-section.collapse.show) .round-trip-sticky-toggle svg {
  transform: rotate(0deg);
  transition: transform .2s ease;
}

#view-fareModal .flex-price-col {
  flex: 0 0 244px !important;
  max-width: 245px !important;
}

#view-fareModal .nav-tabs.flight-nav-tabs.custom-tabs.overflow-x-auto .nav-item .nav-link.active {
  background-color: #fdf2f8;
  border-color: #f45d6b;
  color: #f45d6b;
}

.fare-details-section {
  max-height: calc(100dvh - 150px);
  overflow-y: auto;
  overflow-x: hidden;
}

.round-trip-sticky-bar .fare-details-section .flight-legs-tabs .nav-link.active {
  background-color: var(--color-first) !important;
  color: var(--color-white) !important;
  border-color: var(--color-first) !important;
}

.round-trip-sticky-bar .fare-details-section .flight-legs-tabs .nav-link.active span {
  color: var(--color-white) !important;
}

.fare-class-tab .nav-link.active {
  background-color: #e9fbff !important;
  border-color: var(--color-first) !important;
  color: var(--color-black);
}

.fare-class-tab .nav-link.active span {
  color: var(--color-black) !important;
}

.flight-w-20 {
  min-width: 18.5%;
  width: 18.5%;
  max-width: 18.5%;
  text-wrap: wrap;
}

.flight-w-10 {
  min-width: 10%;
  width: 10%;
  max-width: 10%;
  text-wrap: wrap;
}

.flight-d-card .text-sm {
  font-size: 14px;
}

.toggle-text-btn[aria-expanded="true"] .flight-card-chevron {
  transform: rotate(180deg);
}

.filterMobButton {
  z-index: 99;
}

.flight-card .flight-card-extra-info .flight-cards-sections .filter-checkbox-buttons .select-toggle-text {
  min-width: 78px;
}

/*multicity and round trip css end */

.flight-search-loader {
  height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.plane-wrapper {
  position: relative;
  width: 300px;
  height: 80px;
  margin-bottom: 30px;
}

.plane-main {
  width: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  animation: planeMove 1.2s infinite ease-in-out;
}

.plane-main img {
  width: 100%
}

@keyframes planeMove {
  0% {
    transform: translate(-50%, -50%) translateX(-7px);
  }

  50% {
    transform: translate(-50%, -50%) translateX(7px);
  }

  100% {
    transform: translate(-50%, -50%) translateX(-7px);
  }
}

.speed-line {
  position: absolute;
  height: 3px;
  background: #bbb;
  left: -30%;
  border-radius: 2px;
  animation: speed 1s infinite linear;
}

.speed-line.line1 {
  width: 60px;
  top: 28px;
}

.speed-line.line2 {
  width: 80px;
  top: 38px;
  animation-delay: .2s;
}

.speed-line.line3 {
  width: 50px;
  top: 48px;
  animation-delay: .4s;
}

@keyframes speed {
  0% {
    opacity: 0;
    transform: translateX(0);
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(80px);
  }
}

@media screen and (max-width: 1200px) {
  .flight-w-20 {
    min-width: 10%;
    width: 10%;
    max-width: 10%;
    text-wrap: wrap;
  }

  .flight-w-10 {
    min-width: 12.5%;
    width: 12.5%;
    max-width: 12.5%;
    text-wrap: wrap;
  }

  .flight-d-card .text-sm {
    font-size: 13px;
  }
}

@media screen and (min-width: 767px) {
  .border-md-none {
    border: none !important;
  }
}

@media screen and (max-width: 991px) {
  .sticky-payment-summary .position-sticky.top-0 {
    top: 170px !important;
  }
}

@media (max-width: 991.98px) {
  .flight-card-actions {
    align-items: flex-start !important;
  }
}

@media (max-width: 767.98px) {
  .flight-card-toggle {
    width: 100%;
  }

  .flight-card-link-btn {
    justify-content: center;
  }

  .flight-fare-points li {
    font-size: 0.875rem;
  }
}

@media only screen and (max-width: 768px) {
  .flight-search-loader {
    padding: 15px
  }

  .plane-wrapper {
    width: 200px;
  }
}

@media only screen and (max-width: 767px) {
  .flight-search-loader {
    padding: 15px
  }

  .plane-wrapper {
    width: 200px;
  }


  .md-position-absolute {
    position: absolute !important;
    top: 20px;
  }

  .round-trip-sticky-shell {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }

  .round-trip-sticky-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .round-trip-sticky-summary {
    width: 100%;
    justify-content: space-between;
  }

  .round-trip-sticky-total {
    text-align: left;
  }

  .flight-w-20,
  .flight-w-10 {
    min-width: 100%;
    width: 100%;
    max-width: 100%;
    text-wrap: wrap;
    margin-bottom: 4px;
  }

  .flight-w-20 .text-xs,
  .flight-w-10 .text-xs {
    font-size: 13px !important;
  }
}