/* Ink or Walk intake wizard: mobile-first multi-step flow (submit-a-deal) */
.wiz { max-width: 640px; margin: 0 auto; }
.wiz-progress { margin: 8px 0 4px; }
.wiz-stepcount { font-size: 0.85rem; font-weight: 700; color: var(--muted); letter-spacing: 0.02em; }
.wiz-bar { height: 8px; background: var(--border); border-radius: 999px; overflow: hidden; margin-top: 6px; }
.wiz-bar > span { display: block; height: 100%; background: var(--green); border-radius: 999px; transition: width 0.25s ease; }
.wiz-step { animation: fadein 0.25s ease; }
.wiz-step h2 { margin-top: 0.4em; }
.wiz-nav { display: flex; gap: 12px; margin: 24px 0 8px; }
.wiz-nav .btn { flex: 1; text-align: center; padding: 16px 24px; font-size: 1.05rem; }
.wiz-nav .back { flex: 0 0 auto; }
.field-error { color: var(--red-dark); font-size: 0.9rem; font-weight: 600; margin-top: 6px; }
input.invalid, select.invalid, textarea.invalid { border-color: var(--red); box-shadow: 0 0 0 3px rgba(201,42,42,0.12); }
/* big tap-target choice cards */
.choice-grid { display: grid; gap: 12px; margin-top: 12px; }
.choice-grid.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 420px) { .choice-grid.two { grid-template-columns: 1fr; } }
.choice-card { position: relative; display: block; cursor: pointer; }
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.choice-card .choice-body {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 64px; padding: 14px 18px;
  border: 2px solid var(--border); border-radius: 14px; background: #fff;
  font-weight: 700; font-size: 1.1rem; text-align: center;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.choice-card .choice-body small { display: block; font-weight: 400; font-size: 0.85rem; color: var(--muted); }
.choice-card:hover .choice-body { border-color: var(--ink-black); }
.choice-card input:checked + .choice-body { background: var(--ink-black); color: #fff; border-color: var(--ink-black); }
.choice-card input:checked + .choice-body small { color: #d8cfb8; }
.choice-card input:focus-visible + .choice-body { outline: 3px solid rgba(26,95,180,0.5); outline-offset: 2px; }
/* upload zone: big camera-first tap target */
.upload-zone {
  display: block; width: 100%; cursor: pointer;
  border: 3px dashed var(--green); border-radius: 16px; background: #f4faf5;
  padding: 40px 20px; text-align: center; margin-top: 12px;
}
.upload-zone:hover, .upload-zone:focus-within { background: #eaf5ec; border-color: var(--green-dark); }
.upload-zone .upload-icon { width: 56px; height: 56px; margin: 0 auto 10px; color: var(--green-dark); }
.upload-zone strong { display: block; font-size: 1.25rem; font-family: Georgia, serif; }
.upload-zone .fine { margin: 8px 0 0; }
.upload-zone input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-list { list-style: none; padding: 0; margin: 14px 0 0; }
.file-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  padding: 10px 14px; margin: 8px 0; font-size: 0.95rem; font-weight: 600;
}
.file-list .file-size { color: var(--muted); font-weight: 400; font-size: 0.85rem; margin-left: 8px; }
.file-remove { background: none; border: none; color: var(--red); font-weight: 700; cursor: pointer; font-size: 0.95rem; padding: 6px 10px; border-radius: 8px; }
.file-remove:hover { background: #fdecea; }
.upload-warn {
  background: #fff8e1; border: 1px solid #f0d97a; border-radius: 10px;
  padding: 12px 16px; margin: 16px 0 0; font-size: 0.95rem;
}
.upload-warn strong { color: #7a5c00; }
/* collapsed optional extras */
details.wiz-extra { margin-top: 16px; }
details.wiz-extra summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; padding: 12px 0; }
details.wiz-extra summary::marker { color: var(--green-dark); }
/* review summary + disabled payment */
.wiz-summary { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 18px; margin: 16px 0; }
.wiz-summary dl { margin: 0; }
.wiz-summary dt { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 700; margin-top: 12px; }
.wiz-summary dt:first-child { margin-top: 0; }
.wiz-summary dd { margin: 2px 0 0; font-weight: 600; }
.pay-disabled {
  text-align: center; padding: 28px 20px; margin: 16px 0;
  border: 2px dashed var(--border); border-radius: 14px; background: #fffdf8;
}
.pay-disabled .pay-price { font-family: Georgia, serif; font-size: 3rem; font-weight: 700; }
.pay-disabled .btn[disabled] { opacity: 0.55; cursor: not-allowed; width: 100%; margin-top: 12px; padding: 16px 24px; font-size: 1.05rem; }
.wiz-reassure { background: #e6f4ea; border: 1px solid #b7dfc0; border-radius: 10px; padding: 12px 16px; font-size: 0.95rem; margin-top: 16px; }
@keyframes fadein { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .wiz-step { animation: none; } }

/* Vehicle details form */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0;
}

.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-grid input,
.form-grid select {
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 1rem;
  background: #fff;
  width: 100%;
}

.form-grid input:focus,
.form-grid select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(22,163,74,0.15);
}

.manual-deal-fields {
  background: var(--green-tint);
  border: 1px solid var(--green);
  border-radius: 12px;
  padding: 20px;
  margin-top: 16px;
}

.manual-deal-fields.hidden {
  display: none;
}

@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* Wizard brand header */
.wiz-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding: 14px 18px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.wiz-brand .seal-stamp { width: 52px; flex: 0 0 52px; }
.wiz-brand .seal-stamp img { transform: none; }
.wiz-brand p { margin: 0; font-size: 0.92rem; color: var(--muted); }
.wiz-brand p strong { color: var(--ink); }
.wz-security { font-size: 13px; color: #5a5348; background: #f7f4ed; border-radius: 8px; padding: 10px 12px; margin: 10px 0 0; }
.no-paperwork-callout { background: #f0f7ff; border: 1px solid #c8ddf5; border-radius: 10px; padding: 14px 16px; margin-top: 14px; } .no-paperwork-callout .link-btn { background: none; border: none; color: #1a5fb4; font-weight: 600; cursor: pointer; padding: 0; font-size: inherit; } .no-paperwork-callout .link-btn:hover { text-decoration: underline; }
.req { display: inline; white-space: nowrap; } .wz-label { white-space: normal; } .wz-label .req, label .req { white-space: nowrap; }
