/*
 * Rider app shell, iOS style (KAN-22). Loaded last on every rider screen (layouts/rider), after
 * orderyfy.css: it re-points the brand tokens for the rider app and restyles the shared rider
 * rules there (bars, cards, buttons, lists, sign-up pages) without touching that file. Each
 * screen's own parts stay in rider-flow.css + rider-orders.css (orders) and rider-wallet.css
 * (drive mode, wallet, performance, history, profile), which read the --r-* tokens below.
 *
 * Made for a phone on a moving bike, often in sunlight: the phone's own font (San Francisco on
 * an iPhone, Roboto on Android), near-black text on white cards, 16px body text with bigger
 * money and addresses, 44px+ tap targets, a translucent top bar and a tab bar kept clear of
 * the notch and the home indicator. Light only: sunlight wants it, and the shared colours
 * (white cards, the logo) are not dark-safe. Logical properties throughout, so the Urdu (RTL)
 * screens mirror on their own.
 */

/* ---- Tokens ---- */
.oy-rider-body {
  --r-bg: #F2F2F7;
  --r-card: #FFFFFF;
  --r-fill: #F2F2F5;
  --r-ink: #111114;
  --r-ink-2: #48484E;
  --r-ink-3: #6C6C72;
  --r-sep: rgba(60, 60, 67, .18);
  --r-lime: #A6CE39;
  --r-green: #3D7413;
  --r-green-bg: #EAF5D3;
  --r-online: #34C759;
  --r-blue: #0062D6;
  --r-amber: #7A4B00;
  --r-amber-bg: #FFF3D6;
  --r-red: #C4281C;
  --r-red-bg: #FDECEB;
  --r-bar: rgba(249, 249, 251, .86);
  --r-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 4px 16px rgba(0, 0, 0, .06);
  --r-top-h: 56px;
  --r-tab-h: 60px;
  --r-safe-t: env(safe-area-inset-top, 0px);
  --r-safe-b: env(safe-area-inset-bottom, 0px);
  --r-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  /* The brand tokens orderyfy.css and the mode switcher read, darker for contrast outdoors. */
  --oy-ink: var(--r-ink);
  --oy-mute: var(--r-ink-2);
  --oy-bg: var(--r-bg);
  --oy-card: var(--r-card);
  --oy-border: var(--r-sep);
  --oy-light: var(--r-green-bg);
  --oy-green-dark: var(--r-green);
}

/* ---- Base ---- */
html { background: #F2F2F7; }
.oy-rider-body {
  margin: 0; background: var(--r-bg); color: var(--r-ink);
  font-family: var(--r-font); font-size: 16px; line-height: 1.45;
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}
/* The brand headline font is not loaded in the rider app: everything speaks the system font. */
.oy-rider-body :is(h1, h2, h3, h4, h5, h6, button, input, select, textarea),
.oy-rhead h1, .oy-rcard-num, .oy-rcard-accept, .oy-rstat-num, .oy-install-chip, .oy-alerts-btn,
.oy-auth-title, .oy-auth-btn { font-family: var(--r-font); }
.oy-rider-body :is(a, button, summary, label) { touch-action: manipulation; }
/* Letter-spacing breaks the joins of Urdu script. */
[dir="rtl"] .oy-rider-app * { letter-spacing: normal; }

.oy-rider-app {
  max-width: 520px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; position: relative;
  padding-bottom: calc(var(--r-tab-h) + var(--r-safe-b) + 24px);
  padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px);
}
.oy-rider-app:has(> .oy-auth) { padding-bottom: 0; }
.oy-rmain { padding: 4px 16px 16px; }

/* ---- Top bar: translucent, the page title appears in it once the large one scrolls away ---- */
.oy-rtop {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  box-sizing: border-box; min-height: calc(var(--r-top-h) + var(--r-safe-t));
  padding: var(--r-safe-t) 14px 0; padding-inline-start: 6px;
  background: var(--r-bar);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 0; box-shadow: 0 .5px 0 transparent; transition: box-shadow .2s;
}
.oy-rtop.is-scrolled { box-shadow: 0 .5px 0 var(--r-sep); }
.oy-rtop-start { position: relative; flex: 1; min-width: 0; align-self: stretch; display: flex; align-items: center; gap: 2px; }
.oy-rham { width: 44px; height: 44px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 12px; background: none; color: var(--r-ink); cursor: pointer; }
.oy-rham:active { background: rgba(0, 0, 0, .06); }
.oy-rtop-logo { display: flex; align-items: center; transition: opacity .2s, visibility .2s; }
.oy-rtop-logo img { height: 30px; width: auto; display: block; }
.oy-rtop-title {
  position: absolute; top: 50%; inset-inline: 48px 0; transform: translateY(-50%);
  font-size: 17px; font-weight: 700; color: var(--r-ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.oy-rtop.is-scrolled .oy-rtop-title { opacity: 1; }
.oy-rtop.is-scrolled .oy-rtop-logo { opacity: 0; visibility: hidden; }

/* Online state (drive screen) and the online switch (every other screen): one capsule. */
.oy-rtop-toggle-form { margin: 0; flex: 0 0 auto; }
.oy-rtop-state, .oy-toggle {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; box-sizing: border-box;
  min-height: 40px; padding: 0 14px; border: 1px solid var(--r-sep); border-radius: 999px;
  background: var(--r-card); color: var(--r-ink-2); font-size: 15px; font-weight: 700; white-space: nowrap;
}
.oy-toggle { cursor: pointer; transition: transform .12s; }
.oy-toggle:active { transform: scale(.96); }
.oy-rtop-state.is-on, .oy-toggle.is-on { background: var(--r-green-bg); border-color: var(--r-lime); color: var(--r-green); }
.oy-rtop-state .oy-toggle-dot, .oy-toggle .oy-toggle-dot { width: 10px; height: 10px; border-radius: 50%; background: #AEAEB2; box-shadow: none; }
.oy-rtop-state.is-on .oy-toggle-dot, .oy-toggle.is-on .oy-toggle-dot { background: var(--r-online); box-shadow: 0 0 0 3px rgba(52, 199, 89, .22); }

/* ---- Large title ---- */
.oy-rhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 10px 2px 14px; }
.oy-rhead h1 { margin: 0; font-size: 30px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; color: var(--r-ink); }
[dir="rtl"] .oy-rhead h1 { line-height: 1.4; }
.oy-rlive { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 4px; font-size: 14px; font-weight: 700; color: var(--r-ink-3); }
.oy-rlive-dot { width: 8px; height: 8px; border-radius: 50%; background: #AEAEB2; }
.oy-rlive.is-on { color: var(--r-green); }
.oy-rlive.is-on .oy-rlive-dot { background: var(--r-online); }
@media (prefers-reduced-motion: no-preference) {
  .oy-rlive.is-on .oy-rlive-dot { animation: oy-rlive 1.6s ease-in-out infinite; }
  @keyframes oy-rlive { 50% { opacity: .3; } }
}

/* ---- Side menu (KAN-14). Closed = visibility:hidden, so it is out of the tab order. ---- */
.oy-rdrawer-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .4); opacity: 0; visibility: hidden; transition: opacity .2s, visibility 0s .2s; }
.oy-rdrawer {
  position: fixed; top: 0; bottom: 0; inset-inline-start: 0; z-index: 91; width: min(86vw, 330px);
  box-sizing: border-box; padding-top: var(--r-safe-t); padding-bottom: var(--r-safe-b);
  display: flex; flex-direction: column; background: var(--r-bg); box-shadow: 0 0 40px rgba(0, 0, 0, .2);
  overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(-100%); visibility: hidden; transition: transform .25s cubic-bezier(.32, .72, 0, 1), visibility 0s .25s;
}
[dir="rtl"] .oy-rdrawer { transform: translateX(100%); }
.oy-rdrawer:focus { outline: none; }
html.oy-rdrawer-open, html.oy-rdrawer-open body { overflow: hidden; }
html.oy-rdrawer-open .oy-rdrawer-overlay { opacity: 1; visibility: visible; transition: opacity .2s; }
html.oy-rdrawer-open .oy-rdrawer { transform: none; visibility: visible; transition: transform .25s cubic-bezier(.32, .72, 0, 1); }
@media (prefers-reduced-motion: reduce) { .oy-rdrawer, .oy-rdrawer-overlay { transition: none !important; } }
.oy-rham:focus-visible, .oy-rdrawer-x:focus-visible, .oy-rdrawer-nav a:focus-visible { outline: 2px solid var(--r-green); outline-offset: 2px; }

.oy-rdrawer-head { display: flex; align-items: center; gap: 14px; margin: 12px 12px 4px; padding: 16px; padding-inline-end: 8px; background: var(--r-card); border-radius: 16px; }
.oy-rdrawer-photo { width: 60px; height: 60px; flex: 0 0 auto; border-radius: 50%; overflow: hidden; background: var(--r-lime); color: #111; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 24px; }
.oy-rdrawer-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.oy-rdrawer-who { min-width: 0; flex: 1; display: grid; gap: 2px; }
.oy-rdrawer-who strong { font-size: 18px; color: var(--r-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oy-rdrawer-rating { font-size: 15px; font-weight: 600; color: var(--r-ink-2); }
.oy-rdrawer-x { width: 44px; height: 44px; flex: 0 0 auto; align-self: flex-start; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 50%; background: var(--r-fill); color: var(--r-ink-2); cursor: pointer; }

/* iOS grouped list: icon tile, label, chevron; the separator starts after the icon. */
.oy-rdrawer-nav { display: flex; flex-direction: column; margin: 8px 12px; background: var(--r-card); border-radius: 16px; overflow: hidden; }
.oy-rdrawer-nav a { position: relative; display: flex; align-items: center; gap: 14px; min-height: 54px; box-sizing: border-box; padding: 6px 14px; color: var(--r-ink); text-decoration: none; font-size: 17px; font-weight: 600; }
.oy-rdrawer-nav a + a::before { content: ""; position: absolute; top: 0; inset-inline: 60px 0; height: 1px; background: var(--r-sep); }
.oy-rdrawer-nav a:hover { color: var(--r-ink); }
.oy-rdrawer-nav a:active { background: var(--r-fill); }
.oy-rdrawer-ic { width: 32px; height: 32px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; background: var(--r-fill); color: var(--r-ink-2); }
.oy-rdrawer-lbl { flex: 1; min-width: 0; }
.oy-rchev { flex: 0 0 auto; color: #B8B8BD; }
[dir="rtl"] .oy-rchev { transform: scaleX(-1); }
.oy-rdrawer-nav a.on { color: var(--r-green); font-weight: 700; }
.oy-rdrawer-nav a.on .oy-rdrawer-ic { background: var(--r-lime); color: #111; }
.oy-rdrawer-foot { margin-top: auto; padding: 8px 12px 16px; }
.oy-rdrawer-foot .oy-ms { padding: 2px 14px 10px; background: var(--r-card); border-radius: 16px; }
.oy-rdrawer-foot .oy-rlogout { margin-top: 8px; }

/* ---- Tab bar: icon over label, the open tab in a lime well, clear of the home indicator ---- */
.oy-rtabbar {
  position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); z-index: 55;
  width: 100%; max-width: 520px; box-sizing: border-box; display: flex; align-items: stretch;
  padding: 0 max(4px, env(safe-area-inset-right, 0px)) var(--r-safe-b) max(4px, env(safe-area-inset-left, 0px));
  background: var(--r-bar);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-top: 0; box-shadow: 0 -.5px 0 var(--r-sep);
}
.oy-rtabbar a {
  flex: 1 1 0; min-width: 0; min-height: var(--r-tab-h); box-sizing: border-box;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 6px 2px;
  color: var(--r-ink-3); text-decoration: none; font-size: 13px; font-weight: 600;
}
.oy-rtab-ic { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 30px; border-radius: 999px; transition: background .15s, transform .12s; }
.oy-rtab-lbl { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oy-rtabbar a:active .oy-rtab-ic { transform: scale(.92); }
.oy-rtabbar a.on { color: var(--r-ink); font-weight: 800; }
.oy-rtabbar a.on .oy-rtab-ic { background: var(--r-lime); color: #111; }
.oy-rtabbar a.on svg { stroke: currentColor; }
.oy-rtab-badge {
  position: absolute; top: -5px; inset-inline-end: 4px; min-width: 20px; height: 20px; box-sizing: border-box; padding: 0 5px;
  border-radius: 999px; background: #E0241B; color: #fff; font-size: 12px; font-weight: 800; line-height: 20px; text-align: center;
  box-shadow: 0 0 0 2px #F9F9FB;
}

/* The install chip (KAN-7/19) floats above the tab bar. */
.oy-install-chip { bottom: calc(var(--r-tab-h) + var(--r-safe-b) + 14px); min-height: 44px; padding: 10px 18px; font-size: 15px; }

/* ---- Cards ---- */
.oy-rcard { background: var(--r-card); border: 0; border-radius: 18px; padding: 16px; box-shadow: var(--r-shadow); }
.oy-rcard-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.oy-rcard-num { font-size: 15px; font-weight: 700; color: var(--r-ink-3); font-variant-numeric: tabular-nums; }
.oy-rcard-cod { flex: 0 0 auto; padding: 6px 12px; border-radius: 999px; background: var(--r-green-bg); color: var(--r-green); font-size: 15px; font-weight: 800; white-space: nowrap; }
.oy-rcard-area { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 8px; font-size: 16px; font-weight: 500; line-height: 1.4; color: var(--r-ink); }
.oy-rcard-area svg { flex: 0 0 auto; margin-top: 2px; color: var(--r-green); }
.oy-rcard-items { margin-bottom: 12px; font-size: 15px; line-height: 1.45; color: var(--r-ink-2); }
.oy-rcard-meta { margin-top: 6px; font-size: 14px; font-weight: 500; color: var(--r-ink-3); }
.oy-rcard-done { opacity: 1; }

/* The one big button of a card: Accept, Picked up, Delivered. */
.oy-rcard-accept {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 54px; box-sizing: border-box;
  padding: 14px 18px; border: 0; border-radius: 14px; background: var(--r-lime); color: #111;
  font-size: 18px; font-weight: 800; line-height: 1.2; cursor: pointer; transition: transform .12s, filter .12s;
}
.oy-rcard-accept:hover { background: var(--r-lime); color: #111; }
.oy-rcard-accept:active:not(:disabled) { transform: scale(.98); filter: brightness(.93); }
.oy-rcard-accept:disabled { opacity: 1; background: #E5E5EA; color: #6C6C72; cursor: not-allowed; }

/* Call / Navigate: tinted by default; rider-flow.css colours them by what they do. */
.oy-rcall {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; box-sizing: border-box;
  padding: 10px 16px; border-radius: 14px; background: var(--r-fill); color: var(--r-ink);
  font-size: 16px; font-weight: 700; text-decoration: none; transition: transform .12s, filter .12s;
}
.oy-rcall:active { transform: scale(.97); filter: brightness(.94); }
.oy-rcall svg { flex: 0 0 auto; }

/* Shopping list */
.oy-rlist-title { margin: 16px 2px 8px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--r-ink-3); }
.oy-rlist { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.oy-rlist li { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; background: var(--r-fill); font-size: 16px; color: var(--r-ink); }
.oy-rlist-qty { flex: 0 0 auto; min-width: 30px; font-weight: 800; color: var(--r-green); }
.oy-rlist em { font-style: normal; font-size: 14px; color: var(--r-ink-3); }

/* Empty screens say what happens next. */
.oy-rempty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 36px 20px; text-align: center; color: var(--r-ink-2); background: var(--r-card); border-radius: 18px; box-shadow: var(--r-shadow); }
.oy-rempty-ic { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin-bottom: 6px; border-radius: 50%; background: var(--r-green-bg); color: var(--r-green); }
.oy-rempty svg { margin: 0; color: inherit; }
.oy-rempty p { margin: 0; font-size: 18px; font-weight: 700; color: var(--r-ink); }
.oy-rempty small { display: block; max-width: 300px; font-size: 15px; line-height: 1.45; color: var(--r-ink-2); }
.oy-rempty-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 10px; padding: 0 22px; border-radius: 14px; background: var(--r-lime); color: #111; font-size: 16px; font-weight: 800; text-decoration: none; }

.oy-rider-body .oy-flash { margin-bottom: 14px; padding: 13px 16px; border-radius: 14px; font-size: 15px; font-weight: 600; line-height: 1.4; }
.oy-rider-body .oy-flash.success { background: var(--r-green-bg); color: #2B5A0C; border-color: #CFE7A6; }
.oy-rider-body .oy-flash.error { background: var(--r-red-bg); color: #9B1C14; border-color: #F5C2BE; }

.oy-alerts-btn { min-height: 48px; border: 0; border-radius: 14px; background: var(--r-lime); color: #111; font-size: 16px; font-weight: 800; }
.oy-alerts-btn:hover { background: var(--r-lime); color: #111; }

/* History count */
.oy-rstats { display: flex; gap: 12px; margin-bottom: 14px; }
.oy-rstat { flex: 1; padding: 16px; text-align: center; background: var(--r-card); border: 0; border-radius: 16px; box-shadow: var(--r-shadow); }
.oy-rstat-num { display: block; font-size: 30px; font-weight: 800; line-height: 1.1; color: var(--r-ink); }
.oy-rstat-lbl { display: block; margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--r-ink-2); }

.oy-rstar { color: #F2B300; }
.oy-rmute { color: var(--r-ink-3); font-weight: 600; }

/* ---- Profile: photo, name and phone on top, then grouped rows ---- */
.oy-rprofile { flex-direction: column; gap: 10px; margin-bottom: 16px; padding: 22px 16px; text-align: center; border: 0; border-radius: 18px; box-shadow: var(--r-shadow); }
.oy-ravatar { width: 56px; height: 56px; font-size: 22px; flex: 0 0 auto; overflow: hidden; }
.oy-ravatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.oy-rprofile .oy-rprofile-big { width: 88px; height: 88px; font-size: 34px; }
.oy-rprofile strong { font-size: 22px; font-weight: 800; }
.oy-rprofile span { font-size: 16px; color: var(--r-ink-2); }
.oy-rinfo { margin-bottom: 16px; padding: 0 16px; border: 0; border-radius: 16px; box-shadow: var(--r-shadow); }
.oy-rinfo-row { gap: 12px; min-height: 52px; box-sizing: border-box; padding: 12px 0; font-size: 16px; }
.oy-rinfo-row > span { font-weight: 500; color: var(--r-ink-2); }
.oy-rinfo-row strong { text-align: end; font-weight: 700; }
.oy-rinfo-row .oy-rstar { color: #F2B300; }
.oy-rbadge { padding: 4px 12px; font-size: 14px; }
/* Settings (KAN-28): an iOS grouped list. The Order sound switch is the drive-mode switch
   (rider-wallet.css) at the size of a settings row; the whole row's text toggles it too. */
.oy-rset-title { scroll-margin-top: calc(var(--r-top-h) + var(--r-safe-t) + 8px); }
.oy-rset { margin-bottom: 8px; padding: 0 16px; background: var(--r-card); border-radius: 16px; box-shadow: var(--r-shadow); }
.oy-rset-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 60px; box-sizing: border-box; padding: 12px 0; }
.oy-rset-row + .oy-rset-row { border-top: 1px solid var(--r-sep); }
.oy-rset-what { flex: 1; min-width: 0; cursor: pointer; }
.oy-rset-what strong { display: block; font-size: 17px; font-weight: 700; color: var(--r-ink); }
.oy-rset-what span { display: block; margin-top: 2px; font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--r-ink-2); }
.oy-rswitch.oy-rswitch-sm { flex: 0 0 auto; width: 62px; height: 38px; }
.oy-rswitch-sm .oy-rswitch-knob { top: 3px; inset-inline-start: 3px; width: 32px; height: 32px; }
.oy-rswitch-sm.is-on .oy-rswitch-knob { inset-inline-start: 27px; }
.oy-rswitch-sm:disabled { opacity: .5; cursor: not-allowed; }
.oy-rset-test {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border: 0; border-radius: 12px; background: var(--r-green-bg); color: var(--r-green);
  font-size: 16px; font-weight: 700; cursor: pointer; transition: transform .12s;
}
.oy-rset-test:active:not(:disabled) { transform: scale(.97); }
.oy-rset-test:disabled { background: var(--r-fill); color: var(--r-ink-3); cursor: not-allowed; }
.oy-rset-volume { margin: 0; padding: 0 0 14px; font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--r-amber); }
.oy-rset-volume[hidden] { display: none; }
.oy-rset-note { margin: 0 4px 18px; font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--r-ink-3); }

.oy-rlogout { margin-top: 12px; text-align: center; }
.oy-rlogout button { min-height: 48px; padding: 10px 20px; font-size: 16px; font-weight: 700; color: var(--r-red); }
.oy-rider-body .oy-auth-btn { min-height: 52px; border-radius: 14px; background: var(--r-lime); color: #111; font-size: 17px; font-weight: 800; transition: transform .12s, filter .12s; }
.oy-rider-body .oy-auth-btn:hover { background: var(--r-lime); color: #111; }
.oy-rider-body .oy-auth-btn:active { transform: scale(.98); filter: brightness(.94); }

/* ---- Sign-up and "under review" ---- */
.oy-rider-body .oy-auth { min-height: 100vh; min-height: 100dvh; box-sizing: border-box; padding: calc(24px + var(--r-safe-t)) 16px calc(32px + var(--r-safe-b)); background: var(--r-bg); }
.oy-rider-body .oy-auth-card { padding: 26px 20px 24px; border: 0; border-radius: 20px; box-shadow: var(--r-shadow); }
.oy-rider-body .oy-auth-brand img { height: 56px; }
.oy-rider-body .oy-auth-title { font-size: 26px; }
.oy-rider-body .oy-auth-sub { font-size: 16px; line-height: 1.45; color: var(--r-ink-2); }
.oy-rider-body .oy-auth-foot { font-size: 16px; }
.oy-rider-body .oy-field label { font-size: 15px; font-weight: 600; }
/* 16px+ in a field, or iOS zooms the page in on focus. */
.oy-rider-body .oy-field input { min-height: 50px; padding: 12px 14px; border: 1px solid transparent; border-radius: 12px; background: var(--r-fill); font-size: 17px; }
.oy-rider-body .oy-field input:focus { background: var(--r-card); border-color: var(--r-lime); box-shadow: 0 0 0 3px rgba(166, 206, 57, .3); }
