/* Speedioo sell form. Scoped to .spf so the theme can't break it (and it can't break the theme). */
.spf {
  --spf-red: #D32F2F;
  --spf-red-soft: #FDF1F1;
  --spf-ink: #141414;
  --spf-muted: #6B6B66;
  --spf-line: #E3E3E0;
  --spf-bg: #FFFFFF;
  --spf-field: #FAFAF8;
  color: var(--spf-ink);
  font-size: 15px;
  line-height: 1.4;
}
.spf *, .spf *::before, .spf *::after { box-sizing: border-box; }

/* reset theme button/input styling inside the form */
.spf button { all: unset; box-sizing: border-box; cursor: pointer; font-family: inherit; }
.spf button:focus-visible, .spf a:focus-visible { outline: 2px solid var(--spf-ink); outline-offset: 2px; }

/* header + progress */
.spf-head { display: flex; justify-content: space-between; align-items: center; min-height: 24px; font-size: 13px; color: var(--spf-muted); }
.spf .spf-back { color: var(--spf-ink); font-weight: 600; font-size: 14px; padding: 2px 0; }
.spf .spf-back:hover { color: var(--spf-red); }
.spf-bar { height: 4px; background: var(--spf-line); margin: 10px 0 22px; overflow: hidden; }
.spf-bar span { display: block; height: 100%; background: var(--spf-red); transition: width .3s ease; }

.spf .spf-title { font-size: 26px; line-height: 1.15; color: var(--spf-ink); margin: 0 0 14px; outline: none;
}

/* chips: answers so far */
.spf-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: -4px 0 16px; }
.spf .spf-chip {
  font-size: 12.5px; font-weight: 600; padding: 5px 10px; background: var(--spf-red-soft);
  color: var(--spf-red); border: 1px solid #F3CFCF; border-radius: 999px;
}
.spf .spf-chip:hover { border-color: var(--spf-red); }

/* search */
.spf-search { display: block; margin-bottom: 14px; }
.spf .spf-search-input {
  width: 100%; height: 44px; padding: 0 14px 0 40px; font-size: 15px; font-family: inherit; color: var(--spf-ink);
  background: var(--spf-field) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%236B6B66' stroke-width='2'%3E%3Ccircle cx='7' cy='7' r='5.5'/%3E%3Cpath d='m11 11 4 4'/%3E%3C/svg%3E") no-repeat 14px center !important;
  border: 1px solid var(--spf-line) !important; border-radius: 0; box-shadow: none !important; margin: 0;
}
.spf .spf-search-input:focus { border-color: var(--spf-ink) !important; outline: none; background-color: #fff !important; }

/* grids + tiles */
.spf-grid { display: grid; gap: 10px; }
.spf-grid--1 { grid-template-columns: 1fr; }
.spf-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.spf-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.spf-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.spf .spf-tile {
  display: flex; align-items: center; justify-content: center; gap: 6px; text-align: center;
  min-height: 48px; padding: 10px 8px; background: var(--spf-bg);
  border: 1px solid var(--spf-line); font-size: 14.5px; font-weight: 600; color: var(--spf-ink);
  transition: border-color .15s, background-color .15s;
}
.spf .spf-tile:hover { border-color: var(--spf-ink); }
.spf .spf-tile.is-selected { border-color: var(--spf-red); box-shadow: inset 0 0 0 1px var(--spf-red); color: var(--spf-red); }

.spf .spf-tile--brand { flex-direction: column; min-height: 84px; gap: 8px; }
.spf-badge {
  width: 34px; height: 34px; border-radius: 50%; background: #F2F2EF; display: grid; place-items: center;
  font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 13px; color: var(--spf-ink);
}
.spf-logo { width: 40px; height: 34px; object-fit: contain; }
.spf .spf-tile--ghost { color: var(--spf-muted); border-style: dashed; font-weight: 500; }

.spf .spf-tile--row { justify-content: flex-start; text-align: left; flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px 16px; }
.spf-tile--row strong { font-size: 15.5px; }
.spf-note { font-size: 13px; font-weight: 400; color: var(--spf-muted); }

/* pills */
.spf-subhead { font-size: 13px; font-weight: 600; color: var(--spf-muted); margin: 20px 0 10px; }
.spf-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.spf .spf-pill {
  min-height: 0; line-height: 1.2; padding: 9px 14px; border: 1px solid var(--spf-line); border-radius: 999px; font-size: 13.5px; font-weight: 600;
  color: var(--spf-ink); background: var(--spf-bg);
}
.spf .spf-pill:hover { border-color: var(--spf-ink); }
.spf .spf-pill.is-selected { border-color: var(--spf-red); background: var(--spf-red); color: #fff; }
.spf .spf-pills--lg .spf-pill { padding: 10px 16px; font-size: 14px; }

.spf-empty { font-size: 14px; color: var(--spf-muted); margin: 0 0 12px; }

/* contact step */
.spf-contact { display: grid; gap: 16px; }
.spf-field { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; }
.spf .spf-field input {
  width: 100%; height: 50px; padding: 0 14px; font-size: 16px; font-family: inherit; color: var(--spf-ink);
  background: #fff !important; border: 1px solid #CFCFCA !important; border-radius: 0; box-shadow: none !important; margin: 0;
}
.spf .spf-field input:focus { border-color: var(--spf-red) !important; outline: none; }
.spf-phone { display: flex; }
.spf-cc { display: grid; place-items: center; padding: 0 14px; border: 1px solid #CFCFCA; border-right: 0; background: var(--spf-field); font-weight: 600; font-size: 15px; }
.spf-check { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.spf-check input { width: 18px; height: 18px; accent-color: var(--spf-red); margin: 0; }
.spf-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.spf-error { margin: 0; padding: 10px 12px; background: var(--spf-red-soft); color: #A61B1B; font-size: 14px; border-left: 3px solid var(--spf-red); }

.spf .spf-submit {
  display: block; width: 100%; text-align: center; height: 54px; line-height: 54px; background: var(--spf-red); color: #fff;
  font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 18px; letter-spacing: .5px; text-transform: uppercase; text-decoration: none;
}
.spf .spf-submit:hover { background: #B71C1C; }
.spf .spf-submit[disabled] { opacity: .6; cursor: wait; }
.spf .spf-submit--ghost { background: #fff; color: var(--spf-ink) !important; border: 2px solid var(--spf-ink); line-height: 50px; }
.spf .spf-submit--ghost:hover { background: var(--spf-ink); color: #fff !important; }
.spf-fine { margin: 0; text-align: center; font-size: 12.5px; color: var(--spf-muted); }

/* done screen */
.spf-done { text-align: center; padding: 20px 0 8px; display: grid; gap: 14px; justify-items: center; }
.spf-done p { margin: 0; color: #444; max-width: 380px; }
.spf-tick { width: 64px; height: 64px; border-radius: 50%; background: var(--spf-red); color: #fff; display: grid; place-items: center; font-size: 32px; font-weight: 700; }
.spf .spf-link { font-size: 14px; font-weight: 600; text-decoration: underline; color: var(--spf-muted); }

.spf-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Fixed-height card: the list scrolls, the card never grows */
.spf-card { height: 640px; display: flex; flex-direction: column; box-sizing: border-box; background: #FFFFFF; border-radius: 20px; padding: 26px 32px 0; box-shadow: 0 30px 60px -20px rgba(24,24,26,0.18), 0 1px 3px rgba(0,0,0,0.05); min-width: 0; overflow: hidden; }
.spf-head, .spf-bar, .spf .spf-title, .spf-chips { flex: 0 0 auto; }
.spf-body { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.spf-body > .spf-search { flex: 0 0 auto; }
.spf-scroll {
  flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  padding: 2px 6px 12px 2px; margin-right: -6px;
  scrollbar-width: thin; scrollbar-color: #CFCFCA transparent;
}
.spf-scroll::-webkit-scrollbar { width: 6px; }
.spf-scroll::-webkit-scrollbar-thumb { background: #CFCFCA; border-radius: 3px; }
.spf-done { flex: 1 1 auto; align-content: center; }

/* City tiles */
.spf .spf-tile--city { min-height: 64px; font-size: 16px; }

/* Long model lists: compact tiles */
.spf-grid--models { gap: 8px; }
.spf .spf-grid--models .spf-tile { min-height: 44px; font-size: 13.5px; padding: 8px 6px; }

/* Stop the theme's button style (Oswald, uppercase) affecting the tiles */
.spf .spf-tile, .spf .spf-pill, .spf .spf-chip, .spf .spf-back, .spf .spf-link {
  font-family: inherit !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

@media (max-width: 520px) {
  .spf-card { height: 600px; padding: 20px 16px 0; }
  .spf-grid--models { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spf-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .spf .spf-title { font-size: 22px; }
  .spf .spf-tile--brand { min-height: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  .spf-bar span, .spf .spf-tile { transition: none; }
}


/* ===== Layout C2 refined: page top | stepper | question card + your-bike ticket ===== */
.spf { --spf-bg-soft: #F6F5F2; --spf-line2: #ECEAE5; }
.spf-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.spf .spf-pagetitle { margin: 0 0 6px; font-size: 44px; line-height: 1.05; color: var(--spf-ink); }
.spf .spf-pagetitle span { color: var(--spf-red); }
.spf .spf-lead { margin: 0; font-size: 18px; color: #55554F; }
.spf-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.spf-badge-pill { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; background: #FFFFFF; border-radius: 999px; font-weight: 600; font-size: 14.5px; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.spf-badge-tick { width: 22px; height: 22px; border-radius: 50%; background: #FDECEA; color: var(--spf-red); display: grid; place-items: center; }

/* stepper */
.spf-stepper { list-style: none; margin: 0 0 22px; padding: 20px 26px 18px; background: #FFFFFF; border-radius: 18px; box-shadow: 0 1px 3px rgba(0,0,0,0.04); display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); }
.spf-step > button, .spf-step > span { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; text-align: center; }
.spf-step-track { display: flex; align-items: center; width: 100%; }
.spf-step-line { flex: 1; height: 3px; border-radius: 2px; background: var(--spf-line2); }
.spf-step:first-child .spf-step-line:first-child, .spf-step:last-child .spf-step-line--r { visibility: hidden; }
.spf-step.is-past .spf-step-line, .spf-step.is-now .spf-step-line:first-child { background: var(--spf-red); }
.spf-step-dot { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: #FFFFFF; color: #8A8A83; border: 1.5px solid #DAD8D2; box-sizing: border-box; }
.spf-step.is-done .spf-step-dot, .spf-step.is-now .spf-step-dot { background: var(--spf-red); border: 2px solid var(--spf-red); color: #FFFFFF; }
.spf-step.is-now .spf-step-dot { box-shadow: 0 0 0 5px #FDECEA; }
.spf-step-label { font-size: 14px; font-weight: 600; color: #8A8A83; }
.spf-step.is-done .spf-step-label, .spf-step.is-now .spf-step-label { color: var(--spf-ink); }
.spf-step.is-now .spf-step-label { font-weight: 700; }
.spf .spf-step > button:hover .spf-step-label { color: var(--spf-red); }
.spf-stepper-m { display: none; }

/* main two columns */
.spf-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }

/* question card */
.spf-head { min-height: 30px; }
.spf .spf-count { font-size: 13px; font-weight: 700; color: var(--spf-red); background: #FDECEA; padding: 6px 12px; border-radius: 999px; }
.spf .spf-title { margin: 18px 0 0; font-size: 28px; line-height: 1.2; }
.spf .spf-sub { margin: 6px 0 18px; font-size: 15.5px; color: #55554F; }
.spf-card-foot { flex: 0 0 auto; margin: 0 -32px; padding: 14px 32px; background: #FAF9F7; border-top: 1px solid #EFEDE8; display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #55554F; }
.spf-done { padding-bottom: 20px; }

/* tiles: rounded, tinted when picked */
.spf .spf-tile { border-radius: 14px; border-color: var(--spf-line2); }
.spf .spf-tile.is-selected { background: #FFF5F4; border-color: var(--spf-red); box-shadow: inset 0 0 0 1px var(--spf-red); color: var(--spf-ink); }
.spf .spf-tile--brand { min-height: 108px; gap: 10px; font-size: 15.5px; }
.spf-badge { width: 52px; height: 52px; background: var(--spf-bg-soft); font-size: 15px; color: #3A3A36; }
.spf-logo { width: 52px; height: 52px; border-radius: 50%; object-fit: contain; background: var(--spf-bg-soft); padding: 8px; box-sizing: border-box; }
.spf .spf-search-input { border-radius: 12px; border-color: transparent !important; background-color: var(--spf-bg-soft) !important; height: 50px; }
.spf .spf-pill { border-color: #E2E0DA; }
.spf .spf-pill.is-selected { box-shadow: none; }

/* radio-style option cards (KM, ownership) */
.spf-grid--opts { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 12px; }
.spf .spf-tile--opt { justify-content: flex-start; gap: 14px; min-height: 66px; padding: 0 18px; text-align: left; }
.spf-radio { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 2px solid #DAD8D2; box-sizing: border-box; }
.spf .spf-tile--opt.is-selected .spf-radio { border: 6px solid var(--spf-red); }
.spf-opt-text { display: flex; flex-direction: column; line-height: 1.2; }
.spf-opt-label { font-weight: 700; font-size: 16.5px; }
.spf-opt-note { font-size: 13.5px; font-weight: 400; color: #77776F; }
.spf .spf-tile--row { border-radius: 14px; }

/* your-bike ticket */
.spf-aside { display: flex; flex-direction: column; gap: 14px; }
.spf-ticket { background: #FFFFFF; border-radius: 20px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.spf-ticket-top { list-style: none; background: #18181A; color: #FFFFFF; padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; position: relative; pointer-events: none; }
.spf-ticket-top::-webkit-details-marker { display: none; }
.spf-ticket-meta { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #B8B8B2; }
.spf-ticket-count { color: #FF7A6E; letter-spacing: 0; text-transform: none; }
.spf-ticket-name { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 26px; line-height: 1.1; }
.spf-ticket-chevron { display: none; }
.spf-ticket-perf { position: relative; height: 0; border-top: 2px dashed #E2E0DA; }
.spf-ticket-perf::before, .spf-ticket-perf::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--spf-page, #F5F5F3); }
.spf-ticket-perf::before { left: -12px; } .spf-ticket-perf::after { right: -12px; }
.spf-ticket-rows { padding: 8px 22px 14px; }
.spf-ticket-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #F1EFEA; font-size: 15px; }
.spf-ticket-row:last-child { border-bottom: 0; }
.spf-ticket-row > span:first-child { color: #77776F; }
.spf-ticket-row > span:last-child, .spf .spf-ticket-row button { font-weight: 700; color: var(--spf-ink); }
.spf .spf-ticket-row button:hover { color: var(--spf-red); text-decoration: underline; }
.spf-ticket-row .is-empty { color: #B5B3AC !important; }

.spf-talk { background: #FFFFFF; border-radius: 16px; padding: 16px 18px; display: flex; align-items: center; gap: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.spf-talk-text { flex: 1; display: flex; flex-direction: column; line-height: 1.3; font-size: 13.5px; color: #77776F; }
.spf-talk-text strong { font-size: 15px; color: var(--spf-ink); }
.spf .spf-talk-btn { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; color: #FFFFFF !important; text-decoration: none; }
.spf .spf-talk-btn--call { background: var(--spf-red); }
.spf .spf-talk-btn--wa { background: #18181A; }

.spf-chips { display: none !important; }

@media (max-width: 1100px) {
  .spf-layout { grid-template-columns: minmax(0, 1fr) 300px; }
  .spf-stepper { padding: 16px 14px; }
  .spf-step-label { font-size: 12.5px; }
}
@media (max-width: 800px) {
  .spf .spf-pagetitle { font-size: 30px; }
  .spf .spf-lead { font-size: 16px; }
  .spf-badges { display: none; }
  .spf-top { margin-bottom: 14px; }
  .spf-stepper { display: none; }
  .spf-stepper-m { display: flex; flex-direction: column; gap: 10px; background: #FFFFFF; border-radius: 16px; padding: 14px 16px; margin-bottom: 12px; }
  .spf-stepper-m-top { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; }
  .spf-stepper-m-top span { color: #77776F; }
  .spf-stepper-m-bars { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 4px; }
  .spf-stepper-m-bars span { height: 5px; border-radius: 3px; background: var(--spf-line2); }
  .spf-stepper-m-bars span.on { background: var(--spf-red); }
  .spf-layout { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .spf-aside { display: contents; }
  .spf-ticket { order: -1; }
  .spf-ticket-top { pointer-events: auto; cursor: pointer; padding: 14px 16px; padding-right: 44px; gap: 4px; }
  .spf-ticket-name { font-size: 18px; }
  .spf-ticket-chevron { display: block; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2.5px solid #FFFFFF; border-bottom: 2.5px solid #FFFFFF; transform: rotate(45deg); }
  .spf-ticket[open] .spf-ticket-chevron { transform: rotate(-135deg); margin-top: -2px; }
  .spf-talk { order: 2; }
  .spf .spf-title { font-size: 22px; margin-top: 14px; }
  .spf-card-foot { margin: 0 -16px; padding: 12px 16px; }
  .spf .spf-tile--brand { min-height: 92px; }
  .spf-badge, .spf-logo { width: 44px; height: 44px; }
}

/* time-left pill, OTP step, success colours */
.spf .spf-count { display: inline-flex; align-items: center; gap: 6px; }
.spf-otp-sent { margin: 0; font-size: 15px; line-height: 1.5; color: #3E3E3A; }
.spf .spf-link-inline { display: inline; color: var(--spf-red); font-weight: 700; text-decoration: underline; cursor: pointer; }
.spf .spf-otp-input { letter-spacing: 12px; font-size: 24px !important; font-weight: 700; text-align: center; height: 58px !important; border-radius: 12px !important; }
.spf .spf-field input { border-radius: 12px !important; }
.spf-cc { border-radius: 12px 0 0 12px; }
.spf-phone input { border-radius: 0 12px 12px 0 !important; }
.spf .spf-submit { border-radius: 14px; }
.spf-dev { margin: 0; padding: 10px 12px; border-radius: 10px; background: #FFF4E0; color: #7A4A00; font-size: 14px; }
.spf .spf-done .spf-title { color: #1E7B3C; }
.spf-done .spf-tick { background: var(--spf-red); }

/* finished steps: light green circle, green line, red tick (current step stays red) */
.spf-step.is-done .spf-step-dot { background: #2E9E55; border: 2px solid #2E9E55; color: #FFFFFF; box-shadow: none; }
.spf-step.is-done .spf-step-dot svg { stroke-width: 3.5; }
.spf-step.is-past .spf-step-line, .spf-step.is-now .spf-step-line:first-child, .spf-step.is-done .spf-step-line:first-child { background: #2E9E55; }
.spf-step.is-done.is-past .spf-step-line--r { background: #2E9E55; }
.spf-stepper-m-bars span.on { background: #2E9E55; }
.spf-stepper-m-bars span.now { background: var(--spf-red); }

/* Keep the form full width and centred whatever the zoom level or Elementor setting */
.spf { width: 100%; max-width: 1280px; margin-left: auto; margin-right: auto; box-sizing: border-box; }
.elementor-widget-shortcode:has(.spf), .elementor-shortcode:has(.spf) { width: 100% !important; max-width: 100% !important; flex: 1 1 100% !important; }

/* The theme paints buttons red on hover/focus; keep our small text buttons plain */
.spf .spf-back, .spf .spf-back:hover, .spf .spf-back:focus, .spf .spf-back:active,
.spf .spf-link, .spf .spf-link-inline, .spf .spf-link-inline:hover {
  background: transparent !important; color: var(--spf-ink) !important; box-shadow: none !important; border: 0 !important;
}
.spf .spf-back:hover { color: var(--spf-red) !important; }
.spf .spf-link-inline, .spf .spf-link-inline:hover { color: var(--spf-red) !important; }

/* Match the theme: headings use the theme's heading font; main buttons look like the theme's buttons */
.spf .spf-submit { font-family: 'Oswald', sans-serif; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }

/* scan-to-sell QR in the right column (computers only) */
.spf-qr { margin-top: 14px; display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 18px; background: #FFFFFF; border: 1px solid #ECEAE5; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.spf-qr img { width: 150px; height: 150px; flex: none; border-radius: 12px; border: 3px solid #D32F2F; display: block; }
.spf-qr-text { display: flex; flex-direction: column; gap: 6px; }
.spf-qr-text strong { font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 20px; line-height: 1.15; text-transform: uppercase; color: #18181A; }
.spf-qr-text span { font-size: 14px; line-height: 1.45; color: #55554F; }
@media (max-width: 1199px), (hover: none) and (pointer: coarse) { .spf-qr { display: none !important; } }

/* ---------- login first ---------- */
.spf-login { text-align: center; padding: 26px 8px 18px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.spf-login-ic { width: 60px; height: 60px; border-radius: 50%; background: var(--spf-red-soft); color: var(--spf-red); display: grid; place-items: center; }
.spf-login .spf-title, .spf-login .spf-sub { text-align: center; margin: 0; }
.spf-login .spf-sub { max-width: 420px; }
.spf .spf-login-btn { display: inline-flex; align-items: center; justify-content: center; width: auto; min-width: 240px; padding: 0 28px; text-decoration: none !important; color: #FFFFFF !important; }
.spf-stepper.is-locked .spf-step { opacity: .45; }

/* ---------- bike number ---------- */
.spf-vh { display: grid; gap: 12px; max-width: 460px; }
.spf-plate { display: flex; align-items: stretch; border: 2.5px solid var(--spf-ink); border-radius: 12px; overflow: hidden; background: #FFFFFF; }
.spf-plate-ind { background: #1E4FA8; color: #FFFFFF; font: 700 11px/1 Arial, sans-serif; letter-spacing: .5px; padding: 0 9px; display: flex; align-items: center; }
.spf .spf-plate-input { flex: 1; min-width: 0; border: 0 !important; outline: none; background: transparent !important; padding: 10px 14px !important; height: auto !important;
  font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif !important; font-weight: 700; font-size: 28px !important; letter-spacing: 4px; text-transform: uppercase; color: var(--spf-ink); box-shadow: none !important; }
.spf .spf-plate-input::placeholder { color: #C9C6BF; letter-spacing: 3px; }
.spf-plate:focus-within { box-shadow: 0 0 0 4px var(--spf-red-soft); border-color: var(--spf-red); }
.spf-fine--left { text-align: left; }
.spf-vh-alt { margin: 0; font-size: 13.5px; color: var(--spf-muted); }
.spf-vh-alt .spf-link-inline { color: var(--spf-red) !important; font-weight: 700; }
.spf-vh-wait { text-align: center; padding: 30px 10px 20px; }
.spf-vh-wait h3 { margin: 12px 0 4px; font-family: 'Oswald', sans-serif; font-size: 22px; }
.spf-vh-wait p { margin: 0; color: var(--spf-muted); }
.spf-spin { display: inline-block; width: 46px; height: 46px; border-radius: 50%; border: 4px solid var(--spf-red-soft); border-top-color: var(--spf-red); animation: spfspin .8s linear infinite; }
@keyframes spfspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spf-spin { animation: none; } }

/* ---------- is this your bike? ---------- */
.spf-found { border: 1.5px solid #CFE8D6; background: #F2FAF4; border-radius: 16px; padding: 16px 18px; max-width: 560px; }
.spf-found-ok { color: #1E7B3C; font-weight: 700; font-size: 13px; }
.spf-found-name { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 24px; margin: 4px 0 2px; }
.spf-found-raw { font-size: 12.5px; color: var(--spf-muted); margin-bottom: 8px; }
.spf-found-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.spf-found-grid div { background: #FFFFFF; border: 1px solid #DCEFE1; border-radius: 10px; padding: 8px 10px; min-width: 0; }
.spf-found-grid small { display: block; font-size: 11.5px; color: var(--spf-muted); }
.spf-found-grid b { font-size: 14px; overflow-wrap: anywhere; }
.spf-found-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.spf-found-actions .spf-submit { width: auto; flex: 1 1 200px; }
@media (max-width: 560px) { .spf-found-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- last step: sending as + get my offer ---------- */
.spf-send { display: grid; gap: 10px; margin-top: 16px; max-width: 460px; }
.spf-sendas { border: 1px solid var(--spf-line, #ECEAE5); border-radius: 12px; padding: 10px 12px; }
.spf-sendas small { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--spf-muted); }
.spf-sendas strong { font-size: 15px; }
.spf-sendas strong span { color: #1E7B3C; font-weight: 700; font-size: 13px; }

/* ---------- polish (buttons and links can't be restyled by the theme) ---------- */
.spf .spf-submit, .spf button.spf-submit, .spf a.spf-submit {
  display: flex !important; align-items: center !important; justify-content: center !important; gap: 8px;
  box-sizing: border-box !important; width: 100%; height: 54px !important; min-height: 0 !important; padding: 0 22px !important; margin: 0 !important;
  line-height: 1.1 !important; border-radius: 14px !important; border: 0; font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif !important;
  font-weight: 600 !important; font-size: 17px !important; letter-spacing: .6px !important; text-transform: uppercase !important; text-decoration: none !important;
  background: var(--spf-red) !important; color: #FFFFFF !important; cursor: pointer; box-shadow: none !important; transition: background .15s, color .15s;
}
.spf .spf-submit:hover { background: #B71C1C !important; }
.spf .spf-submit[disabled] { opacity: .6; cursor: wait; }
.spf .spf-submit--ghost, .spf button.spf-submit--ghost { background: #FFFFFF !important; color: var(--spf-ink) !important; border: 2px solid var(--spf-ink) !important; }
.spf .spf-submit--ghost:hover { background: var(--spf-ink) !important; color: #FFFFFF !important; }
.spf a.spf-login-btn { width: auto !important; min-width: 260px; display: inline-flex !important; }

.spf button.spf-link-inline, .spf button.spf-link-inline:hover {
  all: unset; display: inline !important; font: inherit !important; font-weight: 700 !important; color: var(--spf-red) !important; text-decoration: underline !important;
  text-underline-offset: 2px; text-transform: none !important; letter-spacing: normal !important; cursor: pointer; background: none !important; padding: 0 !important; margin: 0 !important; border: 0 !important; height: auto !important; line-height: inherit !important;
}
.spf button.spf-link-inline:focus-visible { outline: 2px solid var(--spf-ink); outline-offset: 2px; }

/* login screen fills the card; footer stays at the bottom */
.spf-body > .spf-login { flex: 1 1 auto; justify-content: center; padding: 10px 8px 24px; }

/* bike number step */
.spf-vh { max-width: 480px; gap: 14px; }
.spf-vh-alt { margin-top: 2px; font-size: 14px; }
.spf-privacy { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 12.5px; color: var(--spf-muted); }
.spf-privacy svg { color: #1E7B3C; flex: none; }

/* manual path: switch back to the bike number */
.spf-switch { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: -4px 0 14px; padding: 10px 14px; border-radius: 12px; background: #F6F5F2; font-size: 14px; color: #3E3E3A; }
.spf-switch svg { color: var(--spf-red); flex: none; }

/* confirm: two equal buttons */
.spf-found-actions { max-width: 560px; }
.spf-found-actions .spf-submit { flex: 1 1 220px; width: auto; }