/* FindCab: My account. Black and white with champagne gold, white cards over a photo strip. */
.acc-stage { position: relative; isolation: isolate; padding: 150px 0 80px; background: var(--bg, #fbfbf9); color: var(--ink, #0d0d0f); --strip: 330px; min-height: 70vh; }
.acc-bg { position: absolute; inset: 0 0 auto; height: var(--strip); z-index: -2; overflow: hidden; }
.acc-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.acc-stage::after { content: ''; position: absolute; inset: 0 0 auto; height: var(--strip); z-index: -1; background: linear-gradient(180deg, rgba(8, 8, 10, .66), rgba(8, 8, 10, .52) 55%, rgba(8, 8, 10, .7)); }
.acc-root { --line: #e8e8e6; --soft: #f5f5f4; --muted: #6e6e73; --gold: #c2a27a; --gold-dark: #8c6b45; }

/* ---------- Shared bits ---------- */
.acc-card { background: #fff; border: 1px solid rgba(0, 0, 0, .06); border-radius: 24px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 24px 60px rgba(0, 0, 0, .1); }
.acc-kicker { font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); margin: 0 0 8px; }
.acc-title { font-family: var(--font-display, 'Times New Roman', Newsreader, serif); font-weight: 400; font-size: 2rem; line-height: 1.15; margin: 0 0 6px; color: var(--ink); }
.acc-sub { color: var(--muted); margin: 0 0 20px; font-size: .95rem; }
.acc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .2s, border-color .2s, color .2s, transform .2s; }
.acc-btn:active { transform: scale(.98); }
.acc-btn:focus-visible, .acc-link:focus-visible, .acc-tab:focus-visible, .acc-eye:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.acc-btn[disabled] { opacity: .55; cursor: default; }
.acc-btn-dark { background: #0d0d0f; color: #fff; }
.acc-btn-dark:hover { background: #2a2a2d; }
.acc-btn-light { background: #fff; color: #0d0d0f; border-color: #d9d9d6; }
.acc-btn-light:hover { border-color: #0d0d0f; }
.acc-btn-ghost { background: transparent; color: #0d0d0f; border-color: #d9d9d6; }
.acc-btn-ghost:hover { border-color: #0d0d0f; }
.acc-btn-sm { min-height: 38px; padding: 0 16px; font-size: .88rem; }
.acc-btn-block { width: 100%; }
.acc-btn svg { width: 18px; height: 18px; flex: none; }
.acc-link { background: none; border: 0; padding: 0; font: inherit; font-size: .9rem; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #c9c9c6; cursor: pointer; }
.acc-link:hover { text-decoration-color: currentColor; }
.acc-error { margin: 0 0 14px; padding: 10px 14px; border-radius: 12px; background: #fbf3f3; color: #a32020; font-size: .9rem; }
.acc-ok { margin: 0 0 14px; padding: 10px 14px; border-radius: 12px; background: var(--soft); color: var(--ink); font-size: .9rem; }
.acc-note { color: var(--muted); font-size: .86rem; margin: 10px 0 0; }

/* Fields */
.acc-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; min-width: 0; }
.acc-field label { font-size: .82rem; font-weight: 600; color: #3a3a3d; }
.acc-field input { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #dcdcd9; border-radius: 12px; background: #fff; color: var(--ink); font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.acc-field input:hover { border-color: #b9b9b5; }
.acc-field input:focus { outline: none; border-color: #0d0d0f; box-shadow: 0 0 0 4px rgba(194, 162, 122, .2); }
.acc-field input[readonly] { background: var(--soft); color: var(--muted); }
.acc-field input[aria-invalid="true"] { border-color: #a32020; }
.acc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.acc-pw { position: relative; }
.acc-pw input { padding-right: 52px; }
.acc-eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 42px; height: 40px; display: grid; place-items: center; border: 0; background: none; border-radius: 10px; color: var(--muted); cursor: pointer; }
.acc-eye:hover { color: var(--ink); }
.acc-eye svg { width: 20px; height: 20px; }
.acc-label-row { display: flex; justify-content: space-between; align-items: baseline; }
.acc-label-row .acc-link { font-size: .82rem; }
.acc-check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; margin: 4px 0 16px; cursor: pointer; }
.acc-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: #0d0d0f; }
.acc-code { text-align: center; font-size: 1.6rem !important; letter-spacing: .45em; font-variant-numeric: tabular-nums; }

/* ---------- Sign in card ---------- */
.acc-auth { display: grid; place-items: start center; }
.acc-auth .acc-card { width: 100%; max-width: 440px; padding: 30px 32px 28px; }
.acc-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--soft); margin: 0 0 22px; }
.acc-tab { min-height: 40px; border: 0; border-radius: 999px; background: transparent; font: inherit; font-weight: 600; font-size: .92rem; color: var(--muted); cursor: pointer; }
.acc-tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 2px 8px rgba(0, 0, 0, .05); }
.acc-social { display: grid; gap: 10px; }
.acc-apple { background: #000; color: #fff; }
.acc-apple:hover { background: #222; }
.acc-google { background: #fff; color: #1f1f1f; border-color: #d9d9d6; }
.acc-google:hover { border-color: #0d0d0f; }
.acc-or { display: flex; align-items: center; gap: 14px; margin: 20px 0; color: var(--muted); font-size: .82rem; }
.acc-or::before, .acc-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.acc-alt { text-align: center; margin: 16px 0 0; font-size: .9rem; color: var(--muted); }
.acc-back { margin: 0 0 14px; }
.acc-fine { text-align: center; color: var(--muted); font-size: .78rem; margin: 14px 0 0; }

/* ---------- Dashboard ---------- */
.acc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin: 0 0 24px; color: #fff; min-height: 120px; }
.acc-head .acc-kicker { color: var(--gold); }
.acc-hello { font-family: var(--font-display, 'Times New Roman', Newsreader, serif); font-weight: 400; font-size: clamp(2.1rem, 4vw, 3.1rem); line-height: 1.1; margin: 0 0 4px; color: #fff; }
.acc-head .acc-mail { margin: 0; color: rgba(255, 255, 255, .72); font-size: .95rem; overflow-wrap: anywhere; }
.acc-head-actions { display: flex; gap: 10px; }
.acc-head .acc-btn-light { border-color: #fff; }
.acc-head .acc-btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.acc-head .acc-btn-ghost:hover { border-color: #fff; }
.acc-panel { padding: 8px 28px 28px; }
.acc-nav { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 0 0 22px; overflow-x: auto; scrollbar-width: none; }
.acc-nav::-webkit-scrollbar { display: none; }
.acc-nav button { position: relative; padding: 18px 14px 16px; border: 0; background: none; font: inherit; font-weight: 600; font-size: .94rem; color: var(--muted); cursor: pointer; white-space: nowrap; }
.acc-nav button:hover { color: var(--ink); }
.acc-nav button[aria-selected="true"] { color: var(--ink); }
.acc-nav button[aria-selected="true"]::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--ink); }
.acc-banner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border-radius: 14px; background: var(--soft); border-left: 3px solid var(--gold); margin: 0 0 18px; font-size: .92rem; }
.acc-list { display: grid; gap: 14px; }
.acc-empty { text-align: center; padding: 44px 10px; color: var(--muted); }
.acc-empty p { margin: 0 0 16px; }

/* Trip */
.acc-trip { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 22px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.acc-trip.is-off { background: #fafaf9; }
.acc-trip.is-off .acc-route, .acc-trip.is-off .acc-when strong { color: var(--muted); }
.acc-when { border-right: 1px solid var(--line); padding-right: 16px; }
.acc-when strong { display: block; font-family: var(--font-display, 'Times New Roman', Newsreader, serif); font-weight: 400; font-size: 2rem; line-height: 1.05; }
.acc-when span { display: block; color: var(--muted); font-size: .84rem; margin-top: 4px; }
.acc-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin: 0 0 6px; }
.acc-status { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.acc-ref { font-family: ui-monospace, Menlo, monospace; font-size: .78rem; color: var(--muted); margin-left: 10px; letter-spacing: .04em; }
.acc-price { font-weight: 700; font-size: 1.05rem; white-space: nowrap; }
.acc-route { margin: 0 0 4px; font-weight: 500; overflow-wrap: anywhere; }
.acc-route .acc-to { color: var(--gold-dark); margin: 0 6px; }
.acc-meta { margin: 0; color: var(--muted); font-size: .86rem; }
.acc-steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; padding: 0; margin: 16px 0 0; }
.acc-steps li { padding-top: 8px; border-top: 3px solid #e6e6e3; font-size: .76rem; color: #a3a3a0; line-height: 1.25; }
.acc-steps li.done { border-top-color: #0d0d0f; color: var(--muted); }
.acc-steps li.now { border-top-color: #0d0d0f; color: var(--ink); font-weight: 700; }
.acc-step-label { display: none; margin: 6px 0 0; font-size: .8rem; font-weight: 700; }
.acc-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.acc-pay { font-size: .84rem; color: var(--muted); }
.acc-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Profile and security */
.acc-section { max-width: 620px; }
.acc-section + .acc-section { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.acc-section h2 { font-family: var(--font-display, 'Times New Roman', Newsreader, serif); font-weight: 400; font-size: 1.5rem; margin: 0 0 4px; }
.acc-section > p { color: var(--muted); font-size: .92rem; margin: 0 0 18px; }
.acc-save { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.acc-save span { color: var(--muted); font-size: .88rem; }
.acc-logins { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 16px; }
.acc-logins li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
.acc-logins li + li { border-top: 1px solid var(--line); }
.acc-logins .acc-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--soft); flex: none; }
.acc-logins .acc-ico svg { width: 18px; height: 18px; }
.acc-logins .acc-ico.is-apple { background: #000; color: #fff; }
.acc-logins div { flex: 1; min-width: 0; }
.acc-logins strong { display: block; font-size: .95rem; }
.acc-logins small { display: block; color: var(--muted); font-size: .84rem; overflow-wrap: anywhere; }

/* Popups: solid white */
.acc-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; background: rgba(10, 10, 12, .55); }
.acc-dialog { width: 100%; max-width: 440px; max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 22px; padding: 26px; box-shadow: 0 30px 80px rgba(0, 0, 0, .3); }
.acc-dialog h2 { font-family: var(--font-display, 'Times New Roman', Newsreader, serif); font-weight: 400; font-size: 1.6rem; margin: 0 0 8px; }
.acc-dialog p { margin: 0 0 12px; color: #3a3a3d; }
.acc-dialog .acc-actions { justify-content: flex-end; margin-top: 18px; }
.acc-receipts { list-style: none; margin: 0; padding: 0; }
.acc-receipts li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); }
.acc-receipts small { display: block; color: var(--muted); }
.acc-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 1001; background: #fff; color: var(--ink); border: 1px solid #e3e3e0; border-radius: 999px; padding: 12px 20px; font-size: .92rem; font-weight: 500; box-shadow: 0 12px 40px rgba(0, 0, 0, .16); max-width: calc(100vw - 32px); }
.acc-loading { color: #fff; padding: 40px 0; }

/* ---------- Mobile: compact ---------- */
@media (max-width: 720px) {
  .acc-stage { padding: 92px 0 48px; --strip: 220px; }
  .acc-stage:has(.acc-head) { --strip: 290px; }
  .acc-auth .acc-card { padding: 22px 18px 20px; border-radius: 20px; }
  .acc-title { font-size: 1.65rem; }
  .acc-sub { margin-bottom: 16px; }
  .acc-tabs { margin-bottom: 16px; }
  .acc-or { margin: 14px 0; }
  .acc-field { margin-bottom: 12px; }
  .acc-row { gap: 10px; }
  .acc-head { min-height: 0; margin-bottom: 16px; align-items: flex-start; }
  .acc-head-actions { width: 100%; }
  .acc-head-actions .acc-btn { flex: 1; min-height: 42px; }
  .acc-panel { padding: 0 14px 16px; border-radius: 20px; }
  .acc-nav { margin: 0 -14px 14px; padding: 0 6px; }
  .acc-nav button { padding: 14px 10px 12px; font-size: .9rem; }
  .acc-trip { grid-template-columns: 1fr; gap: 8px; padding: 14px; border-radius: 16px; }
  .acc-when { border-right: 0; padding-right: 0; display: flex; align-items: baseline; gap: 10px; }
  .acc-when strong { font-size: 1.5rem; }
  .acc-when span { margin: 0; }
  .acc-steps { margin-top: 12px; }
  .acc-steps li { font-size: 0; padding-top: 0; }
  .acc-step-label { display: block; }
  .acc-foot { margin-top: 12px; padding-top: 12px; }
  .acc-actions { width: 100%; }
  .acc-actions .acc-btn { flex: 1 1 auto; }
  .acc-section + .acc-section { margin-top: 22px; padding-top: 20px; }
  .acc-dialog { padding: 20px; border-radius: 20px; }
}
@media (max-width: 380px) {
  .acc-row { grid-template-columns: 1fr; gap: 0; }
}
