/* mysabak · drive-signup styles. Loaded after base.css. */

.file__text { display: flex; flex-direction: column; min-width: 0; }
.file__name { font-size: 14px; font-weight: 700; color: var(--ink); }
.file__status { font-size: 12px; color: var(--sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Documents: white rows with an Upload button; once added, a tick, the file and Change */
.file { position: relative; padding: 12px 14px; border: 1.5px solid var(--line-brand); border-radius: 16px; background: #fff; transition: border-color .15s var(--ease-out), box-shadow .15s var(--ease-out); }
.file:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(91, 37, 150, .12); }
.file__icon { width: 28px; height: 28px; }
.file__doc { width: 22px; height: 22px; stroke: var(--brand-deep); stroke-width: 1.9; }
.file__ok { display: none; width: 26px; height: 26px; border-radius: 50%; background: var(--brand); place-items: center; }
.file__ok .icon { width: 15px; height: 15px; stroke: #fff; stroke-width: 3; }
.file__text { flex: 1; }
.file__btn { flex: none; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--tint); color: var(--brand-deep); font-size: 13.5px; font-weight: 600; display: inline-flex; align-items: center; transition: background-color .15s var(--ease-out); }
.file__up { display: inline-flex; align-items: center; gap: 6px; }
.file__up .icon { width: 15px; height: 15px; stroke: var(--brand-deep); stroke-width: 2.2; }
.file__change { display: none; }
.file:hover .file__btn { background: #e8daf7; }
.file.is-done { border-color: var(--brand); background: #fff; }
.file.is-done .file__doc { display: none; }
.file.is-done .file__ok { display: grid; }
.file.is-done .file__status { color: var(--brand-deep); }
.file.is-done .file__up { display: none; }
.file.is-done .file__change { display: inline; }
.file.is-done .file__btn { padding: 0 4px; background: none; font-weight: 700; }
/* The sky head (base.css .page--head-sky) and one white sheet over its edge */
.page--signup .page-head { padding-bottom: 76px; }
.dperks { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.dperks li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #fff; }
.dperks__star { width: 12px; height: 12px; flex: none; fill: #ffd36b; }
.dsheet {
  position: relative; z-index: 1; width: 100%; max-width: 760px; margin: -48px auto 0;
  padding: 20px 18px; border-radius: 24px; box-shadow: 0 16px 40px -18px rgba(42, 18, 64, .3);
  display: flex; flex-direction: column; gap: 18px;
}
@media (min-width: 640px) { .dsheet { padding: 26px 28px; } }
@media (min-width: 900px) { .page--signup .page-head > * { width: 100%; max-width: 760px; margin-left: auto; margin-right: auto; } .page--signup .page-head__back { width: auto; margin-left: max(0px, calc(50% - 380px)); } }

.auth-alt {
  display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px; color: var(--muted);
}
.view__title { margin: 0; font-size: 18px; font-weight: 700; color: var(--navy); }
.choice__icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.choice__art { width: 44px; height: 44px; } /* two-tone drawings (icons.svg k-*), no tile */
.choice__meta { margin-top: 3px; font-size: 12.5px; font-weight: 600; color: var(--brand-deep); }
.choice__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.choice__name { font-size: 16px; font-weight: 700; color: var(--ink); }
.choice__hint { font-size: 13.5px; line-height: 1.4; color: var(--sub); }
.choice__go { stroke: var(--muted); flex-shrink: 0; }
.office-map {
  position: relative;
  height: 180px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line-brand);
  background: url("/assets/images/map-bg.svg") 42% 46% / 900px auto no-repeat, var(--map-ground);
}
.office-map__pin { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; }
.office-map__pin svg { filter: drop-shadow(0 6px 10px rgba(36, 25, 87, 0.3)); }
.office-map__label {
  position: absolute; left: 50%; top: calc(100% + 6px); transform: translateX(-50%);
  padding: 6px 10px; border-radius: 10px;
  background: var(--surface); box-shadow: var(--shadow-sm);
  font-size: 12.5px; font-weight: 700; color: var(--navy); white-space: nowrap;
}
.bring__title { margin: 0; font-size: 14px; font-weight: 700; color: var(--navy); }
.bring__list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; }
.wizard__nav .button { text-decoration: none; }
.view--done { align-items: flex-start; }
.done__icon { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; }
.done__icon .icon { width: 44px; height: 44px; }
/* Sign-up steps: one thin line that fills a third per step (--p, set by drive-signup.js), the names under it */
.wizard__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.wizard__steps li { gap: 8px; font-size: 13px; font-weight: 500; color: var(--sub); }
.wizard__steps li::before { height: 6px; background: #ece4f6; transition: background-color .3s var(--ease-out); }
.wizard__steps li.is-done::before, .wizard__steps li.is-current::before { background: var(--brand); }
.wizard__steps li.is-current { font-weight: 700; color: var(--ink); }
.wizard__steps li.is-done { color: var(--brand-deep); }

/* City menu: a field that opens the app's menu; options without icon tiles */
.cpick { position: relative; z-index: 6; }
.cpick__btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; cursor: pointer; }
.cpick__btn[aria-expanded="true"] { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(91, 37, 150, .12); background: #fff; }
.cpick__name.is-empty { color: #8a7b9e; }
.cpick__chev { width: 16px; height: 16px; stroke: var(--sub); rotate: 90deg; transition: rotate .25s var(--ease-out); }
.cpick__btn[aria-expanded="true"] .cpick__chev { rotate: -90deg; }
.cpick__value { position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; opacity: 0; pointer-events: none; }
.cpick__menu { width: 100%; }
.cpick__menu .bpick__opt { min-height: 46px; padding: 6px 12px; }
.cpick__menu .bpick__ic, .cpick__menu .bpick__txt > span { display: none; }
.wizard__step { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.wizard__step[hidden] { display: none; }
.wizard__nav { display: flex; gap: 10px; }
.wizard__nav .button { flex: 1; }
/* Vehicle picker */
.pick-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pick__box {
  position: relative;
  height: 100%;
  padding: 12px 6px 10px;
  border: 1.5px solid var(--line-brand);
  border-radius: 16px;
  background: var(--surface);
  display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center;
  transition: border-color .15s var(--ease-out), background-color .15s var(--ease-out);
}
.pick__name { font-size: 15px; font-weight: 700; color: var(--ink); }
.pick__hint { font-size: 11.5px; color: var(--sub); }
.pick__art { height: 44px; width: auto; max-width: 100%; margin-bottom: 2px; }
/* the picked one: a purple ring and a tick */
.pick input:checked + .pick__box::after {
  content: ""; position: absolute; right: 6px; top: 6px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.pick input:checked + .pick__box { border-color: var(--brand); box-shadow: inset 0 0 0 .5px var(--brand); background: #f7f1fd; }
.pick input:checked + .pick__box .icon { stroke: var(--brand); }
.pick input:focus-visible + .pick__box { outline: 3px solid rgba(91, 37, 150, 0.45); outline-offset: 2px; }
