/* AirWeGo app prototype — explore screens (agent A): home, search, my requests (passenger), my flights (pilot). */

/* ---------- home ---------- */
.home { position: relative; margin-top: calc(-1 * var(--safe-top)); padding: calc(var(--safe-top) + 4px) var(--side) 0;
  background: radial-gradient(120% 60% at 90% -8%, color-mix(in srgb, var(--awg-sky) 20%, transparent), transparent 62%); }
.home-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0 4px; }
.home-me { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 2px 10px 2px 2px; border-radius: 28px; }
.home-me:hover .home-hi { color: var(--sky-2); }
.home-me-t { display: flex; flex-direction: column; min-width: 0; }
.home-hi { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-loc { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--mu); }
.home-loc .ic { color: var(--sky-2); }
.home-top .ibtn { background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.home-h { margin: 22px 0 18px; font: 600 34px/1.06 var(--awg-display); letter-spacing: -.038em; }

/* search card */
.scard { display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: 26px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--awg-shadow-3); }
.scard-route { position: relative; border-radius: 18px; background: var(--card-2); border: 1px solid var(--line); }
.scard-route .sf + .sf { border-top: 1px solid var(--line-soft); }
.sf { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 10px 64px 10px 14px; border-radius: 18px; text-align: left; transition: background-color .15s; }
.sf:hover { background: color-mix(in srgb, var(--awg-line-d) 35%, transparent); }
.sf-ic { flex: none; color: var(--sky-2); }
.sf-t { display: flex; flex-direction: column; min-width: 0; }
.sf-l { font-size: 12px; font-weight: 500; color: var(--mu); }
.sf-v { font-size: 17px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sf-s { font-size: 12.5px; color: var(--mu); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scard-swap { position: absolute; right: 12px; top: 50%; display: grid; place-items: center; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; background: var(--card); border: 1px solid var(--line); color: var(--sky-2); transition: transform .2s, background-color .15s; }
.scard-swap:hover:not([disabled]) { background: var(--sky-t); }
.scard-swap:active:not([disabled]) { transform: rotate(180deg); }
.scard-swap[disabled] { color: var(--mu); opacity: .45; cursor: default; }
.scard-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.sf-half { gap: 10px; min-height: 60px; padding-left: 12px; padding-right: 10px; background: var(--card-2); border: 1px solid var(--line); }
.sf-half .sf-v { font-size: 16px; }

/* weekend carousel + destinations */
.fc-slide { width: 290px; }
@media (max-width: 359px) { .fc-slide { width: 268px; } }
.dest { display: block; width: 148px; border-radius: 18px; overflow: hidden; text-align: left; }
.dest-ph { height: 200px; border-radius: 18px; }
.dest .ph-img { transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.dest:hover .ph-img { transform: scale(1.05); }
.dest-t { position: absolute; left: 12px; right: 12px; bottom: 40px; display: flex; flex-direction: column; color: var(--awg-text-d); }
.dest-t b { font: 600 18px/1.2 var(--awg-display); letter-spacing: -.02em; }
.dest-t span { font-size: 12px; opacity: .85; }
.dest-p { position: absolute; left: 10px; bottom: 10px; padding: 3px 9px; border-radius: 999px; background: var(--glass); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--awg-text-d); font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--awg-text-d) 16%, transparent); }

/* flight window */
.win { display: flex; flex-direction: column; gap: 12px; }
.win-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.win-when { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-weight: 600; }
.win-when .ic { color: var(--amber); }
.win-meta { margin-top: -6px; font-size: 14px; color: var(--mu); }
.pitches { display: flex; flex-direction: column; gap: 12px; margin: 4px 0 6px; }
.pitch { display: flex; align-items: center; gap: 12px; }
.pitch-ph { flex: none; width: 46px; height: 46px; border-radius: 13px; }
.pitch-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.pitch-c { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.pitch-bar { height: 6px; border-radius: 3px; background: var(--awg-night); overflow: hidden; }
.pitch-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--awg-sky), var(--awg-sky-2)); }
.pitch-v { flex: none; display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.pitch-v b { font-size: 14px; }
.pitch-v span { font-size: 12px; color: var(--mu); }

/* request call to action */
.reqcta { margin-top: 34px; overflow: hidden; border-radius: var(--awg-r-l); border: 1px solid color-mix(in srgb, var(--awg-sky) 35%, var(--awg-line-d));
  background: linear-gradient(135deg, color-mix(in srgb, var(--awg-sky) 20%, var(--awg-surface)) 0%, var(--awg-surface) 72%); }
.sec > .reqcta { margin-top: 0; }
.reqcta-main { display: flex; align-items: center; gap: 14px; padding: 18px; }
.reqcta-ic { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: var(--sky); color: var(--awg-night); }
.reqcta-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.reqcta-t b { font-size: 16px; }
.reqcta-t span { font-size: 14px; line-height: 1.45; color: var(--mu); }
.reqcta-chev { flex: none; color: var(--sky-2); }
.reqcta-own { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 18px; border-top: 1px solid var(--line-soft); font-size: 14px; }
.reqcta-own > span:first-of-type { flex: 1; min-width: 0; }
.reqcta-own > .ic { flex: none; color: var(--sky-2); }
.reqcta-main:hover .reqcta-t b, .reqcta-own:hover > span:first-of-type { color: var(--sky-2); }

/* cost explainer */
.cost { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.eq { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 6px; width: 100%; }
.eq-t { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 0; padding: 12px 4px; border-radius: 14px; background: var(--card-2); border: 1px solid var(--line); text-align: center; }
.eq-t b { font: 600 20px/1.1 var(--awg-display); letter-spacing: -.025em; white-space: nowrap; }
.eq-t span { font-size: 11.5px; line-height: 1.3; color: var(--mu); }
.eq-hi { background: var(--sky-t); border-color: color-mix(in srgb, var(--awg-sky) 40%, transparent); }
.eq-hi b { color: var(--sky-2); }
.eq-op { font: 500 20px var(--awg-display); color: var(--mu); }
.eq-line { font-size: 14px; font-weight: 500; }
.cost-b { font-size: 14px; line-height: 1.55; color: var(--mu); }
@media (max-width: 374px) {
  .eq-t b { font-size: 16px; } .eq { gap: 4px; }
  .scard { padding: 10px; border-radius: 22px; } .sf { gap: 10px; padding-left: 12px; } .sf-half { padding-right: 8px; } .sf-v { font-size: 16px; }
  .home-h { font-size: 30px; }
}
/* very narrow phones: When and Passengers stack, so "1 passenger" is never cut */
@media (max-width: 359px) { .scard-2 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- search ---------- */
.sr-head { padding: 0 var(--side) 14px; }
.sr-route { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 8px; font: 600 27px/1.15 var(--awg-display); letter-spacing: -.028em; }
.sr-route button { border-radius: 8px; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: color-mix(in srgb, var(--awg-sky) 55%, transparent); transition: color .15s; }
.sr-route button:hover { color: var(--sky-2); }
.sr-arrow { display: inline-flex; color: var(--sky-2); }
.sr-meta { margin-top: 8px; color: var(--mu); }
.sr-seg { padding: 0 var(--side) 12px; }
.sr-chips { margin: 0; padding-top: 4px; padding-bottom: 6px; }
.sr-chips + .sr-chips { padding-top: 2px; }
.sr-body { padding-top: 12px; }
.sr-count { margin: 0 0 14px; font-size: 13px; color: var(--mu); }
.sr-count + .sec, .note + .sec { margin-top: 22px; }
.sr-count + .sec { margin-top: 0; }
.sr-hidden { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; color: var(--mu); }
.sr-hidden .ic { flex: none; }

/* ---------- my requests ---------- */
.rq { display: flex; flex-direction: column; gap: 14px; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--awg-r-l); transition: border-color .15s, transform .15s; }
.rq:hover { border-color: color-mix(in srgb, var(--awg-sky) 45%, var(--awg-line-d)); }
.rq:active { transform: scale(.99); }
.rq-top { display: flex; align-items: center; justify-content: space-between; gap: 8px 10px; flex-wrap: wrap; }
.rq-meta { font-size: 13px; color: var(--mu); }
.rq-note { padding-left: 12px; border-left: 2px solid var(--line); font-size: 14px; line-height: 1.45; color: var(--mu); }
.rq-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.rq-when { font-size: 13px; font-weight: 500; }
