:root {
  --emerald: #12b886;
  --emerald-bright: #1ed4a0;
  --emerald-deep: #0b8f68;
  --emerald-dark: #064e3b;
  --gold-dark: #8a6d1f;
  --gold-shine: #c4a44a;
  --navy-950: #064e3b;
  --navy-900: #0b6b4f;
  --navy-800: #0d7a5a;
  --navy-700: #0b8f68;
  --navy-600: #12b886;
  --gold-300: #d4b65a;
  --gold-400: #b8952e;
  --gold-500: #8a6d1f;
  --sky-300: #7ee0c3;
  --sky-500: #0b8f68;
  --cloud: #ffffff;
  --cloud-2: #f4fbf8;
  --white: #ffffff;
  --ink: #064e3b;
  --muted: #3d6b5c;
  --line: rgba(138, 109, 31, 0.22);
  --success: #0f9d6e;
  --warning: #c47b12;
  --danger: #c4453c;
  --info: #0b8f68;
  --shadow: 0 10px 28px rgba(6, 78, 59, 0.08);
  --shadow-lg: 0 18px 40px rgba(6, 78, 59, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --sidebar: 280px;
  --topbar: 72px;
  --font: "Cairo", "Outfit", system-ui, sans-serif;
}

html[lang="en"] {
  --font: "Outfit", "Cairo", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
}

button,
input,
a {
  font-family: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

/* App shell */
.app-shell {
  display: flex;
  min-height: 100vh;
  background: var(--white);
}

.sidebar {
  width: var(--sidebar);
  flex-shrink: 0;
  background:
    linear-gradient(180deg, rgba(196, 164, 74, 0.12), transparent 22%),
    linear-gradient(180deg, #0b6b4f, #064e3b);
  color: #d7f3ea;
  display: flex;
  flex-direction: column;
  padding: 22px 16px 16px;
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 30;
}

.sidebar-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 8px 10px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--emerald-bright), var(--emerald-deep));
  color: var(--white);
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(138, 109, 31, 0.35);
}

.brand-mark svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.sidebar-brand strong {
  display: block;
  color: var(--white);
  font-size: 1.1rem;
}

.sidebar-brand small {
  display: block;
  color: rgba(215, 228, 240, 0.72);
  font-size: 0.72rem;
  line-height: 1.35;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border: 0;
  background: transparent;
  color: inherit;
  border-radius: 12px;
  cursor: pointer;
  text-align: start;
  width: 100%;
  font-size: 0.95rem;
  position: relative;
}

.nav-link:hover,
.nav-link.is-active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.nav-link.is-active::before {
  content: "";
  position: absolute;
  inset-block: 10px;
  inset-inline-start: 0;
  width: 3px;
  border-radius: 99px;
  background: var(--gold-400);
}

.nav-icon {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
}

.nav-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.nav-logout {
  margin-top: auto;
  color: #f0c9c6;
}

.app-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.topbar {
  min-height: var(--topbar);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.topbar-title {
  flex: 1;
  min-width: 0;
}

.topbar-title h1 {
  font-size: 1.15rem;
  font-weight: 700;
}

.icon-btn.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: var(--cloud);
  border-radius: 10px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.menu-btn span {
  width: 18px;
  height: 2px;
  background: var(--navy-900);
  display: block;
}

.user-chip {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.25;
}

html[dir="rtl"] .user-chip {
  align-items: flex-start;
}

.user-chip-name {
  font-weight: 700;
  font-size: 0.9rem;
}

.user-chip-role {
  font-size: 0.75rem;
  color: var(--muted);
}

.app-content {
  padding: 24px;
  flex: 1;
}

.page-lead {
  color: var(--muted);
  margin: 4px 0 22px;
}

.demo-banner {
  background: #fff6dc;
  color: #7a5b10;
  border: 1px solid #efd48a;
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 18px;
  font-size: 0.9rem;
}

.lang-switch {
  display: inline-flex;
  background: var(--cloud);
  border-radius: 999px;
  padding: 3px;
  border: 1px solid var(--line);
}

.lang-btn {
  border: 0;
  background: transparent;
  min-width: 42px;
  height: 32px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.78rem;
}

.lang-btn.is-active {
  background: var(--navy-900);
  color: var(--white);
}

.sidebar-backdrop {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  text-align: center;
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--emerald-bright), var(--emerald-deep));
  color: var(--white);
  box-shadow: 0 8px 18px rgba(11, 143, 104, 0.22);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -40%;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(196, 164, 74, 0.35), transparent);
  transform: translateX(-20%);
  animation: gold-shine 3.6s ease-in-out infinite;
}

@keyframes gold-shine {
  0%,
  55% {
    transform: translateX(-30%);
  }
  100% {
    transform: translateX(320%);
  }
}

.btn-secondary {
  background: var(--navy-900);
  color: var(--white);
}

.btn-ghost {
  background: var(--white);
  color: var(--navy-900);
  border: 1px solid var(--line);
}

.btn-danger {
  background: rgba(196, 69, 60, 0.1);
  color: var(--danger);
  border: 1px solid rgba(196, 69, 60, 0.3);
}

.btn-danger:hover {
  background: var(--danger);
  color: var(--white);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Stats & cards */
.stats-grid,
.dash-grid,
.accounts-grid,
.bookings-grid,
.trip-grid,
.detail-grid {
  display: grid;
  gap: 16px;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 22px;
}

.stat-card,
.dash-card,
.booking-card,
.account-card,
.detail-card,
.trip-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.stat-card {
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: "";
  position: absolute;
  inset-inline-end: -20px;
  top: -20px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 184, 74, 0.18), transparent 70%);
}

.stat-card span {
  color: var(--muted);
  font-size: 0.85rem;
}

.stat-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.55rem;
}

.dash-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dash-card {
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.dash-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.dash-card-accent {
  background:
    linear-gradient(135deg, rgba(224, 184, 74, 0.16), transparent 50%),
    var(--white);
  border: 1px solid rgba(201, 162, 39, 0.25);
}

.dash-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--navy-900);
  color: var(--gold-400);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.dash-card-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.dash-card-body {
  flex: 1;
  min-width: 0;
}

.dash-card-body strong {
  display: block;
}

.dash-card-body small {
  color: var(--muted);
}

.dash-card-arrow {
  color: var(--gold-500);
  font-size: 1.1rem;
}

/* Trip type cards */
.trip-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.trip-card {
  position: relative;
  overflow: hidden;
  padding: 18px 14px 16px;
  text-align: center;
  cursor: pointer;
  color: var(--gold-dark);
  background: linear-gradient(165deg, #19c992 0%, #0ea87a 42%, #0b8f68 100%);
  border: 1px solid var(--gold-dark);
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(6, 78, 59, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 0;
}

.trip-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(196, 164, 74, 0.28) 50%, transparent 70%);
  transform: translateX(-120%);
  pointer-events: none;
}

.trip-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(6, 78, 59, 0.18);
}

.trip-card:hover::after {
  animation: card-sheen 0.7s ease;
}

.trip-card.is-picking {
  animation: card-pick 0.26s ease;
}

.trip-card:focus-visible {
  outline: 3px solid rgba(138, 109, 31, 0.45);
  outline-offset: 2px;
}

.trip-card strong {
  display: block;
  margin-top: 12px;
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--gold-dark);
  overflow-wrap: anywhere;
}

.trip-card small {
  display: block;
  margin-top: 4px;
  color: #5c4a18;
  font-size: 0.75rem;
}

@keyframes card-sheen {
  to {
    transform: translateX(120%);
  }
}

@keyframes card-pick {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(0.96);
  }
  100% {
    transform: scale(1);
  }
}

.route-visual,
.booking-route {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.airport-code {
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
  color: var(--navy-900);
  background: var(--cloud);
  border-radius: 10px;
  padding: 6px 10px;
}

.route-hop {
  color: var(--gold-500);
  display: inline-flex;
  align-items: center;
  position: relative;
  min-width: 42px;
  justify-content: center;
}

.route-hop::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--gold-400),
    var(--gold-400) 4px,
    transparent 4px,
    transparent 8px
  );
}

.route-plane {
  width: 18px;
  height: 18px;
  fill: var(--navy-800);
  position: relative;
  z-index: 1;
  background: var(--white);
  padding: 1px;
}

.selected-bar {
  position: sticky;
  bottom: 16px;
  margin-top: 22px;
  background: var(--navy-900);
  color: var(--white);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--shadow-lg);
}

.selected-bar p {
  margin: 0;
}

.selected-bar span {
  color: var(--gold-300);
  font-weight: 700;
}

/* Bookings */
.bookings-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.booking-card,
.account-card,
.detail-card {
  padding: 20px;
}

.booking-card-top,
.account-card-head,
.detail-hero,
.detail-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.booking-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.booking-card-actions .btn {
  flex: 1;
  min-width: 120px;
}

/* Delete-booking confirmation modal */
.booking-delete-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(6, 78, 59, 0.45);
  backdrop-filter: blur(4px);
}

.booking-delete-modal[hidden] {
  display: none !important;
}

body.booking-delete-modal-open {
  overflow: hidden;
}

.booking-delete-modal-dialog {
  width: min(420px, 100%);
  padding: 24px 22px 20px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  text-align: start;
}

.booking-delete-modal-title {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--danger);
}

.booking-delete-modal-question {
  margin: 0 0 8px;
  font-weight: 700;
  color: var(--ink);
}

.booking-delete-modal-passenger {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.booking-delete-modal-warning {
  margin: 0 0 20px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(196, 69, 60, 0.08);
  color: var(--danger);
  font-size: 0.85rem;
  font-weight: 600;
}

.booking-delete-modal-actions {
  display: flex;
  gap: 10px;
}

.booking-delete-modal-actions .btn {
  flex: 1;
}

.booking-delete-modal-confirm {
  background: var(--danger);
  color: var(--white);
}

.booking-no {
  font-family: ui-monospace, Consolas, monospace;
  font-weight: 700;
  color: var(--sky-500);
}

.booking-passenger {
  margin: 10px 0 4px;
}

.booking-agent {
  color: var(--muted);
  margin-bottom: 14px;
}

.booking-meta,
.account-stats,
.detail-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.booking-meta dt,
.account-stats dt,
.detail-list dt {
  color: var(--muted);
  font-size: 0.78rem;
}

.booking-meta dd,
.account-stats dd,
.detail-list dd {
  margin: 0;
  font-weight: 700;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
}

.status-pending {
  background: #fff4de;
  color: var(--warning);
}

.status-confirmed {
  background: #e7f4ff;
  color: var(--info);
}

.status-ticketed {
  background: #e5f8ef;
  color: var(--success);
}

.status-cancelled {
  background: #fdecec;
  color: var(--danger);
}

/* Accounts */
.accounts-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.account-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--cloud);
  color: var(--navy-800);
  display: grid;
  place-items: center;
}

.account-mark svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.account-stats dd.is-remain {
  color: var(--warning);
}

/* Details */
.detail-hero {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 16px;
}

.detail-hero .airport-code {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.detail-hero h2 {
  margin: 6px 0 10px;
}

.detail-actions {
  margin-bottom: 16px;
}

.detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-list {
  grid-template-columns: 1fr;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.detail-subcard {
  padding: 14px;
  margin-bottom: 12px;
  border-radius: var(--radius-sm);
  background: var(--cloud-2);
  border: 1px solid var(--line);
}

.detail-subcard h3 {
  font-size: 0.95rem;
  color: var(--emerald-dark);
  margin-bottom: 8px;
}

.price-lg {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy-900);
}

.muted {
  color: var(--muted);
}

.empty-state {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px 24px;
  text-align: center;
  color: var(--muted);
}

#toast-root {
  position: fixed;
  inset-inline-end: 20px;
  bottom: 20px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background: var(--navy-900);
  color: var(--white);
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  max-width: 360px;
}

.toast.is-out {
  opacity: 0;
  transform: translateY(8px);
  transition: 0.25s ease;
}

/* Landing */
.landing {
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 20%, rgba(224, 184, 74, 0.16), transparent 28%),
    linear-gradient(160deg, #071525 0%, #12324f 48%, #0b1c2e 100%);
  color: var(--white);
}

.landing-nav,
.login-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
}

.brand-inline {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.landing-hero {
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 24px 72px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.kicker {
  color: var(--gold-300);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.landing-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.25;
  margin: 10px 0 14px;
}

.landing-hero p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 52ch;
  margin-bottom: 22px;
}

.feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.feature-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.85rem;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 28px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.flight-board {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.18);
  border-radius: 16px;
  padding: 18px;
}

.flight-board .code {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.flight-board .meta {
  color: var(--gold-300);
  font-size: 0.85rem;
}

.flight-board img {
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

/* Home / booking-type screen */
.app-shell.is-home {
  flex-direction: column;
  background: var(--white);
}

.home-header {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 20;
}

.home-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--emerald-dark);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.home-brand .brand-mark {
  width: 36px;
  height: 36px;
}

.home-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-inline-end: auto;
}

.home-nav-link {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
}

.home-nav-link.is-active,
.home-nav-link:hover {
  color: var(--emerald-dark);
  background: var(--cloud-2);
}

.btn-logout {
  min-height: 38px;
  padding-inline: 12px;
  font-size: 0.85rem;
}

.home-main {
  padding: 28px 20px 40px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.choose-heading {
  text-align: center;
  margin-bottom: 28px;
}

.choose-ar,
.choose-en {
  display: block;
}

.choose-ar {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--emerald-dark);
}

.choose-en {
  margin-top: 4px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold-dark);
  letter-spacing: 0.04em;
}

.route-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 42px;
}

.route-icon-round {
  flex-direction: column;
  gap: 4px;
}

.route-icon-round .route-icon.is-return {
  transform: scaleX(-1);
  opacity: 0.85;
}

.ri-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-dark);
  flex-shrink: 0;
}

.ri-line {
  height: 1px;
  flex: 1;
  min-width: 10px;
  max-width: 28px;
  background: var(--gold-dark);
}

.ri-plane {
  width: 16px;
  height: 16px;
  color: var(--gold-dark);
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.ri-plane svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.ri-plus {
  margin-inline-start: 4px;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--gold-dark);
  border: 1px solid var(--gold-dark);
  border-radius: 999px;
  padding: 0 5px;
}

.entry-stage {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.entry-kicker {
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: 8px;
}

.entry-stage h1 {
  color: var(--emerald-dark);
  margin-bottom: 20px;
}

.entry-placeholder {
  border: 1px dashed var(--line);
  border-radius: 16px;
  padding: 36px 20px;
  margin-bottom: 20px;
  background: var(--cloud-2);
}

.entry-placeholder p {
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary::after,
  .trip-card:hover::after,
  .trip-card.is-picking,
  .flight-plane {
    animation: none !important;
  }
}

/* Auth loading (protected pages) */
.auth-checking .app-shell,
.auth-checking.booking-types-page .app-shell {
  visibility: hidden;
}

.auth-loading {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
}

.auth-loading[hidden] {
  display: none;
}

.auth-loading-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--emerald-dark);
  font-weight: 700;
}

.auth-loading-spinner {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid rgba(11, 143, 104, 0.18);
  border-top-color: var(--emerald-deep);
  animation: auth-spin 0.8s linear infinite;
}

@keyframes auth-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Airline logo (Storage) */
.airline-logo-display {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.airline-logo-display:has(.airline-logo-img) .airline-logo-placeholder {
  display: none;
}

.airline-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.airline-logo-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--muted);
}

.airline-logo-placeholder svg {
  width: 55%;
  height: 55%;
  fill: currentColor;
}

.airline-logo-display--form {
  width: 120px;
  height: 72px;
}

.airline-logo-display--card {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 8px;
}

.airline-logo-display--hero {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
}

.airline-logo-display--hero .airline-logo-placeholder {
  color: rgba(255, 255, 255, 0.75);
}

.airline-logo-display--detail {
  width: 96px;
  height: 56px;
}

.detail-hero-main {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.booking-airline-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
