/* ── ONBOARDING PAGE ────────────────────────────────────── */

.ob-body { background: var(--cream); min-height: 100vh; }

.ob-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  min-height: 100vh;
}

/* ── LEFT PANEL ───────────────────────────── */
.ob-left {
  background: var(--ink);
  padding: 36px 28px;
  display: flex; flex-direction: column; gap: 32px;
  position: sticky; top: 0; height: 100vh;
  overflow: hidden;
}

.ob-logo { display:flex; align-items:center; gap:9px; text-decoration:none; }
.ob-logo .logo-name { font-family:var(--font-display); font-weight:700; font-size:20px; color:white; }

/* Progress steps */
.ob-progress { display: flex; flex-direction: column; gap: 0; flex: 1; max-height: 300px; }

.obp-step {
  display: flex; align-items: flex-start; gap: 14px;
  padding-bottom: 20px; position: relative;
  opacity: 0.4; transition: opacity 0.3s;
}

.obp-step.active { opacity: 1; }
.obp-step.done   { opacity: 0.7; }

.obp-step:not(:last-child)::before {
  content: ''; position: absolute;
  left: 11px; top: 24px;
  width: 2px; height: calc(100% - 4px);
  background: rgba(255,255,255,0.12);
}
.obp-step.done::before { background: rgba(232,136,10,0.4); }

.obp-dot {
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.4);
}
.obp-step.active .obp-dot { background: var(--amber); border-color: var(--amber); color: white; }
.obp-step.done   .obp-dot { background: rgba(232,136,10,0.3); border-color: var(--amber); color: var(--amber); }

.obp-info { flex: 1; padding-top: 2px; }
.obp-name { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.7); }
.obp-active-step.active .obp-name { color: white; }
.obp-desc { font-size: 11px; color: rgba(255,255,255,0.3); margin-top: 2px; font-family: var(--font-mono); }

/* Tip */
.ob-tip {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 16px; display: flex; gap: 12px;
}
.obt-icon { font-size: 20px; flex-shrink: 0; }
.obt-text { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.65; }

/* Decorative blobs */
.ob-decor { position: absolute; bottom: -40px; right: -40px; pointer-events: none; }
.obd-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.2; }
.obd-blob--1 { width: 200px; height: 200px; background: var(--amber); bottom: 0; right: 0; }
.obd-blob--2 { width: 150px; height: 150px; background: var(--green); bottom: 60px; right: 100px; }

/* ── RIGHT PANEL ──────────────────────────── */
.ob-right {
  padding: 60px 64px;
  display: flex; align-items: flex-start; justify-content: center;
  overflow-y: auto;
}

/* ── STEPS ────────────────────────────────── */
.ob-step {
  display: none; flex-direction: column; gap: 28px;
  width: 100%; max-width: 500px;
  animation: obStepIn 0.3s ease;
}
.ob-step.active { display: flex; }

@keyframes obStepIn {
  from { opacity:0; transform:translateX(20px); }
  to   { opacity:1; transform:translateX(0); }
}

.ob-welcome {
  font-size: 14px; font-weight: 600; color: var(--amber);
  font-family: var(--font-mono);
}

.ob-step-num { font-size: 12px; }

.ob-step-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900; color: var(--ink);
  letter-spacing: -1px; line-height: 1.1;
}

.ob-step-sub { font-size: 15px; color: var(--ink-soft); line-height: 1.6; margin-top: -8px; }

.ob-form { display: flex; flex-direction: column; gap: 16px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ── ROLE PICKER ──────────────────────────── */
.role-picker-ob { display: flex; flex-direction: column; gap: 12px; }

.rob-card {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 22px;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  cursor: pointer; text-align: left;
  transition: all 0.2s;
}

.rob-card:hover { border-color: var(--amber); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.rob-card.selected { border-color: var(--amber); background: var(--amber-light); }

.rob-emoji { font-size: 32px; flex-shrink: 0; }
.rob-title { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--ink); }
.rob-desc  { font-size: 13px; color: var(--ink-soft); margin-top: 3px; line-height: 1.5; }
.rob-arrow { margin-left: auto; font-size: 20px; color: var(--ink-muted); }
.rob-card:hover .rob-arrow { color: var(--amber); }

/* ── CATEGORY CHIPS ───────────────────────── */
.ob-cats { display: flex; flex-wrap: wrap; gap: 8px; }

.ob-cat-chip {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  background: var(--white); border: 2px solid var(--border);
  border-radius: 100px; cursor: pointer;
  font-size: 13.5px; font-weight: 500; color: var(--ink-soft);
  transition: all 0.15s;
}

.ob-cat-chip:hover { border-color: var(--amber); color: var(--amber); }
.ob-cat-chip.selected { background: var(--amber-light); border-color: var(--amber); color: var(--amber-dark); }

/* ── DOCS UPLOAD ──────────────────────────── */
.ob-docs { display: flex; flex-direction: column; gap: 10px; }

.ob-doc-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer; transition: all 0.15s;
}

.ob-doc-item:hover { border-color: var(--amber); }
.ob-doc-item.uploaded { border-color: var(--green); background: var(--green-light); }

.odi-icon { font-size: 24px; flex-shrink: 0; }
.odi-info { flex: 1; }
.odi-name { font-weight: 600; font-size: 14px; color: var(--ink); }
.odi-desc { font-size: 12px; color: var(--ink-soft); margin-top: 2px; }
.odi-status { font-size: 20px; }

/* ── MINI PLANS ───────────────────────────── */
.ob-plans { display: flex; flex-direction: column; gap: 10px; }

.ob-plan-card {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px;
  background: var(--white); border: 2px solid var(--border);
  border-radius: var(--radius-lg); cursor: pointer;
  transition: all 0.18s;
}

.ob-plan-card:hover { border-color: var(--amber); }
.ob-plan-card.selected { border-color: var(--amber); background: var(--amber-light); }
.ob-plan-card.featured { border-color: var(--amber); }

.opc-icon { font-size: 28px; flex-shrink: 0; }
.opc-name { font-weight: 700; font-size: 15px; color: var(--ink); }
.opc-desc { font-size: 12px; color: var(--ink-soft); margin-top: 2px; }
.opc-price { margin-left: auto; font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--amber); flex-shrink: 0; }
.opc-price.free { color: var(--green); font-size: 16px; }

/* ── NOTIF OPTIONS ────────────────────────── */
.ob-notif-opt {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 16px;
}

.toggle-label { display:flex; align-items:center; gap:14px; cursor:pointer; }
.toggle-input { display:none; }
.toggle-track { width:42px; height:24px; background:var(--border); border-radius:100px; position:relative; transition:background 0.2s; flex-shrink:0; }
.toggle-track::after { content:''; position:absolute; width:18px; height:18px; background:white; border-radius:50%; top:3px; left:3px; transition:transform 0.2s; box-shadow:var(--shadow-sm); }
.toggle-input:checked + .toggle-track { background:var(--amber); }
.toggle-input:checked + .toggle-track::after { transform:translateX(18px); }

/* ── NAV ──────────────────────────────────── */
.ob-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 8px; border-top: 1px solid var(--border);
}

/* ── SUCCESS ──────────────────────────────── */
.ob-success {
  align-items: center; text-align: center;
  padding: 40px 0;
}

.obs-icon  { font-size: 72px; animation: bounce 0.6s ease; }
@keyframes bounce { 0%,100%{transform:scale(1)} 50%{transform:scale(1.15)} }
.obs-title { font-family:var(--font-display); font-size:36px; font-weight:900; color:var(--ink); letter-spacing:-1px; }
.obs-desc  { font-size:15px; color:var(--ink-soft); line-height:1.7; max-width:380px; }
.obs-actions { display:flex; gap:12px; flex-wrap:wrap; justify-content:center; margin-top:8px; }

/* ── RESPONSIVE ───────────────────────────── */
@media (max-width: 900px) {
  .ob-layout { grid-template-columns: 1fr; }
  .ob-left { display: none; }
  .ob-right { padding: 40px 24px; }
}
