@font-face { font-family:"D-DINCondensed-Bold"; src:url("D-DINCondensed-Bold.otf") format("opentype"); font-display:swap; font-style:normal; font-weight:700; }
:root { --ink:#182230; --muted:#667085; --line:#d9e0e8; --brand:#1967d2; --brand-dark:#1255b0; --soft:#eef5ff; --green:#147a54; --shadow:0 22px 60px rgba(25,42,70,.12); }
* { box-sizing:border-box; } [hidden] { display:none !important; }
body { min-height:0; margin:0; background:#f4f7fb; color:var(--ink); font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
button,input { font:inherit; }
.vehicle-shell { display:grid; min-height:0; padding:42px 18px 70px; place-items:start center; }
.vehicle-header { width:min(720px,100%); }
.vehicle-card { width:min(720px,100%); padding:36px; border:1px solid var(--line); border-radius:20px; background:#fff; box-shadow:var(--shadow); }
.vehicle-card.garage-selection-card { width:min(920px,100%); padding:36px; }
.eyebrow { margin:0 0 8px; color:var(--brand); font-size:12px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.step-counter { display:inline-block; margin-left:7px; padding:2px 7px; border-radius:999px; background:#e6edf7; color:#475467; font-size:10px; letter-spacing:.04em; vertical-align:1px; }
h1 { margin:0; font-size:clamp(18px,4.3vw,32px); line-height:1.08; letter-spacing:-.035em; white-space:nowrap; }.intro { margin:14px 0 28px; color:var(--muted); line-height:1.55; }.vehicle-header .intro { margin-bottom:18px; }
.registration-field { display:block; margin-bottom:7px; font-size:13px; font-weight:800; }.registration-row { display:flex; gap:10px; }.registration-row input { width:300px; min-width:0; max-width:100%; min-height:62px; flex:0 1 300px; padding:2px 8px; border:2px solid #000; border-radius:9px; background:#f7d84a; box-shadow:inset 0 0 0 1px rgba(255,255,255,.35); color:#000; font-family:"D-DINCondensed-Bold","Charles Wright","UKNumberPlate","Mandatory","Arial Narrow",Arial,sans-serif; font-size:56px; font-weight:700; letter-spacing:.04em; line-height:1; text-align:center; text-transform:uppercase; }.registration-row input::placeholder { color:rgba(0,0,0,.48); opacity:1; }.registration-row input:focus { outline:none; }.registration-row button,.primary-button { border:0; border-radius:10px; color:#fff; cursor:pointer; font-weight:800; }.registration-row button { padding:0 22px; background:#b8bdc5; }.registration-row button:not(:disabled),.primary-button { background:#111; }.registration-row button:not(:disabled):hover,.primary-button:hover { background:#2b2b2b; }.registration-row button:disabled { cursor:not-allowed; opacity:1; } button:disabled { cursor:not-allowed; opacity:.55; }
.form-message { margin:10px 0 0; color:#9b1c1c; font-size:13px; }.form-message:empty { display:none; }.vehicle-confirmation { margin-top:0; }.vehicle-result { padding:20px; border:1px solid #b8dfce; border-radius:14px; background:#f0faf5; }.vehicle-title { display:flex; align-items:center; justify-content:space-between; gap:16px; }.registration-plate { display:inline-block; max-width:100%; flex:0 0 auto; padding:.08em .22em; border:1px solid #000; border-radius:.24em; background:#f7d84a; box-shadow:inset 0 0 0 1px rgba(255,255,255,.35); color:#000; font-family:"D-DINCondensed-Bold","Charles Wright","UKNumberPlate","Mandatory","Arial Narrow",Arial,sans-serif; font-size:clamp(30px,7vw,42px); font-weight:700; letter-spacing:.04em; line-height:1; text-align:center; text-transform:uppercase; }.vehicle-title h2 { min-width:0; margin:0; font-size:clamp(30px,7vw,42px); line-height:1; overflow-wrap:anywhere; }.vehicle-result dl { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin:20px 0 0; }.vehicle-result dl div { padding-top:12px; border-top:1px solid #cde4d9; }.vehicle-result dt { color:var(--muted); font-size:12px; }.vehicle-result dd { margin:4px 0 0; font-weight:750; }.vehicle-result #vehicle-mot { white-space:nowrap; }.vehicle-result dl div.is-expired dt,.vehicle-result dl div.is-expired dd { color:#9b1c1c; }.confirmation-question { margin:18px 0 12px; font-weight:750; }.actions { display:flex; justify-content:flex-end; align-items:stretch; gap:10px; }.actions button { min-height:44px; padding:0 16px; border-radius:9px; cursor:pointer; font-weight:800; }.secondary-button { border:0; background:#e1e4e8; color:var(--ink); }.secondary-button:hover { background:#cdd2d8; }.primary-button { border:0; }
@media (max-width:560px) { .vehicle-shell { padding:24px 14px 48px; }.vehicle-card { padding:24px 18px; border-radius:15px; }.registration-row,.actions { flex-direction:column; }.registration-row input { width:100%; min-height:56px; flex-basis:auto; padding:1px 6px; font-size:50px; }.registration-row button,.actions button { min-height:48px; }.vehicle-result dl { grid-template-columns:1fr; gap:8px; }.vehicle-result dl div { display:flex; justify-content:space-between; }.vehicle-title { gap:12px; } }
.garage-list { display:grid; gap:12px; }.garage-choice { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:18px; border:1px solid var(--line); border-radius:13px; background:#fff; }.garage-logo { width:82px; height:62px; flex:0 0 auto; object-fit:contain; }.garage-choice-details { min-width:0; flex:1 1 auto; }.garage-choice h2 { margin:0 0 6px; font-size:19px; }.garage-choice address { margin:0 0 7px; color:var(--muted); font-size:13px; font-style:normal; line-height:1.45; }.garage-contact-links { display:flex; flex-wrap:wrap; gap:5px 14px; }.garage-choice a { color:var(--brand); font-size:13px; font-weight:800; overflow-wrap:anywhere; }.garage-choice .primary-button { min-height:44px; flex:0 0 auto; padding:0 16px; }
@media (max-width:560px) { .vehicle-card.garage-selection-card { padding:24px 18px; }.garage-choice { align-items:stretch; flex-direction:column; }.garage-choice .primary-button { width:100%; } }
.garage-choice address { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.vehicle-loading { position:fixed; z-index:1000; inset:0; display:grid; place-items:center; padding:20px; background:rgba(15,23,42,.58); backdrop-filter:blur(2px); }.vehicle-loading[hidden] { display:none; }.vehicle-loading-card { display:flex; width:min(100%,390px); align-items:center; flex-direction:column; gap:10px; padding:28px 24px; border-radius:16px; background:#fff; box-shadow:0 18px 55px rgba(15,23,42,.25); color:var(--ink); text-align:center; }.vehicle-loading-card strong { font-size:18px; }.vehicle-loading-card > span:last-child { color:var(--muted); font-size:13px; line-height:1.5; }.vehicle-loading-spinner { width:38px; height:38px; border:4px solid #d9dee5; border-top-color:#111; border-radius:50%; animation:vehicle-booking-spin .75s linear infinite; }body.is-checking-booking { overflow:hidden; }@keyframes vehicle-booking-spin { to { transform:rotate(360deg); } }@media (prefers-reduced-motion:reduce) { .vehicle-loading-spinner { animation-duration:1.5s; } }
