/* Organiser onboarding wizard (/start). Builds on the .kyc / .k-* styles in front.css; only what the wizard adds is here. */
[x-cloak] { display: none !important; }
.ob fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }

/* quicker than the one-page application: steps change in under 150 ms */
.ob .k-panel.is-current { animation-duration: .14s; }
.ob .k-progress i { transition-duration: .14s; }
.ob .kyc-steps li, .ob .k-num, .ob .k-num svg, .ob .k-opt { transition-duration: .12s; }
.ob .kyc-steps li { cursor: default; }
.ob .kyc-steps li.is-done { cursor: pointer; }

.ob-sub { font: 700 18px var(--display); margin: 32px 0 14px; }
.ob-small { font-size: 13px; color: var(--muted); margin: 16px 0 0; }
.ob-count { margin: 6px 0 0; }
.ob-saved { margin: 14px 0 0; font-size: 12px; color: var(--muted); text-align: right; }

.ob .k-field select { width: 100%; min-height: 52px; padding: 13px 16px; border-radius: var(--r); border: 1.5px solid var(--line); background: #fff; font: 500 16px var(--text); color: var(--ink); }
.ob .k-field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(102,45,145,.14); }
.ob .k-field select[aria-invalid="true"] { border-color: var(--events); background: #FFF8FB; }

.ob-verify { display: flex; flex-direction: column; gap: 6px; }
.ob-verify-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.ob-verify-actions .btn { min-height: 40px; padding: 8px 16px; font-size: 13px; }

/* ticket types */
.ob-tickets { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ob-ticket { position: relative; display: grid; grid-template-columns: 1fr; gap: 12px; padding: 16px; border: 1.5px solid var(--line); border-radius: var(--r-lg); background: var(--mist); }
@media (min-width: 640px) { .ob-ticket { grid-template-columns: 2fr 1fr 1fr; padding-right: 56px; } }
.ob-take { grid-column: 1 / -1; margin: 0; font-size: 13px; font-weight: 600; color: var(--exp); }
.ob-remove { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; border-radius: 12px; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.ob-remove:hover { background: #fff; color: var(--events); }
.ob-remove svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.ob-add { margin-top: 12px; }
.ob-publish { margin-top: 20px; }

/* finish */
.ob-finish { position: relative; }
.ob-confetti { position: absolute; inset: -20px 0 auto; height: 0; pointer-events: none; overflow: visible; z-index: 2; }
.ob-confetti i { position: absolute; top: 0; width: 9px; height: 14px; border-radius: 2px; opacity: 0; animation: ob-fall 1.6s cubic-bezier(.2,.7,.4,1) forwards; }
@keyframes ob-fall {
  0% { opacity: 1; transform: translate(0, 0) rotate(0); }
  100% { opacity: 0; transform: translate(var(--x), 420px) rotate(var(--r)); }
}
.ob-finish .k-badge { width: 88px; height: 88px; border-radius: 28px; animation-duration: .35s; }
.ob-event { margin: 20px auto 0; max-width: 560px; border: 1.5px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.ob-event-top { padding: 20px; background: linear-gradient(135deg, var(--deep), var(--brand) 60%, var(--events)); color: #fff; }
.ob-event-top h3 { font: 700 22px/1.2 var(--display); margin: 10px 0 4px; }
.ob-event-top p { margin: 0; font-size: 14px; color: rgba(255,255,255,.85); }
.ob-pill { display: inline-flex; font: 600 11px/1 var(--label); letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.18); }
.ob-pill.ok { background: #3FC2AE; color: #062F29; }
.ob-event-tickets { list-style: none; margin: 0; padding: 8px 20px; }
.ob-event-tickets li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.ob-event-tickets li:last-child { border-bottom: 0; }
.ob-event-tickets span { color: var(--muted); }
.ob-event-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 20px; }
.ob-finish-nav { justify-content: center; }
.ob-finish .k-timeline { margin-top: 28px; }

@media (max-width: 639px) {
  .ob .k-nav { position: sticky; bottom: 0; background: #fff; padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); margin-inline: 0; margin-bottom: -12px; z-index: 3; }
  .ob .k-nav .btn { flex: 1; }
  .ob-event-actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .ob .k-panel.is-current, .ob-confetti i, .ob-finish .k-badge { animation: none; }
  .ob-confetti { display: none; }
}
.ob .k-nav > .btn-line:first-child { margin-right: auto; }
@media (max-width: 1023px) { .ob .kyc-lock, .ob .kyc-ready { display: none; } }
