/* Onboarding wizard (welcome.php) */
.wz-body {
  min-height: 100vh; color: var(--ink, #1f2937);
  background: radial-gradient(700px 360px at 8% -5%, rgba(37,211,102,.22), transparent 60%),
              radial-gradient(640px 340px at 100% 0%, rgba(0,145,255,.14), transparent 60%),
              linear-gradient(180deg, #f2faf8, #f7f9fb 40%);
}
.wz-wrap { max-width: 640px; margin: 0 auto; padding: 1.1rem 1rem 3rem; }
.wz-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.wz-top .wz-help { font-size: .85rem; }

/* stepper */
.wz-steps { display: flex; align-items: flex-start; margin: .4rem 0 .6rem; }
.wz-step { flex: 1; text-align: center; position: relative; }
.wz-step:not(:last-child)::after { content: ""; position: absolute; top: 22px; left: calc(50% + 26px); right: calc(-50% + 26px); height: 3px; border-radius: 3px; background: #dde5e3; }
.wz-step.done:not(:last-child)::after { background: linear-gradient(90deg, #25d366, #128c7e); }
.wz-dot {
  width: 44px; height: 44px; border-radius: 50%; margin: 0 auto .3rem; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; background: #fff; color: #98a5a2; border: 2px solid #dde5e3; transition: all .3s;
}
.wz-step.done .wz-dot { background: linear-gradient(135deg, #25d366, #128c7e); border-color: transparent; color: #fff; }
.wz-step.now .wz-dot { border-color: #128c7e; color: #128c7e; box-shadow: 0 0 0 5px rgba(18,140,126,.16); animation: wzPulse 2s infinite; }
.wz-step small { display: block; font-size: .72rem; font-weight: 600; color: #7b8a87; }
.wz-step.now small, .wz-step.done small { color: #0f5d53; }
@keyframes wzPulse { 50% { box-shadow: 0 0 0 9px rgba(18,140,126,.06); } }
.wz-bar { height: 6px; border-radius: 6px; background: #dde5e3; overflow: hidden; }
.wz-bar > i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #25d366, #128c7e); transition: width .5s; }
.wz-left { font-size: .78rem; color: #6b7b78; text-align: right; margin: .3rem 0 .9rem; }

/* card */
.wz-card { background: #fff; border-radius: 20px; padding: 1.6rem 1.35rem; border: 1px solid #e3eceb; box-shadow: 0 18px 44px rgba(15,61,55,.09); animation: wzIn .45s ease both; }
@media (min-width: 576px) { .wz-card { padding: 2rem 2.1rem; } }
@keyframes wzIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.wz-hero { width: 68px; height: 68px; border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: #fff; margin-bottom: 1rem; box-shadow: 0 10px 22px rgba(0,0,0,.14); }
.wz-card h1 { font-size: 1.5rem; font-weight: 800; margin-bottom: .25rem; }
.wz-sub { color: #64746f; margin-bottom: 1.3rem; }

/* verify rows */
.wz-row { display: flex; gap: .85rem; align-items: flex-start; padding: 1rem; border-radius: 14px; border: 1.5px solid #e3eceb; background: #fbfdfc; margin-bottom: .8rem; }
.wz-row.ok { border-color: #bfe8d2; background: #f1fbf6; }
.wz-ico { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.wz-row .t { font-weight: 700; }
.wz-row .s { font-size: .84rem; color: #64746f; word-break: break-word; }
.wz-badge-ok { margin-left: auto; color: #15a35a; font-size: 1.5rem; }

/* tiles + chips */
.wz-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
@media (min-width: 576px) { .wz-tiles { grid-template-columns: repeat(4, 1fr); } }
.wz-tile input, .wz-chip input { position: absolute; opacity: 0; pointer-events: none; }
.wz-tile label { display: flex; flex-direction: column; align-items: center; gap: .35rem; text-align: center; padding: .85rem .4rem; border-radius: 14px; border: 2px solid #e3eceb; cursor: pointer; font-size: .8rem; font-weight: 600; background: #fff; transition: all .2s; height: 100%; }
.wz-tile label i { font-size: 1.6rem; }
.wz-tile label:hover { transform: translateY(-2px); border-color: #b7d9d3; }
.wz-tile input:checked + label { border-color: var(--c, #128c7e); background: color-mix(in srgb, var(--c, #128c7e) 9%, #fff); box-shadow: 0 6px 16px color-mix(in srgb, var(--c, #128c7e) 22%, transparent); }
.wz-tile input:focus-visible + label, .wz-chip input:focus-visible + label { outline: 3px solid rgba(18,140,126,.35); }
.wz-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.wz-chip label { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .85rem; border-radius: 999px; border: 2px solid #e3eceb; cursor: pointer; font-size: .85rem; font-weight: 600; background: #fff; transition: all .2s; }
.wz-chip input:checked + label { border-color: #128c7e; background: #e8f6f3; color: #0f5d53; }

/* checklist */
.wz-need { display: grid; grid-template-columns: 1fr; gap: .5rem; margin-bottom: 1.2rem; }
@media (min-width: 576px) { .wz-need { grid-template-columns: 1fr 1fr; } }
.wz-need div { display: flex; align-items: center; gap: .65rem; padding: .6rem .75rem; border-radius: 12px; background: #f4f8f7; font-size: .86rem; font-weight: 600; }
.wz-need i { font-size: 1.15rem; }

/* done tracker */
.wz-track { list-style: none; padding: 0; margin: 0 0 1.3rem; }
.wz-track li { display: flex; gap: .75rem; align-items: flex-start; padding: .65rem 0; border-bottom: 1px dashed #e3eceb; }
.wz-track li:last-child { border-bottom: 0; }
.wz-track .b { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; background: #c4cfcc; font-size: .95rem; }
.wz-track .ok .b { background: #15a35a; }
.wz-track .wait .b { background: #f5a623; }
.wz-track .s { font-size: .82rem; color: #64746f; }

.wz-actions { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; margin-top: 1.4rem; }
.wz-actions .btn-lg { padding-left: 1.6rem; padding-right: 1.6rem; }
.wz-confetti { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 5; }
.wz-confetti i { position: absolute; top: -12px; width: 9px; height: 14px; border-radius: 2px; animation: wzFall linear forwards; }
@keyframes wzFall { to { transform: translateY(105vh) rotate(720deg); opacity: .9; } }
@media (prefers-reduced-motion: reduce) { .wz-card, .wz-step.now .wz-dot { animation: none; } .wz-confetti { display: none; } }

/* sign-in / sign-up side panel perks */
.auth-perks li { display: flex; align-items: center; gap: .75rem; }
.auth-perks .perk { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 1.1rem; box-shadow: 0 6px 14px rgba(0,0,0,.2); }
