/* =========================================================
   FlyIndoAirways - Flight List Review (Step 3)
   Pixel-perfect Figma Styles based on Figma export & specs
   ========================================================= */

.flight-list-review-page,
.flight-list-review-page * {
  box-sizing: border-box;
}

.flight-list-review-page {
  background: #f2f2f2;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  width: 1920px;
  margin: 0 auto;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  transform-origin: top center;
}

.flight-list-review-page a {
  text-decoration: none;
  color: inherit;
}

.flight-list-review-page .header {
  position: relative !important;
  width: 1920px;
  height: 64px;
  background: #2649aa;
  z-index: 100;
}

.flight-list-review-page .footer {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  margin-top: 60px !important;
  width: 1920px !important;
  height: 533px !important;
  z-index: 10 !important;
}

.flight-review-wrapper {
  background: #f2f2f2;
  position: relative;
  overflow-x: hidden;
  width: 1920px;
}

.flight-review-container {
  width: 1140px !important;
  max-width: 1140px !important;
  margin: 0 auto !important;
  padding: 30px 0 60px 0 !important;
  position: relative;
  box-sizing: border-box;
}

/* =========================================================
   Order Code Badge & Reference Note
   Rule: Vàng - pending, xanh - confirm, đỏ - cancel
   ========================================================= */
.order-code-section {
  margin-bottom: 24px;
}

.order-code-badge {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 16px;
  border-radius: 4px;
  gap: 6px;
  transition: all 0.2s ease;
}

/* Xanh - confirm */
.order-code-badge.status-confirm {
  background: #f5fdda;
  border: 1px solid #81be33;
}

/* Vàng - pending */
.order-code-badge.status-pending {
  background: #fffbe6;
  border: 1px solid #f5aa14;
}

/* Đỏ - cancel */
.order-code-badge.status-cancel {
  background: #fff1f0;
  border: 1px solid #eb453c;
}

.order-code-badge .order-code-label {
  font-size: 16px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.65);
  line-height: 1.4;
}

.order-code-badge .order-code-value {
  font-size: 20px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.85);
  line-height: 1.4;
}

.order-code-notice {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.65);
  margin-top: 8px;
  line-height: 1.4;
}

/* =========================================================
   Section Titles & White Cards
   ========================================================= */
.review-section-title {
  color: #2649aa;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.4;
  margin: 28px 0 16px 0;
}

.review-card {
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.15);
  width: 100%;
  padding: 24px;
  margin-bottom: 8px;
}

/* =========================================================
   Price Card (Figma rectangle-211)
   ========================================================= */
.review-card.price-card {
  display: flex;
  gap: 32px;
  padding: 24px 32px;
}

.price-card-left {
  flex: 1;
  border-right: 1px dashed rgba(0, 0, 0, 0.15);
  padding-right: 32px;
}

.price-card-right {
  flex: 1;
  padding-left: 8px;
}

.price-total-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.price-total-label {
  color: #2649aa;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
}

.price-total-amount {
  color: #eb453c;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price-total-currency {
  font-size: 20px;
  font-weight: 400;
}

.price-total-num {
  font-size: 24px;
  font-weight: 500;
}

.price-total-subtext {
  color: rgba(0, 0, 0, 0.55);
  font-size: 12px;
  line-height: 1.4;
  margin-top: 4px;
  margin-bottom: 24px;
}

.price-line-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.75);
  margin-bottom: 12px;
}

.price-line-divider {
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  margin: 16px 0;
}

.price-flight-tags-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.price-flight-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.85);
  margin-top: 0;
}

/* Airline logo mini - global constraint */
.airline-logo-mini {
  height: 20px;
  width: auto;
  max-width: 48px;
  max-height: 20px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}

.price-flight-tag .airline-logo-mini {
  height: 18px;
  width: auto;
  max-width: 24px;
  object-fit: contain;
}

.price-flight-tag .aircraft-type {
  color: rgba(0, 0, 0, 0.65);
}

.price-flight-tag .bullet-sep,
.itinerary-flight-meta .bullet-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}

/* Right side: Price details */
.price-details-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.price-details-title {
  color: #2649aa;
  font-size: 16px;
  font-weight: 500;
}

.price-details-total-red {
  color: #eb453c;
  font-size: 16px;
  font-weight: 500;
}

.price-pax-accordion {
  margin-bottom: 12px;
}

.price-pax-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 4px 0;
  user-select: none;
}

.price-pax-toggle-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.85);
  font-weight: 400;
}

.price-pax-caret {
  transition: transform 0.2s ease;
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.price-pax-toggle.open .price-pax-caret svg {
  transform: rotate(180deg);
}

.price-pax-box {
  background: rgba(14, 97, 215, 0.08);
  border-radius: 4px;
  padding: 16px;
  margin-top: 8px;
}

.price-pax-box-title {
  font-size: 12px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.85);
  margin-bottom: 8px;
}

.price-pax-box-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.85);
  margin-bottom: 6px;
}

.price-pax-box-row.strong {
  font-weight: 500;
}

/* =========================================================
   Itinerary Card (Figma rectangle-212)
   ========================================================= */
.itinerary-flight-section {
  padding: 4px 0;
}

.itinerary-flight-section + .itinerary-flight-section {
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  margin-top: 24px;
  padding-top: 24px;
}

.itinerary-flight-title {
  color: #2649aa;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 8px;
}

.itinerary-route-line {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 500;
  color: #2649aa;
  margin-bottom: 20px;
}

.itinerary-route-cities {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.itinerary-route-plane {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.itinerary-route-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
}

.itinerary-route-date {
  color: rgba(0, 0, 0, 0.65);
  font-size: 14px;
  font-weight: 400;
}

.itinerary-main-row {
  display: flex;
  justify-content: space-between;
  gap: 32px;
}

.itinerary-times-left {
  flex: 1;
}

.itinerary-times-grid {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 16px;
}

.itinerary-station {
  min-width: 140px;
}

.itinerary-time-code {
  font-size: 18px;
  font-weight: 500;
  color: #2649aa;
  line-height: 1.4;
}

.itinerary-city {
  font-size: 12px;
  font-weight: 500;
  color: #2649aa;
  line-height: 1.4;
}

.itinerary-middle-flight {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 100px;
}

.itinerary-duration-pill {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 20px;
  padding: 3px 16px;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.55);
  font-weight: 400;
  text-align: center;
}

.itinerary-stop-badge {
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

.itinerary-stop-badge.non-stop {
  color: #81be33;
}

.itinerary-stop-badge.has-stops {
  color: #eb453c;
}

.itinerary-flights-meta-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 8px;
}

.itinerary-flight-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.85);
  margin-bottom: 0;
}

.itinerary-more-details-btn {
  color: #318fdb;
  font-size: 12px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 400;
  background: none;
  border: none;
  padding: 0;
  outline: none;
  font-family: inherit;
}

.itinerary-more-details-btn:hover {
  text-decoration: underline;
}

/* Right spec box (517px width in Figma) */
.itinerary-spec-box {
  width: 44%;
  min-width: 280px;
  background: rgba(14, 97, 215, 0.08);
  border-radius: 4px;
  padding: 16px 20px;
}

.itinerary-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  margin-bottom: 8px;
}

.itinerary-spec-row:last-child {
  margin-bottom: 0;
}

.itinerary-spec-label {
  font-weight: 500;
  color: rgba(0, 0, 0, 0.85);
}

.itinerary-spec-value {
  color: rgba(0, 0, 0, 0.85);
}

.itinerary-spec-value.cabin-blue {
  color: #0e61d7;
}

/* Total Duration line */
.itinerary-total-duration-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-top: 16px;
}

.itinerary-total-duration-label {
  color: rgba(0, 0, 0, 0.85);
}

.itinerary-total-duration-val {
  font-weight: 500;
  color: #eb453c;
}

.itinerary-total-duration-badge {
  font-weight: 500;
}

.itinerary-total-duration-badge.non-stop {
  color: #81be33;
}

.itinerary-total-duration-badge.has-stops {
  color: #eb453c;
}

/* Collapsible more details segment container */
.itinerary-segments-detail {
  margin-top: 16px;
  padding: 16px;
  background: #f8fafc;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.itinerary-leg-item + .itinerary-leg-item {
  border-top: 1px dashed rgba(0, 0, 0, 0.15);
  margin-top: 12px;
  padding-top: 12px;
}

/* =========================================================
   Passenger Details Card (Figma passenger-details-2-traveler-s)
   ========================================================= */
.review-passenger-table {
  width: 100%;
}

.review-passenger-header {
  display: grid;
  grid-template-columns: 2fr 1.3fr 1.2fr 1.4fr 1.3fr 1.3fr 1.5fr;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  font-size: 14px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.85);
}

.review-passenger-row {
  display: grid;
  grid-template-columns: 2fr 1.3fr 1.2fr 1.4fr 1.3fr 1.3fr 1.5fr;
  padding: 16px 0;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.85);
  align-items: center;
}

.review-passenger-row + .review-passenger-row {
  border-top: 1px dashed rgba(0, 0, 0, 0.15);
}

.mobile-label {
  display: none;
}

/* =========================================================
   Contact Details Card
   ========================================================= */
.review-contact-grid {
  display: flex;
  gap: 48px;
  padding-top: 4px;
}

.review-contact-item {
  flex: 1;
}

.review-contact-label {
  font-size: 14px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.85);
  margin-bottom: 8px;
}

.review-contact-value {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.85);
}

/* =========================================================
   Baggage Card (Figma baggage)
   ========================================================= */
.review-baggage-traveler-title {
  color: #2649aa;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 16px;
}

.review-baggage-leg {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 16px 0;
}

.review-baggage-leg + .review-baggage-leg {
  border-top: 1px solid rgba(0, 0, 0, 0.15);
}

.review-baggage-route {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 500;
  color: #2649aa;
}

.review-baggage-info {
  text-align: left;
  min-width: 440px;
}

.review-baggage-item {
  margin-bottom: 12px;
}

.review-baggage-item:last-child {
  margin-bottom: 0;
}

.review-baggage-status {
  font-size: 14px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.85);
  margin-bottom: 4px;
}

.review-baggage-status.not-included {
  color: #cd3e25;
}

.review-baggage-desc {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.85);
}

.review-baggage-notes {
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  padding-top: 16px;
  margin-top: 16px;
}

.review-baggage-notes .note-title {
  font-size: 12px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.85);
  margin-bottom: 4px;
}

.review-baggage-notes .note-desc {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.55);
  margin-bottom: 4px;
  line-height: 1.4;
}

/* =========================================================
   Payment Option Card (Figma payment-option)
   ========================================================= */
.review-payment-options-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.review-payment-option-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-custom-radio {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.review-custom-radio input[type="radio"] {
  display: none;
}

.review-radio-indicator {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #2649aa;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.review-radio-indicator::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2649aa;
  opacity: 0;
  transform: scale(0.4);
  transition: all 0.2s ease;
}

.review-custom-radio input[type="radio"]:checked + .review-radio-indicator::after {
  opacity: 1;
  transform: scale(1);
}

.review-radio-label {
  color: #2649aa;
  font-size: 16px;
  font-weight: 500;
}

.payment-card-logos {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 34px;
  margin-top: 10px;
  margin-bottom: 6px;
}

.payment-card-logo-box {
  width: 52px;
  height: 32px;
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 6px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.payment-card-logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* =========================================================
   Term of Use Card & Continue Action (Figma term-of-use)
   ========================================================= */
.term-of-use-title {
  color: #2649aa;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 12px;
}

.term-of-use-scrollbox {
  max-height: 280px;
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.85);
  padding-right: 16px;
}

.term-of-use-scrollbox::-webkit-scrollbar {
  width: 6px;
}

.term-of-use-scrollbox::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.term-of-use-scrollbox::-webkit-scrollbar-thumb {
  background: #2649aa;
  border-radius: 10px;
}

.review-bottom-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  width: 100%;
}

.review-agree-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.85);
  user-select: none;
}

.review-agree-checkbox {
  width: 20px;
  height: 20px;
  accent-color: #2649aa;
  cursor: pointer;
}

.flight-list-review-page .review-agree-link,
.review-agree-link {
  color: #1648c1 !important;
  text-decoration: underline !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: color 0.2s ease !important;
}

.flight-list-review-page .review-agree-link:hover,
.review-agree-link:hover {
  color: #0d3494 !important;
  text-decoration: underline !important;
}

.btn-continue-review {
  background: #eb453c;
  border-radius: 4px;
  height: 40px;
  padding: 0 36px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.1s ease;
}

.btn-continue-review:hover {
  background: #d4382f;
  transform: translateY(-1px);
}

.btn-continue-review:active {
  transform: translateY(0);
}

.review-terms-error {
  color: #eb453c;
  font-size: 13px;
  margin-top: 8px;
  display: none;
}

/* =========================================================
   RESPONSIVE - Tablet & Mobile
   ========================================================= */

/* ── Tablet: ≤ 1280px ── */
@media (max-width: 1280px) {
  .review-section-title {
    font-size: 24px;
  }

  .itinerary-spec-box {
    width: 42%;
  }

  .review-baggage-info {
    min-width: 320px;
  }
}

/* ── Small Tablet: ≤ 992px ── */
@media (max-width: 992px) {
  /* Price card: stack thành 1 cột */
  .review-card.price-card {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }

  .price-card-left {
    border-right: none;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.15);
    padding-right: 0;
    padding-bottom: 20px;
  }

  .price-card-right {
    padding-left: 0;
  }

  /* Itinerary: stack main row */
  .itinerary-main-row {
    flex-direction: column;
    gap: 16px;
  }

  .itinerary-spec-box {
    width: 100%;
    min-width: unset;
  }

  /* Passenger table: thu nhỏ cột */
  .review-passenger-header,
  .review-passenger-row {
    grid-template-columns: 2fr 1.2fr 1.2fr 1.2fr 1.2fr;
    font-size: 13px;
  }

  /* Ẩn cột Baggage & SSR trên tablet nhỏ */
  .review-passenger-header .col-baggage,
  .review-passenger-row .col-baggage,
  .review-passenger-header .col-ssr,
  .review-passenger-row .col-ssr {
    display: none;
  }

  .review-baggage-leg {
    flex-direction: column;
    gap: 12px;
  }

  .review-baggage-info {
    min-width: unset;
    width: 100%;
  }

  .review-contact-grid {
    flex-direction: column;
    gap: 16px;
  }

  .itinerary-times-grid {
    gap: 12px;
  }

  .itinerary-station {
    min-width: 100px;
  }

  .review-bottom-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .btn-continue-review {
    width: 100%;
    justify-content: center;
  }
}

/* ── Mobile: ≤ 768px ── */
@media (max-width: 768px) {
  .flight-review-container {
    padding: 16px 10px 32px 10px;
  }

  .review-section-title {
    font-size: 20px;
    margin: 20px 0 12px 0;
  }

  .review-card {
    padding: 16px;
    border-radius: 4px;
  }

  .review-card.price-card {
    padding: 16px;
  }

  /* Price numbers */
  .price-total-num {
    font-size: 20px;
  }

  .price-total-currency {
    font-size: 16px;
  }

  /* Itinerary Section on Mobile */
  .itinerary-flight-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #2649aa !important;
    margin-bottom: 6px !important;
  }

  .itinerary-route-line {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
    margin-bottom: 16px !important;
  }

  .itinerary-route-cities {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #2649aa !important;
    line-height: 1.35 !important;
  }

  .itinerary-route-plane {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 2px !important;
  }

  .itinerary-route-plane svg {
    width: 16px !important;
    height: 16px !important;
  }

  .itinerary-route-dot {
    display: none !important;
  }

  .itinerary-route-date {
    display: block !important;
    font-size: 13px !important;
    color: rgba(0, 0, 0, 0.55) !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
  }

  /* Itinerary times grid: 3-column balanced times row on Mobile */
  .itinerary-times-grid {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
    margin-bottom: 14px !important;
  }

  .itinerary-station {
    min-width: 0 !important;
    width: 100% !important;
  }

  .itinerary-station.departure,
  .itinerary-station:first-child {
    text-align: left !important;
  }

  .itinerary-station.arrival,
  .itinerary-station:last-child {
    text-align: right !important;
  }

  .itinerary-station.arrival .itinerary-time-code,
  .itinerary-station.arrival .itinerary-city,
  .itinerary-station:last-child .itinerary-time-code,
  .itinerary-station:last-child .itinerary-city {
    text-align: right !important;
  }

  .itinerary-time-code {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #2649aa !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
  }

  .itinerary-city {
    font-size: 12px !important;
    font-weight: 400 !important;
    color: #2649aa !important;
    opacity: 0.85 !important;
    line-height: 1.3 !important;
    margin-top: 3px !important;
    word-break: break-word !important;
  }

  .itinerary-middle-flight {
    min-width: 72px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    padding-top: 2px !important;
  }

  .itinerary-duration-pill {
    background: rgba(0, 0, 0, 0.08) !important;
    color: rgba(0, 0, 0, 0.65) !important;
    border-radius: 12px !important;
    padding: 2px 10px !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
  }

  .itinerary-stop-badge {
    font-size: 11px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
  }

  .itinerary-stop-badge.non-stop {
    color: #81be33 !important;
  }

  .itinerary-stop-badge.has-stops {
    color: #eb453c !important;
  }

  .itinerary-flight-meta {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 13px !important;
    color: rgba(0, 0, 0, 0.75) !important;
    margin-bottom: 10px !important;
  }

  .itinerary-more-details-btn {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #318fdb !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
  }

  /* Passenger Details on Mobile: 2-column card layout displaying ALL information */
  .review-passenger-header {
    display: none !important;
  }

  .review-passenger-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px 14px !important;
    padding: 14px 0 !important;
    border-bottom: none !important;
  }

  .review-passenger-row + .review-passenger-row {
    border-top: 1px dashed rgba(0, 0, 0, 0.15) !important;
    margin-top: 8px !important;
    padding-top: 16px !important;
  }

  .review-passenger-row .review-p-cell.col-name {
    grid-column: 1 / -1 !important;
    padding-bottom: 6px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    margin-bottom: 2px !important;
  }

  .review-passenger-row .review-p-cell.col-name strong,
  .review-passenger-row .passenger-name-text {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #2649aa !important;
  }

  .review-passenger-row .review-p-cell {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .review-passenger-row .mobile-label {
    display: block !important;
    font-size: 11.5px !important;
    font-weight: 500 !important;
    color: rgba(0, 0, 0, 0.5) !important;
    margin-bottom: 2px !important;
    line-height: 1.3 !important;
  }

  .review-passenger-row .col-value {
    font-size: 13.5px !important;
    font-weight: 500 !important;
    color: rgba(0, 0, 0, 0.85) !important;
    line-height: 1.35 !important;
    word-break: break-word !important;
  }

  .review-passenger-row .review-p-cell.col-flyer {
    grid-column: 1 / -1 !important;
  }

  /* Contact */
  .review-contact-label {
    font-size: 13px;
  }

  .review-contact-value {
    font-size: 13px;
  }

  /* Baggage */
  .review-baggage-route {
    font-size: 14px;
  }

  .review-baggage-status,
  .review-baggage-desc {
    font-size: 13px;
  }

  /* Order code */
  .order-code-badge .order-code-value {
    font-size: 17px;
  }

  /* Payment logos */
  .payment-card-logos {
    flex-wrap: wrap;
    gap: 8px;
  }

  .payment-card-logo-box {
    width: 52px;
    height: 40px;
  }
}

/* ── Small Mobile: ≤ 480px ── */
@media (max-width: 480px) {
  .flight-review-container {
    padding: 12px 8px 24px 8px;
  }

  .review-section-title {
    font-size: 18px;
  }

  .review-card {
    padding: 12px;
  }

  .price-total-num {
    font-size: 18px;
  }

  .itinerary-middle-flight {
    min-width: 70px;
  }

  .itinerary-duration-pill {
    padding: 2px 10px;
    font-size: 11px;
  }

  .btn-continue-review {
    height: 44px;
    font-size: 13px;
  }

  .order-code-badge {
    height: 28px;
    padding: 0 12px;
  }

  .order-code-badge .order-code-value {
    font-size: 15px;
  }
}

