:root {
  --navy: #0a2540;
  --navy-2: #123d6a;
  --blue: #0b66e4;
  --blue-2: #00a3ff;
  --gold: #f5b84b;
  --sky: #edf6ff;
  --line: #d7e4f2;
  --text: #13243a;
  --muted: #65758b;
  --danger: #b42318;
  --success: #057a55;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--text);
  background: #f3f7fb;
  min-height: 100vh;
}
a { color: var(--blue); text-decoration: none; }
input, select, textarea, button { font: inherit; }
label { display: grid; gap: 7px; color: #33415c; font-weight: 650; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 15px;
  background: #fff;
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
input:focus, select:focus, textarea:focus {
  outline: 3px solid rgba(11,102,228,.13);
  border-color: rgba(11,102,228,.65);
}
textarea { resize: vertical; }

.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px clamp(16px, 4vw, 58px);
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(215,228,242,.9);
  backdrop-filter: blur(14px);
  position: sticky; top: 0; z-index: 20;
}
.brand { font-size: 23px; font-weight: 950; color: var(--navy); letter-spacing: .1px; }
.brand img { height: 34px; width: auto; display: block; }
.site-header nav { display: flex; gap: 18px; font-weight: 800; }
.site-header nav a { color: #38506c; }

.hero {
  min-height: calc(100vh - 70px);
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(360px, 1.18fr);
  gap: clamp(24px, 4vw, 58px); align-items: center;
  padding: clamp(24px, 5vw, 76px);
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(10,37,64,.96), rgba(18,61,106,.88)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='520' viewBox='0 0 900 520'%3E%3Cpath d='M70 380C240 170 390 450 585 225C680 115 790 120 860 75' fill='none' stroke='%23ffffff' stroke-opacity='.16' stroke-width='3' stroke-dasharray='9 12'/%3E%3Ccircle cx='70' cy='380' r='7' fill='%23f5b84b'/%3E%3Ccircle cx='585' cy='225' r='7' fill='%23f5b84b'/%3E%3Ccircle cx='860' cy='75' r='7' fill='%23f5b84b'/%3E%3Ctext x='105' y='392' font-family='Arial' font-size='22' fill='%23fff' fill-opacity='.32'%3EDXB%3C/text%3E%3Ctext x='610' y='218' font-family='Arial' font-size='22' fill='%23fff' fill-opacity='.32'%3ECOK%3C/text%3E%3C/svg%3E");
  background-size: cover;
}
.hero:after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -180px;
  top: -190px;
  border-radius: 50%;
  background: rgba(0,163,255,.22);
  filter: blur(10px);
}
.hero-copy, .search-card { position: relative; z-index: 1; }
.hero h1 { margin: 0; color: #fff; font-size: clamp(36px, 5vw, 62px); line-height: 1.03; max-width: 760px; letter-spacing: -.02em; }
.hero p { font-size: 18px; color: rgba(255,255,255,.78); max-width: 620px; line-height: 1.65; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; color: var(--gold) !important; font-weight: 950; font-size: 12px !important; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-points span {
  color: #fff;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 10px 13px;
  font-weight: 850;
}

.search-card, .details-form, .summary-panel, .payment-card, .admin-card, .login-card, .journey-card {
  background: rgba(255,255,255,.98);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(4,23,45,.22);
  padding: clamp(18px, 3vw, 30px);
}
.search-card { border-top: 5px solid var(--gold); }
.search-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.search-title span { display: block; color: var(--muted); font-weight: 850; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.search-title strong { display: block; color: var(--navy); font-size: 26px; margin-top: 3px; }
.trip-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.trip-tabs label {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  cursor: pointer;
}
.trip-tabs label:has(input:checked) { border-color: var(--blue); background: var(--sky); color: var(--navy); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid.compact { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 16px; }
.hidden { display: none !important; }
.link-button { border: 0; background: transparent; color: var(--blue); font-weight: 800; padding: 12px 0; cursor: pointer; }
.primary-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 12px 20px; border: 0; border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff; font-weight: 950; cursor: pointer;
  box-shadow: 0 10px 25px rgba(23,105,224,.22);
}
.primary-btn:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(23,105,224,.28); }
.search-card .primary-btn { width: 100%; margin-top: 18px; }
@keyframes fly { 0%,100% { transform: translateX(-2px) rotate(-8deg); opacity: .75; } 50% { transform: translateX(6px) rotate(8deg); opacity: 1; } }

.airport-suggestions {
  position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 16px 30px rgba(15,43,85,.14); z-index: 50; max-height: 260px; overflow: auto;
}
.airport-suggestions button { display: block; width: 100%; text-align: left; border: 0; background: #fff; padding: 11px 13px; cursor: pointer; }
.airport-suggestions button:hover { background: var(--sky); }

.page-wrap { width: min(1120px, calc(100% - 28px)); margin: 24px auto 70px; }
.page-wrap.narrow { width: min(780px, calc(100% - 28px)); }
.checkout-shell {
  width: min(1400px, calc(100% - 32px));
  margin: 26px auto 72px;
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.journey-card {
  position: sticky;
  top: 96px;
  background:
    linear-gradient(145deg, rgba(10,37,64,.97), rgba(17,63,108,.95)),
    radial-gradient(circle at 92% 8%, rgba(245,184,75,.28), transparent 34%);
  color: #fff;
  border-color: rgba(255,255,255,.12);
  overflow: hidden;
}
.journey-card:after {
  content: "✈";
  position: absolute;
  right: 24px;
  top: 20px;
  color: rgba(255,255,255,.14);
  font-size: 74px;
  transform: rotate(-12deg);
}
.journey-card h1 { margin: 8px 0 22px; font-size: 34px; line-height: 1.05; letter-spacing: -.02em; }
.journey-timeline { display: grid; gap: 16px; }
.journey-leg {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding: 15px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
}
.leg-number {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--navy);
  font-weight: 950;
}
.route-line { display: flex; align-items: center; gap: 12px; font-size: 28px; letter-spacing: .02em; }
.route-line span { color: var(--gold); }
.journey-leg p { margin: 7px 0 0; color: rgba(255,255,255,.78); line-height: 1.35; }
.journey-leg small { display: inline-block; margin-top: 9px; color: #fff; font-weight: 850; }
.journey-meta { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.journey-meta span {
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.1);
  border-radius: 999px;
  padding: 9px 11px;
  color: #fff;
  font-weight: 850;
  font-size: 13px;
}
.details-form {
  box-shadow: 0 18px 46px rgba(8,36,64,.10);
  padding: 0;
  overflow: hidden;
}
.form-section { margin-top: 18px; }
.details-form .form-section {
  margin: 0;
  padding: 28px 30px;
  border-bottom: 1px solid var(--line);
}
.form-section h2, .admin-card h2 { color: var(--navy); margin-bottom: 14px; }
.details-form .form-section h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
  margin: 0 0 20px;
}
.details-form .form-section h2:before {
  content: "";
  width: 8px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(var(--blue), var(--gold));
}
.passenger-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 14px;
  background: linear-gradient(180deg, #fff, #f8fbff);
}
.passenger-row h3 { margin: 0 0 14px; color: var(--navy); font-size: 20px; }
.alert { background: #fff1f0; color: var(--danger); border: 1px solid #ffc9c4; padding: 12px; border-radius: 8px; margin: 14px 0; font-weight: 700; }
.total-box { display: flex; justify-content: space-between; align-items: center; margin: 18px 0; padding: 16px; background: var(--navy); color: #fff; border-radius: 8px; }
.total-box strong { font-size: 26px; }
.details-form > .sticky-pay { margin: 22px 30px 30px; width: calc(100% - 60px); }

.payment-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.payment-grid.single-payment { grid-template-columns: minmax(0, 1fr); }
.bank-box { background: var(--sky); border-radius: 8px; padding: 14px; margin: 10px 0; }
.bank-logo { max-height: 42px; max-width: 160px; display: block; margin-bottom: 10px; }
.slip-preview { margin: 10px 0; color: var(--muted); }
.slip-preview img { width: 100%; max-height: 280px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.success { text-align: center; }
.reference { font-size: clamp(28px, 7vw, 48px); font-weight: 950; color: var(--navy); margin: 16px 0; }
.plane-big:before { content: "✈"; font-size: 58px; color: var(--blue); display: block; animation: fly 1.4s infinite ease-in-out; }

.whatsapp-float {
  position: fixed; right: 18px; bottom: 18px; background: #0a8f45; color: #fff;
  padding: 13px 16px; border-radius: 999px; font-weight: 900; box-shadow: 0 10px 24px rgba(0,0,0,.18); z-index: 80;
}
.site-footer { padding: 24px; text-align: center; color: var(--muted); background: #fff; border-top: 1px solid var(--line); }

.admin-body { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-sidebar { background: var(--navy); color: #fff; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.admin-sidebar a, .admin-sidebar button { color: #fff; background: rgba(255,255,255,.08); border: 0; border-radius: 8px; padding: 11px 12px; text-align: left; cursor: pointer; }
.admin-main { padding: 24px; min-width: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(5, minmax(130px,1fr)); gap: 12px; }
.stat-grid div { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 18px; }
.stat-grid span { display: block; color: var(--muted); }
.stat-grid strong { display: block; color: var(--navy); font-size: 28px; margin-top: 6px; }
.table-scroll { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
th { color: var(--navy); background: #f1f6fc; }
.filter-bar { display: grid; grid-template-columns: repeat(5, minmax(130px,1fr)); gap: 10px; margin: 16px 0; }
.export-box { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 14px; margin-bottom: 14px; }
.export-box form { display: grid; grid-template-columns: repeat(4, minmax(140px,1fr)); gap: 10px; margin-top: 12px; }
.admin-auth-body { display: grid; min-height: 100vh; place-items: center; padding: 18px; background: linear-gradient(135deg, #edf6ff, #fff); }
.login-card { width: min(420px, 100%); display: grid; gap: 14px; }

/* Premium compact customer UI overrides */
:root {
  --navy: #10233f;
  --navy-2: #173b66;
  --blue: #1767d8;
  --blue-2: #1aa7ec;
  --gold: #e8a93c;
  --sky: #f4f8fc;
  --line: #dbe6f2;
  --text: #14233a;
  --muted: #68778c;
}
body { background: linear-gradient(180deg, #f7fafd 0%, #eef4fa 100%); }
label { gap: 6px; font-size: 14px; font-weight: 750; color: #263b59; }
input, select, textarea { min-height: 44px; padding: 10px 12px; border-radius: 7px; font-weight: 650; }
.site-header { padding: 13px clamp(18px, 4vw, 48px); box-shadow: 0 8px 28px rgba(16,35,63,.06); }
.brand { font-size: 21px; }
.hero {
  min-height: auto;
  grid-template-columns: minmax(330px, .82fr) minmax(520px, 1fr);
  gap: clamp(22px, 4vw, 48px);
  padding: clamp(26px, 4vw, 54px) clamp(18px, 5vw, 64px);
  background:
    linear-gradient(135deg, rgba(16,35,63,.97), rgba(24,68,111,.94) 56%, rgba(20,111,160,.88)),
    radial-gradient(circle at 15% 20%, rgba(232,169,60,.2), transparent 24%);
}
.hero:after { width: 360px; height: 360px; right: -150px; top: -150px; background: rgba(26,167,236,.16); }
.hero h1 { font-size: clamp(34px, 4.2vw, 52px); line-height: 1.08; }
.hero p { font-size: 16px; line-height: 1.55; max-width: 560px; }
.hero-points { margin-top: 18px; }
.hero-points span { padding: 8px 11px; font-size: 13px; }
.search-card, .details-form, .summary-panel, .payment-card, .admin-card, .login-card, .journey-card {
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(16,35,63,.14);
}
.search-card { padding: 22px; border-top: 4px solid var(--gold); }
.search-title { margin-bottom: 14px; padding-bottom: 12px; }
.search-title strong { font-size: 24px; }
.trip-tabs { gap: 8px; margin-bottom: 14px; }
.trip-tabs label { padding: 8px 12px; min-width: 118px; justify-content: center; }
.form-grid { gap: 12px; }
.form-grid.compact { gap: 12px; margin-top: 12px; }
.primary-btn { min-height: 46px; border-radius: 7px; }
.page-loader {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  background: rgba(10,24,42,.55);
  backdrop-filter: blur(6px);
  z-index: 999;
}
.page-loader.active { display: grid; }
.loader-flight {
  min-width: 280px;
  padding: 24px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(0,0,0,.22);
  text-align: center;
  color: var(--navy);
}
.loader-plane { display: block; font-size: 38px; color: var(--blue); animation: loaderFly 1.1s infinite ease-in-out; }
.loader-line { display: block; height: 3px; margin: 14px auto; width: 190px; border-radius: 999px; background: linear-gradient(90deg, transparent, var(--blue), var(--gold), transparent); }
@keyframes loaderFly { 0%,100% { transform: translateX(-22px) rotate(-8deg); opacity: .65; } 50% { transform: translateX(22px) rotate(8deg); opacity: 1; } }
.checkout-shell {
  width: min(1180px, calc(100% - 32px));
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 18px;
}
.journey-card {
  position: static;
  padding: 18px 20px;
  background: rgba(255,255,255,.98);
  color: var(--text);
  border: 1px solid var(--line);
}
.journey-card:after { display: none; }
.journey-heading { display: flex; align-items: end; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 12px; }
.journey-card h1 { color: var(--navy); font-size: 26px; margin: 0; }
.compact-timeline { gap: 10px; }
.journey-leg {
  grid-template-columns: 30px 1fr;
  padding: 12px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #f8fbff);
}
.leg-number { width: 28px; height: 28px; font-size: 14px; }
.route-line { color: var(--navy); font-size: 25px; }
.journey-leg p { color: var(--muted); margin-top: 4px; font-size: 14px; }
.journey-leg small { color: var(--navy); margin-top: 7px; }
.journey-meta { margin-top: 12px; gap: 7px; }
.journey-meta span { color: #27405e; background: #f4f8fc; border-color: var(--line); padding: 7px 10px; font-size: 12px; }
.details-form { box-shadow: 0 12px 36px rgba(16,35,63,.10); }
.details-form .form-section { padding: 20px 22px; }
.details-form .form-section h2 { font-size: 22px; margin-bottom: 14px; }
.details-form .form-section h2:before { width: 5px; height: 23px; }
.passenger-row { padding: 14px; margin-bottom: 10px; box-shadow: none; }
.passenger-row h3 { font-size: 18px; margin-bottom: 10px; }
.total-box { margin: 14px 0 0; padding: 13px 15px; }
.total-box strong { font-size: 23px; }
.details-form > .sticky-pay { margin: 16px 22px 22px; width: calc(100% - 44px); }
.payment-method-field { display: grid; gap: 7px; }
.field-label { color: #263b59; font-size: 14px; font-weight: 750; }
.payment-radios { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
.payment-radios label {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  min-height: 44px;
  padding: 10px 12px;
  background: #fff;
  cursor: pointer;
}
.payment-radios label:has(input:checked) { border-color: var(--blue); background: #edf6ff; color: var(--navy); }
.bank-inline {
  margin-top: 12px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}
.bank-inline p { margin: 8px 0; color: var(--muted); }
.phone-feedback { min-height: 18px; font-size: 12px; font-weight: 800; }
.valid-text { color: #07864b; }
.invalid-text { color: #c2281d; }
.valid-field { border-color: #12a866 !important; }
.invalid-field { border-color: #d33b30 !important; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding: 20px 12px 28px; align-items: start; }
  .hero h1 { font-size: 33px; }
  .hero p { font-size: 16px; }
  .search-title { align-items: flex-start; }
  .checkout-shell { width: min(100% - 20px, 720px); grid-template-columns: 1fr; margin-top: 12px; }
  .journey-card { position: static; }
  .journey-heading { display: block; }
  .journey-card h1 { font-size: 24px; margin-top: 4px; }
  .route-line { font-size: 22px; }
  .details-form .form-section { padding: 18px 14px; }
  .details-form > .sticky-pay { margin: 16px 14px 18px; width: calc(100% - 28px); }
  .payment-radios { grid-template-columns: 1fr; }
  .form-grid, .form-grid.compact, .payment-grid, .filter-bar, .export-box form { grid-template-columns: 1fr; }
  .site-header { padding: 14px; }
  .admin-body { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; flex-direction: row; overflow-x: auto; align-items: center; }
  .admin-main { padding: 16px; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .sticky-pay { position: sticky; bottom: 8px; z-index: 10; }
}
