:root{
  --role-auth-text:#111827;
  --role-auth-muted:#667085;
  --role-auth-line:rgba(229,231,235,.95);
  --role-auth-card:#ffffff;
  --role-auth-cream:#fff8ef;
  --role-auth-shadow:0 30px 90px rgba(17,24,39,.13);
  --role-auth-soft-shadow:0 18px 50px rgba(17,24,39,.09);
}
body.auth-fullscreen{background:var(--role-auth-cream)!important;min-height:100dvh;overflow:hidden!important}.role-auth-page{min-height:100dvh;background:radial-gradient(circle at 0 0,rgba(245,124,0,.10),transparent 28%),radial-gradient(circle at 100% 0,rgba(17,24,39,.08),transparent 24%),var(--role-auth-cream);font-family:Roboto,Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--role-auth-text);overflow:hidden}.role-auth-page *{box-sizing:border-box}.role-auth-page a{text-decoration:none}.role-auth-page input,.role-auth-page button,.role-auth-page textarea,.role-auth-page select{font:inherit}.role-auth-page svg{width:20px;height:20px}.role-auth--vendor{--role-accent:#f57c00;--role-accent-2:#ff9f2e;--role-accent-dark:#7c2d12;--role-accent-deep:#2b1708;--role-bg-tint:rgba(245,124,0,.18);--role-bg-strong:rgba(245,124,0,.72)}.role-auth--rider{--role-accent:#d32f2f;--role-accent-2:#ff5c5c;--role-accent-dark:#7f1d1d;--role-accent-deep:#2b0b0b;--role-bg-tint:rgba(211,47,47,.18);--role-bg-strong:rgba(211,47,47,.72)}.role-auth-shell{display:grid;grid-template-columns:minmax(360px,42vw) minmax(460px,1fr);width:100%;height:100dvh;overflow:hidden}.role-auth-visual{position:relative;overflow:hidden;background:var(--role-accent-deep);color:#fff;padding:28px;display:flex;min-height:100dvh}.role-auth-visual::before{content:"";position:absolute;inset:0;background-image:linear-gradient(135deg,rgba(0,0,0,.18),rgba(0,0,0,.06)),var(--role-bg-image);background-size:cover;background-position:center;filter:saturate(1.04);transform:scale(1.02)}.role-auth-visual::after{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(0,0,0,.60),rgba(0,0,0,.30) 42%,var(--role-bg-strong));mix-blend-mode:multiply}.role-auth-pattern{position:absolute;inset:0;z-index:1;opacity:.38;background:radial-gradient(circle at 20% 12%,rgba(255,255,255,.22),transparent 24%),radial-gradient(circle at 80% 86%,var(--role-bg-tint),transparent 28%),linear-gradient(135deg,rgba(255,255,255,.09) 0 1px,transparent 1px);background-size:auto,auto,54px 54px}.role-auth-visual-inner{position:relative;z-index:2;display:flex;flex-direction:column;justify-content:space-between;width:100%;min-height:calc(100dvh - 56px)}.role-auth-top{display:flex;align-items:center;justify-content:space-between;gap:16px}.role-auth-logo{display:inline-flex;align-items:center}.role-auth-logo img{display:block;width:min(160px,18vw);max-height:54px;object-fit:contain;filter:drop-shadow(0 12px 24px rgba(0,0,0,.22))}.role-auth-home{display:inline-flex;align-items:center;justify-content:center;min-height:42px;border:1px solid rgba(255,255,255,.18);border-radius:16px;background:rgba(255,255,255,.10);backdrop-filter:blur(16px);color:#fff;padding:0 14px;font-size:13px;font-weight:900}.role-auth-copy{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;margin:auto;padding:28px 12px;max-width:560px}.role-auth-kicker{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(255,255,255,.10);backdrop-filter:blur(18px);padding:9px 13px;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.18em;color:rgba(255,255,255,.78)}.role-auth-title{margin:22px 0 0;font-size:clamp(42px,4.8vw,70px);line-height:.9;letter-spacing:-.085em;font-weight:1000;text-wrap:balance}.role-auth-subtitle{max-width:480px;margin:20px auto 0;color:rgba(255,255,255,.70);font-size:15px;line-height:1.75;font-weight:650}.role-auth-figure{margin:28px auto 0;display:grid;place-items:center;width:min(260px,45%);aspect-ratio:1.15;border:1px solid rgba(255,255,255,.12);border-radius:34px;background:rgba(255,255,255,.08);backdrop-filter:blur(12px);box-shadow:0 24px 60px rgba(0,0,0,.20)}.role-auth-figure img{display:block;max-width:78%;max-height:78%;object-fit:contain;filter:drop-shadow(0 18px 28px rgba(0,0,0,.22))}.role-auth-bottom{display:grid;gap:14px}.role-auth-trust{display:flex;gap:13px;align-items:flex-start;border:1px solid rgba(255,255,255,.14);border-radius:24px;background:rgba(255,255,255,.10);backdrop-filter:blur(16px);padding:16px}.role-auth-trust-icon{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:16px;background:rgba(255,255,255,.12);color:#fff}.role-auth-trust strong{display:block;font-size:13px;font-weight:950}.role-auth-trust span{display:block;margin-top:4px;color:rgba(255,255,255,.58);font-size:12px;line-height:1.55;font-weight:650}.role-auth-apps{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.role-auth-apps small{color:rgba(255,255,255,.62);font-size:12px;font-weight:900}.role-auth-badges{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.role-auth-badges a{display:inline-flex}.role-auth-badges img{display:block;height:42px;width:auto;max-width:100%}.role-auth-social{display:flex;gap:9px;align-items:center}.role-auth-social a{display:grid;place-items:center;width:34px;height:34px;border-radius:999px;background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.16)}.role-auth-social img{width:17px;height:17px;object-fit:contain}.role-auth-form-side{position:relative;display:flex;align-items:center;justify-content:center;min-height:100dvh;background:linear-gradient(180deg,#fff,#fff8ef);padding:32px;overflow-y:auto}.role-auth-mobile-top{display:none}.role-auth-card-wrap{width:100%;max-width:520px}.role-auth-form-card{position:relative;overflow:hidden;border:1px solid var(--role-auth-line);border-radius:32px;background:rgba(255,255,255,.94);box-shadow:var(--role-auth-shadow);padding:30px}.role-auth-form-card::before{content:"";position:absolute;left:0;right:0;top:0;height:7px;background:var(--role-accent)}.role-auth-form-head{margin-bottom:22px}.role-auth-form-head small{display:inline-flex;color:var(--role-accent);font-size:11px;font-weight:950;text-transform:uppercase;letter-spacing:.18em}.role-auth-form-head h2{margin:8px 0 0;font-size:clamp(30px,3vw,44px);line-height:1;letter-spacing:-.065em;font-weight:1000;color:#111827}.role-auth-form-head p{margin:11px 0 0;color:var(--role-auth-muted);font-size:14px;line-height:1.65;font-weight:650}.role-auth-stack{display:grid;gap:14px}.role-auth-field{display:block}.role-auth-field label,.role-auth-field > span,.role-auth-label{display:block;margin:0 0 8px;color:#667085;font-size:11px;text-transform:uppercase;letter-spacing:.16em;font-weight:950}.role-auth-input-wrap{position:relative}.role-auth-input-wrap i{position:absolute;left:16px;top:50%;transform:translateY(-50%);color:var(--role-accent);font-style:normal;z-index:2}.role-auth-input-wrap input{width:100%;min-height:56px;border:1px solid var(--role-auth-line);border-radius:20px;background:#fffaf5;padding:0 48px 0 48px;color:#111827;font-size:15px;font-weight:800;outline:0;box-shadow:0 10px 28px rgba(17,24,39,.045)}.role-auth-input-wrap input:focus{border-color:var(--role-accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--role-accent) 15%,transparent),0 10px 28px rgba(17,24,39,.045)}.role-auth-password-toggle{position:absolute;right:12px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:12px;background:transparent;color:#667085;cursor:pointer;font-weight:900}.role-auth-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:54px;border:0;border-radius:20px;background:var(--role-accent);color:#fff;padding:0 18px;font-size:14px;font-weight:950;box-shadow:0 16px 34px color-mix(in srgb,var(--role-accent) 28%,transparent);cursor:pointer}.role-auth-btn:hover{filter:brightness(.96)}.role-auth-btn-secondary{background:#fff;color:#111827;border:1px solid var(--role-auth-line);box-shadow:none}.role-auth-btn-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.role-auth-btn-row .role-auth-btn{flex:1 1 auto}.role-auth-link{color:var(--role-accent);font-weight:950}.role-auth-helper{margin:0;text-align:center;color:#667085;font-size:12px;line-height:1.65;font-weight:700}.role-auth-helper a{color:var(--role-accent);font-weight:950}.role-auth-note{border:1px solid color-mix(in srgb,var(--role-accent) 20%,#fff);background:color-mix(in srgb,var(--role-accent) 8%,#fff);border-radius:18px;padding:13px 14px;color:#344054;font-size:12px;line-height:1.6;font-weight:700;text-align:center}.role-auth-flash{border-radius:18px;padding:13px 14px;font-size:13px;line-height:1.55;font-weight:800}.role-auth-flash.error{border:1px solid #fecaca;background:#fef2f2;color:#991b1b}.role-auth-flash.success{border:1px solid #bbf7d0;background:#f0fdf4;color:#166534}.role-auth-mini-app{display:none}.role-auth-mini-app h3{margin:0 0 10px;color:#111827;text-align:center;font-size:13px;font-weight:950}.role-auth-mini-app .role-auth-badges{justify-content:center}.role-auth-mini-app .role-auth-badges img{height:44px}.role-auth-form-footer{margin-top:16px;text-align:center;color:#667085;font-size:12px;line-height:1.7;font-weight:700}.role-auth-form-footer a{color:var(--role-accent);font-weight:950}@media(max-width:1180px){.role-auth-shell{grid-template-columns:minmax(320px,38vw) minmax(420px,1fr)}.role-auth-visual{padding:24px}.role-auth-form-side{padding:24px}.role-auth-title{font-size:clamp(38px,4.2vw,58px)}}@media(max-width:900px){body.auth-fullscreen{overflow:auto!important}.role-auth-page{min-height:100dvh;overflow:auto}.role-auth-shell{display:block;height:auto;min-height:100dvh;overflow:visible}.role-auth-visual{display:none}.role-auth-form-side{display:block;min-height:100dvh;padding:0;background:var(--role-auth-cream);overflow:visible}.role-auth-form-side::before{content:"";position:fixed;inset:0;background-image:linear-gradient(135deg,rgba(0,0,0,.68),var(--role-bg-strong)),var(--role-bg-image);background-size:cover;background-position:center;z-index:0}.role-auth-mobile-top{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px}.role-auth-mobile-top .role-auth-logo img{width:min(160px,46vw);max-height:48px;filter:drop-shadow(0 10px 20px rgba(0,0,0,.26))}.role-auth-mobile-top .role-auth-home{min-height:40px;padding:0 14px;border-radius:16px;background:rgba(255,255,255,.15);color:#fff}.role-auth-card-wrap{position:relative;z-index:1;max-width:560px;margin:0 auto;padding:12px 14px 22px}.role-auth-form-card{border-radius:28px;padding:22px 18px;box-shadow:0 18px 48px rgba(17,24,39,.20);background:rgba(255,255,255,.96);backdrop-filter:blur(14px)}.role-auth-form-head{text-align:center;margin-bottom:18px}.role-auth-form-head h2{font-size:32px}.role-auth-form-head p{font-size:13px}.role-auth-input-wrap input{min-height:54px;font-size:16px}.role-auth-btn{min-height:52px}.role-auth-btn-row{display:flex!important;flex-direction:row!important}.role-auth-btn-row .role-auth-btn{flex:1 1 0;min-width:0}.role-auth-mini-app{display:block;margin-top:14px;border:1px solid rgba(255,255,255,.18);border-radius:22px;background:rgba(255,255,255,.92);padding:14px;box-shadow:0 12px 32px rgba(17,24,39,.14)}}


/* Batch C: Vendor/Rider approval-completion and onboarding status screens */
.role-auth-completion{gap:16px}
.role-auth-status-card{display:flex;gap:15px;align-items:flex-start;border:1px solid color-mix(in srgb,var(--role-accent) 18%,#fff);border-radius:24px;background:linear-gradient(135deg,color-mix(in srgb,var(--role-accent) 8%,#fff),#fff 58%,#fff8ef);padding:18px;box-shadow:0 16px 34px rgba(17,24,39,.07)}
.role-auth-status-icon{display:grid;place-items:center;flex:0 0 50px;width:50px;height:50px;border-radius:18px;background:var(--role-accent);color:#fff;box-shadow:0 16px 30px color-mix(in srgb,var(--role-accent) 22%,transparent)}
.role-auth-status-icon svg{width:23px;height:23px}
.role-auth-status-card small{display:block;color:var(--role-accent);font-size:10px;font-weight:950;letter-spacing:.18em;text-transform:uppercase}
.role-auth-status-card strong{display:block;margin-top:6px;color:#111827;font-size:26px;line-height:1;font-weight:1000;letter-spacing:-.05em}
.role-auth-status-card p{margin:9px 0 0;color:#667085;font-size:13px;line-height:1.65;font-weight:700}
.role-auth-progress-list{display:grid;gap:10px}
.role-auth-progress-row{display:flex;gap:13px;align-items:flex-start;border:1px solid var(--role-auth-line);border-radius:20px;background:#fff;padding:13px 14px;box-shadow:0 10px 24px rgba(17,24,39,.045)}
.role-auth-progress-row>span{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:15px;background:#f3f4f6;color:#667085}
.role-auth-progress-row.is-done>span{background:#ecfdf5;color:#047857}
.role-auth-progress-row.is-active>span{background:color-mix(in srgb,var(--role-accent) 12%,#fff);color:var(--role-accent)}
.role-auth-progress-row strong{display:block;color:#111827;font-size:13px;font-weight:950}
.role-auth-progress-row small{display:block;margin-top:4px;color:#667085;font-size:12px;line-height:1.45;font-weight:650}
.role-auth-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.role-auth-info-grid div{border:1px solid var(--role-auth-line);border-radius:18px;background:#fff;padding:12px 13px;box-shadow:0 10px 24px rgba(17,24,39,.04)}
.role-auth-info-grid small{display:block;color:#667085;font-size:10px;font-weight:950;letter-spacing:.14em;text-transform:uppercase}
.role-auth-info-grid strong{display:block;margin-top:5px;color:#111827;font-size:13px;font-weight:950;word-break:break-word}
@media(max-width:900px){
  .role-auth-completion{gap:13px}
  .role-auth-status-card{padding:15px;border-radius:22px}
  .role-auth-status-icon{width:44px;height:44px;flex-basis:44px;border-radius:16px}
  .role-auth-status-card strong{font-size:22px}
  .role-auth-status-card p{font-size:12px;line-height:1.55}
  .role-auth-progress-row{padding:12px;border-radius:18px}
  .role-auth-info-grid{grid-template-columns:1fr}
}


/* Role auth desktop polish: keep app badges/social visible at 100% zoom, remove secure-card space, and match customer auth input sizing. */
@media (min-width: 901px) {
  .role-auth-visual { padding: 20px 22px !important; }
  .role-auth-visual-inner { min-height: calc(100dvh - 40px) !important; gap: 12px !important; }
  .role-auth-logo img { width: min(145px,15vw) !important; max-height: 48px !important; }
  .role-auth-home { min-height: 38px !important; border-radius: 14px !important; padding: 0 12px !important; font-size: 12px !important; }
  .role-auth-copy { flex:1 1 auto !important; justify-content:center !important; margin:0 auto !important; padding:10px 8px !important; max-width:520px !important; }
  .role-auth-kicker { padding:7px 11px !important; font-size:10px !important; letter-spacing:.15em !important; }
  .role-auth-title { margin-top:14px !important; font-size:clamp(32px,3.6vw,54px) !important; line-height:.96 !important; letter-spacing:-.065em !important; }
  .role-auth-subtitle { max-width:430px !important; margin-top:12px !important; font-size:13px !important; line-height:1.5 !important; }
  .role-auth-figure { width:min(180px,36%) !important; margin-top:14px !important; border-radius:24px !important; }
  .role-auth-figure img { max-width:82% !important; max-height:82% !important; }
  .role-auth-bottom { flex:0 0 auto !important; gap:8px !important; }
  .role-auth-trust { display:none !important; }
  .role-auth-apps { justify-content:center !important; gap:9px !important; padding-top:8px !important; border-top:1px solid rgba(255,255,255,.14) !important; }
  .role-auth-apps small { flex-basis:100% !important; text-align:center !important; font-size:10.5px !important; letter-spacing:.12em !important; text-transform:uppercase !important; }
  .role-auth-badges { justify-content:center !important; gap:8px !important; }
  .role-auth-badges img { height:34px !important; }
  .role-auth-social { justify-content:center !important; gap:8px !important; }
  .role-auth-social a { width:28px !important; height:28px !important; }
  .role-auth-social img { width:14px !important; height:14px !important; }
  .role-auth-form-card { padding:26px !important; border-radius:30px !important; }
  .role-auth-form-head { margin-bottom:18px !important; }
  .role-auth-form-head h2 { font-size:clamp(28px,2.45vw,38px) !important; line-height:1.02 !important; }
  .role-auth-form-head p { font-size:13px !important; line-height:1.55 !important; }
  .role-auth-stack { gap:12px !important; }
  .role-auth-field label,.role-auth-field > span,.role-auth-label { margin-bottom:7px !important; font-size:11px !important; }
  .role-auth-input-wrap input { min-height:52px !important; border-radius:18px !important; font-size:14px !important; }
  .role-auth-password-toggle { width:32px !important; height:32px !important; right:11px !important; font-size:12px !important; }
  .role-auth-btn { min-height:50px !important; border-radius:18px !important; font-size:14px !important; }
  .role-auth-note,.role-auth-flash { border-radius:16px !important; padding:11px 12px !important; font-size:12px !important; }
}
@media (min-width: 901px) and (max-height: 780px) {
  .role-auth-title { font-size:clamp(30px,3.2vw,48px) !important; }
  .role-auth-subtitle { font-size:12.5px !important; line-height:1.45 !important; }
  .role-auth-figure { width:min(150px,32%) !important; margin-top:10px !important; }
  .role-auth-badges img { height:31px !important; }
  .role-auth-social a { width:26px !important; height:26px !important; }
}


/* Upload validation notice polish: keep image-size errors below file fields, never as a narrow grid column. */
.role-auth-page .cn-image-upload-notice,
.vendorAuthPage .cn-image-upload-notice,
.riderAuthPage .cn-image-upload-notice,
.va-right .cn-image-upload-notice,
.riderField .cn-image-upload-notice,
.field .cn-image-upload-notice {
  display: none;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  clear: both !important;
  margin: 10px 0 0 !important;
  padding: 12px 14px !important;
  border-radius: 14px !important;
  line-height: 1.45 !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  text-align: left !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}
.role-auth-page .cn-image-upload-notice[data-show="1"],
.vendorAuthPage .cn-image-upload-notice[data-show="1"],
.riderAuthPage .cn-image-upload-notice[data-show="1"],
.va-right .cn-image-upload-notice[data-show="1"],
.riderField .cn-image-upload-notice[data-show="1"],
.field .cn-image-upload-notice[data-show="1"] {
  display: block !important;
}
.role-auth-page .cn-image-upload-notice.is-error,
.vendorAuthPage .cn-image-upload-notice.is-error,
.riderAuthPage .cn-image-upload-notice.is-error,
.va-right .cn-image-upload-notice.is-error,
.riderField .cn-image-upload-notice.is-error,
.field .cn-image-upload-notice.is-error {
  background: #fff1f2 !important;
  color: #9f1239 !important;
  border: 1px solid #fecdd3 !important;
}
.va-right .grid > .cn-image-upload-notice,
.riderGrid > .cn-image-upload-notice {
  grid-column: 1 / -1 !important;
}
@media (max-width: 920px) {
  .role-auth-page .cn-image-upload-notice,
  .vendorAuthPage .cn-image-upload-notice,
  .riderAuthPage .cn-image-upload-notice,
  .va-right .cn-image-upload-notice,
  .riderField .cn-image-upload-notice,
  .field .cn-image-upload-notice {
    text-align: center !important;
    font-size: 12px !important;
    padding: 10px 12px !important;
  }
}
