/* Rafa brand faces, self-hosted. */
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 200 1000; font-display: swap; src: url("/fonts/nunito/nunito-latin-variable.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Hind Siliguri"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/hind-siliguri/hind-siliguri-v13-bengali-regular.woff2") format("woff2"); unicode-range: U+0980-09FF, U+200C-200D; }
@font-face { font-family: "Hind Siliguri"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/hind-siliguri/hind-siliguri-v13-bengali-600.woff2") format("woff2"); unicode-range: U+0980-09FF, U+200C-200D; }
@font-face { font-family: "Baloo Da 2"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/fonts/baloo-da-2/baloo-da-2-variable.woff2") format("woff2"); unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+200C-200D, U+25CC; }

/* Sign-in / sign-up (split screen). Source of truth for resources/views/layouts/auth-split.blade.php. */
/* Shared primitives for the three auth directions. Each direction adds its own layout. */
:root {
  --green: #5e7d5a;
  --green-deep: #2f4a3b;
  --green-ink: #1b2b22;
  --green-soft: #e1eadc;
  --saffron: #d9a441;
  --saffron-deep: #a97a2a;
  --saffron-soft: #f4e6c8;
  --ink: #2f4a3b;
  --ink-2: #3a5546;
  --muted: #5f6d64;
  --line: #ece3d6;
  --paper: #fffdf9;
  --white: #ffffff;
  --danger: #b3261e;
  --danger-soft: #fbe9e7;
  --ok: #5e7d5a;
  --display: "Nunito", "Baloo Da 2", system-ui, sans-serif;
  --font: "Nunito", "Hind Siliguri", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 10px;
  --r-lg: 16px;
  --ease: cubic-bezier(.19, 1, .22, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  caret-color: var(--green);
  accent-color: var(--green);
}
::selection { background: var(--saffron); color: var(--green-ink); }
img { max-width: 100%; display: block; }
a { color: var(--green); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--green-deep); text-decoration-thickness: 2px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; text-wrap: balance; line-height: 1.12; }
p { text-wrap: pretty; }
* { scrollbar-width: thin; scrollbar-color: #b7c6b9 transparent; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; border-radius: 6px; }

/* ---------- fields ---------- */
.field { display: grid; align-content: start; gap: 6px; margin: 0 0 18px; min-width: 0; }
.field > label, .label {
  font-weight: 600; font-size: 14px; color: var(--ink);
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
}
.field > label .opt { font-weight: 400; color: var(--muted); font-size: 13px; }
.field > label .req { color: var(--danger); margin-left: 2px; }
.input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px; /* stops iOS zoom */
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid #c3cfc5;
  border-radius: var(--r);
  padding: 12px 14px;
  min-height: 48px;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.field textarea { min-height: 88px; resize: vertical; }
.input::placeholder, .field textarea::placeholder { color: #75837a; }
.input:hover, .field select:hover, .field textarea:hover { border-color: #92a595; }
.input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(235, 166, 138, .45);
}
.input.is-invalid { border-color: var(--danger); background: var(--danger-soft); }
.hint { font-size: 13px; color: var(--muted); }
.err { font-size: 13.5px; color: var(--danger); font-weight: 600; display: flex; gap: 6px; align-items: flex-start; }
.err i { margin-top: 3px; }
.prefix { display: flex; align-items: stretch; }
.prefix > span {
  display: grid; place-items: center; padding: 0 12px; font-size: 14px; color: var(--muted);
  background: var(--green-soft); border: 1.5px solid #c3cfc5; border-right: 0;
  border-radius: var(--r) 0 0 var(--r); white-space: nowrap;
}
.prefix .input { border-radius: 0 var(--r) var(--r) 0; }
.pw { position: relative; }
.pw .input { padding-right: 52px; }
.pw button {
  position: absolute; right: 4px; top: 4px; bottom: 4px; width: 44px;
  border: 0; background: transparent; color: var(--muted); border-radius: 8px; cursor: pointer; font-size: 16px;
}
.pw button:hover { background: var(--green-soft); color: var(--green); }

/* strength + rules */
.meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 8px; }
.meter i { height: 5px; border-radius: 3px; background: #dfe7e0; transition: background .25s; }
.meter[data-s="1"] i:nth-child(-n+1) { background: var(--danger); }
.meter[data-s="2"] i:nth-child(-n+2) { background: #d97a1e; }
.meter[data-s="3"] i:nth-child(-n+3) { background: #c9a21a; }
.meter[data-s="4"] i:nth-child(-n+4) { background: var(--ok); }
.strength-text { font-size: 13px; font-weight: 600; color: var(--muted); min-height: 20px; margin-top: 4px; }
.rules { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 14px; }
.rules li { font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.rules li::before {
  content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #b3c0b5; flex: none;
  transition: all .2s;
}
.rules li.ok { color: var(--green); font-weight: 600; }
.rules li.ok::before {
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3l2.4 2.3 4.6-5' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/10px no-repeat;
  border-color: var(--green);
}
.linkbtn {
  background: none; border: 0; padding: 4px 0; font: inherit; font-size: 13.5px; font-weight: 600;
  color: var(--green); cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}
.linkbtn:hover { color: var(--green-deep); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 700; font-size: 16px; line-height: 1;
  min-height: 52px; padding: 0 24px; border-radius: var(--r);
  border: 2px solid transparent; cursor: pointer; text-decoration: none;
  transition: background .15s, transform .15s var(--ease), box-shadow .2s var(--ease), border-color .15s;
}
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 6px 14px -6px rgba(47, 74, 59, .55); }
.btn-primary:hover { background: var(--green-deep); color: #fff; transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 10px 18px -8px rgba(47, 74, 59, .6); }
.btn-primary:active { transform: translateY(0); }
.btn-saffron { background: var(--saffron); color: var(--green-ink); }
.btn-saffron:hover { background: #f7b457; color: var(--green-ink); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: #b7c6b9; }
.btn-ghost:hover { background: var(--green-soft); border-color: var(--green); color: var(--green-deep); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.check { display: flex; gap: 10px; align-items: center; font-size: 15px; cursor: pointer; min-height: 44px; }
.check input { width: 20px; height: 20px; }

/* otp */
.otp-input { text-align: center; font-family: var(--display); font-size: 28px; letter-spacing: .5em; padding-left: calc(14px + .5em); font-variant-numeric: tabular-nums; }
.fine { font-size: 13px; color: var(--muted); }
.fine a { font-weight: 600; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
@media (max-width: 480px) { .rules { grid-template-columns: 1fr; } }
/* Motion primitives shared by directions B and C. */
@view-transition { navigation: auto; }
::view-transition-group(*) { animation-duration: .6s; animation-timing-function: var(--ease); }

/* buttons: ripple, loading, press */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn .lbl { display: inline-flex; align-items: center; gap: 10px; transition: opacity .2s, transform .35s var(--ease); }
.btn .spin { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .2s; pointer-events: none; }
.btn .spin::before { content: ""; width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .7s linear infinite; }
.btn.is-loading { cursor: progress; }
.btn.is-loading[disabled] { opacity: 1; }
.btn.is-loading .lbl { opacity: 0; transform: translateY(-8px); }
.btn.is-loading .spin { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }
.ripple { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: rgba(255,255,255,.45); pointer-events: none; z-index: -1; animation: ripple .7s var(--ease) forwards; }
@keyframes ripple { to { transform: scale(60); opacity: 0; } }
.btn-primary .arrow { transition: transform .35s var(--ease); }
.btn-primary:hover .arrow { transform: translateX(4px); }

/* validation shake */
.shake.shake.shake { animation: shake .42s cubic-bezier(.36,.07,.19,.97); }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* view swaps inside a form */
.leaving { animation: leave .26s ease-in forwards; }
@keyframes leave { to { opacity: 0; transform: translateY(-10px); filter: blur(4px); } }
.entering { animation: enter .7s var(--ease) both; }
@keyframes enter { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } }

/* otp boxes */
.otp-boxes { display: grid; grid-template-columns: repeat(6, minmax(0, 54px)); gap: 10px; margin: 6px 0 4px; }
.otp-boxes input {
  width: 100%; aspect-ratio: 5 / 6; min-height: 56px; text-align: center;
  font-family: var(--display); font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink);
  background: var(--white); border: 1.5px solid #c3cfc5; border-radius: 12px;
  transition: border-color .15s, box-shadow .2s, transform .3s var(--ease), background .2s;
}
.otp-boxes input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(235,166,138,.45); transform: translateY(-3px); }
.otp-boxes input.filled { background: var(--green-soft); border-color: var(--green); animation: pop .35s var(--ease); }
@keyframes pop { 40% { transform: scale(1.08); } }
.otp-boxes.bad { animation: shake .42s cubic-bezier(.36,.07,.19,.97); }
.otp-boxes.bad input:not(.filled) { border-color: var(--danger); background: var(--danger-soft); }

/* success tick that draws itself */
.success { text-align: left; }
.tick { width: 76px; height: 76px; margin-bottom: 18px; }
.tick circle { fill: var(--green-soft); stroke: var(--green); stroke-width: 2.5; stroke-dasharray: 230; stroke-dashoffset: 230; animation: draw .8s var(--ease) .1s forwards; }
.tick path { fill: none; stroke: var(--green); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .5s var(--ease) .65s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success h3, .success h2 { margin-bottom: 6px; }
.success p { color: var(--ink-2); margin-bottom: 18px; }

/* word reveal */
[data-words] .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
[data-words] .w > span { display: inline-block; animation: wordUp .9s var(--ease) both; animation-delay: calc(var(--i) * 70ms + 120ms); }
@keyframes wordUp { from { transform: translateY(105%); } }
.vt-arrived [data-words] .w > span { animation: none; }

[data-rotate] { display: inline-block; transition: opacity .38s, transform .38s var(--ease), filter .38s; }
[data-rotate].out { opacity: 0; transform: translateY(-10px); filter: blur(4px); }

@media (max-width: 420px) { .otp-boxes { gap: 7px; } .otp-boxes input { min-height: 50px; font-size: 22px; } }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  [data-words] .w > span { animation: none; }
}
/* Direction C: split screen. A living saffron panel (a parcel on its way to a door), a calm white form. */
body { background: #fff; }
.c-shell { display: grid; grid-template-columns: minmax(400px, 44%) minmax(0, 1fr); min-height: 100vh; }

/* ---------- brand panel ---------- */
.c-brand {
  position: sticky; top: 0; height: 100vh; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 100% 100%, #f4e6c8 0%, #eba68a 55%, #d9a441 100%);
  color: var(--green-ink); display: flex; flex-direction: column; padding: 34px 40px 30px;
  view-transition-name: brand;
}
.c-brand::before { /* grain */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .16; mix-blend-mode: multiply; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.c-brand > * { transition: translate .9s var(--ease); }
.c-brand .logo { display: block; width: max-content; background: var(--paper); border-radius: 14px; padding: 8px 14px; box-shadow: 0 10px 24px -14px rgba(47, 74, 59, .45); view-transition-name: logo; }
.c-brand .logo img { height: 46px; width: auto; }

.c-say { margin-top: auto; padding-top: 24px; view-transition-name: brand-say; }
.c-say .bn { font-weight: 700; font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--green-deep); margin-bottom: 8px; min-height: 1.6em; }
.c-say h1 { font-size: clamp(2.6rem, 4.6vw, 4.5rem); line-height: 1.0; letter-spacing: -0.035em; font-weight: 800; max-width: 11ch; }
.c-say p { font-size: 17.5px; margin-top: 16px; max-width: 32ch; color: var(--green-ink); animation: enter .9s var(--ease) .5s both; }
.vt-arrived .c-say p { animation: none; }

/* the route: shelf to door, a parcel travelling it */
.route { position: relative; margin: 26px 0 8px; width: 100%; max-width: 460px; }
.route svg { width: 100%; height: auto; display: block; overflow: visible; }
.route .base { fill: none; stroke: rgba(14, 42, 26, .22); stroke-width: 2; stroke-dasharray: 2 9; stroke-linecap: round; }
.route .live { fill: none; stroke: var(--green-ink); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 900; stroke-dashoffset: 900; animation: routeDraw 2.4s var(--ease) .4s forwards; }
@keyframes routeDraw { to { stroke-dashoffset: 0; } }
.route .stop { fill: var(--paper); stroke: var(--green-ink); stroke-width: 2.5; }
.route .pin { fill: var(--green-ink); }
.route .pin-ico { fill: none; stroke: var(--saffron); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.route .tag { font: 700 13px var(--font); fill: var(--green-ink); }
.route .tag.sub { font-weight: 500; font-size: 12px; fill: var(--green-ink); }
.route .parcel rect { fill: var(--green-ink); }
.route .parcel path { stroke: var(--saffron); stroke-width: 1.6; fill: none; }
.route .halo { fill: rgba(255, 253, 246, .55); transform-origin: center; transform-box: fill-box; animation: halo 2s ease-out infinite; }
@keyframes halo { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }

/* category belt */
.belt { margin: 18px -40px 0; perspective: 900px; }
.lanes { display: grid; gap: 10px; transform: rotateX(22deg) rotateZ(-4deg) scale(1.08); transform-origin: 50% 100%;
  -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.lane { display: flex; gap: 10px; width: max-content; animation: lane 40s linear infinite; }
.lane.rev { animation-direction: reverse; animation-duration: 52s; }
.belt:hover .lane { animation-play-state: paused; }
.lane span { white-space: nowrap; font-weight: 700; font-size: 15px; padding: 9px 18px; border-radius: 999px; background: var(--green-ink); color: #fdf0d9; box-shadow: 0 8px 14px -10px rgba(14, 42, 26, .9); }
.lane.rev span { background: rgba(255, 253, 246, .9); color: var(--green-ink); }
@keyframes lane { to { transform: translateX(-50%); } }
.c-couriers { margin-top: 18px; font-size: 14px; color: var(--green-ink); }
.c-couriers b { color: var(--green-ink); }

/* ---------- form panel ---------- */
.c-form { display: flex; flex-direction: column; padding: 22px clamp(20px, 5vw, 64px) 36px; background:
  radial-gradient(60% 40% at 100% 0%, rgba(228, 241, 230, .7), transparent 70%), #fff; }
.c-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.c-nav .back { font-size: 14.5px; font-weight: 600; color: var(--muted); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.c-nav .back i { transition: transform .35s var(--ease); }
.c-nav .back:hover { color: var(--green); }
.c-nav .back:hover i { transform: translateX(-4px); }
.seg { position: relative; display: inline-flex; padding: 4px; background: var(--green-soft); border-radius: 999px; gap: 2px; view-transition-name: seg; }
.seg-pill { position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 999px; background: var(--green); box-shadow: 0 6px 14px -8px rgba(47, 74, 59, .8); view-transition-name: seg-pill; transition: left .5s var(--ease), width .5s var(--ease); }
.seg a { position: relative; z-index: 1; padding: 8px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--green-deep); text-decoration: none; white-space: nowrap; transition: color .3s; }
.seg a:hover { color: var(--green-ink); }
.seg a[aria-current="page"] { color: #fff; }

.c-body { width: 100%; max-width: 520px; margin: 0 auto; flex: 1; display: grid; align-content: center; padding: 34px 0 10px; view-transition-name: form-body; }
.c-body.wide { max-width: 680px; align-content: start; padding-top: 40px; }
.c-body h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); letter-spacing: -0.03em; margin-bottom: 8px; }
.c-body .lede { color: var(--ink-2); font-size: 17px; margin-bottom: 28px; }
[data-stagger] > * { animation: rise .8s var(--ease) both; animation-delay: calc(var(--i, 0) * 55ms + 150ms); }
.vt-arrived [data-stagger] > * { animation: none; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* direction-aware slide between the three pages */
html:active-view-transition-type(forward)::view-transition-old(form-body) { animation: .45s var(--ease) both outLeft; }
html:active-view-transition-type(forward)::view-transition-new(form-body) { animation: .7s var(--ease) both inRight; }
html:active-view-transition-type(backward)::view-transition-old(form-body) { animation: .45s var(--ease) both outRight; }
html:active-view-transition-type(backward)::view-transition-new(form-body) { animation: .7s var(--ease) both inLeft; }
::view-transition-old(form-body), ::view-transition-new(form-body) { height: 100%; width: 100%; object-fit: none; object-position: top; }
@keyframes outLeft { to { opacity: 0; transform: translateX(-60px); filter: blur(6px); } }
@keyframes outRight { to { opacity: 0; transform: translateX(60px); filter: blur(6px); } }
@keyframes inRight { from { opacity: 0; transform: translateX(80px); filter: blur(6px); } }
@keyframes inLeft { from { opacity: 0; transform: translateX(-80px); filter: blur(6px); } }
::view-transition-old(brand-say) { animation: .35s ease-in both fadeUp; }
::view-transition-new(brand-say) { animation: .8s var(--ease) .1s both riseIn; }
@keyframes fadeUp { to { opacity: 0; transform: translateY(-20px); } }
@keyframes riseIn { from { opacity: 0; transform: translateY(26px); } }

/* floating, notched labels */
.fl { position: relative; }
.fl > .input { padding-top: 14px; padding-bottom: 14px; min-height: 54px; }
.fl > label {
  position: absolute; left: 12px; top: 27px; transform: translateY(-50%); padding: 0 4px;
  font-size: 16px; font-weight: 500; color: #6a786f; pointer-events: none; background: transparent;
  transition: top .3s var(--ease), font-size .3s var(--ease), color .2s, background .2s, font-weight .2s; white-space: nowrap; max-width: calc(100% - 60px); overflow: hidden; text-overflow: ellipsis;
}
.fl > label .req { color: var(--danger); }
.fl > label .opt { font-weight: 400; color: var(--muted); font-size: .85em; }
.fl > .input::placeholder { color: transparent; transition: color .2s; }
.fl > .input:focus::placeholder { color: #9aa79e; }
.fl > .input:focus + label, .fl > .input:not(:placeholder-shown) + label, .fl.up > label {
  top: 0; font-size: 12.5px; font-weight: 700; color: var(--green-deep); background: #fff;
}
.fl > .input:focus + label { color: var(--green); }
.fl > .input.is-invalid + label { color: var(--danger); }
.fl > textarea.input + label { top: 26px; }
.fl > textarea.input:focus + label, .fl > textarea.input:not(:placeholder-shown) + label { top: 0; }
.fl.pwf > .input { padding-right: 52px; }
.fl.pwf > button { position: absolute; right: 5px; top: 5px; height: 44px; width: 44px; border: 0; background: transparent; color: var(--muted); border-radius: 8px; cursor: pointer; font-size: 16px; }
.fl.pwf > button:hover { background: var(--green-soft); color: var(--green); }
.below { display: flex; justify-content: flex-end; margin-top: -10px; margin-bottom: 8px; }

.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.cols .span { grid-column: 1 / -1; }
.group-title { font-family: var(--display); font-size: 1.1rem; font-weight: 700; margin: 24px 0 16px; display: flex; gap: 10px; align-items: center; }
.group-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
.group-title i { color: var(--green); }
.submit-row { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.shopurl { display: flex; align-items: center; gap: 12px; margin: 2px 0 18px; padding: 12px 14px; background: var(--saffron-soft); border: 1.5px dashed #e3b36a; border-radius: var(--r); font-size: 15px; color: var(--ink-2); flex-wrap: wrap; }
.shopurl i { color: var(--saffron-deep); }
.shopurl b { color: var(--green-ink); overflow-wrap: anywhere; }
.slug-status { font-size: 13.5px; font-weight: 600; min-height: 20px; }
.slug-status.good { color: var(--ok); } .slug-status.bad { color: var(--danger); }
.slug-status i { animation: pop .35s var(--ease); }
.otp-box p.lede { margin-bottom: 18px; }
.c-foot { max-width: 520px; margin: 22px auto 0; width: 100%; font-size: 13px; color: var(--muted); }
.c-body.wide + .c-foot { max-width: 680px; }

@media (max-width: 900px) {
  .c-shell { grid-template-columns: 1fr; }
  .c-brand { position: relative; height: auto; padding: 18px 20px 18px; }
  .c-brand .logo img { height: 36px; }
  .c-say { padding-top: 16px; margin: 0; }
  .c-say h1 { font-size: 2.2rem; max-width: none; }
  .c-say p, .c-couriers, .route { display: none; }
  .belt { margin: 14px -20px 0; }
  .lane.rev { display: none; }
  .lanes { transform: none; }
  .c-body, .c-body.wide { padding-top: 24px; }
}
@media (max-width: 560px) { .cols { grid-template-columns: 1fr; } .seg a { padding: 8px 11px; font-size: 13.5px; } }
@media (prefers-reduced-motion: reduce) { .route .live { stroke-dashoffset: 0; } .route .parcel, .route .halo { display: none; } }
.fl .prefix .input { min-height: 54px; }
.fl .prefix > span { padding-top: 6px; }
.fl.up > label { left: 8px; }

/* ---------- live-page additions ---------- */
.auth-alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r); background: var(--danger-soft); color: #7d1b14; font-size: 14.5px; line-height: 1.45; margin-bottom: 20px; animation: enter .5s var(--ease) both; }
.auth-alert i { margin-top: 3px; }
.auth-alert.ok { background: var(--green-soft); color: var(--green-deep); }
.auth-alert ul { margin: 0; padding-left: 18px; }
.field > .err { margin-top: -2px; }
.otp-boxes.four { grid-template-columns: repeat(4, minmax(0, 64px)); gap: 12px; }
.otp-actions { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin-top: 16px; font-size: 14px; color: var(--muted); }
.otp-actions .linkbtn[disabled] { color: var(--muted); cursor: not-allowed; text-decoration: none; }
.hint.slug-hint { margin-top: -2px; }
.c-brand .shop-name { font-weight: 700; }

/* ---------- forgot password: phone / email switch ---------- */
.seg.tabs { margin: 0 0 26px; }
.seg [role="tab"] {
  position: relative; z-index: 1; border: 0; background: transparent; cursor: pointer; font: inherit;
  padding: 9px 18px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--green-deep);
  display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; transition: color .3s;
}
.seg [role="tab"]:hover { color: var(--green-ink); }
.seg [role="tab"][aria-selected="true"] { color: #fff; }
.seg.tabs .seg-pill { view-transition-name: none; }
[role="tabpanel"]:focus-visible { outline: none; }

/* ---------- vendor pending: where the shop is in review ---------- */
.journey { list-style: none; margin: 8px 0 30px; padding: 0; }
.journey li { position: relative; padding: 0 0 26px 48px; min-height: 52px; }
.journey li:last-child { padding-bottom: 0; }
.journey li::before { content: ""; position: absolute; left: 15px; top: 34px; bottom: 2px; width: 2px; background: repeating-linear-gradient(to bottom, #c9d6cc 0 5px, transparent 5px 10px); }
.journey li:last-child::before { display: none; }
.journey li.done::before { background: var(--green); }
.journey .dot {
  position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 2px solid #c9d6cc; color: var(--muted); font-size: 13px;
  animation: rise .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 140ms + 700ms);
}
.journey li.done .dot { background: var(--green); border-color: var(--green); color: #fff; }
.journey li.now .dot { background: var(--saffron-soft); border-color: var(--saffron); color: var(--saffron-deep); }
.journey li.now .dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--saffron); opacity: 0; animation: ping 2.2s var(--ease) 1.4s infinite; }
@keyframes ping { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
.journey strong { display: block; font-size: 16px; padding-top: 4px; }
.journey span { display: block; font-size: 14.5px; color: var(--ink-2); margin-top: 2px; max-width: 52ch; }
.actions-row { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 480px) { .actions-row .btn { flex: 1; } }
.tick path.env { stroke-width: 3; stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw .9s var(--ease) .6s forwards; }
