/* My Bookings — upcoming trips */

.page-my-bookings {
  background: #f3f4f6;
}

.my-bookings-main {
  padding: 2.25rem 0 3rem;
}

.my-bookings-head {
  margin-bottom: 1.75rem;
}

.my-bookings-title {
  margin: 0 0 0.4rem;
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.my-bookings-lead {
  margin: 0;
  font-size: 1.05rem;
  color: #6b7280;
}

.my-bookings-layout {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .my-bookings-layout {
    grid-template-columns: 260px 1fr;
    gap: 2rem;
  }
}

/* Sidebar */
.trip-categories-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem 0.85rem;
}

.trip-categories-heading {
  margin: 0 0 0.85rem 0.65rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
}

.trip-categories-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.trip-categories-nav li + li {
  margin-top: 0.25rem;
}

.trip-cat-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #6b7280;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.trip-cat-link:hover:not(.trip-cat-link--disabled):not(.is-active) {
  background: #f3f4f6;
  color: var(--navy);
}

.trip-cat-link.is-active {
  background: var(--navy);
  color: #fff;
}

.trip-cat-link--disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.trip-cat-icon {
  flex-shrink: 0;
}

.trip-cat-badge {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.22);
  color: inherit;
}

.trip-cat-link:not(.is-active) .trip-cat-badge {
  background: #e5e7eb;
  color: #4b5563;
}

.sabah-promo-card {
  display: block;
  position: relative;
  margin-top: 1rem;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  min-height: 200px;
}

.sabah-promo-bg {
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1506905925346-21bda4d32df4?auto=format&fit=crop&w=600&q=80");
  background-size: cover;
  background-position: center;
}

.sabah-promo-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 45, 114, 0.55) 100%);
}

.sabah-promo-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 200px;
  padding: 1.25rem;
  color: #fff;
}

.sabah-promo-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.9;
}

.sabah-promo-title {
  margin: 0.2rem 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.sabah-promo-cta {
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Booking cards */
.bookings-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.booking-card {
  display: grid;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 4px 18px rgba(0, 45, 114, 0.06);
}

@media (min-width: 768px) {
  .booking-card {
    grid-template-columns: 1fr auto;
    align-items: stretch;
    gap: 0;
    padding: 0;
  }

  .booking-card-body {
    padding: 1.25rem 1.35rem;
  }

  .booking-card-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.65rem;
    padding: 1.25rem 1.35rem;
    border-left: 1px solid var(--border);
    min-width: 200px;
  }
}

.booking-card-head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.booking-airline-logo-wrap {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  border-radius: 10px;
  overflow: hidden;
}

.booking-airline-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.booking-card-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
}

.booking-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.6rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.booking-badge--boarding {
  background: #fee2e2;
  color: #b91c1c;
}

.booking-badge--confirmed {
  background: #dbeafe;
  color: #1d4ed8;
}

.booking-badge--checked-in {
  background: #dcfce7;
  color: #15803d;
}

.booking-badge--boarding-soon {
  background: #ffedd5;
  color: #c2410c;
}

.booking-badge--boarding-active {
  background: #ede9fe;
  color: #6d28d9;
}

.booking-badge--in-flight {
  background: #e0f2fe;
  color: #0369a1;
}

.booking-badge--completed {
  background: #f3f4f6;
  color: #4b5563;
}

.booking-badge--cancelled {
  background: #fee2e2;
  color: #b91c1c;
}

.booking-badge--pending {
  background: #fef9c3;
  color: #a16207;
}

.booking-badge--flight {
  background: #e0f2fe;
  color: #0369a1;
}

.booking-route {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.75rem;
  align-items: center;
}

.my-bookings-empty {
  margin: 0;
  padding: 2rem;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: #6b7280;
}

.my-bookings-empty a {
  color: var(--navy);
  font-weight: 600;
}

.my-bookings-state {
  margin: 0;
  padding: 2rem 1.25rem;
  text-align: center;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
}

.my-bookings-state--loading {
  color: #6b7280;
}

.my-bookings-state--error {
  color: #b91c1c;
  background: #fef2f2;
  border-color: #fecaca;
}

.booking-card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0 0 1rem;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  font-size: 0.875rem;
  color: #475569;
}

.booking-card-meta--compact {
  margin: 0.35rem 0 0.75rem;
  padding: 0.55rem 0.75rem;
}

.booking-card-meta span {
  display: block;
}

.booking-route-city {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9ca3af;
}

.booking-route-code {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
}

.booking-route-time {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #111827;
}

.booking-route-time--detail {
  color: #6b7280;
  font-weight: 500;
}

.booking-route-mid {
  text-align: center;
  min-width: 110px;
}

.booking-route-duration {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #6b7280;
}

.booking-route-line-wrap {
  position: relative;
  margin: 0.35rem 0;
  height: 2px;
}

.booking-route-line {
  display: block;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    #d1d5db 0,
    #d1d5db 4px,
    transparent 4px,
    transparent 8px
  );
}

.booking-route-plane {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  font-size: 0.75rem;
}

.booking-route-stops {
  display: block;
  font-size: 0.75rem;
  color: #9ca3af;
}

.booking-route-point--end {
  text-align: right;
}

.booking-card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.btn-booking-primary,
.btn-booking-secondary,
.btn-booking-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn-booking-primary {
  border: none;
  background: var(--navy);
  color: #fff;
}

.btn-booking-primary:hover {
  background: var(--navy-dark);
}

.btn-booking-secondary {
  background: #fff;
  color: #111827;
  border: 1px solid #d1d5db;
}

.btn-booking-secondary:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.btn-booking-danger {
  background: #fff;
  color: #dc2626;
  border: 1px solid #fca5a5;
}

.btn-booking-danger:hover {
  background: #fef2f2;
}

/* Footer */
.site-footer--bookings {
  background: #e5e7eb;
  border-top: none;
  padding: 2.5rem 0;
}

.footer-grid--bookings {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid--bookings {
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.site-footer--bookings .footer-brand p {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: #6b7280;
  max-width: 16rem;
}

.site-footer--bookings .footer-heading {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #111827;
}

.site-footer--bookings .footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer--bookings .footer-col li + li {
  margin-top: 0.45rem;
}

.site-footer--bookings .footer-col a {
  font-size: 0.88rem;
  color: #4b5563;
  text-decoration: none;
}

.site-footer--bookings .footer-col a:hover {
  color: var(--navy);
  text-decoration: underline;
}

@media (max-width: 767px) {
  .booking-route {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .booking-route-point--end {
    text-align: center;
  }

  .booking-card-actions {
    padding-top: 0.25rem;
  }
}

/* —— Past trips / booking history —— */

.page-my-bookings-past .trip-categories-heading {
  color: var(--navy);
}

.my-bookings-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.trips-stats-card {
  position: relative;
  margin-top: 1rem;
  padding: 1.25rem;
  border-radius: 12px;
  background: linear-gradient(145deg, #1d4ed8 0%, var(--navy) 100%);
  color: #fff;
  overflow: hidden;
}

.trips-stats-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.9;
}

.trips-stats-value {
  display: block;
  margin: 0.35rem 0 0.25rem;
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.trips-stats-foot {
  display: block;
  font-size: 0.82rem;
  opacity: 0.88;
}

.trips-stats-plane {
  position: absolute;
  right: -0.5rem;
  bottom: -0.75rem;
  opacity: 0.15;
  pointer-events: none;
}

.past-bookings-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.past-booking-card {
  display: grid;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.15rem 1.25rem;
  box-shadow: 0 4px 18px rgba(0, 45, 114, 0.06);
}

@media (min-width: 900px) {
  .past-booking-card {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1.5rem;
  }
}

.past-booking-main {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  min-width: 0;
}

.past-airline-logo-wrap {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  border-radius: 10px;
  overflow: hidden;
}

.past-airline-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.past-booking-info {
  flex: 1;
  min-width: 0;
}

.past-flight-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.past-flight-number {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}

.past-fare-class {
  font-size: 0.88rem;
  font-weight: 500;
  color: #6b7280;
}

.past-route {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.65rem;
  align-items: center;
}

.past-route-city {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9ca3af;
}

.past-route-code {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
}

.past-route-time {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.82rem;
  color: #6b7280;
}

.past-route-mid {
  text-align: center;
  min-width: 90px;
}

.past-route-duration {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
}

.past-route-line-wrap {
  position: relative;
  margin: 0.3rem 0;
  height: 2px;
}

.past-route-line {
  display: block;
  height: 2px;
  background: #e5e7eb;
}

.past-route-plane {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
}

.past-route-point--end {
  text-align: right;
}

.past-booking-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

@media (max-width: 899px) {
  .past-booking-aside {
    align-items: flex-start;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
  }
}

.past-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: #dcfce7;
  color: #15803d;
}

.past-status-badge--completed {
  background: #f3f4f6;
  color: #4b5563;
}

.past-status-badge--cancelled {
  background: #fee2e2;
  color: #b91c1c;
}

.past-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
}

.past-booking-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.btn-past-rebook {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.15rem;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-past-rebook:hover {
  background: var(--navy-dark);
  color: #fff;
}

.btn-past-eticket {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  border: 1px solid #dbeafe;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.btn-past-eticket:hover {
  background: #dbeafe;
}

/* Islands promo */
.islands-promo {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 200px;
}

.islands-promo-bg {
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1520250497591-112f2f40a3b4?auto=format&fit=crop&w=1200&q=80");
  background-size: cover;
  background-position: center;
}

.islands-promo-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 45, 114, 0.75) 0%, rgba(0, 45, 114, 0.35) 100%);
}

.islands-promo-content {
  position: relative;
  z-index: 1;
  padding: 2rem 1.75rem;
  max-width: 32rem;
  color: #fff;
}

.islands-promo-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.islands-promo-text {
  margin: 0 0 1.15rem;
  font-size: 0.95rem;
  line-height: 1.55;
  opacity: 0.95;
}

.btn-islands-explore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.25rem;
  border-radius: 8px;
  background: #22d3ee;
  color: #0f172a;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-islands-explore:hover {
  background: #06b6d4;
  color: #0f172a;
}

.footer-grid--bookings-past {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid--bookings-past {
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 767px) {
  .past-route {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .past-route-point--end {
    text-align: center;
  }

  .past-booking-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .past-flight-meta {
    justify-content: center;
  }
}

/* —— Cancelled bookings —— */

.page-my-bookings-cancelled .trip-categories-heading {
  color: var(--navy);
}

.cancelled-bookings-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cancelled-booking-card {
  display: grid;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.15rem 1.25rem;
  box-shadow: 0 4px 18px rgba(0, 45, 114, 0.06);
}

@media (min-width: 768px) {
  .cancelled-booking-card {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1.5rem;
  }
}

.cancelled-booking-main {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  min-width: 0;
}

.cancelled-airline-logo-wrap {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  border-radius: 10px;
  overflow: hidden;
}

.cancelled-airline-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cancelled-booking-info {
  flex: 1;
  min-width: 0;
}

.cancelled-flight-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.cancelled-flight-number {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}

.cancelled-status-badge {
  display: inline-block;
  padding: 0.22rem 0.55rem;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #fee2e2;
  color: #b91c1c;
}

.cancelled-route {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.01em;
}

.cancelled-date {
  margin: 0;
  font-size: 0.85rem;
  color: #6b7280;
}

.cancelled-booking-refund {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.45rem;
  text-align: right;
}

@media (max-width: 767px) {
  .cancelled-booking-refund {
    align-items: flex-start;
    text-align: left;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
  }

  .cancelled-booking-main {
    width: 100%;
  }
}

.cancelled-refund-label {
  margin: 0;
  font-size: 0.88rem;
  color: #6b7280;
}

.cancelled-refund-label strong {
  color: var(--navy);
  font-weight: 700;
}

.cancelled-refund-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: #dcfce7;
  color: #15803d;
}

/* Plan your next escape promo */
.escape-promo {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 200px;
}

.escape-promo-bg {
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1436491865332-7a61a109cc05?auto=format&fit=crop&w=1200&q=80");
  background-size: cover;
  background-position: center;
}

.escape-promo-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 45, 114, 0.72) 0%, rgba(0, 45, 114, 0.4) 100%);
}

.escape-promo-content {
  position: relative;
  z-index: 1;
  padding: 2rem 1.75rem;
  max-width: 34rem;
  color: #fff;
}

.escape-promo-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.escape-promo-text {
  margin: 0 0 1.15rem;
  font-size: 0.95rem;
  line-height: 1.55;
  opacity: 0.95;
}

.btn-escape-explore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.25rem;
  border-radius: 8px;
  background: #22d3ee;
  color: #0f172a;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-escape-explore:hover {
  background: #06b6d4;
  color: #0f172a;
}

/* Check-in & e-ticket modals */
.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.booking-modal--hidden {
  display: none;
}

.booking-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.booking-modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  background: #fff;
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 20px 50px rgba(0, 45, 114, 0.18);
}

.booking-modal-panel--wide {
  width: min(100%, 520px);
}

#eticket-modal.booking-modal {
  align-items: center;
  overflow-y: auto;
}

#eticket-modal .booking-modal-panel--wide {
  max-height: calc(100vh - 2.5rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#eticket-modal .eticket-modal-head {
  flex-shrink: 0;
}

#eticket-modal .eticket-content {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

#eticket-modal .booking-modal-actions--eticket {
  flex-shrink: 0;
}

.booking-modal-title {
  margin: 0 0 0.65rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
}

.booking-modal-text {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #4b5563;
}

.booking-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
}

.booking-modal-actions--eticket {
  margin-top: 1.25rem;
}

.booking-modal-close {
  border: none;
  background: transparent;
  font-size: 1.75rem;
  line-height: 1;
  color: #6b7280;
  cursor: pointer;
  padding: 0;
}

.booking-modal-close:hover {
  color: var(--navy);
}

.eticket-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.eticket-content {
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 1.15rem;
  background: #f8fafc;
}

.eticket-card {
  display: grid;
  gap: 0.85rem;
}

.eticket-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.35rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #e5e7eb;
}

.eticket-header-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  min-width: 0;
}

.eticket-wallet-qr {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 148px;
}

.eticket-wallet-qr-image {
  width: 132px;
  height: 132px;
  object-fit: contain;
  border: 1px solid #dbe3ef;
  border-radius: 10px;
  background: #fff;
}

.eticket-wallet-qr-label {
  margin: 0.45rem 0 0;
  font-size: 0.68rem;
  line-height: 1.35;
  color: #475569;
  font-weight: 600;
}

.eticket-logo {
  height: 72px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

.eticket-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
}

.eticket-label {
  color: #6b7280;
  font-weight: 600;
}

.eticket-value {
  color: #111827;
  font-weight: 700;
  text-align: right;
}

.eticket-route {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.eticket-code {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
}

.eticket-city {
  font-size: 0.82rem;
  color: #6b7280;
}

.eticket-plane {
  color: var(--navy);
}

.eticket-foot {
  font-size: 0.78rem;
  color: #6b7280;
  text-align: center;
}

.eticket-heading {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}

.eticket-section {
  display: grid;
  gap: 0.55rem;
}

.eticket-section-title {
  margin: 0.35rem 0 0.15rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.eticket-passenger-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.eticket-passenger-table th,
.eticket-passenger-table td {
  padding: 0.45rem 0.35rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
}

.eticket-passenger-table th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #64748b;
}

.btn-booking-checked {
  border: none;
  background: #ecfdf5;
  color: #047857;
  cursor: default;
}

.btn-booking-checked:hover {
  background: #ecfdf5;
}
