.fl-trip-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin-top: 12px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 999px;
}

.fl-trip-toggle button {
  border: 0;
  background: transparent;
  padding: 6px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #555;
}

.fl-trip-toggle button.active {
  background: var(--bs-primary);
  color: #fff;
}

.fl-search .travel-info-section {
  position: relative;
}

.fl-swap {
  position: absolute;
  top: 50%;
  right: -17px;
  transform: translateY(-50%);
  z-index: 3;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #ccc;
  background: #fff;
  color: var(--bs-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.fl-swap:hover {
  background: var(--bs-primary);
  color: #fff;
}

.fl-search .fl-submit {
  display: flex;
  align-items: center;
  padding: 0.75rem;
}

.fl-search .fl-submit .btn {
  padding: 0.9rem 1rem;
  font-weight: 700;
}

.fl-return[hidden] {
  display: none !important;
}

.fl-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
  font-size: 0.9rem;
}

.fl-quick a {
  padding: 4px 12px;
  border: 1px solid #ddd;
  border-radius: 999px;
  background: #fff;
  color: #333;
  font-weight: 600;
}

.fl-quick a:hover {
  border-color: var(--bs-primary);
  color: var(--bs-primary);
}

.fl-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  padding: 28px 0;
}

.fl-stat {
  display: flex;
  align-items: center;
  gap: 14px;
}

.fl-stat i {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #dc1a3f12;
  color: var(--bs-primary);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fl-stat strong {
  display: block;
  font-size: 1.05rem;
}

.fl-stat span {
  font-size: 0.85rem;
  color: #666;
}

.fl-offer {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 18px;
  height: 100%;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
}

.fl-airline {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.fl-airline-mark {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bs-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.fl-leg {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 16px 0 6px;
}

.fl-leg b {
  display: block;
  font-size: 1.6rem;
  line-height: 1;
}

.fl-leg small {
  color: #777;
}

.fl-leg .fl-line {
  flex: 1;
  height: 2px;
  background: repeating-linear-gradient(90deg, #ccc 0 6px, transparent 6px 12px);
  position: relative;
}

.fl-leg .fl-line i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(90deg);
  background: #fff;
  color: var(--bs-primary);
  padding: 2px;
}

.fl-offer-foot {
  display: flex;
  justify-content: space-between;
  align-items: end;
  border-top: 1px dashed #e3e3e3;
  margin-top: 14px;
  padding-top: 12px;
}

.fl-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--bs-primary);
  line-height: 1;
}

.fl-chip {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: #f3f3f3;
  font-size: 0.78rem;
  font-weight: 600;
  color: #555;
}

.fl-sector {
  display: block;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 18px 20px;
  color: inherit;
  height: 100%;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.fl-sector:hover {
  border-color: var(--bs-primary);
  box-shadow: 0 10px 30px rgba(220, 26, 63, 0.12);
  transform: translateY(-2px);
}

.fl-sector .fl-codes {
  font-size: 1.5rem;
  font-weight: 800;
}

.fl-sector .fl-codes i {
  color: var(--bs-primary);
  margin: 0 6px;
}

.fl-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 2rem;
}

.fl-step {
  text-align: center;
  padding: 0 12px;
}

.fl-step .fl-num {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--bs-primary);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 8px #dc1a3f14;
}

.fl-airlines {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 1.5rem;
}

.fl-airlines span {
  padding: 10px 20px;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  background: #fff;
  font-weight: 700;
  color: #444;
}

.fl-faq .accordion-item {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 10px;
  border: 1px solid #eee;
}

.fl-faq .accordion-button {
  font-weight: 700;
}

.fl-faq .accordion-button:not(.collapsed) {
  color: var(--bs-primary);
  background: #dc1a3f0d;
  box-shadow: none;
}

.fl-cta {
  background: linear-gradient(120deg, #1d1616, #3a1520);
  color: #fff;
  border-radius: 24px;
  padding: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.fl-cta h2 {
  color: #fff;
  margin: 0 0 6px;
}

.fl-cta p {
  margin: 0;
  opacity: 0.85;
}

@media (max-width: 991.98px) {
  .fl-swap {
    top: auto;
    bottom: -17px;
    right: 24px;
    transform: rotate(90deg);
  }

  .fl-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .fl-steps {
    grid-template-columns: 1fr;
  }

  .fl-cta {
    padding: 24px;
  }
}

.fl-sector,
.fl-sector:hover,
.fl-quick a,
.fl-quick a:hover {
  text-decoration: none;
}

.fl-live {
  background: #e8f7ee;
  color: #157347;
}

.fl-live::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 50%;
  background: #1fb15a;
}

.fl-tracker {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 16px 24px;
  align-items: center;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.fl-tracker-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
}

.fl-tracker-fields .btn {
  font-weight: 700;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (max-width: 991.98px) {
  .fl-tracker {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .fl-tracker-fields {
    grid-template-columns: 1fr 1fr;
  }

  .fl-tracker-fields input {
    grid-column: 1 / -1;
  }
}

.fl-urgent {
  background: var(--bs-primary);
  color: #fff;
}

.fl-pills .nav-link {
  font-weight: 700;
  color: #444;
  background: #fff;
  border: 1px solid #ddd;
  margin-left: 6px;
}

.fl-pills .nav-link.active {
  background: var(--bs-primary);
  border-color: var(--bs-primary);
  color: #fff;
}

.fl-route,
.fl-route:hover {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid #f3d9de;
  border-radius: 14px;
  color: inherit;
  text-decoration: none;
}

.fl-route:hover {
  border-color: var(--bs-primary);
  box-shadow: 0 6px 20px rgba(220, 26, 63, 0.1);
}

.fl-route-codes {
  flex: none;
  font-weight: 800;
  font-size: 1.15rem;
}

.fl-route-codes i {
  color: var(--bs-primary);
  margin: 0 4px;
}

.fl-route-name {
  flex: 1;
  min-width: 0;
  font-size: 0.9rem;
  line-height: 1.2;
}

.fl-route-name small {
  display: block;
  color: #888;
}

.fl-route-price {
  flex: none;
  text-align: right;
  font-weight: 800;
  color: var(--bs-primary);
}

.fl-route-price small {
  display: block;
  font-weight: 400;
  color: #888;
}

@media (max-width: 575.98px) {
  .fl-pills {
    width: 100%;
  }

  .fl-pills .nav-link {
    margin-left: 0;
    margin-right: 6px;
  }
}

.fl-airline-mark.has-logo {
  background: #fff;
  border: 1px solid #e5e5e5;
  overflow: hidden;
}

.fl-airline-mark img {
  width: 100%;
  height: 100%;
  padding: 8px;
  object-fit: contain;
  border-radius: 50%;
}

.fl-stripe > .section:nth-child(even) {
  background: #f6f7f9;
}

.fl-bag {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-top: 10px;
  font-size: 0.82rem;
  color: #555;
}

.fl-bag i {
  margin-right: 5px;
  color: var(--bs-primary);
}

.fl-carousel {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  background: #fff;
}

.fl-slide-img {
  display: block;
  width: 100%;
  height: clamp(180px, 32vw, 320px);
  object-fit: cover;
}

.fl-slide-banner,
.fl-slide-banner:hover {
  position: relative;
  display: block;
  color: #fff;
  text-decoration: none;
}

.fl-slide-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 10px;
  padding: 28px 64px 44px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.68) 0%, rgba(0, 0, 0, 0.25) 55%, rgba(0, 0, 0, 0) 100%);
}

.fl-slide-title {
  max-width: 560px;
  font-size: clamp(1.25rem, 3.4vw, 2rem);
  font-weight: 800;
  line-height: 1.15;
}

@media (max-width: 575.98px) {
  .fl-slide-caption {
    padding: 16px 48px 36px;
    gap: 6px;
  }

  .fl-slide-caption .fl-slide-btn {
    padding: 6px 14px;
    font-size: 0.85rem;
  }
}

.fl-slide-fare,
.fl-slide-fare:hover {
  display: block;
  min-height: clamp(260px, 32vw, 320px);
  padding: 28px 64px 44px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(120deg, var(--bs-primary), #8e1027);
}

.fl-slide-top,
.fl-slide-foot,
.fl-slide-airline,
.fl-slide-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fl-slide-top,
.fl-slide-foot {
  justify-content: space-between;
}

.fl-slide-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  opacity: 0.85;
}

.fl-chip-glass {
  background: #ffffff26;
  color: #fff;
}

.fl-slide-route {
  margin-top: 10px;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.1;
}

.fl-slide-route i {
  margin: 0 12px;
  opacity: 0.8;
}

.fl-slide-cities {
  opacity: 0.85;
}

.fl-slide-airline {
  margin-top: 14px;
}

.fl-slide-airline small {
  display: block;
  opacity: 0.8;
}

.fl-slide-airline .fl-airline-mark {
  background: #fff;
  color: var(--bs-primary);
}

.fl-slide-meta {
  flex-wrap: wrap;
  margin-top: 10px;
  font-size: 0.85rem;
  gap: 4px 18px;
}

.fl-slide-meta i {
  margin-right: 5px;
}

.fl-slide-foot {
  margin-top: 18px;
  align-items: flex-end;
}

.fl-slide-foot small {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  opacity: 0.7;
}

.fl-slide-price {
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  font-weight: 800;
  line-height: 1;
}

.fl-slide-btn {
  padding: 10px 20px;
  border-radius: 10px;
  background: #fff;
  color: var(--bs-primary);
  font-weight: 800;
}

.fl-carousel .carousel-control-prev,
.fl-carousel .carousel-control-next {
  width: 48px;
}

@media (max-width: 575.98px) {
  .fl-slide-fare,
  .fl-slide-fare:hover {
    padding: 20px 20px 44px;
  }

  .fl-carousel .carousel-control-prev,
  .fl-carousel .carousel-control-next {
    display: none;
  }
}

.fl-slide-fare.has-bg,
.fl-slide-fare.has-bg:hover {
  background:
    linear-gradient(110deg, rgba(110, 10, 30, 0.92) 0%, rgba(142, 16, 39, 0.72) 45%, rgba(142, 16, 39, 0.35) 100%),
    var(--fl-bg) center / cover no-repeat;
}

.fl-form-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
}

.fl-form-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.fl-summary {
  position: sticky;
  top: 90px;
}

.fl-pax {
  padding: 14px;
  margin-bottom: 12px;
  background: #f6f7f9;
  border-radius: 12px;
}

.fl-pax-head {
  font-weight: 700;
  margin-bottom: 8px;
}

.fl-ref {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 12px;
  background: #fff6f7;
  border: 1px dashed var(--bs-primary);
  color: var(--bs-primary);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.fl-offer {
  position: relative;
}

@media (max-width: 991.98px) {
  .fl-summary {
    position: static;
  }
}

.btn-whatsapp,
.btn-whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
  font-weight: 700;
}

.btn-whatsapp:hover {
  background: #1fb857;
}

.fl-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 12px;
  color: #888;
  font-size: 0.85rem;
}

.fl-or::before,
.fl-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e5e5e5;
}

.fl-pax-line {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.fl-pax-line:last-child {
  border-bottom: 0;
}

.fl-leg-detail {
  align-items: flex-start;
}

.fl-leg-detail .fl-line {
  align-self: center;
  margin-top: 1.1rem;
}

.fl-dir {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 4px;
}

.fl-endpoint {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 2px;
}

.fl-code {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--bs-primary);
}

.fl-slide-leg {
  margin: 14px 0 0;
}

.fl-slide-fare .fl-slide-leg .fl-code,
.fl-slide-fare .fl-slide-leg b {
  color: #fff;
}

.fl-slide-fare .fl-slide-leg b {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
}

.fl-slide-fare .fl-slide-leg .fl-dir,
.fl-slide-fare .fl-slide-leg small {
  color: rgba(255, 255, 255, 0.8);
}

.fl-slide-fare .fl-slide-leg .fl-line {
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.55) 0 6px, transparent 6px 12px);
}

.fl-slide-fare .fl-slide-leg .fl-line i {
  background: transparent;
  color: #fff;
}

.fl-mid {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.fl-leg-detail .fl-mid {
  margin-top: 0.7rem;
}

.fl-mid .fl-line {
  flex: none;
  width: 100%;
  margin-top: 0;
  align-self: auto;
}

.fl-dur {
  font-size: 0.72rem;
  font-weight: 700;
  color: #555;
  text-align: center;
  line-height: 1.2;
}

.fl-date {
  font-weight: 700;
  color: var(--bs-primary);
}

.fl-code {
  font-size: 1.3rem;
}

.fl-slide-fare .fl-dur,
.fl-slide-fare .fl-date {
  color: #fff;
}

.fl-offer {
  container-type: inline-size;
}

.fl-offer .fl-code {
  font-size: 1.1rem;
}

.fl-offer .fl-leg-detail b {
  font-size: 1.45rem;
}


.fl-term {
  display: inline-block;
  margin-top: 4px;
  padding: 1px 8px;
  border-radius: 6px;
  background: #fff1f3;
  color: var(--bs-primary);
  font-size: 0.72rem;
  font-weight: 700;
}

.fl-slide-fare .fl-term {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.fl-mid .fl-line {
  margin-top: 6px;
}

.fl-mid .fl-dur {
  display: block;
  padding-bottom: 2px;
}

/* simplified journey line: time above, thin line, stops below */
.fl-mid .fl-line {
  height: 1px;
  background: #d6d6d6;
  margin-top: 2px;
}

.fl-mid .fl-line::before,
.fl-mid .fl-line::after {
  content: none;
}

.fl-mid .fl-dur {
  padding-bottom: 0;
  font-size: 0.78rem;
}

.fl-stops {
  font-size: 0.72rem;
  font-weight: 700;
  color: #1a8a4a;
  text-align: center;
  line-height: 1.2;
}

.fl-slide-fare .fl-mid .fl-line {
  background: rgba(255, 255, 255, 0.55);
}

.fl-slide-fare .fl-stops {
  color: #fff;
}


/* narrow cards: keep the journey time between the airports */
@container (max-width: 340px) {
  .fl-offer .fl-leg-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(84px, 1.1fr) minmax(0, 1fr);
    gap: 8px;
  }

  .fl-offer .fl-leg-detail .fl-endpoint {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .fl-offer .fl-leg-detail .fl-endpoint.justify-content-end {
    align-items: flex-end;
  }

  .fl-offer .fl-leg-detail .fl-endpoint b {
    order: -1;
    font-size: 1.4rem;
    line-height: 1.1;
  }

  .fl-offer .fl-leg-detail .fl-code {
    font-size: 0.95rem;
  }

  .fl-offer .fl-leg-detail .fl-mid {
    margin-top: 1.3rem;
  }

  .fl-offer .fl-leg-detail .fl-sep {
    display: none;
  }

  .fl-offer .fl-leg-detail small > span.fl-date,
  .fl-offer .fl-leg-detail small > span.fl-adate {
    display: block;
  }
}

.fl-seats {
  font-weight: 700;
  color: #555;
}

.fl-seats-low,
.fl-seats-low i {
  color: #c2410c;
}

/* departure date and sector codes a bit larger */
.fl-date {
  font-size: 1.05em;
}

.fl-code,
.fl-offer .fl-code {
  font-size: 1.35rem;
}

@container (max-width: 340px) {
  .fl-offer .fl-leg-detail .fl-code {
    font-size: 1.1rem;
  }
}

/* the journey column always keeps its width; the airport sides give way */
.fl-leg-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(84px, 1.2fr) minmax(0, 1fr);
  gap: 8px;
}

.fl-dur,
.fl-stops {
  white-space: nowrap;
}

/* journey line: clearly visible with end dots */
.fl-mid .fl-line {
  position: relative;
  height: 2px;
  background: #b9b9b9;
  border-radius: 2px;
  margin-top: 8px;
  margin-bottom: 8px;
}

.fl-mid .fl-line::before,
.fl-mid .fl-line::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b9b9b9;
  transform: translateY(-50%);
}

.fl-mid .fl-line::before {
  left: -2px;
}

.fl-mid .fl-line::after {
  right: -2px;
}

.fl-slide-fare .fl-mid .fl-line,
.fl-slide-fare .fl-mid .fl-line::before,
.fl-slide-fare .fl-mid .fl-line::after {
  background: rgba(255, 255, 255, 0.85);
}

/* single-line airport sides; the journey column takes what is left (min 70px) */
.fl-leg-detail {
  grid-template-columns: auto minmax(70px, 1fr) auto;
  gap: 10px;
}

.fl-leg-detail > div > small:not(.fl-dir) {
  font-size: 0.8rem;
  white-space: nowrap;
}

@container (max-width: 340px) {
  .fl-offer .fl-leg-detail {
    grid-template-columns: minmax(0, 1fr) minmax(84px, 1.1fr) minmax(0, 1fr);
  }

  .fl-offer .fl-leg-detail > div > small:not(.fl-dir) {
    white-space: normal;
  }
}

/* journey line: plain line with an arrowhead */
.fl-mid .fl-line {
  height: 2px;
  background: #c4c4c4;
}

.fl-mid .fl-line::before {
  display: none;
}

.fl-mid .fl-line::after {
  width: 8px;
  height: 8px;
  right: 0;
  border-radius: 0;
  background: none;
  border-top: 2px solid #c4c4c4;
  border-right: 2px solid #c4c4c4;
  transform: translateY(-50%) rotate(45deg);
  transform-origin: center;
}

.fl-slide-fare .fl-mid .fl-line {
  background: rgba(255, 255, 255, 0.85);
}

.fl-slide-fare .fl-mid .fl-line::after {
  background: none;
  border-top-color: rgba(255, 255, 255, 0.85);
  border-right-color: rgba(255, 255, 255, 0.85);
}

.fl-rules {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 16px;
  margin-bottom: 20px;
  border-radius: 12px;
  border: 1px solid;
}

.fl-rules i {
  font-size: 1.2rem;
  line-height: 1.3;
}

.fl-rules small {
  font-weight: 400;
  opacity: 0.9;
}

.fl-rules-strict {
  background: #fff1f3;
  border-color: #f3c1ca;
  color: #b4132f;
}

.fl-rules-partial {
  background: #fff7ed;
  border-color: #f6d3aa;
  color: #9a4a06;
}

.fl-rules-flexible {
  background: #ecfdf3;
  border-color: #b7e4c7;
  color: #166534;
}

/* wide containers (fare page, payment, results): bigger departure date and sector */
.fl-form-card {
  container-type: inline-size;
}

@container (min-width: 480px) {
  .fl-leg-detail .fl-code {
    font-size: 1.6rem;
  }

  .fl-leg-detail b {
    font-size: 1.9rem;
  }

  .fl-leg-detail .fl-date {
    font-size: 1.2rem;
    font-weight: 800;
  }

  .fl-leg-detail > div > small:not(.fl-dir) {
    font-size: 0.95rem;
  }

  .fl-leg-detail .fl-term {
    font-size: 0.8rem;
  }
}

.fl-rule-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fl-rule-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.fl-rule-list li:last-child {
  border-bottom: 0;
}

.fl-rule-list i {
  color: #888;
}

.fl-rule-list span {
  color: #777;
  min-width: 70px;
}

.fl-rule-list strong {
  color: #333;
}

.fl-rule-fee strong {
  color: #9a4a06;
}

.fl-rule-free strong,
.fl-rule-free i {
  color: #166534;
}

.fl-rules-line {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #e6e6e6;
  font-size: 0.85rem;
  color: #666;
}

.fl-rules-line i {
  margin-right: 6px;
  color: #999;
}

.fl-rules-line .fl-dot {
  margin: 0 6px;
  color: #bbb;
}

.fl-rules-line .fl-rule-fee {
  color: #9a4a06;
}

.fl-rules-line .fl-rule-free {
  color: #166534;
}

.fl-summary .fl-sum-head td,
.fl-form-card .fl-sum-head td {
  padding-top: 10px;
  font-weight: 700;
  border-bottom: 0;
}

@media (min-width: 992px) {
  .fl-summary {
    max-height: calc(100vh - 110px);
    overflow-y: auto;
  }
}

.fl-sum-discount td {
  color: #166534;
  font-weight: 700;
}

.fl-field-error {
  min-height: 0;
  color: #c2183a;
  font-size: 0.75rem;
  font-weight: 600;
}

.fl-search .fl-field-error:empty {
  display: none !important;
}

.fl-was {
  margin-left: 4px;
  color: #999;
  text-decoration: line-through;
}

.fl-save {
  color: #166534;
  font-weight: 700;
}

.fl-suggest {
  position: absolute;
  top: calc(100% - 6px);
  left: 12px;
  z-index: 60;
  width: max(300px, calc(100% - 24px));
  max-width: calc(100vw - 32px);
  max-height: 320px;
  margin: 0;
  padding: 6px;
  overflow-y: auto;
  list-style: none;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.16);
}

.fl-suggest[hidden] {
  display: none;
}

.fl-sg-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
}

.fl-sg-item.active,
.fl-sg-item:hover {
  background: #fff1f3;
}

.fl-sg-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.fl-sg-city {
  font-weight: 700;
  color: #222;
}

.fl-sg-main small {
  color: #888;
}

.fl-sg-code {
  flex: none;
  padding: 2px 8px;
  border-radius: 6px;
  background: #f3f3f3;
  color: var(--bs-primary);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.fl-suggest mark {
  padding: 0;
  background: transparent;
  color: var(--bs-primary);
  font-weight: 800;
}

.fl-sg-empty {
  padding: 12px;
  color: #888;
  font-size: 0.85rem;
}

.fl-sum-leg td {
    padding-top: .75rem;
    font-weight: 700;
    color: var(--bs-primary, #0d6efd);
    border-bottom: 1px solid rgba(0, 0, 0, .12);
}

.fl-leg-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    margin-right: .5rem;
    border-radius: 50%;
    background: var(--bs-primary, #0d6efd);
    color: #fff;
    font-size: .9rem;
}

.fl-offer.is-picked {
    outline: 2px solid var(--bs-primary, #0d6efd);
    outline-offset: -2px;
}

#fl-round {
    padding-bottom: 6rem;
}

.fl-pick-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    padding: .75rem 0;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, .12);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, .08);
}

.fl-pick-legs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    font-weight: 600;
}

.fl-pick-legs i {
    color: var(--bs-primary, #0d6efd);
}

.fl-pick-bar .btn.disabled {
    pointer-events: none;
    opacity: .5;
}

.fl-itin {
    margin-top: 1rem;
    padding-top: .9rem;
    border-top: 1px solid rgba(0, 0, 0, .09);
}

.fl-itin-head {
    margin: 0 0 .75rem;
}

.fl-itin-leg + .fl-itin-leg {
    margin-top: 1rem;
}

.fl-itin .fl-flight {
    display: block;
    text-align: center;
    color: #6c757d;
    font-size: .78rem;
    white-space: nowrap;
}

.fl-itin-box {
    padding: .9rem 1rem 1rem;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 10px;
    background: #fff;
}

.fl-itin-box .fl-leg-label:first-child {
    margin-top: 0;
}

.fl-layover-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    margin: .9rem -1rem;
    padding: .5rem 1rem;
    background: #f3f4f6;
    color: #495057;
    font-size: .88rem;
    text-align: center;
}

.fl-layover-row i {
    color: #6c757d;
}

.fl-itin-note {
    margin: .9rem 0 0;
    font-size: .9rem;
    color: #495057;
}

.fl-itin-note strong {
    color: #212529;
}

.fl-peek {
    position: relative;
    z-index: 2;
    margin-top: .5rem;
    font-size: .85rem;
}

.fl-peek summary {
    cursor: pointer;
    color: var(--bs-primary, #0d6efd);
}

.fl-peek-list {
    margin: .4rem 0 0;
    padding-left: 1rem;
}

.fl-peek-list li {
    margin-bottom: .25rem;
}

.fl-peek-lay {
    display: block;
    color: #6c757d;
}

.fl-peek-warn,
.fl-peek-self {
    color: #343a40;
    font-weight: 600;
}

.fl-peek-self {
    display: block;
    margin-top: .25rem;
}

.fl-leg-detail > .fl-mid > small.fl-stops {
    white-space: normal;
    overflow-wrap: anywhere;
}

.fl-airline-marks {
    display: flex;
    flex: none;
}

.fl-airline-marks .fl-airline-mark + .fl-airline-mark {
    margin-left: -12px;
}

.fl-airline-marks .fl-airline-mark {
    box-shadow: 0 0 0 2px #fff;
}

.fl-itin-leg .fl-code,
.fl-offer .fl-itin-leg .fl-code {
    font-size: 1.05rem;
}

.fl-itin-leg .fl-endpoint b {
    font-size: 1.05rem;
}

.fl-itin-leg .fl-dir {
    font-size: 0.62rem;
}

.fl-itin-leg > div > small:not(.fl-dir) {
    font-size: 0.76rem;
}

.fl-itin-leg .fl-term {
    font-size: 0.66rem;
    padding: 0 6px;
}

.fl-itin-leg .fl-mid .fl-dur,
.fl-itin .fl-flight {
    font-size: 0.74rem;
}

.fl-leg-label {
    display: block;
    margin-bottom: 4px;
    color: #6c757d;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.fl-itin-leg + .fl-leg-label {
    margin-top: 1rem;
}

.fl-layover-row + .fl-leg-label {
    margin-top: 0;
}

.fl-itin-leg .fl-adate {
    font-weight: 700;
    color: #212529;
}

/* results page: filters left, wide rows right */
.fl-results-grid {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.fl-filters {
    position: sticky;
    top: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid #eee;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .05);
}

.fl-filters-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .5rem;
}

.fl-filter {
    padding: .85rem 0;
    border-top: 1px solid #f0f0f0;
}

.fl-filter-title {
    margin-bottom: .5rem;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #666;
}

.fl-filter .form-check {
    margin-bottom: .3rem;
    font-size: .92rem;
}

.fl-airline-opt {
    display: flex;
    align-items: center;
    gap: .4rem;
}

.fl-airline-opt .form-check-label {
    flex: 1;
}

.fl-time-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .4rem;
}

.fl-time input {
    position: absolute;
    opacity: 0;
}

.fl-time span {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .15rem;
    padding: .45rem .3rem;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    font-size: .74rem;
    color: #555;
    cursor: pointer;
    text-align: center;
}

.fl-time span i {
    font-size: 1rem;
}

.fl-time input:checked + span {
    border-color: var(--bs-primary);
    color: var(--bs-primary);
    background: #fff1f3;
}

.fl-sortbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: 1rem;
}

.fl-sort {
    display: flex;
    margin-left: auto;
    border: 1px solid #e5e5e5;
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
}

.fl-sort button {
    padding: .45rem 1rem;
    border: 0;
    background: transparent;
    font-size: .88rem;
    font-weight: 700;
    color: #555;
}

.fl-sort button.active {
    background: var(--bs-primary);
    color: #fff;
}

.fl-rows {
    display: flex;
    flex-direction: column;
    gap: .9rem;
}

.fl-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px;
    border: 1px solid #eee;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .05);
    overflow: hidden;
}

.fl-row.is-picked {
    outline: 2px solid var(--bs-primary);
    outline-offset: -2px;
}

.fl-row-main {
    padding: 1rem 1.25rem;
    container-type: inline-size;
}

.fl-row-air {
    margin-bottom: .6rem;
}

.fl-row-leg {
    margin: 0;
}

.fl-row-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem 1rem;
    margin-top: .7rem;
    font-size: .82rem;
    color: #555;
}

.fl-bag-line {
    display: inline-flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.fl-bag-line i {
    margin-right: .25rem;
    color: var(--bs-primary);
}

.fl-rules-inline {
    color: #777;
}

.fl-row-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: .25rem;
    padding: 1rem 1.25rem;
    border-left: 1px dashed #e5e5e5;
    background: #fafafa;
    text-align: right;
}

.fl-row-price .btn {
    margin-top: .5rem;
    min-width: 120px;
}

.fl-row .fl-peek {
    margin-top: .5rem;
}

.fl-filters-backdrop {
    display: none;
}

@media (max-width: 991.98px) {
    .fl-results-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .fl-filters {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 1050;
        width: min(320px, 88vw);
        overflow-y: auto;
        border-radius: 0;
        transform: translateX(-100%);
        transition: transform .2s ease;
    }

    .fl-filters.is-open {
        transform: none;
    }

    .fl-filters-backdrop.is-open {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1040;
        background: rgba(0, 0, 0, .4);
    }

    .fl-no-scroll {
        overflow: hidden;
    }
}

@media (max-width: 575.98px) {
    .fl-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .fl-row-price {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        border-left: 0;
        border-top: 1px dashed #e5e5e5;
        text-align: left;
    }

    .fl-row-price .btn {
        margin-top: 0;
    }
}

@media (max-width: 575.98px) {
    .fl-row-leg {
        grid-template-columns: minmax(0, 1fr) minmax(64px, auto) minmax(0, 1fr);
        gap: 6px;
    }

    .fl-row-leg .fl-code,
    .fl-row-leg .fl-endpoint b {
        font-size: 1.05rem;
    }

    .fl-row-leg .fl-endpoint {
        gap: 6px;
    }

    .fl-row-leg > div > small:not(.fl-dir) {
        white-space: normal;
        font-size: .74rem;
    }

    .fl-row-leg .fl-term {
        font-size: .66rem;
    }
}

.fl-live-bar { display: flex; align-items: center; gap: .6rem; margin-bottom: .9rem; padding: .6rem .9rem; border-radius: 10px; background: #f1f2f4; color: #495057; font-size: .9rem; }
.fl-live-bar.is-done { background: #e8f6ee; color: #1a8a4a; }
.fl-live-bar i { font-size: 1rem; }
.fl-spinner { width: 14px; height: 14px; border: 2px solid #c9ced4; border-top-color: var(--bs-primary); border-radius: 50%; animation: fl-spin .8s linear infinite; }
@keyframes fl-spin { to { transform: rotate(360deg); } }
.fl-chip-live { background: #e8f6ee; color: #1a8a4a; }
.fl-row-live .fl-row-price { background: #f6fbf8; }

.fl-chip-reco { margin-right: 6px; background: #343a40; color: #fff; }
.fl-chip-reco i { font-size: .65rem; margin-right: 3px; color: #f2b01e; }

.fl-row-details { display: block; margin-top: .4rem; font-size: .82rem; color: #6c757d; text-decoration: underline; }

.fl-peek summary { color: #495057; }
.fl-peek summary:hover { color: #212529; }
.fl-term { background: #eef0f3; color: #495057; }
.fl-rules-inline .fl-rule-fee, .fl-rules-inline .fl-rule-free { color: #495057; }
