/* "First steps" card: progress bar and four steps, the next one highlighted */
.onboarding { border-color: var(--accent-soft); background: linear-gradient(180deg, var(--accent-soft), var(--card) 70%); }
.ob-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ob-head h3 { margin: 0; }
.ob-head p { margin: 2px 0 0; }
.ob-bar { height: 8px; border-radius: 999px; background: var(--line); margin: 14px 0; overflow: hidden; }
.ob-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #8b5cf6, #5b21b6); transition: width .5s ease; }
.ob-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ob-steps a { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--text); text-decoration: none; height: 100%; }
.ob-steps b { display: block; font-size: 14.5px; }
.ob-steps small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.ob-check { flex-shrink: 0; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--lead); color: var(--muted); font-weight: 700; font-size: 13px; }
.ob-steps .done a { opacity: .65; }
.ob-steps .done .ob-check { background: var(--ok); color: #fff; }
.ob-steps .next a { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.ob-steps .next .ob-check { background: var(--accent); color: #fff; }
@media (max-width: 800px) { .ob-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .ob-steps { grid-template-columns: 1fr; } }

/* Simulator: suggested first messages and the bot's typing dots */
.sim-suggest { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 12px 10px; }
.sim-suggest button { font-size: 13.5px; padding: 7px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); border: 1px solid transparent; }
.sim-suggest button:hover { border-color: var(--accent); }
.typing-bubble .dots { display: inline-flex; gap: 4px; padding: 3px 0; }
.typing-bubble .dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .9); animation: sim-blink 1s infinite; }
.typing-bubble .dots i:nth-child(2) { animation-delay: .15s; }
.typing-bubble .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes sim-blink { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
.msg { animation: msg-in .25s ease both; }
@keyframes msg-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
