/* ============================================================
   ONBOARDING VISUAL SYSTEM
   Shared by login.html, join.html (role picker) and the
   professional / business onboarding wizards. Implements the
   dark split-panel look (reference: onboarding Figma) on top of
   the existing join.css / login.css component set -- field
   markup, ids and JS hooks are untouched, this only re-skins
   the surrounding chrome.
   ============================================================ */

:root{
  --ob-cream:#FAF7F2;
  --ob-teal-0:#0A1714;
  --ob-teal-1:#0F2620;
  --ob-orange-0:#1A0D06;
  --ob-orange-1:#2B1409;
}

/* ---------- shared shell: dark aside + light main ---------- */
.ob-shell{min-height:100vh;min-height:100svh;display:flex;background:var(--ob-cream);}

.ob-side{
  width:400px;flex-shrink:0;position:relative;overflow:hidden;
  display:flex;flex-direction:column;color:rgba(255,255,255,.92);
  padding:40px 40px 28px;
}
.ob-side.theme-teal{background:radial-gradient(720px 520px at 85% 105%,rgba(15,118,109,.35),transparent 60%),linear-gradient(160deg,var(--ob-teal-1),var(--ob-teal-0));}
.ob-side.theme-orange{background:radial-gradient(720px 520px at 85% 105%,rgba(237,117,70,.30),transparent 60%),linear-gradient(160deg,var(--ob-orange-1),var(--ob-orange-0));}

.ob-side-logo{display:inline-flex;margin-bottom:34px;}
.ob-side-logo img{height:22px;width:auto;display:block;}

.ob-eyebrow{font-size:11.5px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;margin-bottom:10px;}
.theme-teal .ob-eyebrow{color:var(--gold);}
.theme-orange .ob-eyebrow{color:var(--orange);}

.ob-side h1,.ob-side h2{font-family:'Cabinet Grotesk',sans-serif;font-weight:400;color:#fff;font-size:25px;line-height:1.25;margin-bottom:10px;}
.ob-side-sub{font-size:12.5px;line-height:1.55;color:rgba(255,255,255,.55);margin-bottom:30px;max-width:280px;}

.ob-step-list{display:flex;flex-direction:column;gap:0;margin-top:4px;}
.ob-step-row{display:flex;align-items:center;gap:14px;padding:9px 0;position:relative;}
.ob-step-row .ob-step-circle{width:26px;height:26px;border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:600;font-family:'Cabinet Grotesk',sans-serif;border:1.5px solid rgba(255,255,255,.18);color:rgba(255,255,255,.4);transition:all .25s var(--ease);}
.ob-step-row .ob-step-label{font-size:13px;font-weight:500;color:rgba(255,255,255,.4);font-family:'Cabinet Grotesk',sans-serif;transition:color .25s var(--ease);}
.ob-step-row .ob-step-optional{font-size:9.5px;text-transform:uppercase;letter-spacing:.08em;color:rgba(255,255,255,.3);margin-left:6px;}
.ob-step-row.done .ob-step-circle{border-color:transparent;color:#fff;}
.theme-teal .ob-step-row.done .ob-step-circle{background:var(--teal-16);color:var(--teal);border-color:transparent;}
.theme-orange .ob-step-row.done .ob-step-circle{background:var(--orange-10);color:var(--orange);border-color:transparent;}
.ob-step-row.active .ob-step-label{color:#fff;font-weight:600;}
.theme-teal .ob-step-row.active .ob-step-circle{background:var(--teal);border-color:var(--teal);color:#fff;}
.theme-orange .ob-step-row.active .ob-step-circle{background:var(--orange);border-color:var(--orange);color:#fff;}

.ob-side-foot{margin-top:auto;padding-top:24px;font-size:11.5px;color:rgba(255,255,255,.28);}

/* login promo variant: stats + activity list instead of a step rail */
.ob-stats{display:flex;gap:26px;margin:6px 0 26px;}
.ob-stat b{display:block;font-family:'Cabinet Grotesk',sans-serif;font-size:18px;font-weight:600;color:#fff;}
.ob-stat span{display:block;font-size:11px;color:rgba(255,255,255,.45);margin-top:2px;}
.ob-recent-label{font-size:11px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:rgba(255,255,255,.35);margin-bottom:12px;}
.ob-recent-row{display:flex;align-items:center;gap:10px;padding:8px 0;}
.ob-recent-avatar{width:32px;height:32px;border-radius:50%;background:linear-gradient(135deg,var(--teal),var(--gold));flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:600;color:#0A1714;font-family:'Cabinet Grotesk',sans-serif;}
.ob-recent-name{font-size:12px;font-weight:600;color:#fff;}
.ob-recent-role{font-size:11.5px;color:rgba(255,255,255,.4);}

/* ---------- main / right side ---------- */
.ob-main{flex:1;min-width:0;display:flex;flex-direction:column;background:var(--ob-cream);}
.ob-main-top{display:flex;align-items:center;justify-content:flex-end;gap:18px;padding:26px 44px 0;font-size:12.5px;color:var(--navy-65);}
.ob-main-top a{color:var(--teal);font-weight:600;}
.ob-main-body{flex:1;display:flex;align-items:center;justify-content:center;padding:20px 30px 50px;}
.ob-main-body .join-wrap,.ob-main-body .login-wrap{width:100%;max-width:440px;padding:0;min-height:0;}
.ob-main-body .login-card{background:transparent;box-shadow:none;padding:0;max-width:100%;border-radius:0;}

/* mobile sticky head: logo + step counter + progress bar (shown < 900px) */
.ob-mobile-head{display:none;}
@media (max-width:900px){
  .ob-side{display:none;}
  .ob-shell{display:block;}
  .ob-mobile-head{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;position:sticky;top:0;background:var(--ob-cream);z-index:20;border-bottom:1px solid var(--navy-06);}
  .ob-mobile-head img{height:18px;}
  .ob-mobile-step-count{font-size:11px;font-weight:600;color:var(--navy-45);}
  .ob-mobile-progress{height:3px;background:var(--navy-06);}
  .ob-mobile-progress-bar{height:100%;width:0;transition:width .35s var(--ease);}
  .theme-teal-bar .ob-mobile-progress-bar{background:var(--teal);}
  .theme-orange-bar .ob-mobile-progress-bar{background:var(--orange);}
  .ob-main-top{display:none;}
  .ob-main-body{padding:24px 18px 40px;}
}

/* ---------- role-picker cards ("How will you use ProfilePro?") ----------
   These live inside the existing centered .join-wrap (max-width:680px,
   shared by every other join.html panel) rather than a full-bleed layout,
   so the choice/business/welcome panels keep behaving exactly as before --
   only the card look changes, to match the reference image's icon-chip +
   two-tone (teal/orange) card styling. */
.join-choice-card .ob-chip{width:38px;height:38px;border-radius:11px;display:flex;align-items:center;justify-content:center;margin-bottom:14px;background:var(--teal-08);color:var(--teal);}
.join-choice-card.biz .ob-chip{background:var(--orange-10);color:var(--orange);}
.join-choice-card.biz .jc-cta{color:var(--orange);}
.join-choice-card.biz:hover{border-color:var(--orange);}
