.custom_container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0px 20px;
}

.custom_containers {
  max-width: 1450px;
  margin: 0 auto;
  padding: 0px 20px;
}



/* calander */

/* Calendar container */



.flatpickr-day {
  visibility: visible !important;
}



/* Fade previous & next month dates (DO NOT HIDE) */
/* FORCE layout integrity for multi-month */
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 0.35;
  color: #d1d5db;
  pointer-events: none;
}


.flatpickr-calendar {
  font-size: 16px;
  transform: scale(1.15);
  border-radius: 12px;




}


/* Month title */
.flatpickr-current-month {
  color: #ff6600 !important;
  font-weight: 800 !important;
}

/* Weekdays */
.flatpickr-weekday {
  color: #ff6600;
  font-weight: 600;
}

/* Day numbers */
.flatpickr-day {
  font-weight: 600 !important;
}

/* Selected date */
.flatpickr-day.selected {
  background: #ff6600;
  border-color: #ff6600;
  color: #fff;
}

/* Today */
.flatpickr-day.today {
  border-color: #ff6600 !important;
  background: #ff6600;
  color: #fff;
}

/* Hover */
.flatpickr-day:hover {
  background: #ffe6d5;
}

/* Arrows */
.flatpickr-prev-month svg,
.flatpickr-next-month svg {
  fill: #ff6600;
}

@media (max-width: 640px) {
  .flatpickr-calendar {
    font-size: 13px;
    transform: scale(1);
    width: 100% !important;
    max-width: 320px;
  }

  .flatpickr-day {
    max-width: 36px;
    height: 36px;
    line-height: 36px;
  }

  .flatpickr-calendar {
    left: 28px !important;
    top: 340px !important;
  }
}


/* Checkbox */
.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.custom-checkbox .checkmark {
  /* width: 20px;
  height: 20px; */
  border: 2px solid #999;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-checkbox input:checked+.checkmark {
  background: #ff6600;
  border-color: #ff6600;
}

.custom-checkbox input:checked+.checkmark::after {
  content: "";
  width: 7px;
  height: 12px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}


/* SLider*/
.icon-slider {
  overflow: hidden;
  width: 100%;
}

.icon-track {
  display: flex;
  gap: 28px;
  justify-content: center;
}

.icon-item {
  flex-shrink: 0;
  width: 160px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon-item img {
  width: 140px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 8px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .icon-track {
    justify-content: flex-start;
    animation: icon-slide 8s linear infinite;
  }

  @keyframes icon-slide {
    0% {
      transform: translateX(0);
    }

    100% {
      transform: translateX(-50%);
    }
  }
}

/* coupon  cards*/



.offer-card {
  min-width: 380px;
  padding: 20px 28px 20px 20px;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}

/* LEFT SIDE – top & bottom cut */
.offer-card::before,
.offer-card::after {
  content: "";
  position: absolute;
  left: -14px;
  width: 28px;
  height: 28px;
  background: #fff;
  border-radius: 50%;
}

.offer-card::before {
  top: 18px;
}

.offer-card::after {
  bottom: 18px;
}

/* RIGHT SIDE – dotted tear line */
.offer-card .tear-line {
  position: absolute;
  top: 12px;
  bottom: 12px;
  right: 44px;
  border-right: 2px dashed rgba(0, 0, 0, 0.15);
}

/* RIGHT SIDE TAG */
.offer-card .side-tag {
  position: absolute;
  top: 0;
  right: 0;
  width: 36px;
  height: 100%;
  background: #ff6600;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top-right-radius: 14px;
  border-bottom-right-radius: 14px;
}

.offer-card .side-tag svg {
  width: 18px;
  height: 18px;
  color: #7a4a00;
}

/* CODE */
.code {
  border: 1px dashed #ff6600;
  color: #ff6600;
  font-size: 13px;
  padding: 4px 8px;
  border-radius: 6px;
}

/* DATE */
.date {
  font-size: 12px;
  color: #555;
  margin-right: 20px;
}

/* LINK */
.view-more {
  font-size: 14px;
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* review card*/

.reviews-container {
  overflow: hidden;
}

#reviewsWrapper {
  display: flex;
  gap: 24px;
  transition: transform 0.5s ease;
}

.review-card {
  flex: 0 0 calc((100% - 48px) / 3);
}

/* flight details */

.airport-search {
  position: absolute;
  inset: 0;
  background: transparent;
  border: none;
  outline: none;
  /* 👈 text visible */
  font-size: 18px;
  z-index: 10;
  padding-left: 14px;
  top: -27px;
  color: transparent;
  caret-color: #969696;

}

@media (max-width: 768px) {
  .airport-search {
    caret-color: rgba(0,0,0,0);
  }
}






/* Dropdown Item Style */
/* ===== DROPDOWN CONTAINER ===== */

#fromDropdown,
#toDropdown {
  max-height: 320px;
  overflow-y: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid #e5e7eb;
}

/* ===== HEADER ===== */
.dropdown-header {
  padding: 10px 14px;
  font-size: 18px;
  font-weight: 600;
  color: #777;
  border-bottom: 1px solid #eee;
}

/* ===== ITEM ===== */
.dropdown-item {
  padding: 12px 14px;
  cursor: pointer;
  border-bottom: 1px solid #f1f1f1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dropdown-item:hover {
  background: #f9fafb;
}

/* ===== LEFT CONTENT ===== */
.dropdown-left {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

/* Airplane icon */
.dropdown-icon {
  font-size: 18px;
  color: #000000;
  margin-top: 2px;
}

/* City */
.dropdown-city {
  font-weight: 600;
  font-size: 14px;
  color: #111;
}

/* Airport + code */
.dropdown-code {
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px;
  max-width: 180px;
}

/* ===== FLAG ===== */
.dropdown-flag {
  width: 18px;
  height: 22px;
  border-radius: 2px;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.3);
}

/* Hide scrollbar but allow scroll */
#fromDropdown,
#toDropdown {
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE / Edge */
}

#fromDropdown::-webkit-scrollbar,
#toDropdown::-webkit-scrollbar {
  display: none;
  /* Chrome / Safari */
}



/* Domestic */
.tab-btn {
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 600;
  background: #fff;
  border: 1px solid #e5e5e5;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.tab-btn.active {
  background: #0f5f93;
  color: #fff;
  border: none;
}

.tab-btn.active .material-icons {
  color: #fff;
}



#fromDisplay {
  pointer-events: none;
}

#airline-logo-track {
  transform: translateX(0);
}

/* modal*/
.fd-tab {
  flex: 1;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 14px;
  background: transparent;
  color: #fff;
  border: 2px solid transparent;
}

.fd-tab.active {
  background: #fff;
  color: #ff3d00;
  border-color: #ff3d00;
}


.fd-tab:not(.active) {
  background: transparent;
  color: #ffffff;
}

/* Hide scrollbar but allow scrolling */
.scrollbar-hide {
  -ms-overflow-style: none;
  /* IE & Edge */
  scrollbar-width: none;
  /* Firefox */
  overflow-x: auto;
  overflow-y: hidden;
  /* ⬅️ prevents vertical scrollbar */
}

.scrollbar-hide::-webkit-scrollbar {
  height: 0;
  /* ⬅️ hides horizontal bar */
  width: 0;
  /* ⬅️ hides vertical bar */
  display: none;
}



/* show label + 4 airlines */
/* label + 4 airlines = 5 of 6 columns */
.fare-viewport {
  overflow: hidden;
}

@media (max-width: 640px) {

  table th,
  table td {
    min-width: 120px;
    font-size: 12px;
  }

  table th:first-child,
  table td:first-child {
    min-width: 100px;
    position: sticky;
    left: 0;
    background: white;
    z-index: 2;
  }
}

/* TABLET */
@media (min-width: 641px) and (max-width: 1023px) {

  table th,
  table td {
    min-width: 140px;
    font-size: 13px;
  }
}

/* hidden animation */
.accordion-hide{
    max-height: 0;
    overflow: hidden;
    padding: 0 !important;
    opacity: 0;
    transition: all 0.35s ease;
}

/* rotate arrow */
.rotate-arrow{
    transform: rotate(180deg);
}


.input-error{
    border: 1px solid #ef4444 !important;
}

.input-success{
    border: 1px solid #22c55e !important;
}
