/* VALYO – luxe glass & gloss. Kleuren uit het logo: plum #3B1E48, magenta #FF00D6 → #F400AA → #D2007D */
:root {
  --plum: #3b1e48;
  --plum-deep: #1a0b22;
  --night: #0d0512;
  --magenta: #ff00d6;
  --magenta-2: #f400aa;
  --berry: #d2007d;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.84);
  --faint: rgba(255, 255, 255, 0.66);
  --line: rgba(255, 255, 255, 0.16);
  --glass: linear-gradient(140deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.045));
  --glass-strong: linear-gradient(140deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.07));
  --ok: #4ff0b0;
  --warn: #ffc65c;
  --bad: #ff7a9c;
  --radius: 22px;
  --tabs-h: 74px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --font: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Barlow Semi Condensed", "Barlow", sans-serif;
  --font-num: "Barlow Condensed", "Barlow", sans-serif;
  --font-label: "Barlow Condensed", "Barlow", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--night);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
button, input, select, textarea { font: inherit; color: inherit; }
a { color: #ff8ae9; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }

/* ---------- Achtergrond ---------- */
.bg {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background:
    radial-gradient(120% 80% at 100% -10%, rgba(255, 0, 214, 0.35), transparent 55%),
    radial-gradient(90% 70% at -10% 110%, rgba(120, 40, 200, 0.35), transparent 60%),
    linear-gradient(170deg, #2b1236 0%, #160920 45%, #0b0410 100%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.55; }
.o1 { width: 340px; height: 340px; background: #ff00d6; top: -120px; right: -100px; opacity: 0.35; }
.o2 { width: 300px; height: 300px; background: #6a2bd9; bottom: -80px; left: -120px; opacity: 0.4; }
.o3 { width: 220px; height: 220px; background: #d2007d; top: 45%; right: -120px; opacity: 0.25; }
@media (prefers-reduced-motion: no-preference) {
  .o1 { animation: drift 18s ease-in-out infinite alternate; }
  .o2 { animation: drift 22s ease-in-out infinite alternate-reverse; }
}
@keyframes drift { to { transform: translate(-30px, 40px) scale(1.08); } }

/* ---------- Layout ---------- */
.app {
  max-width: 560px; margin: 0 auto;
  padding: calc(18px + var(--safe-t)) 16px calc(var(--tabs-h) + 28px + var(--safe-b));
}
.app.no-tabs { padding-bottom: 40px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.topbar .logo { height: 34px; width: auto; }
.page-title { font-size: 28px; font-weight: 700; letter-spacing: -0.5px; margin: 6px 0 4px; }
.page-sub { color: var(--muted); margin: 0 0 18px; }
.label {
  font-family: var(--font-label); text-transform: uppercase; letter-spacing: 2.4px;
  font-size: 12px; font-weight: 500; color: var(--faint);
}
.stack { display: flex; flex-direction: column; gap: 14px; }
.row { display: flex; align-items: center; gap: 12px; }
.between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.mt { margin-top: 18px; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px; word-break: break-all; }

/* ---------- Glass ---------- */
.glass {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), inset 0 -1px 0 rgba(0, 0, 0, 0.2), 0 18px 40px rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  padding: 18px;
  overflow: hidden;
}
.glass::before { /* gloss-reflectie bovenaan */
  content: ""; position: absolute; inset: 0 0 auto 0; height: 46%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
  pointer-events: none; border-radius: var(--radius) var(--radius) 0 0;
}
.glass > * { position: relative; }
.glass.tap { cursor: pointer; transition: transform 0.15s ease, border-color 0.15s ease; text-decoration: none; color: inherit; display: block; }
.glass.tap:active { transform: scale(0.985); }
.glass.tap:hover { border-color: rgba(255, 255, 255, 0.3); }
.glass.strong { background: var(--glass-strong); }

/* ---------- Knoppen ---------- */
.btn {
  appearance: none; border: 0; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 22px; border-radius: 16px;
  font-weight: 600; font-size: 16px; color: #fff;
  position: relative; overflow: hidden; transition: transform 0.12s ease, filter 0.12s ease;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary {
  background: linear-gradient(180deg, #ff3ae4 0%, #e000a8 52%, #b5006c 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -2px 6px rgba(80, 0, 50, 0.35), 0 10px 26px rgba(244, 0, 170, 0.45);
}
.btn-primary::after { /* glans */
  content: ""; position: absolute; left: 6%; right: 6%; top: 3px; height: 45%;
  border-radius: 12px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0));
  pointer-events: none;
}
.btn-glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-danger { background: linear-gradient(180deg, rgba(255, 122, 156, 0.3), rgba(255, 122, 156, 0.12)); border: 1px solid rgba(255, 122, 156, 0.5); }
.btn-block { width: 100%; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 14px; border-radius: 13px; }
.icon-btn {
  appearance: none; cursor: pointer; width: 44px; height: 44px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.2); color: #fff;
}
.icon-btn svg, .btn svg { width: 20px; height: 20px; }

/* ---------- Formulieren ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; color: var(--muted); }
.input, select.input {
  width: 100%; min-height: 50px; padding: 0 16px; border-radius: 14px;
  background: rgba(10, 3, 16, 0.45); border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff; outline: none; box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.3);
}
.input:focus { border-color: var(--magenta); box-shadow: 0 0 0 3px rgba(255, 0, 214, 0.25); }
.input::placeholder { color: rgba(255, 255, 255, 0.45); }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
select.input option { color: #111; }
.search { position: relative; }
.search svg { position: absolute; left: 16px; top: 15px; width: 20px; height: 20px; opacity: 0.7; }
.search .input { padding-left: 46px; }
.check { display: flex; gap: 12px; align-items: center; min-height: 44px; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--magenta); }
.error { color: #ffb3c6; font-size: 14px; }

/* ---------- Segment / chips ---------- */
.segment { display: flex; gap: 6px; padding: 5px; border-radius: 16px; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--line); }
.segment button { flex: 1; min-height: 42px; border: 0; border-radius: 12px; background: transparent; color: var(--muted); font-weight: 600; cursor: pointer; }
.segment button[aria-pressed="true"] { color: #fff; background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.08)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.08); white-space: nowrap; }
.chip.ok { color: var(--ok); border-color: rgba(79, 240, 176, 0.45); background: rgba(79, 240, 176, 0.1); }
.chip.warn { color: var(--warn); border-color: rgba(255, 198, 92, 0.45); background: rgba(255, 198, 92, 0.1); }
.chip.bad { color: var(--bad); border-color: rgba(255, 122, 156, 0.45); background: rgba(255, 122, 156, 0.1); }
.chip.pink { color: #ffb0f1; border-color: rgba(255, 0, 214, 0.5); background: rgba(255, 0, 214, 0.12); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* ---------- Lijsten ---------- */
.list { display: flex; flex-direction: column; gap: 10px; }
.item { display: flex; align-items: center; gap: 14px; min-height: 64px; }
.flag { width: 40px; height: 30px; border-radius: 6px; object-fit: cover; flex: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25), 0 4px 10px rgba(0, 0, 0, 0.3); background: rgba(255, 255, 255, 0.1); }
.flag.lg { width: 56px; height: 42px; border-radius: 8px; }
.region-badge { width: 40px; height: 30px; border-radius: 6px; flex: none; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; background: linear-gradient(135deg, #ff00d6, #6a2bd9); }
.item-title { font-weight: 600; }
.price { font-weight: 700; font-size: 18px; white-space: nowrap; }
.price small { font-size: 12px; font-weight: 500; color: var(--muted); }
.chev { opacity: 0.5; width: 18px; height: 18px; flex: none; display: inline-flex; }
.chev svg { width: 18px; height: 18px; }
.glass.item { display: flex; }
.region-badge svg { width: 18px; height: 18px; }

/* ---------- eSIM-kaart ---------- */
.esim-card { padding: 20px; }
.esim-card .big { font-size: 22px; font-weight: 700; letter-spacing: -0.3px; }
.meter { height: 10px; border-radius: 999px; background: rgba(0, 0, 0, 0.35); box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5); overflow: hidden; }
.meter > span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #ff00d6, #f400aa 60%, #ff7be8); box-shadow: 0 0 12px rgba(255, 0, 214, 0.7); }
.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.kv div { padding: 12px 14px; border-radius: 14px; background: rgba(0, 0, 0, 0.22); border: 1px solid rgba(255, 255, 255, 0.08); }
.kv b { display: block; font-size: 15px; }
.qr-wrap { background: #fff; border-radius: 20px; padding: 16px; width: 240px; max-width: 100%; margin: 0 auto; box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.08), 0 20px 50px rgba(255, 0, 214, 0.35); }
.qr-wrap img { width: 100%; height: auto; }
.code-row { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; background: rgba(0, 0, 0, 0.25); border: 1px solid rgba(255, 255, 255, 0.1); }
.steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; color: var(--muted); }
.steps b { color: #fff; }

/* ---------- Tabbalk ---------- */
.tabs {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(12px + var(--safe-b));
  width: min(528px, calc(100% - 24px)); height: var(--tabs-h);
  display: flex; justify-content: space-around; align-items: center; padding: 0 6px;
  border-radius: 26px; z-index: 20;
  background: linear-gradient(160deg, rgba(60, 25, 75, 0.72), rgba(20, 8, 28, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 20px 50px rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
}
.tabs a {
  flex: 1; height: 58px; margin: 0 2px; border-radius: 18px; text-decoration: none; color: var(--faint);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11.5px; font-weight: 600;
}
.tabs a svg { width: 23px; height: 23px; }
.tabs a[aria-current="page"] { color: #fff; background: linear-gradient(180deg, rgba(255, 0, 214, 0.35), rgba(255, 0, 214, 0.08)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.tabs .badge { position: absolute; margin: -22px 0 0 26px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--magenta); color: #fff; font-size: 11px; display: inline-flex; align-items: center; justify-content: center; }

/* ---------- Sheet / modal ---------- */
.sheet-backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(5, 0, 10, 0.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); display: flex; align-items: flex-end; justify-content: center; }
.sheet {
  width: min(560px, 100%); max-height: 92vh; overflow-y: auto;
  border-radius: 28px 28px 0 0; padding: 10px 18px calc(24px + var(--safe-b));
  background: linear-gradient(170deg, rgba(70, 30, 88, 0.96), rgba(22, 9, 30, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.16); border-bottom: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 -20px 60px rgba(0, 0, 0, 0.5);
}
.sheet .grab { width: 44px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.3); margin: 4px auto 14px; }
.sheet h2 { margin: 0 0 4px; font-size: 21px; }

/* ---------- Login ---------- */
.login { min-height: calc(100vh - 60px); display: flex; flex-direction: column; justify-content: center; gap: 26px; }
.login .logo { width: 260px; max-width: 80%; margin: 0 auto; filter: drop-shadow(0 10px 30px rgba(255, 0, 214, 0.35)); }

/* ---------- Toast / loader / leeg ---------- */
.toast {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--tabs-h) + 26px + var(--safe-b)); z-index: 60;
  max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 16px; font-weight: 600; font-size: 14.5px;
  background: linear-gradient(180deg, rgba(80, 35, 100, 0.95), rgba(35, 14, 45, 0.95)); border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}
.toast.bad { border-color: rgba(255, 122, 156, 0.6); }
.spinner { width: 26px; height: 26px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.2); border-top-color: var(--magenta); animation: spin 0.8s linear infinite; margin: 30px auto; }
.btn .spinner { width: 18px; height: 18px; margin: 0; border-width: 2px; border-top-color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty { text-align: center; padding: 34px 18px; color: var(--muted); }
.empty svg { width: 44px; height: 44px; opacity: 0.7; margin: 0 auto 10px; display: block; }
.banner { padding: 12px 14px; border-radius: 14px; font-size: 14px; border: 1px solid rgba(255, 198, 92, 0.5); background: rgba(255, 198, 92, 0.1); color: #ffe2a8; }
.banner.pink { border-color: rgba(255, 0, 214, 0.5); background: rgba(255, 0, 214, 0.12); color: #ffd1f6; }
hr.sep { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table td { padding: 10px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }

/* Voortgang aanvraag */
.steps-bar { display: flex; gap: 4px; }
.steps-bar .step { flex: 1; min-width: 0; text-align: center; font-size: 10.5px; font-weight: 600; padding: 7px 2px 0; color: var(--faint); border-top: 3px solid rgba(255, 255, 255, 0.15); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.steps-bar .step.done { color: #fff; border-top-color: var(--magenta); box-shadow: 0 -6px 10px -8px rgba(255, 0, 214, 0.9); }
.steps-bar .step.next { color: #ffb0f1; border-top-color: rgba(255, 0, 214, 0.45); }
.steps-bar .step.bad { color: var(--bad); border-top-color: var(--bad); }

/* ---------- Vluchten (uit de AirVlow-vluchtapp) ---------- */
.flt .page-title { margin: 4px 0 2px; }
.icon-btn.spin svg { animation: flt-spin 0.8s linear infinite; }
@keyframes flt-spin { to { transform: rotate(360deg); } }
.flt .route { display: flex; align-items: center; gap: 14px; margin: 14px 0 4px; }
.flt .ap { text-align: center; min-width: 60px; }
.flt .ap .code { font-size: 30px; font-weight: 700; line-height: 1; }
.flt .ap .city { font-size: 12px; color: var(--muted); margin-top: 3px; }
.flt .ap .time { font-size: 15px; font-weight: 600; margin-top: 7px; }
.flt .fi { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; opacity: 0.7; color: var(--magenta); }
.flt .track { flex: 1; height: 2px; background: linear-gradient(90deg, var(--magenta), #6a2bd9); position: relative; border-radius: 2px; }
.flt .track .pl { position: absolute; right: -6px; top: -11px; color: var(--magenta); width: 22px; height: 22px; }
.flt .track .pl svg { width: 22px; height: 22px; display: block; transform: rotate(90deg); }
.flt .fkv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.flt .fkv div { padding: 12px 14px; border-radius: 14px; background: rgba(0, 0, 0, 0.22); border: 1px solid rgba(255, 255, 255, 0.08); }
.flt .fkv .k { font-size: 11px; color: var(--faint); font-family: var(--font-label); text-transform: uppercase; letter-spacing: 1.5px; }
.flt .fkv b { display: block; font-size: 16px; font-weight: 600; margin-top: 2px; overflow-wrap: anywhere; }
.flt .delay { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(79, 240, 176, 0.1); border: 1px solid rgba(79, 240, 176, 0.35); font-size: 13px; color: #bff6df; }
.flt .delay b { color: var(--ok); }
.flt .delay.warn { background: rgba(255, 183, 77, 0.14); border-color: rgba(255, 183, 77, 0.5); color: #ffe2b0; }
.flt .delay.bad { background: rgba(255, 99, 120, 0.16); border-color: rgba(255, 99, 120, 0.55); color: #ffd0d8; }
.flt .delay.pink { background: rgba(255, 0, 214, 0.12); border-color: rgba(255, 0, 214, 0.42); }
.flt .delay.warn b, .flt .delay.bad b, .flt .delay.pink b { color: #fff; }
.flt .tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.flt .tile { position: relative; background: var(--glass); border: 1px solid var(--line); border-radius: 18px; padding: 16px 6px; text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 10px 24px rgba(0, 0, 0, 0.28); overflow: hidden;
  display: block; text-decoration: none; color: inherit; -webkit-tap-highlight-color: transparent; }
.flt .tile:active { transform: scale(0.96); }
.flt .tile .ic { color: #ffb0f1; }
.flt .tile .ic svg { width: 27px; height: 27px; }
.flt .tlabel { font-size: 12px; color: var(--muted); margin-top: 9px; font-weight: 600; }
.flt .segtabs { display: flex; gap: 6px; margin: 2px 0 8px; background: rgba(0, 0, 0, 0.22); padding: 4px; border-radius: 14px; border: 1px solid var(--line); }
.flt .seg { flex: 1; border: none; background: transparent; color: var(--faint); font-family: inherit; font-weight: 600; font-size: 13.5px; min-height: 40px; border-radius: 10px; cursor: pointer; }
.flt .seg.active { background: linear-gradient(145deg, var(--magenta), var(--berry)); color: #fff; }
.flt .fsearch { display: flex; gap: 8px; margin: 2px 0 14px; flex-wrap: wrap; }
.flt .sfield { flex: 1 1 150px; min-width: 0; min-height: 46px; background: rgba(0, 0, 0, 0.25); border: 1px solid rgba(255, 255, 255, 0.2); color: #fff;
  border-radius: 14px; padding: 0 15px; font-family: inherit; font-weight: 600; font-size: 15px; outline: none; }
.flt .sfield:focus { border-color: rgba(255, 0, 214, 0.6); }
.flt .sfield::placeholder { color: var(--faint); }
.flt .sdate { flex: 0 1 158px; color-scheme: dark; }
.flt .sbtn { flex: 0 0 auto; border: none; cursor: pointer; color: #fff; font-weight: 700; font-size: 15px; font-family: inherit; min-height: 46px;
  padding: 0 22px; border-radius: 14px; background: linear-gradient(145deg, var(--magenta), var(--berry)); box-shadow: 0 8px 20px rgba(255, 0, 214, 0.35); }
.flt .sbtn:active { transform: scale(0.97); }
.flt .loading { text-align: center; color: var(--muted); padding: 30px; }
.flt .note { color: var(--faint); font-size: 12px; text-align: center; padding: 12px; }
.flt .savebtn { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.08); color: #fff; font-weight: 600; font-size: 13px; font-family: inherit; text-decoration: none; }
.flt .savebtn.on { color: #ffd84d; border-color: rgba(255, 216, 77, 0.5); background: rgba(255, 216, 77, 0.12); }
.flt .saved-item { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 10px 8px 15px; border-radius: 14px; background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line); margin-top: 9px; cursor: pointer; }
.flt .saved-item:active { background: rgba(255, 255, 255, 0.1); }
.flt .saved-item.current { border-color: rgba(255, 0, 214, 0.55); background: rgba(255, 0, 214, 0.1); }
.flt .si-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.flt .si-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.flt .saved-item .r { font-weight: 700; font-size: 15px; }
.flt .saved-item .d { color: var(--faint); font-size: 12px; }
.flt .saved-item .cd { color: var(--muted); font-size: 12px; font-weight: 600; white-space: nowrap; }
.flt .trip { margin-top: 12px; padding: 10px; border-radius: 18px; border: 1px dashed rgba(255, 0, 214, 0.4); background: rgba(255, 0, 214, 0.05); }
.flt .trip .saved-item:first-of-type { margin-top: 8px; }
.flt .trip-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 4px; font-weight: 700; font-size: 14px; }
.flt .savebtn svg { width: 16px; height: 16px; }
.flt .savebtn.sm { min-height: 32px; padding: 0 10px; font-size: 12px; flex: none; }
.flt details.past { margin-top: 18px; }
.flt details.past summary { cursor: pointer; color: var(--faint); font-size: 13px; font-weight: 600; min-height: 36px; display: flex; align-items: center; }
.flt details.past .saved-item { opacity: 0.75; }
.icon-btn.bell.on { color: #ffd84d; border-color: rgba(255, 216, 77, 0.5); background: rgba(255, 216, 77, 0.12); }
.flt .saved-item .x { color: var(--faint); border: 0; background: transparent; min-width: 36px; min-height: 36px; border-radius: 9px; font-size: 15px; cursor: pointer; }
.flt .login-link { display: flex; justify-content: center; margin-top: 22px; }
.flt .tiles.three { grid-template-columns: repeat(3, 1fr); }
.login .google { background: #fff; color: #1f1f1f; border-color: #fff; font-weight: 600; }
.login .google svg { width: 20px; height: 20px; }
.login .or { display: flex; align-items: center; gap: 10px; color: var(--faint); font-size: 12.5px; }
.login .or::before, .login .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.linkbtn { background: none; border: 0; padding: 6px 2px; min-height: 36px; color: #ffb0f1; font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.ok-msg { margin: 0; padding: 10px 12px; border-radius: 12px; font-size: 14px; color: #bff6df; background: rgba(79, 240, 176, 0.1); border: 1px solid rgba(79, 240, 176, 0.35); }

/* ---------- Opstartscherm: grote A, zonder kader ---------- */
#splash { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(120% 80% at 50% 32%, #3b1e59 0%, #2a1030 52%, #12071a 100%); transition: opacity 0.55s ease; }
#splash.hide { opacity: 0; pointer-events: none; }
#splash img { width: min(72vw, 360px); height: auto; filter: drop-shadow(0 24px 60px rgba(255, 0, 214, 0.5)); }
@media (prefers-reduced-motion: no-preference) { #splash img { animation: splash-pop 0.6s ease; } }
@keyframes splash-pop { from { transform: scale(0.86); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ---------- Landkiezer met echte vlaggen ---------- */
.flag.sm { width: 28px; height: 20px; border-radius: 4px; }
.flag.xs { width: 20px; height: 14px; border-radius: 3px; }
.cname { display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; }
.cpick { display: flex; align-items: center; gap: 12px; text-align: left; cursor: pointer; width: 100%; }
.cpick span { flex: 1; }
.cpick svg { width: 18px; height: 18px; opacity: 0.6; transform: rotate(90deg); }
.cp-list { max-height: 55vh; overflow-y: auto; margin-top: 10px; display: flex; flex-direction: column; gap: 2px; }
.cp-row { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 12px; border: 0; border-radius: 12px; background: transparent; color: #fff; font: inherit; font-size: 15px; text-align: left; cursor: pointer; }
.cp-row:hover, .cp-row:focus-visible { background: rgba(255, 255, 255, 0.08); }
.cp-row.on { background: rgba(255, 0, 214, 0.18); }

.avatar { width: 40px; height: 40px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, #ff3ae4, #b5006c); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 6px 16px rgba(255, 0, 214, 0.3); }
.avatar:active { transform: scale(0.95); }

/* ---------- Vluchten: tabbladen Mijn vluchten / Zoeken ---------- */
.flt .viewtabs { display: flex; gap: 0; margin: 0 0 16px; border-bottom: 1px solid var(--line); }
.flt .vt { text-decoration: none; flex: 1; min-height: 46px; border: 0; background: transparent; color: var(--faint); font-family: inherit; font-weight: 700; font-size: 15px;
  border-bottom: 3px solid transparent; margin-bottom: -1px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.flt .vt.active { color: #fff; border-bottom-color: var(--magenta); }
.flt .vt .cnt:not(:empty) { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--magenta); color: #fff; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }

/* ---------- Belletje: groen = aan, donkeroranje = uit, teller = ongelezen ---------- */
.icon-btn.bell { position: relative; }
.icon-btn.bell.on { color: #fff; background: linear-gradient(145deg, #1fbf76, #0e8f55); border-color: rgba(79, 240, 176, 0.7); box-shadow: 0 6px 16px rgba(31, 191, 118, 0.35); }
.icon-btn.bell.off { color: #fff; background: linear-gradient(145deg, #e0651a, #b4470c); border-color: rgba(255, 160, 90, 0.7); box-shadow: 0 6px 16px rgba(224, 101, 26, 0.35); }
.bell-n { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #ff2d55; color: #fff;
  font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2px solid #1a0b22; }
.inbox { display: flex; flex-direction: column; gap: 6px; max-height: 55vh; overflow-y: auto; }
.inbox-i { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); color: #fff; text-decoration: none; }
.inbox-i.new { border-color: rgba(255, 0, 214, 0.55); background: rgba(255, 0, 214, 0.1); }
.inbox-i span { color: var(--muted); font-size: 14px; }
.inbox-i small { color: var(--faint); font-size: 12px; }

/* ---------- Je reis: eSIM, luchthaven, instapkaart, hotel, delen ---------- */
.xbox { margin-top: 10px; padding: 14px 16px; border-radius: 18px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
.xbox-h { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.xbox-h svg { width: 22px; height: 22px; color: #ffb0f1; flex: none; }
.xbox p { margin: 0 0 10px; }
.xbtns { display: flex; flex-wrap: wrap; gap: 8px; }
.hotel { display: flex; flex-direction: column; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.hotel > div:first-child { display: flex; flex-direction: column; gap: 2px; }
.hotel span, .hotel small { color: var(--muted); font-size: 13px; }
.flt .saved-item .from { color: #ffb0f1; font-size: 12px; font-weight: 600; }
.year { margin-top: 18px; }
.year-g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; text-align: center; }
.year-g b { display: block; font-size: 24px; }
.year-g span { color: var(--muted); font-size: 12px; }

/* ---------- Documenten ---------- */
.doc-th { position: relative; width: 120px; height: 80px; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #000; cursor: pointer; }
.doc-th img { width: 100%; height: 100%; object-fit: cover; }
.doc-th span { position: absolute; left: 0; right: 0; bottom: 0; padding: 3px; font-size: 11px; color: #fff; background: rgba(0, 0, 0, 0.55); }

/* ---------- Volledig scherm (instapkaart, document) ---------- */
.viewer { position: fixed; inset: 0; z-index: 200; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 56px 12px 20px; }
.viewer img { max-width: 100%; max-height: calc(100vh - 100px); object-fit: contain; }
.viewer iframe { width: 100%; height: calc(100vh - 140px); border: 0; }
.viewer-t { position: absolute; top: 16px; left: 16px; margin: 0; color: #111; font-weight: 700; }
.viewer-x { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #111; color: #fff; font-size: 18px; cursor: pointer; }
.viewer .btn { color: #111; border-color: #ccc; }

/* Naam van de luchthaven (steden met meerdere luchthavens) */
.flt .ap .apname { font-size: 11px; color: var(--faint); margin: 2px auto 0; max-width: 130px; line-height: 1.25; }
.flt .saved-item .ap-line { color: var(--muted); font-size: 12.5px; }

/* Waar je al was: landen met vlag */
.lands { margin-top: 12px; }
.land-g { display: flex; flex-wrap: wrap; gap: 8px; }
.land-c { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.land-c small { color: #ffb0f1; font-weight: 700; }

/* Jaaroverzicht: jaren kiezen + vertraging */
.ytabs { display: flex; gap: 6px; margin: 0 0 12px; overflow-x: auto; }
.ytab { min-height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); font: inherit; font-weight: 700; font-size: 13px; cursor: pointer; flex: none; }
.ytab.active { background: linear-gradient(145deg, var(--magenta), var(--berry)); color: #fff; border-color: transparent; }
.year-d { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; text-align: center; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.year-d b { display: block; font-size: 20px; }
.year-d span { color: var(--muted); font-size: 12px; }
.flt .saved-item .cd.late { color: #ffd27a; }

/* ---------- Reiskosten ---------- */
.ppl { display: flex; flex-wrap: wrap; gap: 8px; }
.pp { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.pp-x { border: 0; background: transparent; color: var(--faint); cursor: pointer; min-width: 24px; min-height: 24px; }
.exp-list { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.exp { display: flex; justify-content: space-between; gap: 12px; text-align: left; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); color: #fff; font: inherit; cursor: pointer; }
.exp-m { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.exp-m span, .exp-m small { color: var(--muted); font-size: 13px; }
.exp-m small.note { color: var(--faint); font-style: italic; }
.exp-a { font-weight: 700; white-space: nowrap; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.tot { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.tot-h, .tot-r { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 6px; align-items: center; }
.tot-h { color: var(--faint); font-size: 12px; }
.tot-h span:not(:first-child), .tot-r span:not(:first-child) { text-align: right; }
.tot-r span:first-child { font-weight: 700; }
.tot-r .pos { color: var(--ok); font-weight: 700; }
.tot-r .neg { color: #ff8a9c; font-weight: 700; }
.tot-s { border-top: 1px solid var(--line); padding-top: 6px; color: var(--muted); }
.tr { display: flex; align-items: center; gap: 10px; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tr span { flex: 1 1 160px; }
.sp { display: flex; flex-direction: column; gap: 6px; }
.sp-r { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; }
.sp-r .input { min-height: 40px; width: 110px; }
.sp-r [hidden] { display: none !important; }
.sp-n { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.sp-n input { width: 20px; height: 20px; accent-color: var(--magenta); }
.sp-v { text-align: right; color: var(--muted); font-size: 14px; }
.segment button.active { background: linear-gradient(145deg, var(--magenta), var(--berry)); color: #fff; }

.fxbox { padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
.calc-in { font-size: 24px; font-weight: 700; }
.calc-out { padding: 14px; border-radius: 16px; background: rgba(0, 0, 0, 0.25); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.calc-big { font-size: 32px; font-weight: 800; }
.calc-big small { font-size: 16px; color: var(--muted); }
.exp-a small { color: var(--muted); font-size: 12px; font-weight: 500; }

/* ---------- Snelle omrekenaar ---------- */
.qc-btn { min-width: 44px; height: 40px; padding: 0 10px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.1); color: #fff; font: inherit; font-weight: 800; font-size: 15px; cursor: pointer; }
.qc-btn:active { transform: scale(0.95); }
.qc { display: flex; flex-direction: column; gap: 8px; }
.qc-r { display: grid; grid-template-columns: 1fr 150px 32px; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
.qc-r:first-child { border-color: rgba(255, 0, 214, 0.5); background: rgba(255, 0, 214, 0.08); }
.qc-l { display: flex; flex-direction: column; min-width: 0; }
.qc-l span { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qc-in { text-align: right; font-weight: 700; font-size: 17px; min-height: 44px; }
.qc-x { border: 0; background: transparent; color: var(--faint); cursor: pointer; min-height: 32px; }

.fee-warn { margin: 6px 0 0; padding: 8px 10px; border-radius: 10px; color: #ffe2b0; background: rgba(255, 183, 77, 0.14); border: 1px solid rgba(255, 183, 77, 0.5); }

.topicons { display: flex; align-items: center; gap: 8px; flex: none; }
.topbar .logo { min-width: 0; flex: 0 1 auto; max-width: 42vw; }
.topicons .icon-btn, .topicons .avatar { width: 40px; height: 40px; }
.topicons .qc-btn { min-width: 40px; padding: 0 8px; font-size: 14px; }
@media (max-width: 360px) { .topicons { gap: 6px; } .topicons .icon-btn, .topicons .avatar { width: 36px; height: 36px; } }

/* Bovenbalk: alle iconen even groot, vierkant met afgeronde hoeken */
.topicons > .icon-btn, .topicons > .qc-btn, .topicons > .avatar {
  width: 42px; height: 42px; min-width: 42px; padding: 0; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25); box-sizing: border-box;
}
.topicons > .icon-btn:not(.on):not(.off), .topicons > .qc-btn { background: rgba(255, 255, 255, 0.1); color: #fff; }
.topicons > .avatar { box-shadow: none; font-size: 14px; }
.topicons > .qc-btn { font-size: 13px; letter-spacing: -0.3px; }
.topicons svg { width: 20px; height: 20px; }
@media (max-width: 360px) { .topicons > .icon-btn, .topicons > .qc-btn, .topicons > .avatar { width: 38px; height: 38px; min-width: 38px; } }

/* ---------- Munten met platte vlag ---------- */
.cflag { width: 28px; height: 20px; border-radius: 4px; object-fit: cover; flex: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.1); }
.cflag-x { display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.qc-l { display: flex; align-items: center; gap: 10px; }
.qc-l > div { display: flex; flex-direction: column; min-width: 0; }
.cpk { position: relative; }
.cpk-btn { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; cursor: pointer; min-height: 48px; overflow: hidden; }
.cpk-btn b { flex: none; }
.cpk-btn span { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; }
.cpk-btn i { font-style: normal; color: var(--faint); flex: none; }
.cpk-btn.add { justify-content: center; font-weight: 700; color: #ffb0f1; }
.cpk-panel { margin-top: 6px; padding: 8px; border-radius: 14px; background: #241029; border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5); position: relative; z-index: 5; }
.cpk-list { max-height: 260px; overflow-y: auto; margin-top: 6px; display: flex; flex-direction: column; gap: 2px; }
.cpk-row { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 10px; border: 0; border-radius: 10px; background: transparent; color: #fff; font: inherit; text-align: left; cursor: pointer; }
.cpk-row span { color: var(--muted); font-size: 13px; }
.cpk-row:hover, .cpk-row:focus-visible { background: rgba(255, 255, 255, 0.08); }
.cpk-row.on { background: rgba(255, 0, 214, 0.18); }
.qc-r { grid-template-columns: minmax(0, 1fr) 140px 32px; }
.qc-r .qc-l { flex-direction: row; align-items: center; gap: 10px; min-width: 0; }
.qc-r .qc-l > div { min-width: 0; overflow: hidden; }
.qc-r .qc-l span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- QR, landinfo, weer, kaart ---------- */
.qr-box { background: #fff; border-radius: 16px; padding: 12px; width: min(260px, 70vw); margin: 6px auto 0; }
.qr-box svg { width: 100%; height: auto; display: block; }
.plugs { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0; }
.plug { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); }
.plug-svg { width: 64px; height: 64px; }
.kvl { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid var(--line); font-size: 14px; }
.kvl span { color: var(--muted); flex: none; }
.kvl b { text-align: right; font-weight: 600; }
.wx { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.wx-d { flex: none; min-width: 62px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 6px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); }
.wx-d small { color: var(--muted); font-size: 11px; }
.wx-i { font-size: 22px; }
.map-box { padding: 8px; }
.map { width: 100%; height: auto; display: block; }
.map path { stroke: rgba(26, 11, 34, 0.9); stroke-width: 0.5; cursor: pointer; }
.map .m-none, .map-leg .m-none { fill: rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.18); }
.map .m-visited, .map-leg .m-visited { fill: #ff2bd6; background: #ff2bd6; }
.map .m-planned, .map-leg .m-planned { fill: #9b5cff; background: #9b5cff; }
.map path:hover { opacity: 0.8; }
.map-leg { display: flex; gap: 14px; justify-content: center; font-size: 12px; color: var(--muted); padding: 6px 0 2px; }
.map-leg i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.m-list { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.m-item { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.05); color: #fff; font: inherit; text-align: left; cursor: pointer; }
.m-item small { color: var(--muted); }
.st-c { display: inline-flex; width: 28px; height: 20px; border-radius: 4px; background: rgba(255, 255, 255, 0.15); font-size: 11px; font-weight: 800; align-items: center; justify-content: center; }

/* "Ik was hier": tekst links, schakelaar rechts */
.here-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; margin: 6px 0 12px; padding: 0 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); font-weight: 700; cursor: pointer; }
.switch { appearance: none; -webkit-appearance: none; width: 52px; height: 30px; border-radius: 15px; background: rgba(255, 255, 255, 0.25); position: relative; cursor: pointer; flex: none; transition: background 0.2s; margin: 0; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform 0.2s; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); }
.switch:checked { background: linear-gradient(145deg, #1fbf76, #0e8f55); }
.switch:checked::after { transform: translateX(22px); }
.switch:focus-visible { outline: 2px solid #ffb0f1; outline-offset: 2px; }
h2 .flag, h2 img.flag { display: inline-block; vertical-align: -2px; margin-right: 8px; }

.map-box { position: relative; overflow: hidden; }
.map { touch-action: none; }
.map-zoom { position: absolute; right: 12px; top: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.map-zoom .icon-btn { width: 38px; height: 38px; border-radius: 12px; font-size: 20px; font-weight: 800; background: rgba(20, 8, 28, 0.75); color: #fff; border: 1px solid rgba(255, 255, 255, 0.3); }

.map-tip { position: absolute; z-index: 3; pointer-events: none; display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 10px; background: rgba(20, 8, 28, 0.92); border: 1px solid rgba(255, 255, 255, 0.3); font-size: 13px; white-space: nowrap; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45); }
.map-tip span { color: var(--muted); font-size: 12px; }
.map-tip .ok-dot { color: #ffb0f1; }

/* ---------- Statistieken, klokken ---------- */
.st-bar { display: grid; grid-template-columns: minmax(0, 1.4fr) 1fr auto; gap: 10px; align-items: center; min-height: 32px; font-size: 14px; }
.st-bar span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-bar i { display: block; height: 10px; border-radius: 5px; background: linear-gradient(90deg, var(--magenta), #9b5cff); }
.clocks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 4px 0 12px; padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); }
.clk { display: flex; flex-direction: column; gap: 2px; }
.clk small { color: var(--muted); font-size: 12px; display: flex; align-items: center; gap: 6px; }
.clk b { font-size: 28px; font-weight: 800; font-variant-numeric: tabular-nums; }
.clk span { color: #ffb0f1; font-size: 12px; font-weight: 700; }

/* ---------- Lettertype: Barlow-familie ---------- */
/* Gewone Barlow voor bijna alles; Semi Condensed enkel voor kleine infolijnen en labels. */
body { font-size: 16.5px; letter-spacing: 0.1px; }
.page-title, h1, h2, .item-title, .btn, .sbtn, .tabs a, .vt, .seg, .segment button, .ytab, .flt .saved-item .r { font-family: var(--font); }
.page-title { font-weight: 700; letter-spacing: -0.3px; }
.year-g b, .year-d b, .calc-big, .clk b, .qc-in, .calc-in, .exp-a, .tot-r, .flt .ap .code, .flt .ap .time, .flt .fkv b, .wx-d b, .st-bar b {
  font-family: var(--font); font-variant-numeric: tabular-nums;
}
.flt .ap .code { font-weight: 700; font-size: 32px; letter-spacing: 0.5px; }
.year-g b { font-size: 26px; font-weight: 700; }
.clk b { font-size: 30px; font-weight: 700; }
/* Kleine infolijnen: smaller lettertype, maar wit en goed leesbaar. */
.flt .saved-item .d, .flt .saved-item .ap-line, .flt .saved-item .cd, .flt .saved-item .from, .flt .ap .city, .flt .ap .apname, .exp-m span, .exp-m small, .m-item small, .clk small, .wx-d small, .page-sub, .muted.small, .small.muted {
  font-family: var(--font-head); font-weight: 500; letter-spacing: 0.2px;
}
.flt .saved-item .d, .flt .saved-item .ap-line, .flt .ap .city, .flt .ap .apname { color: rgba(255, 255, 255, 0.9); }
.flt .saved-item .d { font-size: 13px; }
.flt .saved-item .ap-line { font-size: 13.5px; }
.flt .ap .apname { font-size: 12px; }
.label, .flt .fkv .k { font-family: var(--font-head); font-weight: 600; letter-spacing: 1.4px; color: rgba(255, 255, 255, 0.75); }
.input, .sfield, input, select, textarea, button { font-family: inherit; }
.flt .vt { white-space: nowrap; font-size: 15px; padding: 0 4px; }
.tabs a span { white-space: nowrap; }

.wx-d { min-width: 70px; }
.wx-d .wx-w { color: #9fe3ff; font-weight: 600; }
.wx-d .wx-s { color: #ffd27a; font-size: 10.5px; }
/* Schuifbalken in de huisstijl (magenta) */
* { scrollbar-color: #ff2bd6 rgba(255, 255, 255, 0.08); scrollbar-width: thin; }
::-webkit-scrollbar { height: 8px; width: 8px; }
::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.08); border-radius: 4px; }
::-webkit-scrollbar-thumb { background: linear-gradient(90deg, #ff2bd6, #b5006c); border-radius: 4px; }
/* Lokale tijd en vliegduur bij de route */
.flt .ap .tz { font-size: 11px; color: rgba(255, 255, 255, 0.72); margin-top: 3px; line-height: 1.3; }
.flt .ap .tz b { color: #fff; font-weight: 600; }
.flt .track .dur { position: absolute; left: 50%; top: -32px; transform: translateX(-50%); white-space: nowrap; font-size: 11.5px; font-weight: 600; color: #fff; background: rgba(255, 43, 214, 0.18); padding: 2px 8px; border-radius: 10px; }
/* Titels bij de vluchtgegevens (Gate, Terminal, ...) in lichtpaars */
.flt .fkv .k { color: #b9a8ff; }
/* Voortgang: draaiend rondje met % (uploads, import) */
.prog-wrap { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; background: rgba(5, 0, 10, 0.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.prog { min-width: 220px; max-width: 300px; padding: 24px 22px 20px; border-radius: 22px; text-align: center; background: rgba(30, 6, 40, 0.92); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45); }
.prog-ring { position: relative; width: 96px; height: 96px; margin: 0 auto 12px; }
.prog-ring svg { width: 96px; height: 96px; transform: rotate(-90deg); }
.prog-ring circle { fill: none; stroke-width: 4; }
.prog-ring .bg { stroke: rgba(255, 255, 255, 0.12); }
.prog-ring .fg { stroke: var(--magenta); stroke-linecap: round; transition: stroke-dashoffset 0.3s ease; }
.prog-ring .spin { stroke: #b9a8ff; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 22 66; transform-origin: 24px 24px; animation: spin 1s linear infinite; }
.prog-ring b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; color: #fff; font-family: var(--font-num); }
.prog-t { font-weight: 600; font-size: 16px; }
.prog-s { margin-top: 4px; font-size: 13px; color: rgba(255, 255, 255, 0.8); min-height: 18px; }
/* Statistieken: langste/kortste vlucht en kerncijfers in magenta */
.label.st-l { color: #ff3fe0; }
.st-kpi b { color: #ff3fe0; }
/* Waar je al was: kleine wereldkaart, lijst inklapbaar */
.lands-map { display: block; min-height: 120px; border-radius: 14px; background: rgba(0, 0, 0, 0.18); padding: 6px; }
.lands-map .spinner { margin: 40px auto; }
.map.mini { touch-action: auto; }
.map.mini path { stroke: rgba(20, 0, 30, 0.6); stroke-width: 0.6; }
.lands-list { margin-top: 10px; }
.lands-list summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 14px; color: #b9a8ff; padding: 6px 0; }
.lands-list summary::-webkit-details-marker { display: none; }
.lands-list summary::after { content: " ▾"; }
.lands-list[open] summary::after { content: " ▴"; }
.lands-list .land-g { margin-top: 8px; }
/* Hotel zoeken: resultatenlijst */
.hs-res { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.hs-res:empty { display: none; }
.hs-i { text-align: left; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12); color: #fff; font: inherit; cursor: pointer; }
.hs-i b { display: block; font-size: 15px; }
.hs-i span { display: block; font-size: 12.5px; color: rgba(255, 255, 255, 0.78); margin-top: 2px; }
.hs-i:active, .hs-i:hover { border-color: var(--magenta); }
/* Vertraging dit jaar: rood vlakje (groen als er geen vertraging was) */
.year-d.late > div, .year-d.ontime > div { padding: 10px 8px; border-radius: 14px; }
.year-d.late > div { background: rgba(255, 59, 92, 0.16); border: 1px solid rgba(255, 59, 92, 0.45); }
.year-d.late b { color: #ff5a73; }
.year-d.ontime > div { background: rgba(46, 213, 140, 0.12); border: 1px solid rgba(46, 213, 140, 0.4); }
.year-d.ontime b { color: #4be0a0; }
