:root { --road-placeholder: #147eb3; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--surface); font-size: 11px; line-height: 16px; }
.road-booking { width: 100%; flex: 1; padding: 32px; background: var(--surface-low); }
.road-booking h1 { width: fit-content; margin: 0 0 24px; padding: 8px 18px; border-left: 4px solid var(--gold); border-radius: 4px; color: #fff; background: var(--primary); box-shadow: var(--shadow-1); font-size: 24px; line-height: 32px; }
.booking-success { margin: 0 0 24px; padding: 14px 18px; border: 1px solid #86c99a; border-radius: 6px; color: #14532d; background: #dcfce7; font-size: 14px; font-weight: 600; text-align: center; }
.booking-success[hidden] { display: none; }
.booking-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 24px; }
.booking-column { position: relative; min-width: 0; padding: 24px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-lowest); box-shadow: var(--shadow-1); }
.booking-column::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--primary), var(--gold)); }
.form-section + .form-section { margin-top: 20px; }
.form-section h2 { margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); color: var(--primary); font-size: 18px; line-height: 24px; }
.form-table { width: 100%; table-layout: fixed; border-collapse: collapse; background: #fff; }
.form-table th, .form-table td { height: 25px; padding: 0; border: 1px solid var(--outline); vertical-align: top; text-align: left; }
.form-table th { width: 140px; padding: 4px 7px; color: var(--primary); font-weight: 600; }
.form-table th span { float: right; }
.form-table .short-label { width: 96px; }
.form-table .short-value { width: 140px; }
input, textarea { display: block; width: 100%; min-width: 0; height: 24px; margin: 0; padding: 4px 7px; border: 0; border-radius: 0; outline: 0; color: var(--on-surface); background: #fff; font: 11px/16px Inter, Arial, sans-serif; }
textarea { resize: none; }
input::placeholder, textarea::placeholder { color: var(--road-placeholder); opacity: 1; }
input:hover, textarea:hover { background: var(--surface-low); }
input:focus-visible, textarea:focus-visible { background: #fff; box-shadow: inset 0 0 0 2px var(--primary); }
.inner-table { width: 100%; height: 100%; table-layout: fixed; border-collapse: collapse; }
.inner-table td { padding: 0; border-top: 0; border-bottom: 0; border-left: 0; }
.inner-table td:last-child { border-right: 0; }
.address-row, .address-row > th, .address-row > td { height: 76px; }
.address-row > td > textarea { height: 50px; border-bottom: 1px solid var(--outline); }
.address-row .inner-table { height: 25px; }
.thirds td { width: 33.333%; }
.halves td { width: 50%; }
.truck-row, .truck-row > th, .truck-row > td { height: 51px; }
.truck-row .inner-table td { height: 25px; }
.truck-row .inner-table tr:first-child td { border-bottom: 1px solid var(--outline); }
.booking-actions { display: grid; grid-template-columns: 200px minmax(0, 1fr); align-items: center; gap: 12px 16px; margin-top: 20px; padding: 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface-low); font-size: 11px; line-height: 16px; }
.action-button { display: block; padding: 9px 12px; overflow: hidden; border: 1px solid var(--primary); border-radius: 4px; color: #fff; background: var(--primary); font-weight: 600; text-align: center; text-decoration: none; white-space: nowrap; cursor: pointer; box-shadow: var(--shadow-1); }
.action-button:hover, .action-button:focus-visible { color: var(--primary); background: var(--gold); outline: 0; }
.file-picker { min-width: 0; display: grid; gap: 7px; color: var(--primary); font-weight: 600; }
.file-picker input { width: 100%; min-width: 0; height: 34px; padding: 3px; overflow: hidden; border: 1px solid var(--outline-variant); border-radius: 4px; color: var(--on-surface-variant); background: #fff; font: inherit; white-space: nowrap; cursor: pointer; }
.file-picker input::file-selector-button { margin-right: 6px; padding: 5px 7px; border: 1px solid var(--primary); border-radius: 3px; color: #fff; background: var(--primary); font: 600 10px/14px Inter, Arial, sans-serif; cursor: pointer; }
.file-picker input:hover::file-selector-button,
.file-picker input:focus-visible::file-selector-button { color: var(--primary); background: var(--gold); }
.file-picker input:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.submit-row { display: flex; justify-content: flex-end; margin-top: 24px; }
.booking-submit { min-width: 170px; padding: 12px 24px; border: 1px solid var(--primary); border-radius: 4px; color: #fff; background: var(--primary); font: 600 11px/16px Inter, Arial, sans-serif; cursor: pointer; box-shadow: 0 4px 12px rgba(15, 23, 42, .14); }
.booking-submit:hover, .booking-submit:focus-visible { color: var(--primary); background: var(--gold); outline: 0; transform: translateY(-1px); }
.booking-submit.is-loading { display: inline-flex; align-items: center; justify-content: center; gap: 9px; color: #fff; background: var(--primary); cursor: wait; opacity: .82; transform: none; }
.booking-submit.is-loading::before { content: ""; width: 14px; height: 14px; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%; animation: road-booking-spin .7s linear infinite; }
@keyframes road-booking-spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) { .booking-columns { grid-template-columns: 1fr; } .road-booking { padding: 24px 16px; } }
@media (max-width: 620px) {
  .road-booking { padding: 20px 10px; }
  .road-booking h1 { font-size: 20px; line-height: 28px; }
  .booking-column { padding: 20px 12px; overflow-x: auto; }
  .form-table { min-width: 580px; }
  .booking-actions { grid-template-columns: 1fr; min-width: 0; }
  .booking-submit { width: 100%; }
}
@media print { .header, .site-footer, .booking-actions, .submit-row { display: none; } .road-booking { padding: 0; } .booking-column { box-shadow: none; } }
