/* ============================================================================
   KIBO v2 — Setup wizard
   Extracted from app.css (monolith split). Token-based, see _tokens.css.
   ============================================================================ */

/* ── Setup page ──────────────────────────────────────────────────────────── */
.setup-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem 1rem;
    background: var(--bg-page);
}

.setup-card {
    background: var(--bg-surface);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow-md);
}

.setup-card h2 { margin: 0 0 0.5rem; font-size: 1.3rem; }
.setup-card .subtitle { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.75rem; }

/* Wizard progress dots */
.wizard-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 1.75rem;
}
.wizard-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    transition: background 0.2s, transform 0.2s;
    flex-shrink: 0;
}
.wizard-dot.active  { background: var(--accent); transform: scale(1.25); }
.wizard-dot.done    { background: var(--accent); opacity: 0.45; }
.wizard-line {
    flex: 1;
    height: 2px;
    background: var(--border);
    max-width: 28px;
}

/* Wizard role/referral option pills */
.wizard-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.wizard-option-pill {
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: 1.5px solid var(--border-color);
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 0.875rem;
    transition: border-color 0.15s, background 0.15s;
}
.wizard-option-pill:hover,
.wizard-option-pill.selected {
    border-color: var(--accent);
    background: color-mix(in srgb, var(--accent) 10%, transparent);
}

/* Wizard nav buttons */
.wizard-nav {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}
.wizard-nav .btn { flex: 1; }

/* Welcome step icon */
.wizard-welcome-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 0.75rem;
}
.wizard-integration-prompt {
    background: var(--bg-page);
    border-radius: 10px;
    padding: 1rem;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
}

/* Wizard provider cards (connect step) */
.wizard-provider-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.wizard-provider-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    background: var(--bg-page);
    border-radius: 10px;
    border: 1px solid var(--border);
}
.wizard-provider-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
}
.wizard-provider-name {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Wizard Welcome examples */
.wizard-welcome-examples {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.wizard-welcome-try {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 0.25rem;
}
.wizard-welcome-msg {
    display: block;
    padding: 0.55rem 0.85rem;
    background: var(--bg-page);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--accent);
    text-decoration: none;
    transition: background 0.15s;
}
.wizard-welcome-msg:hover {
    background: var(--bg-hover, rgba(0,0,0,.05));
}

