/* ═══════════════════════════════════════
   ONBOARDING OVERLAY
═══════════════════════════════════════ */
.onboarding-overlay {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(28,18,8,0.72);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.25rem;
  animation: fadeIn 0.25s ease;
}
.onboarding-overlay.hidden { display: none; }

.onboarding-card {
  background: var(--surface);
  border-radius: 18px;
  width: 100%; max-width: 480px;
  max-height: 92vh; overflow-y: auto;
  box-shadow: 0 24px 80px rgba(28,18,8,0.30);
  border: 1px solid var(--border);
  animation: slideUp 0.22s ease;
  overflow: hidden;
}

/* Header gradient band */
.ob-head {
  background: linear-gradient(135deg, var(--forest) 0%, var(--yellow) 100%);
  padding: 2rem 2rem 1.5rem;
  text-align: center;
  position: relative;
}
.ob-step-dots {
  display: flex; justify-content: center; gap: 6px; margin-bottom: 1.25rem;
}
.ob-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transition: all 0.25s ease;
}
.ob-dot.active { background: #fff; width: 20px; border-radius: 3px; }
.ob-dot.done   { background: rgba(255,255,255,0.55); }

.ob-icon { font-size: 42px; display: block; margin-bottom: 10px; }
.ob-title {
  font-family: var(--serif);
  font-size: 17px; font-weight: 500;
  color: #fff; letter-spacing: 0.10em;
  margin-bottom: 6px;
}
.ob-subtitle { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.55; }

/* Body */
.ob-body { padding: 1.5rem 1.75rem 1.75rem; }

.ob-progress {
  height: 3px; background: var(--border);
  border-radius: 99px; margin-bottom: 1.5rem; overflow: hidden;
}
.ob-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--forest), var(--yellow));
  border-radius: 99px;
  transition: width 0.4s cubic-bezier(0.16,1,0.3,1);
}

/* Form fields inside onboarding */
.ob-field { margin-bottom: 14px; }
.ob-field:last-of-type { margin-bottom: 0; }
.ob-label {
  display: block; font-size: 10.5px; font-weight: 500;
  color: var(--text-muted); letter-spacing: 0.07em;
  text-transform: uppercase; margin-bottom: 5px;
}
.ob-input, .ob-select {
  width: 100%; padding: 10px 12px;
  border: 1px solid var(--border); border-radius: 8px;
  font-size: 13.5px; font-family: var(--sans);
  background: var(--surface2); color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.ob-input:focus, .ob-select:focus {
  outline: none; border-color: var(--yellow);
  box-shadow: 0 0 0 3px var(--yellow-bg);
}
.ob-input::placeholder { color: var(--text-dim); }

.ob-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Success check list */
.ob-checklist { list-style: none; margin: 1rem 0; }
.ob-checklist li {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; color: var(--text-muted);
  padding: 8px 0; border-bottom: 1px solid var(--border);
}
.ob-checklist li:last-child { border-bottom: none; }
.ob-check-icon {
  width: 20px; height: 20px; flex-shrink: 0;
  border-radius: 50%; display: flex;
  align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}
.ob-check-icon.done { background: var(--success); color: #fff; }
.ob-check-icon.todo { background: var(--border); color: var(--text-dim); }

/* Footer actions */
.ob-footer {
  display: flex; gap: 10px; justify-content: space-between;
  align-items: center; margin-top: 1.5rem;
  padding-top: 1.25rem; border-top: 1px solid var(--border);
}
.ob-skip { font-size: 12px; color: var(--text-dim); cursor: pointer; background: none; border: none; font-family: var(--sans); transition: color 0.15s; }
.ob-skip:hover { color: var(--text-muted); }
.ob-next {
  padding: 10px 24px; background: var(--orange); color: #fff;
  border: none; border-radius: 8px; font-size: 14px;
  font-weight: 600; font-family: var(--sans); cursor: pointer;
  display: flex; align-items: center; gap: 7px;
  transition: background 0.15s, transform 0.12s;
  box-shadow: 0 3px 12px rgba(200,90,30,0.28);
}
.ob-next:hover { background: var(--orange-light); transform: translateY(-1px); }
.ob-next:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.ob-back {
  padding: 10px 16px; background: var(--surface2);
  border: 1px solid var(--border); border-radius: 8px;
  font-size: 13px; color: var(--text-muted); font-family: var(--sans);
  cursor: pointer; transition: all 0.15s;
}
.ob-back:hover { border-color: var(--border2); color: var(--text); }

.ob-tip {
  background: var(--gold-bg, rgba(201,151,74,0.08));
  border: 1px solid var(--gold-border, rgba(201,151,74,0.22));
  border-radius: 8px; padding: 10px 14px;
  font-size: 12px; color: var(--text-muted);
  line-height: 1.55; margin-top: 12px;
  display: flex; gap: 8px; align-items: flex-start;
}
.ob-tip-icon { font-size: 14px; flex-shrink: 0; margin-top: 1px; }
