/* Vueling brand as on vueling.com (2026): yellow #FFF000, black type, Pilcrow display + Source Sans body. */
/* Pilcrow ships blank arrow/plane glyphs; take those code points from a system font instead. */
@font-face { font-family: 'VyArrows'; src: local('Arial'), local('ArialMT'), local('Helvetica Neue'), local('Helvetica'); unicode-range: U+2190-21FF, U+2708; }
:root {
  --y: #fff000;
  --yd: #e6d800;
  --yl: #fffbcc;
  --gd: #000;
  --g: #333;
  --muted: #666;
  --teal: #00bbba; /* Vueling's icon colour */
  --bg: #f7f7f7;
  --line: #dddddd;
  --ok: #2e7d32;
  --err: #c62828;
  --display: 'VyArrows', 'Pilcrow Rounded', 'Source Sans 3', Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--gd);
  font: 16px/1.4 'Source Sans 3', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; color: inherit; }
h1, .big, .btn, .tag, .steps, .route b, .times, .sheet-hd b, .mnav-t b, .vtitle { font-family: var(--display); font-weight: 600; }
.hdr { background: #fff; border-bottom: 1px solid var(--line); padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; }
.logo { text-decoration: none; color: var(--gd); }
.tag { font-size: 12px; background: var(--y); padding: 4px 10px; border-radius: 16px; text-transform: uppercase; }
.steps { display: flex; background: #000; color: #999; font-size: 12px; text-transform: uppercase; }
.steps div { flex: 1; text-align: center; padding: 9px 2px; }
.steps .on { background: var(--y); color: #000; }
.steps .done { color: #fff; }
.route { background: #000; color: #fff; padding: 10px 16px; font-size: 14px; }
.route b { font-size: 17px; text-transform: uppercase; }
main { max-width: 520px; margin: 0 auto; padding: 16px 16px 40px; }
.card { background: #fff; border-radius: 8px; padding: 14px; margin-bottom: 12px; border: 1px solid #e9e9e9; }
.btn { display: block; width: 100%; border: 0; background: var(--y); color: #000; font-size: 16px; text-transform: uppercase; text-align: center; border-radius: 22px; min-height: 44px; padding: 10px 24px; margin-top: 12px; cursor: pointer; }
.btn:hover { background: var(--yd); }
.btn:disabled { background: #e9e9e9; color: #999; cursor: default; }
.btn.ghost { background: #fff; border: 1px solid #000; font-size: 14px; }
.link { background: none; border: 0; color: var(--g); text-decoration: underline; cursor: pointer; padding: 6px 0; font-size: 14px; }
.gift { background: var(--y); border-radius: 8px; padding: 18px; position: relative; overflow: hidden; margin-bottom: 12px; }
.gift::after { content: ''; position: absolute; right: -36px; top: -36px; width: 130px; height: 130px; border-radius: 50%; background: rgba(255,255,255,.25); }
.gift .big { font-size: 32px; line-height: 1.05; margin: 8px 0; text-transform: uppercase; }
.muted { color: var(--muted); font-size: 13px; }
.small { font-size: 12px; }
.err { background: #fdecea; color: var(--err); border-radius: 4px; padding: 10px 12px; margin: 10px 0; font-size: 14px; }
label.f { display: block; font-size: 12px; font-weight: 700; color: #555; margin: 10px 0 4px; }
input.in, textarea.in { width: 100%; background: #fff; border: 1px solid #bbb; border-radius: 8px; padding: 11px; font-size: 16px; }
input.in:focus, textarea.in:focus { outline: 2px solid #000; outline-offset: -1px; border-color: #000; }
.code-in { text-transform: uppercase; letter-spacing: .15em; font-weight: 800; text-align: center; font-size: 22px !important; }
.row2 { display: flex; gap: 10px; }
.row2 > * { flex: 1; min-width: 0; }
.days { display: flex; background: #fff; border-bottom: 1px solid var(--line); margin: -16px -16px 14px; padding: 0 8px; }
.day { flex: 1; text-align: center; padding: 9px 0 7px; font-size: 11px; color: var(--muted); border: 0; border-bottom: 3px solid transparent; background: none; cursor: pointer; }
.day b { display: block; font-size: 15px; color: var(--gd); }
.day.on { border-bottom-color: #000; }
.day.on b { font-weight: 700; }
.day:disabled { opacity: .35; cursor: default; }
.fl { width: 100%; text-align: left; background: #fff; border-radius: 8px; margin-bottom: 10px; display: block; padding: 12px 14px; border: 1px solid #e9e9e9; box-shadow: inset 0 0 0 1px transparent; cursor: pointer; }
.fl.sel { border-color: #000; box-shadow: inset 0 0 0 1px #000; background: var(--yl); }
.times { display: flex; align-items: center; gap: 8px; font-size: 22px; }
.times .ln { flex: 1; border-top: 1px dashed #aaa; position: relative; height: 0; }
.times .ln::after { content: '✈'; position: absolute; left: 50%; top: -10px; transform: translateX(-50%); font-size: 12px; background: inherit; padding: 0 3px; color: #888; }
.fl .ln::after { background: #fff; }
.fl.sel .ln::after { background: var(--yl); }
.meta { font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; margin-top: 4px; }
.seg { display: flex; background: #e9e9e9; border-radius: 22px; padding: 3px; margin-bottom: 12px; font-size: 14px; font-weight: 600; overflow-x: auto; }
.seg button { flex: 1; border: 0; background: none; padding: 8px 10px; border-radius: 20px; color: #666; cursor: pointer; white-space: nowrap; }
.seg button.on { background: #000; color: #fff; }
.bag { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid #eee; flex-wrap: wrap; }
.bag:first-child { border-top: 0; }
.ico { width: 34px; height: 34px; color: var(--teal); display: flex; align-items: center; justify-content: center; flex: none; }
.bag .t { flex: 1; font-size: 14px; font-weight: 700; line-height: 1.25; }
.bag .t small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.inc { font-size: 10px; font-weight: 800; color: var(--ok); background: #e6f4e7; padding: 3px 7px; border-radius: 10px; }
.tg { width: 44px; height: 26px; border-radius: 13px; background: #ccc; position: relative; flex: none; border: 0; cursor: pointer; padding: 0; }
.tg::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: left .15s; }
.tg.on { background: var(--gd); }
.tg.on::after { left: 21px; background: var(--y); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; width: 100%; padding-left: 44px; }
.chip { font-size: 14px; font-weight: 600; border: 1px solid #000; border-radius: 16px; padding: 6px 11px; background: #fff; cursor: pointer; }
.chip.on { background: #000; color: #fff; border-color: #000; }
.ok { width: 64px; height: 64px; border-radius: 50%; background: var(--y); display: flex; align-items: center; justify-content: center; font-size: 30px; margin: 10px auto 12px; }
.center { text-align: center; }
.sum { font-size: 14px; line-height: 1.55; }
.sum b { display: block; }
.spin { width: 36px; height: 36px; border: 4px solid #e9e9e9; border-top-color: #000; border-radius: 50%; animation: s 0.8s linear infinite; margin: 30px auto 12px; }
@keyframes s { to { transform: rotate(360deg); } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hdr-r { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; border: 1px solid #000; border-radius: 16px; overflow: hidden; }
.lang button { border: 0; background: #fff; font: 600 12px var(--display); padding: 4px 9px; cursor: pointer; color: #000; }
.lang button.on { background: #000; color: #fff; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { display: block; height: 30px; width: auto; }

/* date fields + calendar sheet */
.dfield { flex: 1; min-width: 0; text-align: left; background: #fff; border: 1px solid #bbb; border-radius: 8px; padding: 9px 11px; cursor: pointer; }
.dfield small { display: block; font-size: 11px; font-weight: 700; color: #555; }
.dfield span { display: block; font-size: 17px; font-weight: 600; min-height: 22px; }
.dfield span.ph { color: #aaa; font-weight: 400; }
.dfield.on { border-color: #000; outline: 1px solid #000; }
.sheet-bg { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 20; display: flex; align-items: flex-end; justify-content: center; }
.sheet { background: #fff; width: 100%; max-width: 520px; max-height: 88vh; overflow-y: auto; border-radius: 14px 14px 0 0; padding: 0 16px 20px; }
@media (min-width: 600px) { .sheet-bg { align-items: center; } .sheet { border-radius: 10px; } }
.sheet-hd { position: sticky; top: 0; background: #fff; padding: 14px 0 8px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #eee; z-index: 1; }
.sheet-hd b { font-size: 17px; }
.sheet-hd .x { border: 0; background: none; font-size: 26px; line-height: 1; cursor: pointer; padding: 4px 8px; color: var(--gd); }
.sheet-sub { font-size: 12px; color: var(--muted); }
.mnav { display: flex; align-items: center; justify-content: space-between; margin: 14px 0 6px; }
.mnav b { font-size: 15px; }
.mnav button { border: 1px solid var(--line); background: #fff; border-radius: 50%; width: 34px; height: 34px; font-size: 16px; cursor: pointer; color: var(--gd); }
.mnav button:disabled { opacity: .3; cursor: default; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 3px; text-align: center; }
.cal .wd { font-size: 11px; font-weight: 700; color: var(--muted); padding: 4px 0; }
.cal button { border: 0; background: none; height: 40px; font-size: 14px; font-weight: 700; cursor: pointer; position: relative; color: var(--gd); }
.cal button:disabled { color: #ccc; font-weight: 400; cursor: default; }
.cal button.rng { background: var(--yl); }
.cal button.s, .cal button.e { background: var(--y); }
.cal button.s { border-radius: 20px 0 0 20px; }
.cal button.e { border-radius: 0 20px 20px 0; }
.cal button.s.e, .cal button.only { border-radius: 20px; }
.cal button.today::after { content: ''; position: absolute; bottom: 5px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--gd); }
