/* Obrazec za oddajo računa (naslovnica in stran za QR kodo). */
.wiz { background: var(--surface); border-radius: 22px; padding: 36px 38px 34px; box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-lg); scroll-margin-top: calc(var(--nav-h) + 20px); }
.wiz__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.wiz__count { font-weight: 650; color: var(--muted); font-size: 16px; }
.wiz__bar { display: flex; gap: 6px; flex: 0 0 160px; }
.wiz__bar i { flex: 1; height: 6px; border-radius: 6px; background: #e7e5e0; transition: background .3s; }
.wiz__bar i.is-on { background: var(--accent); }
.wiz__step { border: 0; margin: 0; padding: 0; display: grid; gap: 24px; min-width: 0; }
.wiz__step legend { float: left; width: 100%; font-size: clamp(1.5rem, 2.2vw, 1.9rem); font-weight: 750; font-stretch: 112%; color: var(--ink); letter-spacing: -0.02em; padding: 0; margin: 0; line-height: 1.15; }
.wiz__step legend:focus { outline: none; }
.wiz__hint { margin-top: -16px; color: var(--muted); }
.chips--big { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.chips--big .chip span { width: 100%; min-height: 66px; border-radius: 12px; font-size: 18px; padding: 0 20px; }
.chips--big .i { width: 26px; height: 26px; color: var(--accent); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; border-radius: 14px; background: var(--surface-2); }
.seg__btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; border: 0; border-radius: 10px; background: none; font-weight: 650; font-size: 17px; color: var(--ink-2); cursor: pointer; transition: background .2s, box-shadow .2s, color .2s; }
.seg__btn[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.seg__btn[aria-selected="true"] .i { color: var(--accent); }
.seg__btn .i { width: 22px; height: 22px; }
.mode { display: grid; gap: 22px; }
.drop { border-radius: 16px; border: 2px dashed var(--line-2); padding: 26px; display: grid; justify-items: center; gap: 16px; text-align: center; background: #fbfaf8; }
.drop__art { width: 170px; height: auto; }
.drop__btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.drop__btns label { position: relative; overflow: hidden; }
.drop__btns input { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }
.drop__hint { color: var(--muted); font-size: 15.5px; }
.drop.is-over { border-color: var(--accent); background: var(--accent-soft); }
.thumbs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.thumbs:empty { display: none; }
.thumbs li { position: relative; border-radius: 12px; overflow: hidden; background: var(--surface-2); aspect-ratio: 3 / 4; box-shadow: inset 0 0 0 1px var(--line-2); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs .pdf { display: grid; place-items: center; height: 100%; gap: 6px; padding: 10px; text-align: center; font-size: 13px; color: var(--ink-2); word-break: break-word; }
.thumbs .pdf .i { width: 36px; height: 36px; color: var(--accent); }
.thumbs button { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border-radius: 9px; border: 0; background: rgb(20 20 20 / .78); color: #fff; display: grid; place-items: center; cursor: pointer; }
.thumbs .busy { display: grid; place-items: center; height: 100%; color: var(--muted); font-size: 14px; }
.wiz__soft { display: flex; align-items: center; gap: 10px; font-size: 15.5px; color: var(--muted); }
.wiz__soft .i { color: var(--accent); }
.money { position: relative; max-width: 220px; }
.money span { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-weight: 650; color: var(--muted); }
.bd { display: grid; grid-template-columns: 0.8fr 1.5fr 1fr; gap: 10px; }
.opt { font-weight: 500; color: var(--muted); }
.form-error { color: var(--warn); font-weight: 600; background: var(--warn-soft); padding: 12px 16px; border-radius: 10px; margin-top: 20px; }
.wiz__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.wiz__nav [data-next], .wiz__nav [data-submit] { margin-left: auto; }
.wiz__done { text-align: center; padding: 10px 6px 16px; }
.wiz__done img { width: 230px; height: auto; margin: 0 auto 6px; }
.wiz__done h3 { font-size: clamp(1.8rem, 2.8vw, 2.2rem); }
.wiz__done p { margin: 12px auto 24px; max-width: 34ch; font-size: 1.15rem; }
.wiz__done [data-phone] { white-space: nowrap; color: var(--ink); }
.wiz.is-done .wiz__head, .wiz.is-done .wiz__nav { display: none; }
@media (max-width: 900px) {
  .wiz { padding: 22px 18px 24px; border-radius: 18px; margin-inline: -4px; }
  .wiz__bar { flex-basis: 110px; }
  .chips--big { grid-template-columns: 1fr; }
  .drop { padding: 18px 14px; }
  .drop__btns .btn { width: 100%; }
  .wiz__nav .btn { flex: 1; }
}
