:root {
  --green: #22a34a;
  --green-dark: #1a8a3c;
  --green-soft: #e8f8ee;
  --green-mid: #d4f0de;
  --ink: #1c2430;
  --muted: #6b7785;
  --line: #e6ebf0;
  --panel: #ffffff;
  --canvas: #f0f4f3;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 8px 24px rgba(16, 24, 40, 0.05);
  --radius: 14px;
  --sidebar-w: 240px;
  --font: "DM Sans", system-ui, sans-serif;

  /* Shared form / popup accent (matches reserve wizard) */
  --accent: #6fce3f;
  --accent-dark: #3b9a1f;
  --accent-text: #102a12;
  --accent-soft: #f7fcf2;
  --accent-mid: #d8f0c4;
  --accent-ring: #8fd85f;
  --danger: #d92d20;
  --danger-soft: #fef3f2;

  /* sidebar / topbar teal palette */
  --sb-bg:       #0d4f45;
  --sb-bg2:      #0a3830;
  --sb-active:   #1a7a6a;
  --btn-accent:  #6fce3f;
  --sb-hover:    rgba(255,255,255,0.08);
  --sb-text:     rgba(255,255,255,0.88);
  --sb-muted:    rgba(255,255,255,0.45);
  --sb-border:   rgba(255,255,255,0.10);
  --topbar-bg:   #0d4f45;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: var(--font);
  color: var(--ink);
  background: var(--canvas);
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.app-shell {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  min-height: 100vh;
  transition: grid-template-columns 0.25s ease;
}

.app-shell.sidebar-hidden {
  grid-template-columns: 1fr;
}

.sidebar-backdrop {
  display: none;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  background: linear-gradient(180deg, var(--sb-bg) 0%, var(--sb-bg2) 100%);
  border-right: none;
  padding: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  z-index: 50;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.app-shell.sidebar-hidden .sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--sidebar-w);
  transform: translateX(-105%);
  box-shadow: none;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 1rem 1rem;
  border-bottom: 1px solid var(--sb-border);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255,255,255,0.15);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.22);
}

.brand-logo-image {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-text strong {
  font-size: 0.92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff;
}

.brand-text span {
  font-size: 0.7rem;
  color: var(--sb-muted);
}

.profile-card {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--sb-border);
  background: transparent;
  border-radius: 0;
  border-top: none;
  border-left: none;
  border-right: none;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.3);
}

.avatar-image {
  object-fit: cover;
}

.profile-meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.profile-meta strong {
  font-size: 0.88rem;
  color: #fff;
}

.profile-meta span {
  font-size: 0.7rem;
  color: var(--sb-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.badge-client {
  margin-top: 0.2rem;
  align-self: flex-start;
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--sb-bg);
  background: rgba(255,255,255,0.82);
  border-radius: 999px;
  padding: 0.12rem 0.45rem;
}

.sidebar-tools {
  display: flex;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
}

.icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--sb-border);
  background: transparent;
  color: var(--sb-muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.icon-btn:hover {
  background: var(--sb-hover);
  color: #fff;
  border-color: rgba(255,255,255,0.2);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  margin-top: 0.35rem;
  padding: 0 0.65rem;
}

.nav-section {
  margin: 1rem 0.35rem 0.3rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--sb-muted);
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.62rem 0.75rem;
  border-radius: 8px;
  color: var(--sb-text);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-link:hover {
  background: var(--sb-hover);
  color: #fff;
}

.nav-link.active {
  background: var(--sb-active);
  color: #fff;
  font-weight: 600;
}

.main-wrap {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.topbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1.5rem;
  height: 58px;
  background: var(--topbar-bg);
  color: #fff;
  flex-shrink: 0;
}

.topbar-spacer { flex: 1; }

.topbar-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
}

.topbar-user {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.topbar-user .tb-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.78rem;
  border: 2px solid rgba(255,255,255,0.3);
  flex-shrink: 0;
}

.tb-avatar-image {
  object-fit: cover;
}

.topbar-user .tb-name {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.topbar-user .tb-name strong {
  font-size: 0.88rem;
  color: #fff;
}

.topbar-user .tb-name span {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
}

.topbar-bell {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.88);
  display: grid;
  place-items: center;
  cursor: pointer;
  position: relative;
}

.menu-toggle {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  color: #fff;
  flex-shrink: 0;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.menu-toggle:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.32);
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.app-shell:not(.sidebar-hidden) .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.app-shell:not(.sidebar-hidden) .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.app-shell:not(.sidebar-hidden) .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.balance-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-radius: 999px;
  padding: 0.38rem 0.7rem 0.38rem 0.85rem;
  font-weight: 700;
  font-size: 0.85rem;
  border: 1px solid rgba(255,255,255,0.22);
}

.chip-refresh {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.content {
  padding: 1.25rem 1.5rem 2.5rem;
  background: var(--canvas);
  flex: 1;
}

.page-intro h1 {
  margin: 0;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-intro p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.grid-dashboard {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.15rem 1.2rem;
}

.panel h2,
.panel h3 {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7a8796;
  font-weight: 700;
}

.finance-row {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 1rem;
}

.amount-due-value {
  margin: 0.75rem 0 0.35rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--green);
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

.metric-strip div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.metric-strip span {
  font-size: 0.75rem;
  color: var(--muted);
}

.metric-strip strong {
  font-size: 0.95rem;
}

.chart-empty {
  min-height: 180px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.92rem;
  background:
    linear-gradient(180deg, transparent 0%, transparent 70%, rgba(34, 163, 74, 0.04) 100%),
    repeating-linear-gradient(
      to right,
      transparent,
      transparent 48px,
      rgba(230, 235, 240, 0.7) 48px,
      rgba(230, 235, 240, 0.7) 49px
    );
  border-radius: 10px;
  margin-top: 0.85rem;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-top: 0.85rem;
}

.activity-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
  background: #fbfcfd;
}

.activity-card .label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.activity-card .count {
  margin-top: 0.55rem;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.activity-card .sub {
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.charts-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.bottom-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1rem;
}

.attention-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--green-soft);
  border: 1px solid var(--green-mid);
  color: #186b34;
  border-radius: 12px;
  padding: 1rem 1.1rem;
  font-weight: 600;
}

.attention-box .check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.upcoming-empty {
  margin-top: 0.85rem;
  color: var(--muted);
}

.upcoming-empty a {
  color: var(--green);
  font-weight: 600;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.placeholder-page {
  margin-top: 1.25rem;
}

.placeholder-page p {
  color: var(--muted);
  max-width: 42rem;
  line-height: 1.55;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 10px;
  padding: 0.7rem 1.1rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary {
  background: var(--btn-accent);
  color: var(--accent-text);
}

.btn-primary:hover { background: var(--accent-dark); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
}

.whatsapp-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
  z-index: 40;
}

/* Auth */
.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  background: #f0f4f3;
}

.auth-hero {
  padding: clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  background: linear-gradient(160deg, var(--sb-bg) 0%, var(--sb-bg2) 100%);
  color: #fff;
}

.auth-hero .brand-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.auth-hero .brand-mark {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.22);
}

.auth-hero .brand-text strong { color: #fff; }
.auth-hero .brand-text span { color: rgba(255,255,255,0.55); }

.auth-hero h1 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 16ch;
  color: #fff;
}

.auth-hero p {
  margin: 0;
  max-width: 38rem;
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
  line-height: 1.55;
}

.auth-card-wrap {
  display: grid;
  place-items: center;
  padding: 2rem;
}

.auth-card {
  width: min(100%, 420px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 1.75rem;
}

.auth-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}

.auth-card .lead {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
}

.field label {
  font-size: 0.85rem;
  font-weight: 600;
}

.field input {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  outline: none;
  background: #fff;
}

.field input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(34, 163, 74, 0.15);
}

.auth-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1rem;
}

.auth-hint {
  margin-top: 1rem;
  padding: 0.85rem;
  border-radius: 10px;
  background: var(--green-soft);
  color: #186b34;
  font-size: 0.85rem;
  line-height: 1.45;
}

.validation {
  color: #c03535;
  font-size: 0.85rem;
  margin: 0 0 0.75rem;
}

@media (max-width: 1100px) {
  .finance-row,
  .charts-row,
  .bottom-row {
    grid-template-columns: 1fr;
  }

  .activity-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(86vw, var(--sidebar-w));
    transform: translateX(-105%);
    box-shadow: 12px 0 40px rgba(0, 0, 0, 0.18);
  }

  .app-shell:not(.sidebar-hidden) .sidebar {
    transform: translateX(0);
  }

  .sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(8, 20, 16, 0.45);
    z-index: 40;
  }

  .app-shell:not(.sidebar-hidden) .sidebar-backdrop {
    display: block;
  }

  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-hero {
    padding-bottom: 0;
  }
}

@media (max-width: 560px) {
  .content { padding: 1rem; }
  .activity-grid,
  .metric-strip {
    grid-template-columns: 1fr;
  }
}

/* Group Tickets */
.gt-intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.refresh-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 0.35rem;
}

.refresh-link:hover { color: var(--green); }

.gt-alert {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: var(--green-soft);
  border: 1px solid var(--green-mid);
  color: #186b34;
  font-weight: 600;
}

.gt-search {
  margin-top: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.trip-type-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.trip-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: #526071;
  font-size: 0.88rem;
  font-weight: 600;
}

.trip-pill.active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.gt-filters {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1fr auto;
  gap: 0.75rem;
  align-items: end;
}

.gt-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.gt-field span {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gt-field select,
.gt-field input[type="date"] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 0.72rem 0.85rem;
  color: var(--ink);
  outline: none;
}

.gt-field select:focus,
.gt-field input[type="date"]:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(34, 163, 74, 0.14);
}

.date-wrap {
  position: relative;
}

.date-wrap svg {
  position: absolute;
  right: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.date-wrap input[type="date"] {
  padding-right: 2.2rem;
}

.gt-search-btn {
  height: 44px;
  white-space: nowrap;
  padding-inline: 1.2rem;
}

.quick-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.quick-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #f8fafb;
  color: #4d5b68;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.quick-chip.active,
.quick-chip:hover {
  background: var(--green-soft);
  border-color: var(--green-mid);
  color: #186b34;
}

.gt-results {
  margin-top: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.gt-sector-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.gt-sector-head h2 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.gt-sector-head span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.gt-airline-stack {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.gt-card {
  padding: 0;
  overflow: hidden;
}

.gt-card-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 1.1rem 1rem 0.85rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fbfcfd 0%, #fff 100%);
}

.airline-logo {
  min-width: 72px;
  height: 36px;
  padding: 0 0.7rem;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  background: #1f6feb;
}

.airline-logo-wrap {
  min-width: 88px;
  height: 40px;
  display: grid;
  place-items: center;
}

.airline-logo-wrap--sm {
  min-width: 44px;
  height: 28px;
}

.airline-logo-img {
  max-height: 36px;
  max-width: 96px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.airline-logo-wrap--sm .airline-logo-img {
  max-height: 26px;
  max-width: 56px;
}

.airline-logo[data-code="PF"] { background: linear-gradient(135deg, #e11d48, #be123c); }
.airline-logo[data-code="9P"] { background: linear-gradient(135deg, #0ea5e9, #0369a1); }
.airline-logo[data-code="PK"] { background: linear-gradient(135deg, #16a34a, #166534); }
.airline-logo[data-code="PA"] { background: linear-gradient(135deg, #2563eb, #1e3a8a); }
.airline-logo[data-code="ER"] { background: linear-gradient(135deg, #7c3aed, #5b21b6); }
.airline-logo[data-code="SV"] { background: linear-gradient(135deg, #0f766e, #115e59); }
.airline-logo[data-code="G9"] { background: linear-gradient(135deg, #ea580c, #c2410c); }
.airline-logo[data-code="FZ"] { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.airline-logo[data-code="XY"] { background: linear-gradient(135deg, #16a34a, #15803d); }
.airline-logo[data-code="OV"] { background: linear-gradient(135deg, #0891b2, #0e7490); }
.airline-logo[data-code="F3"] { background: linear-gradient(135deg, #dc2626, #b91c1c); }
.airline-logo[data-code="J9"] { background: linear-gradient(135deg, #7c3aed, #6d28d9); }

.date-return {
  margin-top: 0.2rem;
  padding-left: 1.15rem;
}

.airline-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
}

.airline-meta strong {
  font-size: 0.95rem;
}

.airline-meta span {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.gt-table-wrap {
  overflow-x: auto;
}

.gt-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.gt-table th {
  background: var(--green);
  color: #fff;
  text-align: left;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.7rem 0.85rem;
  white-space: nowrap;
}

.gt-table td {
  padding: 0.8rem 0.85rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  vertical-align: middle;
  white-space: nowrap;
}

.gt-table tbody tr:nth-child(even) {
  background: #f7fbf8;
}

.gt-table tbody tr:hover {
  background: var(--green-soft);
}

.date-cell {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #186b34;
  font-weight: 600;
}

.price-cell {
  font-weight: 700;
  color: var(--ink);
}

.book-btn {
  padding: 0.45rem 0.75rem;
  font-size: 0.82rem;
  border-radius: 8px;
}

@media (max-width: 1100px) {
  .gt-filters {
    grid-template-columns: 1fr 1fr;
  }

  .gt-search-btn {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .gt-filters {
    grid-template-columns: 1fr;
  }

  .gt-intro {
    flex-direction: column;
  }
}

/* Marketing homepage */
.marketing-body {
  background: #f4f7f5;
}

.mkt-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.8rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(28, 36, 48, 0.06);
}

.mkt-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.mkt-nav-brand strong {
  display: block;
  font-family: "Sora", var(--font);
  font-size: 0.95rem;
}

.mkt-nav-brand em {
  display: block;
  font-style: normal;
  font-size: 0.72rem;
  color: var(--muted);
}

.mkt-nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem 1rem;
  font-weight: 600;
  font-size: 0.88rem;
}

.mkt-nav-links a { color: #44505e; }
.mkt-nav-links a:hover { color: var(--green-dark); }

.mkt-nav-cta {
  background: var(--green);
  color: #fff !important;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(34, 163, 74, 0.28);
}

.mkt-hero {
  position: relative;
  min-height: min(78vh, 700px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.mkt-hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(6, 28, 16, 0.72) 0%, rgba(6, 28, 16, 0.42) 52%, rgba(6, 28, 16, 0.18) 100%),
    url("/img/hero.svg") center/cover no-repeat,
    linear-gradient(135deg, #0b3d22 0%, #14532d 55%, #0f3d24 100%);
}

.mkt-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.22;
  pointer-events: none;
}

.mkt-hero-inner {
  position: relative;
  z-index: 1;
  padding: clamp(2.4rem, 7vw, 5.5rem) clamp(1rem, 4vw, 2.5rem);
  max-width: 760px;
  animation: mktRise 0.8s ease both;
}

.mkt-brand {
  margin: 0 0 0.85rem;
  font-family: "Sora", var(--font);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b8ecc8;
}

.mkt-hero h1 {
  margin: 0;
  font-family: "Sora", var(--font);
  font-size: clamp(2rem, 5vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  max-width: 14ch;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.mkt-lead {
  margin: 1.05rem 0 0;
  max-width: 34rem;
  font-size: 1.08rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

.mkt-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.7rem;
}

.mkt-hero .btn-primary {
  background: #fff;
  color: #146c32;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.mkt-hero .btn-primary:hover {
  background: #eaf8ef;
  color: #0f3f24;
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 10px;
  padding: 0.7rem 1.1rem;
  font-weight: 600;
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.16);
}

.mkt-wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.mkt-highlights {
  background: linear-gradient(180deg, #f4faf7 0%, #fff 100%);
}

.mkt-highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.mkt-highlight-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid #d9e7e2;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 40, 35, 0.05);
}

.mkt-highlight-badge {
  align-self: flex-start;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #e7f6ef;
  color: #0f6b4c;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.mkt-highlight-card h3 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.mkt-highlight-card p {
  margin: 0;
  color: #5b6b7c;
  font-size: 0.9rem;
  line-height: 1.4;
}

.mkt-highlight-price {
  margin-top: 0.15rem;
  color: #0f6b4c;
  font-size: 1.05rem;
}

.mkt-highlight-card .mkt-segment-link {
  margin-top: auto;
  padding-top: 0.5rem;
}

.mkt-section {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.mkt-section-head {
  max-width: 40rem;
  margin-bottom: 1.75rem;
}

.mkt-section-head h2,
.mkt-final-cta h2,
.mkt-footer h2 {
  margin: 0;
  font-family: "Sora", var(--font);
  letter-spacing: -0.02em;
}

.mkt-section-head p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.mkt-segments {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.mkt-segment {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  align-items: stretch;
  background: #fff;
  border: 1px solid #dce7df;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.05);
  animation: mktRise 0.7s ease both;
}

.mkt-segment:nth-child(2) { animation-delay: 0.05s; }
.mkt-segment:nth-child(3) { animation-delay: 0.1s; }
.mkt-segment:nth-child(4) { animation-delay: 0.15s; }
.mkt-segment:nth-child(5) { animation-delay: 0.2s; }

.mkt-segment-copy {
  padding: 1.45rem 1.55rem 1.5rem;
}

.mkt-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-dark);
}

.mkt-segment h3 {
  margin: 0.4rem 0 0;
  font-family: "Sora", var(--font);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.mkt-segment-copy p:last-of-type {
  margin: 0.55rem 0 0;
  color: #516070;
  line-height: 1.55;
  max-width: 42rem;
}

.mkt-segment-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.05rem;
  color: var(--green-dark);
  font-weight: 700;
}

.mkt-segment-visual {
  position: relative;
  min-height: 210px;
  background-size: cover;
  background-position: center;
}

.mkt-segment-visual::after {
  content: "";
  position: absolute;
  inset: auto 1rem 1rem auto;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #163d27;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.mkt-visual-ticket {
  background-image: url("/img/segment-ticket.svg");
}
.mkt-visual-ticket::after { content: "Group seats"; }

.mkt-visual-umrah {
  background-image: url("/img/segment-umrah.svg");
}
.mkt-visual-umrah::after { content: "Makkah & Madinah"; }

.mkt-visual-tours {
  background-image: url("/img/segment-tours.svg");
}
.mkt-visual-tours::after { content: "Holidays"; }

.mkt-visual-hotels {
  background-image: url("/img/segment-hotels.svg");
}
.mkt-visual-hotels::after { content: "Stays"; }

.mkt-visual-visas {
  background-image: url("/img/segment-visas.svg");
}
.mkt-visual-visas::after { content: "Documents"; }

.mkt-why {
  background: #eaf3ec;
}

.mkt-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.mkt-points li {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.15rem 1.2rem;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #d7e5db;
}

.mkt-points strong {
  font-family: "Sora", var(--font);
  font-size: 1.05rem;
}

.mkt-points span {
  color: #516070;
  line-height: 1.45;
}

.mkt-final-cta {
  background:
    linear-gradient(120deg, rgba(6, 28, 16, 0.78), rgba(6, 28, 16, 0.45)),
    url("/img/hero.svg") center/cover no-repeat,
    #0f2f1c;
  color: #fff;
}

.mkt-final-cta .btn-primary {
  background: #fff;
  color: #146c32;
}

.mkt-final-cta .btn-primary:hover {
  background: #eaf8ef;
}

.mkt-final-inner {
  max-width: 40rem;
}

.mkt-final-cta p {
  margin: 0.6rem 0 1.2rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
}

.mkt-footer {
  background: #0b1c13;
  color: rgba(255, 255, 255, 0.82);
  padding: 2.5rem 0 1.5rem;
}

.mkt-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}

.mkt-footer strong {
  display: block;
  color: #fff;
  font-family: "Sora", var(--font);
  margin-bottom: 0.5rem;
}

.mkt-footer h2 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9fbfab;
  margin-bottom: 0.7rem;
}

.mkt-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.mkt-footer a { color: rgba(255, 255, 255, 0.82); }
.mkt-footer a:hover { color: #fff; }

.mkt-copy {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@keyframes mktDrift {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to { transform: scale(1.05) translate3d(-1.5%, 1%, 0); }
}

@keyframes mktRise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 860px) {
  .mkt-segment,
  .mkt-points,
  .mkt-footer-grid {
    grid-template-columns: 1fr;
  }

  .mkt-segment-visual {
    min-height: 190px;
    order: -1;
  }

  .mkt-hero {
    min-height: min(72vh, 620px);
  }
}

/* Flight search module */
.flight-page {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.flight-page-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
}

.flight-kicker {
  margin: 0 0 0.35rem;
  color: var(--green-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flight-page-head h1 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
}

.flight-page-head p {
  margin: 0.4rem 0 0;
  color: var(--muted);
  max-width: 40rem;
}

.provider-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.provider-pills span {
  background: var(--green-soft);
  color: #186b34;
  border: 1px solid var(--green-mid);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.flight-search-shell {
  position: relative;
  border-radius: 16px;
  border: 1px solid #dde3ea;
  background: #fff;
  box-shadow: 0 10px 36px rgba(16, 40, 24, 0.07);
  animation: mktRise 0.55s ease both;
}

.flight-search-body {
  padding: 1.35rem 1.5rem 1.55rem;
}

.trip-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem;
  margin-bottom: 1.25rem;
}

.trip-radios label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #526071;
  cursor: pointer;
}

.trip-radios input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--green);
}

.trip-radios label.active {
  color: var(--ink);
}

.flight-error {
  color: #c03535;
  margin-bottom: 0.75rem;
}

.flight-segment {
  margin-bottom: 0.85rem;
}

.flight-segment.is-multi {
  margin-bottom: 1rem;
}

.flight-route-row {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) 40px minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
}

.flight-route-row.no-return,
.flight-route-row.multi-route,
.flight-segment.is-multi .flight-route-row {
  grid-template-columns: minmax(0, 1.35fr) 40px minmax(0, 1.35fr) minmax(0, 1.1fr);
}

.flight-options-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.flight-options-row.is-multi {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.flight-field {
  position: relative;
  min-width: 0;
}

.flight-field.outlined {
  padding-top: 0.35rem;
}

.flight-field .field-label {
  position: absolute;
  top: 0;
  left: 0.85rem;
  z-index: 2;
  padding: 0 0.35rem;
  background: #fff;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
}

.field-shell {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.35rem 0.85rem;
  border: 1px solid #d5dde6;
  border-radius: 10px;
  background: #fff;
  color: var(--green);
}

.field-shell:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(34, 163, 74, 0.12);
}

.field-icon {
  flex-shrink: 0;
  color: var(--green);
}

.field-icon-end {
  margin-left: auto;
}

.field-chevron {
  flex-shrink: 0;
  margin-left: auto;
  color: var(--muted);
}

.field-shell select,
.field-shell input {
  width: 100%;
  border: 0;
  background: transparent;
  outline: none;
  color: var(--ink);
  min-width: 0;
  padding: 0.55rem 0;
  font-weight: 500;
}

.field-shell select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7785' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 1.25rem;
}

.swap-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #d5dde6;
  background: #fff;
  color: var(--green);
  display: grid;
  place-items: center;
  cursor: pointer;
  justify-self: center;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  z-index: 1;
}

.swap-btn:hover {
  background: var(--green-soft);
  border-color: var(--green-mid);
  transform: rotate(180deg);
}

.travelers-field {
  position: relative;
}

.travelers-field.is-open {
  grid-column: span 1;
}

.travelers-summary {
  width: 100%;
  color: var(--ink);
  font-weight: 500;
  border-color: var(--green);
}

.travelers-summary #travelersSummary {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #6b7785;
}

.travelers-clear {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  line-height: 1;
  flex-shrink: 0;
  cursor: pointer;
}

.travelers-panel {
  position: relative;
  z-index: 5;
  margin-top: 0.55rem;
  background: #fff;
  border: 1px solid #e6ebf0;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
  padding: 0.85rem 1rem;
  display: grid;
  gap: 0.85rem;
}

.traveler-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.traveler-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.traveler-ico {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f3f6f4;
  color: #44505e;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.traveler-info strong {
  display: block;
  font-size: 0.95rem;
  color: #1c2430;
}

.traveler-info small {
  color: #8b97a5;
  font-size: 0.78rem;
}

.traveler-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.step-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--green);
  background: #fff;
  color: var(--green-dark);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.step-btn:hover:not(:disabled) {
  background: var(--green-soft);
}

.step-btn:disabled {
  border-color: #c9d2db;
  color: #b0bac4;
  cursor: default;
}

.step-value {
  min-width: 1.1rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.98rem;
  color: #1c2430;
}

.multi-city-block {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.multi-city-block[hidden] {
  display: none !important;
}

.flight-search-actions {
  display: flex;
  justify-content: center;
  margin-top: 1.35rem;
}

.flight-search-btn {
  min-width: 200px;
  height: 48px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(34, 163, 74, 0.22);
}

.recent-searches h2,
.results-head h2 {
  margin: 0;
  font-size: 1.05rem;
}

.recent-grid {
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.recent-card {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.95rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.recent-card:hover {
  transform: translateY(-2px);
  border-color: var(--green-mid);
  border-left-color: var(--green);
}

.recent-card strong {
  font-size: 0.98rem;
}

.recent-card span,
.recent-card em {
  color: var(--muted);
  font-size: 0.82rem;
  font-style: normal;
}

.results-head {
  margin-bottom: 0.85rem;
}

.results-head p {
  margin: 0.3rem 0 0;
  color: var(--muted);
}

.offer-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.offer-card {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 1.1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  animation: mktRise 0.45s ease both;
}

.offer-airline {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.airline-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  background: #0f766e;
}

.airline-badge[data-code="PK"] { background: linear-gradient(135deg, #16a34a, #166534); }
.airline-badge[data-code="PA"] { background: linear-gradient(135deg, #2563eb, #1e3a8a); }
.airline-badge[data-code="9P"] { background: linear-gradient(135deg, #0ea5e9, #0369a1); }
.airline-badge[data-code="EK"] { background: linear-gradient(135deg, #be123c, #7f1d1d); }
.airline-badge[data-code="QR"] { background: linear-gradient(135deg, #5b21b6, #312e81); }
.airline-badge[data-code="SV"] { background: linear-gradient(135deg, #047857, #064e3b); }

.offer-airline strong,
.offer-timeline strong,
.offer-price strong {
  display: block;
}

.offer-airline span,
.offer-timeline span,
.offer-meta span {
  color: var(--muted);
  font-size: 0.82rem;
}

.offer-timeline {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
}

.offer-duration {
  text-align: center;
}

.offer-duration em {
  display: block;
  font-style: normal;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}

.offer-duration i {
  display: block;
  height: 2px;
  margin: 0.35rem 0;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  border-radius: 2px;
}

.offer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.offer-meta span {
  background: #f4f7f5;
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
}

.offer-price {
  text-align: right;
  display: grid;
  gap: 0.55rem;
  justify-items: end;
}

.offer-price strong {
  font-size: 1.2rem;
  color: var(--green-dark);
}

@keyframes planeFloat {
  0%, 100% { transform: translateX(0) translateY(0); }
  50% { transform: translateX(12px) translateY(-6px); }
}

@keyframes travelerWait {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@media (max-width: 1100px) {
  .flight-route-row,
  .flight-route-row.multi-route,
  .flight-segment.is-multi .flight-route-row {
    grid-template-columns: 1fr 40px 1fr;
  }

  .flight-route-row .flight-field:nth-child(4),
  .flight-route-row .flight-field:nth-child(5),
  .flight-route-row.multi-route .flight-field:nth-child(4) {
    grid-column: 1 / -1;
  }

  .flight-options-row {
    grid-template-columns: 1fr 1fr;
  }

  .recent-grid {
    grid-template-columns: 1fr 1fr;
  }

  .offer-card {
    grid-template-columns: 1fr;
  }

  .offer-price {
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .flight-route-row,
  .flight-route-row.multi-route,
  .flight-segment.is-multi .flight-route-row,
  .flight-options-row,
  .recent-grid {
    grid-template-columns: 1fr;
  }

  .swap-btn {
    justify-self: start;
    margin: 0.15rem 0;
  }

  .flight-page-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Multi-step booking + management */
.multi-label {
  margin: 0 0 0.55rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: 0.02em;
}

.add-flight-link {
  align-self: flex-start;
  margin: 0.15rem 0 0.85rem;
  border: 0;
  background: transparent;
  color: var(--green);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  padding: 0;
}

.add-flight-link:hover {
  color: var(--green-dark);
  text-decoration: underline;
}

.results-layout,
.booking-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1rem;
  align-items: start;
}

.booking-layout {
  grid-template-columns: 1.4fr 0.8fr;
}

.search-summary {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
}

.summary-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.summary-badges span,
.status-pill {
  display: inline-flex;
  background: var(--green-soft);
  color: #186b34;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
}

.session-timer {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--green-soft);
  border: 1px solid var(--green-mid);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  margin-bottom: 0.9rem;
  color: #186b34;
  font-size: 0.88rem;
}

.filter-box {
  display: grid;
  gap: 0.7rem;
}

.filter-box label,
.contact-grid label,
.form-grid label,
.filter-grid label,
.edit-booking-form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.filter-box select,
.filter-box input,
.contact-grid input,
.form-grid input,
.form-grid select,
.form-grid textarea,
.filter-grid input,
.filter-grid select,
.edit-booking-form input,
.edit-booking-form select,
.edit-booking-form textarea,
.table-search input {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  background: #fff;
}

.results-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.85rem;
}

.results-toolbar h1 {
  margin: 0;
  font-size: 1.3rem;
}

.toolbar-actions {
  display: flex;
  gap: 0.55rem;
  align-items: center;
}

.view-toggle {
  background: var(--green);
  color: #fff;
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.date-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.date-chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.65rem;
  text-align: center;
}

.date-chip.active {
  background: var(--green-soft);
  border-color: var(--green-mid);
}

.date-chip strong,
.date-chip span {
  display: block;
}

.date-chip span {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 0.2rem;
}

.result-cards {
  display: grid;
  gap: 0.85rem;
}

.result-card {
  padding: 0;
  overflow: hidden;
}

.result-card-head {
  display: grid;
  grid-template-columns: auto 1fr 1.4fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
}

.result-card-head.return-leg {
  background: #f7fbf8;
  border-bottom: 1px solid var(--line);
}

.result-route {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.6rem;
  align-items: center;
}

.route-mid {
  text-align: center;
}

.route-mid em {
  font-style: normal;
  font-size: 0.78rem;
  color: var(--muted);
}

.route-mid i {
  display: block;
  height: 2px;
  margin: 0.3rem 0;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
}

.result-provider {
  text-align: right;
  display: grid;
  gap: 0.25rem;
}

.linkish {
  border: 0;
  background: transparent;
  color: var(--green-dark);
  font-weight: 700;
  cursor: pointer;
}

.fare-rows {
  display: grid;
}

.fare-row {
  display: grid;
  grid-template-columns: 70px 1fr 1.4fr auto auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 1rem;
  border-top: 1px solid #eef2f0;
}

.fare-row:nth-child(even) {
  background: #f7fbf8;
}

.fare-code {
  font-weight: 800;
  color: var(--green-dark);
}

.stepper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.stepper span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
}

.stepper span.active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.contact-box p {
  margin: 0.2rem 0 0.8rem;
  color: var(--muted);
}

.contact-grid,
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.traveler-card h2,
.traveler-card h3,
.booking-summary h2,
.booking-summary h3 {
  margin-top: 0;
}

.traveler-card h3 {
  margin: 1rem 0 0.6rem;
  font-size: 0.95rem;
}

.confirm-booking-btn {
  margin-top: 1rem;
  min-width: 220px;
}

.fare-summary,
.review-passengers,
.trip-summary {
  display: grid;
  gap: 0.55rem;
}

.fare-summary div,
.review-passengers div {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.fare-summary .total-line,
.total-line {
  margin-top: 0.35rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--line);
  font-size: 1.05rem;
}

.journey-block {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.leg-line {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.leg-line span,
.leg-line em,
.pax-block span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-style: normal;
}

.airline-badge.tiny {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-size: 0.65rem;
}

.review-actions,
.confirm-actions,
.details-actions,
.filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.confirm-page {
  display: grid;
  gap: 1rem;
}

.confirm-hero {
  text-align: center;
  padding: 2rem 1.25rem;
}

.confirm-check {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
}

.booking-ref {
  display: inline-flex;
  gap: 0.45rem;
  margin: 0.75rem 0;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: var(--green-soft);
  color: #186b34;
  font-weight: 700;
}

.confirm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.service-tabs {
  display: flex;
  gap: 0.45rem;
  margin: 1rem 0;
}

.service-tab {
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 700;
}

.service-tab.active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.booking-filters h2 {
  margin-top: 0;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.booking-table-wrap {
  margin-top: 1rem;
}

.table-search {
  display: flex;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.table-scroll {
  overflow-x: auto;
}

.booking-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
}

.booking-table th,
.booking-table td {
  text-align: left;
  padding: 0.75rem 0.65rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
  vertical-align: top;
}

.booking-table th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.ref-link {
  color: var(--green-dark);
  font-weight: 700;
}

.empty-row {
  text-align: center;
  color: var(--muted);
  padding: 1.5rem !important;
}

.row-actions {
  display: flex;
  gap: 0.55rem;
}

.row-actions a {
  color: var(--green-dark);
  font-weight: 700;
}

.status-badge {
  display: inline-flex;
  border-radius: 8px;
  padding: 0.15rem 0.45rem;
  font-size: 0.72rem;
  font-weight: 800;
  border: 1px solid currentColor;
}

.status-badge.confirmed,
.status-badge.ticketed {
  color: #1d4ed8;
}

.status-badge.pending {
  color: #a16207;
}

.status-badge.cancelled,
.status-badge.expired {
  color: #b91c1c;
}

.table-footer {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.inline-form {
  display: inline;
}

.pax-block {
  margin-bottom: 0.7rem;
}

.edit-booking-form .full {
  grid-column: 1 / -1;
}

@media (max-width: 1100px) {
  .results-layout,
  .booking-layout,
  .confirm-grid,
  .filter-grid,
  .result-card-head,
  .fare-row,
  .contact-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .date-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Umrah packages + calculator */
.umrah-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.1rem 0 0.85rem;
}

.umrah-tab {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: #526071;
  font-size: 0.88rem;
  font-weight: 600;
}

.umrah-tab.active,
.umrah-tab:hover {
  background: var(--green-soft);
  border-color: var(--green-mid);
  color: var(--green-dark);
}

.umrah-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.umrah-chip {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: #526071;
  font-size: 0.84rem;
  font-weight: 600;
}

.umrah-chip.active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.umrah-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  max-width: 1100px;
}

/* Umrah packages — table board (departure / route / hotels / seats / price) */
.upkg-board {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 1180px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.upkg-board-head {
  display: grid;
  grid-template-columns: 8.5rem 9.5rem minmax(0, 1.35fr) minmax(0, 1.35fr) 7.5rem 9.5rem;
  gap: 0.75rem;
  align-items: center;
  padding: 0.7rem 1.1rem;
  background: var(--green);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.upkg-card {
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  border-bottom: 1px solid #eef0f3;
  overflow: hidden;
  transition: background 0.15s ease;
}

.upkg-card:last-child {
  border-bottom: 0;
}

.upkg-card.is-open {
  background: #fbfefc;
  box-shadow: none;
  border-color: #e5e7eb;
}

.upkg-row {
  display: grid;
  grid-template-columns: 8.5rem 9.5rem minmax(0, 1.35fr) minmax(0, 1.35fr) 7.5rem 9.5rem;
  gap: 0.75rem;
  align-items: center;
  padding: 1rem 1.1rem;
}

.upkg-col strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.25;
}

.upkg-col-depart .upkg-back {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.75rem;
  color: #9ca3af;
}

.upkg-days {
  display: inline-flex;
  margin-top: 0.4rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  border: 1px solid var(--green-mid);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 700;
}

.upkg-airline {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.upkg-airline span {
  font-size: 0.78rem;
  color: #6b7280;
}

.upkg-hotel {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  min-width: 0;
}

.upkg-hotel-thumb {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #e5e7eb;
}

.upkg-hotel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.upkg-hotel-thumb--makkah,
.upkg-hotel-thumb--madinah {
  background: var(--green-soft);
  box-shadow: 0 0 0 1px var(--green-mid);
}

.upkg-hotel-meta {
  min-width: 0;
}

.upkg-hotel-meta strong {
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.upkg-hotel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.35rem;
}

.upkg-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.14rem 0.5rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.2;
}

.upkg-tag--makkah,
.upkg-tag--madinah {
  background: var(--green-soft);
  color: var(--green-dark);
  border: 1px solid var(--green-mid);
}

.upkg-tag--nights {
  background: #f3f4f6;
  color: var(--muted);
  border: 1px solid var(--line);
}

.upkg-seats {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  border: 1px solid var(--green-mid);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.upkg-seats::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--green);
}

.upkg-col-price {
  text-align: right;
}

.upkg-col-price .upkg-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1.15;
}

.upkg-col-price > em {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.72rem;
  color: #9ca3af;
  font-style: normal;
}

.upkg-price-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  margin-top: 0.55rem;
}

.upkg-fav {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #9ca3af;
  cursor: pointer;
  padding: 0;
}

.upkg-fav:hover {
  color: var(--green);
  border-color: var(--green-mid);
}

.upkg-select {
  min-width: 72px;
  padding: 0.4rem 0.85rem !important;
  background: var(--green) !important;
  border-color: var(--green) !important;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.85rem;
}

.upkg-select:hover {
  background: var(--green-dark) !important;
  border-color: var(--green-dark) !important;
}

.upkg-card.is-open .upkg-select {
  background: #fff !important;
  color: var(--green-dark) !important;
  border: 1px solid var(--green) !important;
}

.upkg-dropdown {
  border-top: 1px solid #eef0f3;
  padding: 0.9rem 1.1rem 1.1rem;
  background: linear-gradient(180deg, #fbfefc, #fff);
}

.upkg-summary {
  margin: 0 0 0.65rem;
  color: #4b5563;
  font-size: 0.9rem;
}

.upkg-highlights {
  margin: 0 0 0.85rem;
  padding-left: 1.1rem;
  color: #4b5563;
  font-size: 0.85rem;
}

.upkg-includes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 0.85rem;
}

.upkg-includes span {
  display: inline-flex;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  background: var(--green-soft);
  border: 1px solid var(--green-mid);
  color: var(--green-dark);
  font-size: 0.72rem;
  font-weight: 700;
}

.upkg-empty-subs {
  margin: 0 0 0.75rem;
  color: #9ca3af;
  font-size: 0.88rem;
}

.upkg-dropdown-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.85rem;
}

.upkg-dropdown .hp-price {
  background: var(--green);
}

@media (max-width: 1100px) {
  .upkg-board-head {
    display: none;
  }

  .upkg-row {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem 1rem;
  }

  .upkg-col-hotel {
    grid-column: 1 / -1;
  }

  .upkg-col-price {
    text-align: left;
  }

  .upkg-price-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .upkg-row {
    grid-template-columns: 1fr;
  }

  .upkg-select {
    flex: 1;
  }
}

.umrah-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.15rem 1.2rem 1.1rem;
}

.umrah-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.umrah-badge {
  display: inline-flex;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 0.75rem;
  font-weight: 700;
}

.umrah-card-head strong {
  color: var(--muted);
  font-size: 0.84rem;
}

.umrah-card h2 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.umrah-summary {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.umrah-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.umrah-meta li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.86rem;
}

.umrah-meta span { color: var(--muted); }
.umrah-meta em { font-style: normal; font-weight: 600; text-align: right; }

.umrah-room-prices {
  list-style: none;
  margin: 0.65rem 0 0;
  padding: 0.55rem 0.65rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 0.75rem;
  border-radius: 10px;
  background: #f3f7fb;
  border: 1px solid #e2eaf3;
}

.umrah-room-prices li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.82rem;
}

.umrah-room-prices span { color: var(--muted); }
.umrah-room-prices em { font-style: normal; font-weight: 700; color: #1e3a5f; }

/* Hotel pricing table (sub-packages) — Explore Umrah */
.hp-wrap {
  margin-top: 0.35rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.hp-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem 0.55rem;
}

.hp-head strong {
  font-size: 1rem;
  color: #111827;
}

.hp-head span {
  font-size: 0.78rem;
  color: #9ca3af;
}

.hp-table-scroll { overflow-x: auto; }

.hp-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.hp-table thead th {
  padding: 0.55rem 0.75rem;
  text-align: left;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7280;
  background: #f3f4f6;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  white-space: nowrap;
}

.hp-table tbody td {
  padding: 0.85rem 0.75rem;
  vertical-align: top;
  border-bottom: 1px solid #f0f1f3;
}

.hp-table tbody tr:last-child td { border-bottom: 0; }

.hp-table td strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.3;
  text-transform: uppercase;
}

.hp-table td small {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: #9ca3af;
  font-weight: 500;
  text-transform: none;
}

.hp-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.35rem 0.7rem;
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

button.hp-price:hover {
  background: var(--green-dark);
}

.hp-empty {
  color: #d1d5db;
  font-weight: 600;
}

.org-section-title {
  grid-column: 1 / -1;
  margin: 0.35rem 0 0;
  padding-top: 0.55rem;
  border-top: 1px solid #e5ebf2;
  font-size: 0.95rem;
  color: #1e3a5f;
}

.org-form .org-section-title:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.umrah-include-checks {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.15rem;
  margin-bottom: 0.35rem;
}

.subpkg-list {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.85rem;
}

.subpkg-card {
  margin: 0;
  padding: 0.85rem 1rem 1rem;
  border: 1px solid #d7e3f0;
  border-radius: 12px;
  background: linear-gradient(180deg, #f8fbfe, #f3f7fb);
}

.subpkg-card legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0 0.25rem;
}

.subpkg-title-input {
  border: 0;
  background: transparent;
  font-weight: 800;
  font-size: 0.95rem;
  color: #1e3a5f;
  min-width: 10rem;
}

.subpkg-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 0.85rem;
}

.subpkg-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #5b6b7c;
}

.subpkg-grid input {
  min-height: 40px;
  border: 1px solid #cfd8e3;
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
  font-weight: 500;
  color: var(--ink);
}

.umrah-subpkg-block {
  margin-top: 0.75rem;
  padding: 0.7rem 0.75rem;
  border-radius: 10px;
  border: 1px solid #e2eaf3;
  background: #f8fafc;
}

.umrah-subpkg-block + .umrah-subpkg-block { margin-top: 0.55rem; }

.umrah-subpkg-block strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #1e3a5f;
  font-size: 0.88rem;
}

@media (max-width: 720px) {
  .subpkg-grid { grid-template-columns: 1fr; }
}

.umrah-includes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.umrah-includes span {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #eef6ff;
  color: #1d4f91;
  font-size: 0.74rem;
  font-weight: 700;
}

.umrah-highlights {
  margin: 0;
  padding-left: 1.1rem;
  color: #44505e;
  font-size: 0.86rem;
  display: grid;
  gap: 0.2rem;
}

.umrah-card-foot {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.85rem;
}

.umrah-card-foot small,
.umrah-card-foot em {
  display: block;
  color: var(--muted);
  font-style: normal;
  font-size: 0.75rem;
}

.umrah-price {
  display: block;
  font-size: 1.2rem;
  color: var(--green-dark);
}

.umrah-calc-wrap {
  margin-top: 0.35rem;
}

.umrah-calc {
  position: relative;
  overflow: hidden;
  padding: 1.35rem 1.35rem 1.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 251, 255, 0.96)),
    radial-gradient(circle at 20% 0%, rgba(29, 79, 145, 0.12), transparent 42%),
    linear-gradient(145deg, #0f766e 0%, #134e4a 45%, #1d4f91 100%);
  background-blend-mode: normal, normal, soft-light;
}

.umrah-calc-title {
  margin: 0;
  text-align: center;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  color: #163a6b;
  letter-spacing: -0.02em;
}

.umrah-calc-sub {
  margin: 0.45rem auto 1.15rem;
  max-width: 42rem;
  text-align: center;
  color: #526071;
  font-size: 0.92rem;
  line-height: 1.45;
}

.umrah-calc-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.umrah-calc-section {
  margin-bottom: 1.15rem;
  padding: 1rem 1rem 1.05rem;
  border: 1px solid #d9e4f2;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
}

.umrah-calc-section h3 {
  margin: 0 0 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #1d4f91;
  font-size: 1rem;
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.calc-field span {
  font-size: 0.78rem;
  font-weight: 700;
  color: #5b6b7c;
}

.calc-field select,
.calc-field input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #cfd8e3;
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  background: #fff;
  color: var(--ink);
}

.calc-field input[readonly] {
  background: #f3f6f9;
  color: #44505e;
}

.calc-span-2 { grid-column: span 2; }
.calc-rooms { max-width: 110px; }

.calc-action {
  justify-content: end;
}

.btn-add {
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  padding: 0.65rem 1rem;
  cursor: pointer;
  white-space: nowrap;
}

.btn-add:hover { background: var(--green-dark); }

.calc-link-section {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.calc-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 0;
  background: transparent;
  color: #1d4f91;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  padding: 0;
}

.calc-group-tickets {
  margin-top: 0.85rem;
}

.calc-gt-card {
  display: grid;
  gap: 0.85rem;
  padding: 1rem 1.05rem;
  border: 1px solid #d7e3f0;
  border-radius: 12px;
  background: linear-gradient(180deg, #f8fbfe 0%, #f2f7fc 100%);
}

.calc-gt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.calc-gt-head strong {
  font-size: 0.95rem;
  color: #1e3a5f;
}

.calc-gt-selected {
  margin: 0;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #dbe7f3;
  color: #334155;
  font-size: 0.82rem;
}

.calc-tickets-row {
  grid-template-columns: 0.9fr 1.1fr 1.2fr auto;
  align-items: end;
}

.calc-gt-total {
  justify-content: flex-end;
  padding: 0.35rem 0.65rem 0.45rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #cfe0f2;
}

.calc-gt-total strong {
  font-size: 1.05rem;
  color: #0f3d68;
  line-height: 1.2;
}

.calc-gt-total small {
  color: #64748b;
  font-size: 0.72rem;
}

.calc-field span .calc-inline-link,
.calc-gt-head .calc-inline-link {
  margin-left: 0.5rem;
  font-weight: 600;
  font-size: 0.72rem;
  color: var(--brand, #0b6e4f);
  text-decoration: none;
}

.calc-field span .calc-inline-link:hover,
.calc-gt-head .calc-inline-link:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .calc-tickets-row {
    grid-template-columns: 1fr 1fr;
  }
  .calc-gt-total,
  .calc-tickets-row .calc-action {
    grid-column: 1 / -1;
  }
}

.room-mode {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin-bottom: 0.85rem;
  font-weight: 600;
  color: #334155;
}

.room-mode input {
  accent-color: #1d4f91;
  margin-right: 0.35rem;
}

.calc-hotel-row {
  grid-template-columns: 1.1fr 1.3fr 0.55fr 1.2fr 1.6fr;
}

.calc-add-center {
  display: flex;
  justify-content: center;
  margin-top: 0.9rem;
}

.calc-lines {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.45rem;
}

.calc-line {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  background: #f5f8fc;
  border: 1px solid #e2eaf3;
}

.calc-line strong {
  display: block;
  font-size: 0.9rem;
}

.calc-line small {
  color: var(--muted);
  font-size: 0.78rem;
}

.calc-line em {
  font-style: normal;
  font-weight: 700;
  color: var(--green-dark);
}

.calc-line button {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: #e8eef5;
  color: #526071;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.umrah-calc-totals {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0.35rem 0 1rem;
}

.umrah-calc-totals > div {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #d9e4f2;
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
}

.umrah-calc-totals span {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}

.umrah-calc-totals strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.98rem;
}

.umrah-calc-totals .calc-grand {
  background: #163a6b;
  border-color: #163a6b;
  color: #fff;
}

.umrah-calc-totals .calc-grand span { color: rgba(255, 255, 255, 0.75); }
.umrah-calc-totals .calc-grand strong { color: #fff; font-size: 1.1rem; }

.btn-calc-submit {
  border: 0;
  border-radius: 8px;
  background: #1d4f91;
  color: #fff;
  font-weight: 700;
  padding: 0.75rem 1.6rem;
  cursor: pointer;
}

.btn-calc-submit:hover { background: #163a6b; }

@media (max-width: 1100px) {
  .umrah-grid {
    grid-template-columns: 1fr;
  }

  .calc-grid,
  .calc-hotel-row,
  .umrah-calc-totals {
    grid-template-columns: 1fr 1fr;
  }

  .calc-span-2,
  .calc-grand {
    grid-column: 1 / -1;
  }

  .calc-rooms { max-width: none; }
}

@media (max-width: 640px) {
  .calc-grid,
  .calc-hotel-row,
  .umrah-calc-totals,
  .umrah-card-foot {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }
}

/* Explore: Tours / Hotels / Visas */
.explore-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0;
}

.explore-chip {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: #526071;
  font-size: 0.84rem;
  font-weight: 600;
}

.explore-chip.active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.explore-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.explore-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.15rem 1.2rem 1.1rem;
}

.explore-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.explore-badge {
  display: inline-flex;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 0.75rem;
  font-weight: 700;
}

.explore-card-head strong {
  color: var(--muted);
  font-size: 0.84rem;
}

.explore-stars {
  letter-spacing: 0.05em;
  color: #c9a227 !important;
  font-size: 0.78rem !important;
}

.explore-card h2 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.explore-summary {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.explore-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.explore-meta li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.86rem;
}

.explore-meta span { color: var(--muted); }
.explore-meta em { font-style: normal; font-weight: 600; text-align: right; }

.explore-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.explore-tags span {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #eef6ff;
  color: #1d4f91;
  font-size: 0.74rem;
  font-weight: 700;
}

.explore-highlights {
  margin: 0;
  padding-left: 1.1rem;
  color: #44505e;
  font-size: 0.86rem;
  display: grid;
  gap: 0.2rem;
}

.explore-docs strong {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.explore-docs ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #44505e;
  font-size: 0.86rem;
  display: grid;
  gap: 0.2rem;
}

.explore-card-foot {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.85rem;
}

.explore-card-foot small,
.explore-card-foot em {
  display: block;
  color: var(--muted);
  font-style: normal;
  font-size: 0.75rem;
}

.explore-price {
  display: block;
  font-size: 1.2rem;
  color: var(--green-dark);
}

@media (max-width: 1100px) {
  .explore-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .explore-card-foot {
    flex-direction: column;
    align-items: stretch;
  }
}

/* My Bookings dashboard */
.bk-intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.bk-balance {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--green-soft);
  border: 1px solid var(--green-mid);
  color: var(--green-dark);
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
}

.bk-summary-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.1rem 0 1rem;
}

.bk-summary-card {
  display: grid;
  justify-items: start;
  gap: 0.35rem;
  padding: 1rem 1rem 0.95rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.bk-summary-card:hover,
.bk-summary-card.active {
  border-color: var(--green-mid);
  box-shadow: 0 8px 20px rgba(34, 163, 74, 0.08);
}

.bk-summary-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--green-dark);
  display: grid;
  place-items: center;
  position: relative;
}

.bk-summary-ico::before {
  content: "";
  width: 18px;
  height: 18px;
  background: currentColor;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.bk-summary-ico[data-type="GroupTickets"]::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M3 9h18v10a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1z'/%3E%3Cpath d='M3 9l2-5h14l2 5'/%3E%3Cpath d='M8 13h.01M12 13h.01M16 13h.01'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M3 9h18v10a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1z'/%3E%3Cpath d='M3 9l2-5h14l2 5'/%3E%3Cpath d='M8 13h.01M12 13h.01M16 13h.01'/%3E%3C/svg%3E");
}

.bk-summary-ico[data-type="Umrah"]::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M10 20V8l-4 2v10'/%3E%3Cpath d='M14 20V4l6 3v13'/%3E%3Cpath d='M4 20h16'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M10 20V8l-4 2v10'/%3E%3Cpath d='M14 20V4l6 3v13'/%3E%3Cpath d='M4 20h16'/%3E%3C/svg%3E");
}

.bk-summary-ico[data-type="Tours"]::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M2 16l8-4 4 2 8-6'/%3E%3Cpath d='M14 8l2-4 4 1-2 4'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M2 16l8-4 4 2 8-6'/%3E%3Cpath d='M14 8l2-4 4 1-2 4'/%3E%3C/svg%3E");
}

.bk-summary-ico[data-type="Hotels"]::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M5 21V8l7-5 7 5v13'/%3E%3Cpath d='M9 21v-6h6v6'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M5 21V8l7-5 7 5v13'/%3E%3Cpath d='M9 21v-6h6v6'/%3E%3C/svg%3E");
}

.bk-summary-ico[data-type="Visas"]::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='9' cy='12' r='2'/%3E%3Cpath d='M14 10h4M14 14h4'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='9' cy='12' r='2'/%3E%3Cpath d='M14 10h4M14 14h4'/%3E%3C/svg%3E");
}

.bk-summary-card strong {
  font-size: 1.65rem;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.bk-summary-card em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.bk-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.4rem;
  background: #eef1f4;
  border-radius: 12px;
  margin-bottom: 0.9rem;
}

.bk-tab {
  padding: 0.55rem 0.95rem;
  border-radius: 9px;
  color: #526071;
  font-size: 0.88rem;
  font-weight: 600;
}

.bk-tab.active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
}

.bk-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.bk-status {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: #526071;
  font-size: 0.84rem;
  font-weight: 600;
}

.bk-status.active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.bk-list {
  min-height: 220px;
}

.bk-empty {
  display: grid;
  place-items: center;
  gap: 0.85rem;
  padding: 2.5rem 1rem;
  text-align: center;
  color: var(--muted);
}

.bk-empty p {
  margin: 0;
  font-size: 0.98rem;
}

.bk-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.bk-sub {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 0.15rem;
}

.status-badge.reserved { background: #fff7e8; color: #9a6700; }
.status-badge.confirmed { background: var(--green-soft); color: var(--green-dark); }
.status-badge.issued { background: #e8f7ee; color: #067647; }
.status-badge.paid { background: #e8f1ff; color: #1d4f91; }
.status-badge.partial { background: #f3e8ff; color: #6b21a8; }
.status-badge.cancelled { background: #fdecec; color: #b42318; }
.status-badge.expired { background: #f1f3f5; color: #667085; }

@media (max-width: 1100px) {
  .bk-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .bk-intro {
    flex-direction: column;
  }

  .bk-summary-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Payments + Ledger */
.pay-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.pay-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
}

.pay-metric {
  padding: 1rem 1.05rem;
  display: grid;
  gap: 0.35rem;
}

.pay-metric header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.pay-metric header span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.pay-metric strong {
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.pay-metric p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.pay-pending-tag {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: #fff4e5;
  color: #b54708;
}

.pay-tab { /* uses bk-tabs */ }

.pay-panel {
  padding: 1.15rem 1.2rem;
}

.pay-panel h2 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
}

.pay-panel-sub {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.pay-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
  margin-bottom: 0.5rem;
}

.pay-topup-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.pay-topup-form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
}

.pay-topup-form .full { grid-column: 1 / -1; }

.pay-topup-form input,
.pay-topup-form select {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  font: inherit;
  color: var(--ink);
}

.pay-bank-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.pay-bank-card h2 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.inline-form { display: inline; }

.link-btn {
  border: 0;
  background: transparent;
  color: var(--green-dark);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.link-btn.danger { color: #b42318; }

.amt-in { color: var(--green-dark); }
.amt-out { color: #b42318; }

.status-badge.approved,
.status-badge.completed { background: var(--green-soft); color: var(--green-dark); }
.status-badge.pending { background: #fff4e5; color: #b54708; }
.status-badge.rejected,
.status-badge.failed { background: #fdecec; color: #b42318; }

/* Offline payment create */
.offline-pay-card {
  margin-top: 1rem;
  padding: 1.35rem 1.4rem 1.5rem;
  border: 1px solid #d9e7e2;
}

.offline-pay-head {
  margin-bottom: 1.25rem;
}

.offline-pay-radio {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
}

.offline-pay-radio input {
  accent-color: var(--green);
  width: 18px;
  height: 18px;
}

.offline-pay-note {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.offline-pay-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
}

.offline-pay-form .full {
  grid-column: 1 / -1;
}

.outline-field {
  display: grid;
  gap: 0.35rem;
}

.outline-field > span {
  font-size: 0.82rem;
  font-weight: 600;
  color: #667085;
}

.outline-field input,
.outline-field select,
.outline-field textarea {
  width: 100%;
  border: 1px solid #cfd8dc;
  border-radius: 6px;
  padding: 0.95rem 0.85rem 0.75rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.outline-field textarea {
  resize: vertical;
  min-height: 120px;
}

.outline-field input:focus,
.outline-field select:focus,
.outline-field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(34, 163, 74, 0.12);
}

.slip-upload {
  display: grid;
  place-items: center;
  gap: 0.35rem;
  min-height: 170px;
  border: 2px dashed #b9ddd3;
  border-radius: 8px;
  background: #edf7f2;
  cursor: pointer;
  text-align: center;
  padding: 1rem;
}

.slip-upload input[type="file"] {
  display: none;
}

.slip-upload strong {
  color: var(--green-dark);
  font-size: 1rem;
}

.slip-upload em {
  color: #667085;
  font-style: normal;
  font-size: 0.82rem;
}

.offline-pay-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.pay-detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  margin-top: 1rem;
}

.pay-detail-card h2 {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
}

.pay-detail-actions {
  margin-top: 1rem;
}

.pay-slip-image {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fafbfc;
}

.pay-profile-cell {
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.ledger-metrics .ledger-ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  margin-bottom: 0.15rem;
}

.ledger-ico.balance { background: var(--green-soft); }
.ledger-ico.inn { background: #e6f7f4; }
.ledger-ico.out { background: #fdecec; }
.ledger-ico.pending { background: #fff4e5; }

.ledger-charts,
.ledger-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.ledger-chart-card {
  min-height: 220px;
  padding: 1.1rem 1.15rem;
}

.spark-bars {
  display: flex;
  align-items: end;
  gap: 0.55rem;
  height: 140px;
  margin-top: 1rem;
}

.spark-col {
  flex: 1;
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  height: 100%;
  align-content: end;
}

.spark-bar {
  width: 70%;
  max-width: 28px;
  border-radius: 6px 6px 2px 2px;
  background: var(--green);
  min-height: 6px;
}

.spark-bar.bal { background: linear-gradient(180deg, #34c759, #1a8a3c); }
.spark-bar.inn { background: #0f766e; }
.spark-bar.out { background: #e11d48; }

.spark-pair {
  display: flex;
  align-items: end;
  gap: 3px;
  height: 100%;
  width: 100%;
  justify-content: center;
}

.spark-pair .spark-bar { width: 40%; }

.spark-col span {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 600;
}

.spend-list {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.spend-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.3rem;
  font-size: 0.88rem;
}

.spend-meta em { font-style: normal; font-weight: 700; }

.spend-track {
  height: 8px;
  border-radius: 999px;
  background: #eef1f4;
  overflow: hidden;
}

.spend-track span {
  display: block;
  height: 100%;
  background: var(--green);
  border-radius: 999px;
}

.statement-list {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.statement-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.statement-list li span { color: var(--muted); }

@media (max-width: 1100px) {
  .pay-metric-grid,
  .pay-bank-grid,
  .ledger-charts,
  .ledger-bottom {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .pay-metric-grid,
  .pay-bank-grid,
  .ledger-charts,
  .ledger-bottom,
  .pay-topup-form {
    grid-template-columns: 1fr;
  }

  .offline-pay-form,
  .pay-detail-grid {
    grid-template-columns: 1fr;
  }

  .offline-pay-actions {
    justify-content: stretch;
    flex-direction: column;
  }

  .pay-panel-head {
    flex-direction: column;
  }
}

/* Organization / User Management */
.org-users-panel,
.org-form-panel {
  margin-top: 1rem;
  padding: 1.1rem 1.15rem;
}

.org-search {
  display: flex;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
}

.org-search input {
  flex: 1;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  font: inherit;
}

.org-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.org-form.narrow {
  max-width: 420px;
  grid-template-columns: 1fr;
}

.org-form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
}

.org-form input[type="text"],
.org-form input[type="email"],
.org-form input[type="number"],
.org-form input[type="password"],
.org-form input[type="file"],
.org-form input[type="color"],
.org-form select,
.org-form input:not([type]) {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  font: inherit;
  color: var(--ink);
}

.org-form .check-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--ink);
}

.org-form-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.btn-teal {
  background: #0f766e;
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  font-weight: 700;
  font-size: 0.84rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-teal:hover { background: #0d5f59; color: #fff; }

.btn-muted {
  background: #e8ecef;
  color: #98a2b3;
  border: 0;
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
}

.btn-muted:disabled {
  cursor: not-allowed;
  opacity: 0.85;
}

.org-icon-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.icon-action {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: #eef6ff;
  color: #1d4f91;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.icon-action.danger {
  background: #fdecec;
  color: #b42318;
}

.status-badge.linkish {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.form-error {
  grid-column: 1 / -1;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: #fdecec;
  color: #b42318;
  font-size: 0.9rem;
  font-weight: 600;
}

.field-error {
  color: #b42318;
  font-size: 0.78rem;
}

.org-form .full {
  grid-column: 1 / -1;
}

.profile-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 1rem;
  align-items: start;
}

.profile-sections {
  display: grid;
  gap: 1rem;
}

.profile-summary-card,
.profile-panel {
  margin-top: 1rem;
}

.profile-summary-head {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.profile-summary-head h2 {
  margin: 0;
  font-size: 1.35rem;
}

.profile-summary-head p {
  margin: 0.25rem 0 0.5rem;
  color: var(--muted);
}

.profile-photo-lg {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  object-fit: cover;
  background: #edf2f7;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  font-weight: 700;
}

.profile-photo-lg.placeholder {
  color: var(--green-dark);
  background: var(--green-soft);
}

.profile-summary-meta {
  display: grid;
  gap: 0.7rem;
  margin: 1rem 0 0;
}

.profile-summary-meta div {
  display: grid;
  gap: 0.15rem;
}

.profile-summary-meta dt {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 700;
}

.profile-summary-meta dd {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}

.profile-logo-preview {
  margin-top: 1rem;
  display: grid;
  gap: 0.5rem;
}

.profile-logo-preview span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.profile-logo-preview img {
  max-width: 100%;
  max-height: 72px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.5rem;
}

.profile-panel-head h2 {
  margin: 0;
  font-size: 1.15rem;
}

.profile-panel-head p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.settings-block + .settings-block {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.settings-block h3 {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.profile-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.theme-preview {
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--preview-bg);
}

.theme-preview-bar {
  height: 48px;
  background: linear-gradient(135deg, var(--preview-secondary), var(--preview-primary));
}

.theme-preview-card {
  padding: 1rem;
  color: var(--preview-text);
}

.theme-preview-card strong {
  display: block;
  margin-bottom: 0.35rem;
}

.theme-preview-card p,
.theme-preview-card span {
  display: block;
  margin: 0 0 0.45rem;
  color: inherit;
  opacity: 0.9;
}

.theme-preview-card button {
  margin-top: 0.4rem;
  border: 0;
  border-radius: 10px;
  background: var(--preview-button);
  color: #fff;
  padding: 0.7rem 1rem;
  font: inherit;
  font-weight: 700;
}

.perm-form {
  display: grid;
  gap: 1rem;
}

.perm-group {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem 1rem;
  margin: 0;
}

.perm-group legend {
  padding: 0 0.35rem;
  font-weight: 700;
  color: var(--green-dark);
}

.perm-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0;
  font-weight: 500;
  color: var(--ink);
}

.perm-item input {
  accent-color: var(--green);
  width: 16px;
  height: 16px;
}

@media (max-width: 900px) {
  .profile-grid,
  .settings-grid,
  .org-form {
    grid-template-columns: 1fr;
  }
}

/* Admin console */
.admin-body { background: #eef1f4; }
.admin-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}
.admin-sidebar {
  background: #102a43;
  color: #fff;
  padding: 1.1rem 0.85rem 1.5rem;
}
.admin-brand {
  display: grid;
  gap: 0.15rem;
  padding: 0.35rem 0.55rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
  margin-bottom: 0.85rem;
}
.admin-brand strong { font-size: 1.05rem; }
.admin-brand span { color: rgba(255,255,255,.65); font-size: 0.8rem; }
.admin-nav-list { display: grid; gap: 0.15rem; }
.admin-sec {
  margin: 0.75rem 0.55rem 0.25rem;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  font-weight: 700;
}
.admin-nav {
  display: block;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  color: rgba(255,255,255,.82);
  font-weight: 600;
  font-size: 0.9rem;
}
.admin-nav:hover,
.admin-nav.active {
  background: rgba(255,255,255,.1);
  color: #fff;
}
.admin-main { min-width: 0; }
.admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.35rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.admin-top h1 { margin: 0; font-size: 1.25rem; }
.admin-content { padding: 1.15rem 1.35rem 2rem; }
.admin-lead { margin: 0 0 1rem; color: var(--muted); }
.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.admin-stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
  display: grid;
  gap: 0.25rem;
  box-shadow: var(--shadow);
}
.admin-stat strong { font-size: 1.5rem; }
.admin-stat span { color: var(--muted); font-size: 0.86rem; font-weight: 600; }
.admin-quick { padding: 1.1rem 1.15rem; }
.admin-quick h2 { margin: 0 0 0.75rem; font-size: 1.05rem; }
.admin-quick-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
  align-items: center;
}

.admin-section-title {
  grid-column: 1 / -1;
  margin: 0.85rem 0 0.15rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: #1d4f91;
}

.admin-section-title:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

.admin-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.admin-filter-row input[type="search"],
.admin-filter-row select {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  background: #fff;
}

.admin-filter-row input[type="search"] {
  min-width: min(280px, 100%);
  flex: 1;
}

.perm-admin-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
}

.perm-group {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  background: #fafbfc;
}

.perm-group legend {
  padding: 0 0.35rem;
  font-weight: 700;
  color: #1d4f91;
  font-size: 0.86rem;
}

.perm-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.35rem 0;
  font-size: 0.88rem;
}

.muted-mini {
  color: var(--muted);
  font-size: 0.75rem;
  margin-top: 0.15rem;
}

.expiry-ok { color: var(--green-dark); font-weight: 600; }
.expiry-bad { color: #b42318; font-weight: 700; }

.gt-pax-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.gt-pax-inline input {
  width: 58px;
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.2rem 0.35rem;
}

.status-badge.live { background: #e8f7ee; color: #067647; }
.status-badge.soldout { background: #f2f4f7; color: #667085; }
.status-badge.expired { background: #fdecec; color: #b42318; }
.status-badge.hidden { background: #eef2f6; color: #475467; }

@media (max-width: 1000px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-stat-grid { grid-template-columns: 1fr 1fr; }
}

/* —— Electronic ticket printable report —— */
.eticket-body {
  margin: 0;
  background: #e8eef5;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #111;
}

.eticket-toolbar {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem;
  background: #fff;
  border-bottom: 1px solid #d0d7de;
  position: sticky;
  top: 0;
  z-index: 5;
}

.eticket-sheet {
  max-width: 900px;
  margin: 1.25rem auto 2rem;
  background: #fff;
  padding: 1.4rem 1.6rem 1.8rem;
  box-shadow: 0 8px 28px rgba(16, 40, 80, 0.12);
}

.eticket-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.eticket-top h1 {
  margin: 0;
  font-size: 1.65rem;
  letter-spacing: 0.02em;
  font-weight: 800;
  color: #111;
}

.eticket-pnr {
  margin: 0.25rem 0 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.eticket-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-align: right;
}

.eticket-brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a9b4a, #1f6fb5);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

.eticket-brand strong {
  font-size: 1.15rem;
  color: #1f6fb5;
}

.eticket-meta {
  background: #163a6b;
  color: #fff;
  border-radius: 10px;
  padding: 0.85rem 1.1rem;
  margin-bottom: 1rem;
}

.eticket-meta-grid {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0.35rem 1rem;
  align-items: start;
}

.eticket-meta-grid > div {
  display: grid;
  gap: 0.28rem;
}

.eticket-meta-grid span {
  opacity: 0.92;
  font-size: 0.92rem;
}

.eticket-meta-grid strong {
  font-weight: 700;
  font-size: 0.95rem;
  word-break: break-word;
}

.eticket-pax {
  margin-bottom: 1rem;
  overflow-x: auto;
}

.eticket-pax table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.eticket-pax th {
  background: #e85a1c;
  color: #fff;
  text-align: left;
  padding: 0.55rem 0.55rem;
  font-weight: 700;
  white-space: nowrap;
}

.eticket-pax td {
  padding: 0.55rem;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: middle;
}

.eticket-pax tfoot td {
  border-bottom: none;
  padding-top: 0.75rem;
  font-weight: 800;
}

.eticket-total-label {
  text-align: right;
}

.eticket-total-value {
  white-space: nowrap;
}

.eticket-flight {
  margin-bottom: 0.85rem;
}

.eticket-flight-head {
  background: #2b95d6;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 0.55rem 0.85rem;
  text-transform: uppercase;
}

.eticket-flight-body {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr auto 1.2fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.85rem 0.35rem 0.35rem;
  border-bottom: 1px solid #e5e7eb;
}

.eticket-flight-body .lbl {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #4b5563;
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
}

.eticket-flight-body strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.eticket-flight-body em {
  display: block;
  font-style: normal;
  color: #374151;
  font-size: 0.88rem;
  line-height: 1.35;
}

.eticket-plane {
  color: #1f6fb5;
  font-size: 1.4rem;
  align-self: center;
  transform: rotate(90deg);
  padding-top: 0.6rem;
}

.eticket-rule {
  border: none;
  border-top: 1.5px solid #111;
  margin: 1.1rem 0 0.85rem;
}

.eticket-terms h2 {
  margin: 0 0 0.55rem;
  color: #163a6b;
  font-size: 1rem;
  font-weight: 800;
}

.eticket-terms ol {
  margin: 0;
  padding-left: 1.25rem;
}

.eticket-terms li {
  margin-bottom: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1.45;
}

@media (max-width: 760px) {
  .eticket-sheet { margin: 0.5rem; padding: 1rem; }
  .eticket-meta-grid { grid-template-columns: 110px 1fr; }
  .eticket-flight-body {
    grid-template-columns: 1fr 1fr;
  }
  .eticket-plane { display: none; }
}

@media print {
  .no-print { display: none !important; }
  .eticket-body { background: #fff; }
  .eticket-sheet {
    margin: 0;
    max-width: none;
    box-shadow: none;
    padding: 0;
  }
  .eticket-meta,
  .eticket-pax th,
  .eticket-flight-head {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

/* —— Reserve wizard modal —— */
body.rw-open { overflow: hidden; }
.rw-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(15, 23, 42, 0.45);
  display: grid;
  place-items: center;
  padding: 1rem;
}
.rw-overlay[hidden] { display: none !important; }
.rw-modal {
  width: min(760px, 100%);
  max-height: min(92vh, 920px);
  overflow: auto;
  background: #fff;
  border: 1px solid #d0d5dd;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
  display: flex;
  flex-direction: column;
}
.rw-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem 0.5rem;
}
.rw-head h2 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
}
.rw-title-ico {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: linear-gradient(135deg, #7be04a, #4caf2a);
  display: inline-block;
}
.rw-sub { margin: 0.2rem 0 0; color: #667085; font-size: 0.9rem; }
.rw-close {
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: #667085;
}
.rw-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  padding: 0.75rem 1.5rem 1rem;
  position: relative;
}
.rw-steps::before {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  top: 1.35rem;
  height: 2px;
  background: #e4e7ec;
  z-index: 0;
}
.rw-step {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #98a2b3;
}
.rw-step span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: #fff;
  border: 2px solid #d0d5dd;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.rw-step em { display: block; font-style: normal; font-size: 0.82rem; font-weight: 600; }
.rw-step.is-active span,
.rw-step.is-done span {
  border-color: #6fce3f;
  background: #6fce3f;
  color: #fff;
}
.rw-step.is-active,
.rw-step.is-done { color: #3b9a1f; }
.rw-body { padding: 0 1.25rem 1rem; }
.rw-card {
  border: 1px solid #eaecf0 !important;
  background: #ffffff !important;
  border-radius: 14px;
  padding: 1rem;
  margin-bottom: 0.85rem;
}
.rw-card h3 {
  margin: 0 0 0.85rem;
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.rw-ico-plane,
.rw-ico-user {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #6fce3f;
  display: inline-block;
}
.rw-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.rw-info-grid span,
.rw-counter > span,
.rw-total-pax span {
  display: block;
  color: #667085;
  font-size: 0.78rem;
  margin-bottom: 0.2rem;
}
.rw-info-grid strong { font-size: 0.98rem; }
.rw-accent { color: #3b9a1f !important; }
.rw-counters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.rw-counter-ctrl {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #fff;
  border: 1px solid #d0d5dd;
  border-radius: 12px;
  padding: 0.35rem 0.55rem;
}
.rw-counter-ctrl button {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: #f2f4f7;
  cursor: pointer;
  font-size: 1rem;
}
.rw-counter-ctrl strong { min-width: 1.2rem; text-align: center; }
.rw-total-pax {
  margin-top: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px dashed #d0d5dd;
  padding-top: 0.75rem;
}
.rw-total-pax strong { font-size: 1.6rem; color: #3b9a1f; }
.rw-section-title { margin: 0.2rem 0 0.75rem; font-size: 1rem; }
.rw-pax-card {
  border: 1px solid #eaecf0;
  border-radius: 14px;
  padding: 0.85rem;
  margin-bottom: 0.75rem;
  background: #fff;
}
.rw-pax-card header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}
.rw-pax-type {
  font-size: 0.72rem;
  font-weight: 700;
  color: #667085;
  background: #f2f4f7;
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
}
.rw-pax-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}
.rw-pax-grid label,
.rw-notes {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.82rem;
  color: #475467;
}
.rw-pax-grid label.full { grid-column: 1 / -1; }
.rw-pax-grid input,
.rw-pax-grid select,
.rw-notes textarea,
.rw-modal input,
.rw-modal select,
.rw-modal textarea {
  border: 1px solid #d0d5dd !important;
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  font: inherit;
  color: #1c2430 !important;
  background-color: #ffffff !important;
  color-scheme: light;
  caret-color: #1c2430;
  box-shadow: none;
  appearance: auto;
  -webkit-appearance: auto;
}
.rw-pax-grid input::placeholder,
.rw-notes textarea::placeholder,
.rw-modal input::placeholder,
.rw-modal textarea::placeholder {
  color: #98a2b3 !important;
  opacity: 1;
}
.rw-pax-grid input:focus,
.rw-pax-grid select:focus,
.rw-notes textarea:focus,
.rw-modal input:focus,
.rw-modal select:focus,
.rw-modal textarea:focus {
  outline: 2px solid #98a2b3 !important;
  border-color: #98a2b3 !important;
  background-color: #ffffff !important;
  color: #1c2430 !important;
}
.rw-pax-grid input[type="date"],
.rw-modal input[type="date"] {
  color-scheme: light;
  min-height: 2.5rem;
}
.rw-notes { width: 100%; margin-top: 0.35rem; }
.rw-foot {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem 1.15rem;
  border-top: 1px solid #eaecf0;
  position: sticky;
  bottom: 0;
  background: #fff;
}
.rw-foot-right { display: flex; gap: 0.55rem; margin-left: auto; }
.rw-next {
  background: #6fce3f !important;
  border-color: #6fce3f !important;
  color: #102a12 !important;
}
.rw-hidden-form { display: none; }
.rw-confirm-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 1rem;
  margin-bottom: 0.85rem;
}
.rw-confirm-meta span { display: block; color: #667085; font-size: 0.78rem; }
.rw-confirm-pax { margin: 0; padding-left: 1.1rem; }
.rw-confirm-pax li { margin-bottom: 0.35rem; }
.rw-confirm-pax span { display: block; color: #667085; font-size: 0.82rem; }
.rw-confirm-hint { color: #667085; font-size: 0.85rem; margin: 0.75rem 0 0; }
.rw-confirm-notes { font-size: 0.88rem; }

@media (max-width: 640px) {
  .rw-info-grid,
  .rw-counters,
  .rw-pax-grid,
  .rw-confirm-meta { grid-template-columns: 1fr; }
  .rw-foot { flex-wrap: wrap; }
}

/* —— Unified form + popup accent —— */
.field input:focus,
.field select:focus,
.field textarea:focus,
.gt-field select:focus,
.gt-field input:focus,
.calc-field input:focus,
.calc-field select:focus,
.org-form input:focus,
.org-form select:focus,
.org-form textarea:focus,
.outline-field input:focus,
.outline-field select:focus,
.outline-field textarea:focus,
.auth-card input:focus,
.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--accent-ring);
  border-color: var(--accent) !important;
}

.field input.is-invalid,
.gt-field input.is-invalid,
.calc-field input.is-invalid,
.org-form input.is-invalid,
.rw-pax-grid input.is-invalid,
.rw-pax-grid select.is-invalid,
input.is-invalid,
select.is-invalid,
textarea.is-invalid {
  border-color: var(--danger) !important;
  background: var(--danger-soft);
  outline: 2px solid rgba(217, 45, 32, 0.25);
}

.rw-title-ico {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark)) !important;
}
.rw-step.is-active span,
.rw-step.is-done span {
  border-color: var(--accent) !important;
  background: var(--accent) !important;
  color: #fff !important;
}
.rw-step.is-active,
.rw-step.is-done { color: var(--accent-dark) !important; }
.rw-card {
  border-color: #eaecf0 !important;
  background: #ffffff !important;
}
.rw-ico-plane,
.rw-ico-user { background: var(--accent) !important; }
.rw-accent { color: var(--accent-dark) !important; }
.rw-total-pax strong { color: var(--accent-dark) !important; }
.rw-pax-grid input:focus,
.rw-pax-grid select:focus,
.rw-notes textarea:focus,
.rw-modal input:focus,
.rw-modal select:focus,
.rw-modal textarea:focus {
  outline: 2px solid #98a2b3 !important;
  border-color: #98a2b3 !important;
  background-color: #ffffff !important;
  color: #1c2430 !important;
}
.rw-pax-grid input.is-invalid,
.rw-pax-grid select.is-invalid,
.rw-notes textarea.is-invalid,
.rw-modal input.is-invalid,
.rw-modal select.is-invalid,
.rw-modal textarea.is-invalid {
  border-color: #f04438 !important;
  background: #fff !important;
  outline: 2px solid rgba(240, 68, 56, 0.35) !important;
}
.rw-next {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: var(--accent-text) !important;
}
.rw-next:hover { background: var(--accent-dark) !important; color: #fff !important; }
.rw-error {
  display: none;
  margin: 0 1.25rem 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  background: var(--danger-soft);
  border: 1px solid #fecdca;
  color: #b42318;
  font-size: 0.88rem;
  font-weight: 600;
}
.rw-error.is-visible { display: block; }
.rw-pax-card.has-error {
  border-color: #fecdca;
  box-shadow: inset 0 0 0 1px rgba(217, 45, 32, 0.15);
}

.book-btn,
.umrah-card-foot .btn-primary,
.gt-search .btn-primary,
.auth-actions .btn-primary {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: var(--accent-text) !important;
}
.book-btn:hover,
.umrah-card-foot .btn-primary:hover,
.gt-search .btn-primary:hover,
.auth-actions .btn-primary:hover {
  background: var(--accent-dark) !important;
  color: #fff !important;
}

.trip-pill.active,
.quick-chip.active,
.bk-tab.active,
.umrah-tabs a.active,
.bk-status.active {
  background: var(--accent-soft) !important;
  border-color: var(--accent) !important;
  color: var(--accent-dark) !important;
}

/* ========== Fatha Travels marketing redesign ========== */
.ft-site {
  --ft-teal: #025746;
  --ft-teal-deep: #014437;
  --ft-teal-soft: #e6f3ef;
  --ft-gold: #c4a35a;
  --ft-gold-deep: #a8873f;
  --ft-cream: #f7f4ee;
  --ft-ink: #14231f;
  --ft-muted: #5f6f6a;
  --ft-line: #e4e0d8;
  --ft-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --ft-sans: "Inter", system-ui, sans-serif;
  background: var(--ft-cream);
  color: var(--ft-ink);
  font-family: var(--ft-sans);
  font-weight: 400;
}

.ft-wrap {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.ft-topbar {
  background: #fff;
  border-bottom: 1px solid var(--ft-line);
  font-size: 0.82rem;
}
.ft-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.45rem 0;
}
.ft-topbar-left {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  color: var(--ft-muted);
}
.ft-topbar-left a { color: var(--ft-teal); font-weight: 600; }
.ft-topbar-social {
  display: flex;
  gap: 0.4rem;
}
.ft-topbar-social a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ft-teal-soft);
  color: var(--ft-teal);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.ft-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(2,87,70,0.08);
}
.ft-nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
  position: relative;
}
.ft-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: max-content;
  justify-self: start;
  grid-column: 1;
}
.ft-brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #7dcea0 0 18%, transparent 19%),
    conic-gradient(from 20deg, var(--ft-teal), #0a7a62, var(--ft-gold), var(--ft-teal));
  box-shadow: inset 0 0 0 3px #fff;
}
.ft-brand strong {
  display: block;
  font-family: var(--ft-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ft-teal);
  line-height: 1.1;
}
.ft-brand em {
  display: block;
  font-family: var(--ft-sans);
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--ft-muted);
}
.ft-nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.95rem;
  margin-left: 0;
  justify-self: center;
  grid-column: 2;
  font-family: var(--ft-sans);
  font-size: 0.86rem;
  font-weight: 500;
}
.ft-nav-links a { color: #35534c; }
.ft-nav-links a:hover { color: var(--ft-teal); }
.ft-nav-cta {
  justify-self: end;
  grid-column: 3;
  background: var(--ft-teal);
  color: #fff !important;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  font-family: var(--ft-sans);
  font-weight: 600;
  font-size: 0.86rem;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(2,87,70,0.22);
}
.ft-nav-toggle {
  display: none;
  justify-self: end;
  grid-column: 3;
  border: 1px solid var(--ft-line);
  background: #fff;
  border-radius: 10px;
  padding: 0.45rem 0.75rem;
  font-weight: 600;
}

.ft-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  font-family: var(--ft-sans);
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
}
.ft-btn-teal { background: var(--ft-teal); color: #fff; }
.ft-btn-teal:hover { background: var(--ft-teal-deep); }
.ft-btn-gold { background: var(--ft-gold); color: #1d170a; }
.ft-btn-gold:hover { background: var(--ft-gold-deep); color: #fff; }
.ft-btn-ghost {
  background: rgba(255,255,255,0.16);
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.ft-btn-ghost:hover { background: #fff; color: var(--ft-teal); }
.ft-btn-outline {
  background: #fff;
  color: var(--ft-teal);
  border-color: rgba(2,87,70,0.2);
}
.ft-btn-light {
  background: #fff;
  color: var(--ft-teal);
  border-color: var(--ft-line);
}

.ft-hero {
  position: relative;
  min-height: min(78vh, 720px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}
.ft-hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(1, 28, 24, 0.78) 0%, rgba(1, 40, 34, 0.55) 48%, rgba(1, 28, 24, 0.25) 100%),
    url("https://images.unsplash.com/photo-1591604129939-f1efa4d9f7fa?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat,
    linear-gradient(135deg, #01372e, #025746);
  animation: ftHeroIn 1.1s ease both;
}
.ft-hero-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  background: linear-gradient(to top, var(--ft-cream), transparent);
}
.ft-hero-inner {
  position: relative;
  z-index: 1;
  padding: clamp(3.5rem, 10vw, 6.5rem) 0 5.5rem;
  max-width: 720px;
  margin-left: max(1rem, calc((100% - 1180px) / 2));
  animation: ftRise 0.9s ease 0.15s both;
}
.ft-brand-line {
  margin: 0 0 0.85rem;
  font-family: var(--ft-serif);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.ft-hero h1 {
  margin: 0;
  font-family: var(--ft-serif);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.05;
  font-weight: 700;
  max-width: 12ch;
}
.ft-hero h1 em {
  display: inline-block;
  color: #9fe0c8;
  font-style: italic;
  font-weight: 700;
}
.ft-hero-lead {
  margin: 1rem 0 1.5rem;
  max-width: 38rem;
  color: rgba(255,255,255,0.88);
  font-family: var(--ft-sans);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.55;
}
.ft-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ft-planner {
  position: relative;
  z-index: 2;
  margin-top: -3.5rem;
  margin-bottom: 1rem;
}
.ft-planner-card {
  background: #fff;
  border: 1px solid rgba(2,87,70,0.08);
  border-radius: 22px;
  padding: 1.15rem 1.2rem 1.25rem;
  box-shadow: 0 18px 50px rgba(20, 35, 31, 0.12);
  animation: ftRise 0.8s ease 0.28s both;
}
.ft-planner-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 0.85rem;
}
.ft-planner-head h2 {
  margin: 0;
  font-family: var(--ft-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--ft-teal);
}
.ft-planner-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.ft-planner-tabs button {
  border: 0;
  background: var(--ft-cream);
  color: var(--ft-muted);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-family: var(--ft-sans);
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
}
.ft-planner-tabs button.is-active {
  background: var(--ft-teal-soft);
  color: var(--ft-teal);
}
.ft-trip-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
}
.ft-trip-pills label,
.ft-pill-link {
  border: 1px solid var(--ft-line);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ft-muted);
  background: #fff;
  cursor: pointer;
}
.ft-trip-pills label input { display: none; }
.ft-trip-pills label.is-active {
  background: var(--ft-teal);
  border-color: var(--ft-teal);
  color: #fff;
}
.ft-planner-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.7rem;
  align-items: end;
}
.ft-planner-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  font-size: 0.78rem;
  color: var(--ft-muted);
  font-weight: 600;
}
.ft-planner-grid select,
.ft-planner-grid input {
  border: 1px solid var(--ft-line);
  border-radius: 12px;
  padding: 0.7rem 0.75rem;
  font: inherit;
  color: var(--ft-ink);
  background: #fff;
}
.ft-planner-grid select:focus,
.ft-planner-grid input:focus {
  outline: 2px solid rgba(2,87,70,0.25);
  border-color: var(--ft-teal);
}
.ft-planner-submit { display: flex; }
.ft-planner-submit .ft-btn { width: 100%; border-radius: 12px; }

.ft-section { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.ft-section-soft { background: #fff; }
.ft-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.4rem;
}
.ft-section-head.center {
  justify-content: center;
  text-align: center;
}
.ft-kicker {
  margin: 0 0 0.35rem;
  color: var(--ft-gold-deep);
  font-family: var(--ft-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ft-section-head h2 {
  margin: 0;
  font-family: var(--ft-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--ft-teal);
  line-height: 1.15;
}
.ft-text-link {
  color: var(--ft-teal);
  font-family: var(--ft-sans);
  font-weight: 600;
  white-space: nowrap;
}
.ft-empty { color: var(--ft-muted); }

.ft-gt-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.ft-gt-card {
  background: #fff;
  border: 1px solid var(--ft-line);
  border-radius: 18px;
  padding: 1rem;
  display: grid;
  gap: 0.55rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ft-gt-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(20,35,31,0.1);
}
.ft-gt-top {
  display: flex;
  justify-content: flex-start;
  gap: 0.65rem;
  align-items: center;
}
.ft-gt-top strong {
  color: var(--ft-teal);
  font-family: var(--ft-sans);
  font-weight: 600;
}
.ft-seats {
  font-family: var(--ft-sans);
  font-size: 0.72rem;
  font-weight: 600;
  background: #e8f7ee;
  color: #067647;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}
.ft-seats.is-low { background: #fff4e5; color: #b54708; }
.ft-gt-card h3 {
  margin: 0;
  font-family: var(--ft-sans);
  font-size: 1.15rem;
  font-weight: 600;
}
.ft-gt-card p { margin: 0; color: var(--ft-muted); font-size: 0.88rem; font-weight: 400; }
.ft-gt-price strong {
  display: block;
  font-family: var(--ft-sans);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ft-teal);
}
.ft-gt-price small,
.ft-umrah-foot small { color: var(--ft-muted); }
.ft-gt-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}
.ft-gt-actions .ft-btn {
  border-radius: 12px;
  padding: 0.6rem 0.4rem;
  font-size: 0.8rem;
}

.ft-umrah-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.ft-umrah-card {
  background: #fff;
  border: 1px solid var(--ft-line);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ft-umrah-media {
  position: relative;
  min-height: 170px;
  background:
    linear-gradient(180deg, rgba(1,40,34,0.15), rgba(1,40,34,0.55)),
    url("https://images.unsplash.com/photo-1564769625905-50e93615e769?auto=format&fit=crop&w=900&q=70") center/cover;
}
.ft-umrah-media-blue {
  background:
    linear-gradient(180deg, rgba(15,55,90,0.2), rgba(15,55,90,0.55)),
    url("https://images.unsplash.com/photo-1590075869671-9b0acfd6e9c4?auto=format&fit=crop&w=900&q=70") center/cover;
}
.ft-umrah-media-violet {
  background:
    linear-gradient(180deg, rgba(50,30,70,0.2), rgba(50,30,70,0.55)),
    url("https://images.unsplash.com/photo-1519817914152-22d216bb9170?auto=format&fit=crop&w=900&q=70") center/cover;
}
.ft-tier {
  position: absolute;
  left: 0.9rem;
  top: 0.9rem;
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  font-family: var(--ft-sans);
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
}
.ft-tier-teal { background: var(--ft-teal); }
.ft-tier-blue { background: #2f6fed; }
.ft-tier-violet { background: #7a4fd3; }
.ft-umrah-body { padding: 1rem 1.05rem 1.15rem; display: grid; gap: 0.75rem; flex: 1; }
.ft-umrah-body h3 {
  margin: 0;
  font-family: var(--ft-sans);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ft-teal);
}
.ft-umrah-body ul { margin: 0; padding-left: 1.05rem; color: var(--ft-muted); font-size: 0.9rem; font-weight: 400; }
.ft-umrah-foot {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 0.75rem;
  margin-top: auto;
}
.ft-umrah-foot strong {
  display: block;
  font-family: var(--ft-sans);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ft-teal);
}
.ft-umrah-foot em { font-style: normal; color: var(--ft-muted); font-size: 0.8rem; }

.ft-tour-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.85rem;
}
.ft-tour-card {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ft-line);
  transition: transform 0.25s ease;
}
.ft-tour-card:hover { transform: translateY(-3px); }
.ft-tour-media {
  min-height: 140px;
  background:
    linear-gradient(180deg, transparent, rgba(1,40,34,0.55)),
    url("https://images.unsplash.com/photo-1512453979798-5ea266f8880c?auto=format&fit=crop&w=700&q=70") center/cover;
}
.ft-tour-body { padding: 0.75rem 0.8rem 0.9rem; }
.ft-tour-body h3 {
  margin: 0 0 0.2rem;
  font-family: var(--ft-sans);
  font-size: 0.98rem;
  font-weight: 600;
}
.ft-tour-body p { margin: 0 0 0.35rem; color: var(--ft-muted); font-size: 0.78rem; font-weight: 400; }
.ft-tour-body strong {
  color: var(--ft-teal);
  font-family: var(--ft-sans);
  font-weight: 700;
}

.ft-value-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.85rem;
}
.ft-value-grid article {
  text-align: center;
  background: var(--ft-cream);
  border: 1px solid var(--ft-line);
  border-radius: 16px;
  padding: 1.1rem 0.7rem;
}
.ft-value-grid span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0 auto 0.55rem;
  border-radius: 50%;
  background: var(--ft-teal-soft);
  color: var(--ft-teal);
}
.ft-value-grid strong {
  display: block;
  font-family: var(--ft-sans);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ft-teal);
  margin-bottom: 0.25rem;
}
.ft-value-grid em { font-style: normal; color: var(--ft-muted); font-size: 0.8rem; font-weight: 400; }

.ft-visa-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}
.ft-visa-chip {
  background: #fff;
  border: 1px solid var(--ft-line);
  border-radius: 14px;
  padding: 0.9rem 1rem;
}
.ft-visa-chip strong {
  display: block;
  color: var(--ft-teal);
  font-family: var(--ft-sans);
  font-weight: 600;
}
.ft-visa-chip span { color: var(--ft-muted); font-size: 0.85rem; font-weight: 400; }

.ft-highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}
.ft-highlight-card {
  background: #fff;
  border: 1px solid var(--ft-line);
  border-radius: 16px;
  padding: 1rem;
}
.ft-highlight-card span {
  display: inline-block;
  font-family: var(--ft-sans);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ft-gold-deep);
  margin-bottom: 0.35rem;
}
.ft-highlight-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--ft-sans);
  font-size: 1.05rem;
  font-weight: 600;
}
.ft-highlight-card p { margin: 0 0 0.55rem; color: var(--ft-muted); font-size: 0.88rem; font-weight: 400; }
.ft-highlight-card strong {
  display: block;
  color: var(--ft-teal);
  font-family: var(--ft-sans);
  font-weight: 700;
  margin-bottom: 0.55rem;
}
.ft-highlight-card a { color: var(--ft-teal); font-weight: 600; }

.ft-quote-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.ft-quote-card {
  background: #fff;
  border: 1px solid var(--ft-line);
  border-radius: 18px;
  padding: 1.15rem;
}
.ft-stars { color: var(--ft-gold); letter-spacing: 0.08em; margin-bottom: 0.55rem; }
.ft-quote-card p { margin: 0 0 1rem; color: #314842; line-height: 1.55; }
.ft-quote-card footer strong { display: block; color: var(--ft-teal); }
.ft-quote-card footer span { color: var(--ft-muted); font-size: 0.82rem; }

.ft-prefooter {
  background: linear-gradient(135deg, #efe6d4, #f7f1e4);
  border-top: 1px solid rgba(196,163,90,0.25);
  border-bottom: 1px solid rgba(196,163,90,0.25);
}
.ft-prefooter-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.6rem 0;
}
.ft-prefooter h2 {
  margin: 0;
  font-family: var(--ft-serif);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--ft-teal);
}
.ft-prefooter-actions { display: flex; flex-wrap: wrap; gap: 0.55rem; }

.ft-footer {
  background: #023c32;
  color: rgba(255,255,255,0.86);
  padding: 2.5rem 0 1.2rem;
}
.ft-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.ft-brand-footer strong { color: #fff; font-family: var(--ft-serif); font-weight: 700; }
.ft-footer h2 {
  margin: 0 0 0.75rem;
  font-family: var(--ft-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}
.ft-footer p { color: rgba(255,255,255,0.7); line-height: 1.5; font-weight: 400; }
.ft-footer ul { list-style: none; margin: 0; padding: 0; }
.ft-footer li { margin-bottom: 0.4rem; }
.ft-footer a { color: rgba(255,255,255,0.78); }
.ft-footer a:hover { color: #fff; }
.ft-footer-social a {
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.ft-copy {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 0.9rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}
.ft-copy a { margin-left: 0.85rem; color: rgba(255,255,255,0.7); }

@keyframes ftHeroIn {
  from { transform: scale(1.06); opacity: 0.7; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes ftRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1100px) {
  .ft-gt-rail,
  .ft-umrah-grid,
  .ft-quote-rail,
  .ft-highlight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft-tour-grid,
  .ft-value-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ft-planner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ft-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .ft-nav-toggle { display: inline-flex; }
  .ft-nav-links {
    display: none;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.35rem);
    background: #fff;
    border: 1px solid var(--ft-line);
    border-radius: 14px;
    padding: 0.85rem;
    flex-direction: column;
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
  }
  .ft-nav-links.is-open { display: flex; }
  .ft-nav-cta { display: none; }
  .ft-hero-inner { margin-left: 1rem; padding-right: 1rem; }
  .ft-planner-grid,
  .ft-visa-row,
  .ft-tour-grid,
  .ft-value-grid,
  .ft-gt-rail,
  .ft-umrah-grid,
  .ft-quote-rail,
  .ft-highlight-grid,
  .ft-footer-grid { grid-template-columns: 1fr; }
}

.admin-two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  align-items: start;
}
.admin-list-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}
.admin-list-row .row-actions {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  white-space: nowrap;
}
.link-danger {
  border: 0;
  background: none;
  color: #b42318;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}
@media (max-width: 900px) {
  .admin-two-col { grid-template-columns: 1fr; }
}

/* Offer detail popup */
body.ft-detail-open { overflow: hidden; }
.ft-detail-overlay {
  position: fixed;
  inset: 0;
  z-index: 1250;
  background: rgba(10, 30, 26, 0.55);
  display: grid;
  place-items: center;
  padding: 1rem;
}
.ft-detail-overlay[hidden] { display: none !important; }
.ft-detail-modal {
  width: min(640px, 100%);
  max-height: min(90vh, 860px);
  overflow: auto;
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--ft-line, #e4e0d8);
  box-shadow: 0 24px 60px rgba(2, 55, 46, 0.28);
}
.ft-detail-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem 0.75rem;
  border-bottom: 1px solid var(--ft-line, #e4e0d8);
}
.ft-detail-head h2 {
  margin: 0.15rem 0 0;
  font-family: var(--ft-serif, "Playfair Display", Georgia, serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--ft-teal, #025746);
  line-height: 1.2;
}
.ft-detail-sub {
  margin: 0.25rem 0 0;
  color: var(--ft-muted, #5f6f6a);
  font-size: 0.92rem;
}
.ft-detail-close {
  border: 0;
  background: transparent;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  color: #667085;
}
.ft-detail-body { padding: 1rem 1.25rem; }
.ft-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 1rem;
}
.ft-detail-row span {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ft-muted, #5f6f6a);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ft-detail-row strong {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.98rem;
  color: var(--ft-ink, #14231f);
  font-weight: 600;
}
.ft-detail-copy {
  margin: 0.9rem 0 0;
  color: #35534c;
  line-height: 1.5;
  font-size: 0.92rem;
}
.ft-detail-foot {
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
  padding: 0.85rem 1.25rem 1.15rem;
  border-top: 1px solid var(--ft-line, #e4e0d8);
  position: sticky;
  bottom: 0;
  background: #fff;
}
@media (max-width: 560px) {
  .ft-detail-grid { grid-template-columns: 1fr; }
}

.auth-mode-tabs {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1rem;
  padding: 0.25rem;
  background: #f2f4f7;
  border-radius: 12px;
}
.auth-mode {
  flex: 1;
  text-align: center;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #667085;
}
.auth-mode.active {
  background: #fff;
  color: var(--ft-teal, #025746);
  box-shadow: 0 1px 3px rgba(16,24,40,0.08);
}
.auth-success {
  background: #e8f7ee;
  color: #067647;
  border: 1px solid #abeFC6;
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  font-weight: 600;
  font-size: 0.9rem;
}
.signup-form .field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.signup-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  resize: vertical;
}
.status-badge.pending { background: #fff7e8; color: #9a6700; }
.status-badge.approved { background: #e8f7ee; color: #067647; }
.status-badge.rejected { background: #fdecec; color: #b42318; }
@media (max-width: 640px) {
  .signup-form .field-grid { grid-template-columns: 1fr; }
}

.pay-pending-tag {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: #fff4e5;
  color: #b54708;
}
.pay-ok-tag {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: #e8f7ee;
  color: #067647;
}
.pay-zero-tag {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: #f2f4f7;
  color: #667085;
}
.mini-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 0.55rem;
  height: 120px;
  margin-top: 0.75rem;
  padding: 0.35rem 0.15rem 0;
}
.mini-bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  gap: 0.35rem;
}
.mini-bar-fill {
  width: 100%;
  max-width: 28px;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, #0d4f45, #1a7a6a);
}
.mini-bar em {
  font-style: normal;
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 600;
}
.balance-chip a.chip-refresh {
  display: grid;
  place-items: center;
  color: inherit;
  text-decoration: none;
}
.staff-priority-bar {
  margin: 0 0 1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff7e8 0%, #fff1f0 55%, #f0f7ff 100%);
  border: 1px solid #f0c27a;
  box-shadow: 0 6px 18px rgba(154, 103, 0, 0.08);
}
.staff-priority-bar[data-priority="1"] {
  border-color: #f3a5a0;
  background: linear-gradient(135deg, #fff1f0 0%, #fff7e8 60%, #fefce8 100%);
}
.staff-priority-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  padding: 0.75rem 1rem;
  position: relative;
}
.staff-priority-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #9a6700;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.staff-priority-bar[data-priority="1"] .staff-priority-tag { background: #b42318; }
.staff-priority-lead {
  font-size: 0.95rem;
  color: #1f2937;
}
.staff-priority-detail {
  color: #667085;
  font-size: 0.86rem;
  flex: 1 1 12rem;
}
.staff-priority-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.staff-priority-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.55rem;
  border-radius: 8px;
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--line);
  color: #344054;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
}
.staff-priority-chip em {
  font-style: normal;
  min-width: 1.25rem;
  height: 1.25rem;
  display: inline-grid;
  place-items: center;
  border-radius: 6px;
  background: #1f2937;
  color: #fff;
  font-size: 0.72rem;
}
.staff-priority-chip.prio-1 em { background: #b42318; }
.staff-priority-chip.prio-2 em { background: #b54708; }
.staff-priority-chip.prio-3 em { background: #175cd3; }
.staff-priority-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  background: var(--green-dark, #0d4f45);
  color: #fff !important;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.staff-priority-cta:hover { filter: brightness(1.08); }
.staff-priority-dismiss {
  margin-left: auto;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #667085;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}
.staff-priority-dismiss:hover { background: rgba(0,0,0,0.06); color: #101828; }
.admin-content .staff-priority-bar { margin-top: 0; }
.topbar-bell.has-alerts {
  text-decoration: none;
  color: #fff;
}
.topbar-bell-count {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #b42318;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 2px solid var(--topbar-bg);
}
@media (max-width: 720px) {
  .staff-priority-detail { flex-basis: 100%; }
  .staff-priority-dismiss { position: absolute; top: 0.45rem; right: 0.45rem; margin: 0; }
}


.agency-code-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  background: #eef2f6;
  color: #344054;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.bk-row-upcoming {
  background: linear-gradient(90deg, #fff7e8 0%, transparent 55%);
}
.bk-row-upcoming td:first-child {
  box-shadow: inset 3px 0 0 #f79009;
}
.upcoming-tag {
  color: #b54708 !important;
  font-weight: 700;
}
.status-badge.pendingissue { background: #fff4e5; color: #b54708; }

/* Social media marketing studio */
.sm-plan { margin-bottom: 1rem; }
.sm-plan h2 { margin: 0 0 0.55rem; font-size: 1rem; }
.sm-plan-list {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.35rem;
  color: #44505e;
  font-size: 0.9rem;
}
.sm-studio {
  display: grid;
  grid-template-columns: minmax(260px, 320px) 1fr;
  gap: 1rem;
  align-items: start;
}
.sm-controls h2 {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
}
.sm-controls h2 + .sm-field,
.sm-type-tabs + .sm-field { margin-top: 0.25rem; }
.sm-type-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}
.sm-type-tabs label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 42px;
  border: 1px solid #d5deea;
  border-radius: 10px;
  background: #f7fafc;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  color: #44505e;
}
.sm-type-tabs label.active {
  border-color: #22a34a;
  background: #e8f8ee;
  color: #146c2e;
}
.sm-type-tabs input { accent-color: #22a34a; }
.sm-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.75rem;
}
.sm-field span {
  font-size: 0.78rem;
  font-weight: 700;
  color: #5b6b7c;
}
.sm-field select,
.sm-field textarea,
.sm-caption-panel textarea {
  width: 100%;
  border: 1px solid #cfd8e3;
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.sm-hint {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: #667085;
}
.sm-output { display: grid; gap: 1rem; }
.sm-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}
.sm-cover {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 1.25rem 1.3rem 1.1rem;
  color: #fff;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  box-shadow: 0 18px 40px rgba(15, 40, 70, 0.22);
}
.sm-cover-umrah {
  background:
    linear-gradient(145deg, rgba(10, 48, 42, 0.88), rgba(18, 90, 70, 0.78)),
    radial-gradient(circle at 85% 15%, rgba(255, 214, 140, 0.35), transparent 40%),
    linear-gradient(160deg, #0b3d36, #1f7a5a 55%, #0f4f44);
}
.sm-cover-ticket {
  background:
    linear-gradient(145deg, rgba(12, 36, 68, 0.9), rgba(24, 78, 130, 0.78)),
    radial-gradient(circle at 90% 10%, rgba(120, 200, 255, 0.28), transparent 42%),
    linear-gradient(160deg, #0c2748, #1d5f9a 58%, #123a63);
}
.sm-cover-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}
.sm-cover-top em {
  display: block;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  opacity: 0.92;
}
.sm-badge {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.28);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.sm-channel {
  font-size: 0.72rem;
  opacity: 0.8;
  letter-spacing: 0.08em;
}
.sm-cover h1 {
  margin: 0.35rem 0 0;
  font-family: "Sora", var(--font);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.2;
}
.sm-sub {
  margin: 0;
  opacity: 0.88;
  font-size: 0.95rem;
}
.sm-bullets {
  margin: 0.35rem 0 0;
  padding-left: 1.05rem;
  display: grid;
  gap: 0.28rem;
  font-size: 0.9rem;
}
.sm-price-row {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.22);
}
.sm-price-row span,
.sm-date span {
  display: block;
  font-size: 0.72rem;
  opacity: 0.78;
  margin-bottom: 0.15rem;
}
.sm-price-row strong {
  font-size: 1.05rem;
}
.sm-cover-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  opacity: 0.9;
}
.sm-caption-panel h2 { margin-top: 0; font-size: 1rem; }
.sm-copy-status {
  margin: 0.5rem 0 0;
  color: #146c2e;
  font-weight: 700;
  font-size: 0.85rem;
}
@media (max-width: 960px) {
  .sm-studio { grid-template-columns: 1fr; }
}
@media print {
  .admin-sidebar, .admin-top, .sm-plan, .sm-controls, .sm-toolbar, .sm-caption-panel, .no-print { display: none !important; }
  .sm-studio { display: block; }
  .sm-cover { box-shadow: none; break-inside: avoid; }
}

/* Umrah booking review (PDF-style package block, green) */
.rw-overlay.rw-umrah {
  --accent: #22a34a;
  --accent-dark: #1a8a3c;
  --accent-text: #fff;
}
.rw-umrah-pkg {
  margin-top: 0.85rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid #d4f0de;
  border-radius: 12px;
  background: linear-gradient(180deg, #f3fbf6, #fff);
}
.rw-umrah-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.rw-umrah-top strong { font-size: 1rem; color: #111827; }
.rw-umrah-room {
  display: inline-flex;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: #22a34a;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}
.rw-umrah-cities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.rw-umrah-city {
  padding: 0.7rem 0.75rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e8eef2;
}
.rw-umrah-city em {
  display: block;
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 0.35rem;
}
.rw-umrah-city strong {
  display: block;
  font-size: 0.95rem;
  color: #111827;
  text-transform: uppercase;
  line-height: 1.25;
}
.rw-umrah-city small {
  display: block;
  margin-top: 0.2rem;
  color: #9ca3af;
  font-size: 0.78rem;
}
.rw-umrah-city span {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.78rem;
  color: #4b5563;
}
.rw-fare-box {
  margin-top: 0.85rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid #d4f0de;
  background: #f8fcf9;
}
.rw-fare-box h3 {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
}
.rw-fare-row,
.rw-fare-total {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.35rem 0;
  font-size: 0.88rem;
}
.rw-fare-total {
  margin-top: 0.45rem;
  padding-top: 0.65rem;
  border-top: 1px solid #d4f0de;
}
.rw-fare-total strong {
  font-size: 1.15rem;
  color: #1a8a3c;
}
.rw-fare-total small {
  color: #9ca3af;
  font-size: 0.72rem;
}
@media (max-width: 720px) {
  .rw-umrah-cities { grid-template-columns: 1fr; }
}

/* Tour booking required documents */
.rw-tour-docs { margin-top: 0.85rem; }
.rw-docs-hint {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}
.rw-doc-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.rw-doc-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}
.rw-doc-field em {
  color: #dc2626;
  font-style: normal;
}
.rw-doc-field input[type=""file""] {
  font-weight: 500;
  font-size: 0.82rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.rw-doc-field input[type=""file""].is-invalid {
  border-color: #dc2626;
  background: #fef2f2;
}
.rw-doc-ok { color: var(--green-dark); font-weight: 600; font-size: 0.75rem; }
.rw-doc-bad { color: #dc2626; font-weight: 600; font-size: 0.75rem; }

.booking-docs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.booking-docs li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fafcfa;
}
.booking-docs strong { display: block; }
.booking-docs span,
.booking-docs em {
  display: block;
  font-size: 0.78rem;
  font-style: normal;
  color: var(--muted);
  margin-top: 0.15rem;
}
.booking-docs .doc-scan.ok { color: var(--green-dark); }
.booking-docs .doc-scan.warn { color: #b45309; }
