:root {
  --app-max-width: 1120px;
  --blue: #135bea;
  --blue-dark: #0a43bb;
  --blue-soft: #eaf1ff;
  --ink: #0d1726;
  --slate: #667085;
  --cloud: #f4f6f9;
  --line: #dce1e8;
  --white: #ffffff;
  --radius: 18px;
  --display: "Barlow Condensed", Impact, sans-serif;
  --body: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: clip; scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--body); }
img { max-width: 100%; }
button, select, input { font: inherit; }
.phone-number,input[type="tel"] { direction:ltr; unicode-bidi:isolate; text-align:left; white-space:nowrap; }
button, select { cursor: pointer; }
button:focus-visible, select:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid #9dbcfb; outline-offset: 3px; }

.site-header { height: 76px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) auto; justify-content: space-between; align-items: center; padding: 0 32px; position: relative; z-index: 20; background: rgba(255,255,255,.96); }
.brand { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; width: max-content; }
.brand-logo { display:block; width:auto; height:48px; object-fit:contain; }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 20px; }
.text-button { border: 0; background: none; font-weight: 700; color: var(--ink); }
.text-button::after { content: " / Join"; font-weight: 500; color: var(--slate); }
.header-divider { height: 28px; width: 1px; background: var(--line); }
.menu-button { width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--cloud); display: grid; align-content: center; gap: 5px; padding: 0 10px; }
.menu-button span { display: block; width: 100%; height: 1.5px; background: var(--ink); transition: transform .2s; }
.mobile-menu { display: none; position: fixed; z-index: 19; top: 54px; right: 24px; width: min(220px, calc(100vw - 32px)); background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 7px; box-shadow: 0 16px 45px rgba(13,23,38,.16); }
.mobile-menu.open { display: grid; }
.mobile-menu [hidden] { display: none; }
.mobile-menu a, .mobile-menu button { min-height: 38px; border: 0; background: transparent; display:flex; align-items:center; gap:9px; text-align: left; padding: 9px 11px; border-radius: 7px; text-decoration: none; color: var(--ink); font-size: 12px; font-weight: 600; line-height: 1.4; }
.mobile-menu .menu-icon { color:var(--blue); }
.mobile-menu a:hover, .mobile-menu button:hover { background: var(--cloud); }

.progress-wrap { max-width: 1180px; margin: 0 auto; padding: 34px 24px 31px; position: relative; }
.progress-track { position: absolute; height: 2px; top: 51px; left: calc(16.66% + 24px); right: calc(16.66% + 24px); background: var(--line); }
.progress-track span { display: block; width: 50%; height: 100%; background: var(--blue); }
.progress-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.progress-list li { display: flex; align-items: center; justify-content: center; gap: 12px; background: white; width: max-content; justify-self: center; padding: 0 12px; }
.progress-list li > span { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #8b93a1; background: white; }
.progress-list li.done > span, .progress-list li.active > span { color: white; background: var(--blue); border-color: var(--blue); }
.progress-list svg { width: 17px; fill: none; stroke: white; stroke-width: 2.3; }
.progress-list p { margin: 0; font-size: 14px; font-weight: 700; }
.progress-list small { display: block; color: var(--slate); font-size: 10px; font-weight: 500; margin-top: 2px; }
.progress-step-button { border: 0; border-radius: 7px; background: white; color: inherit; display: flex; align-items: center; gap: 8px; padding: 2px 4px; }
.progress-step-button .step-number { width: 34px; height: 34px; flex: 0 0 34px; border: 1px solid var(--blue); border-radius: 50%; display: grid; place-items: center; color: white; background: var(--blue); font-size: 12px; font-weight: 700; }
.progress-list .progress-step-button .step-edit-icon { width: 15px; height: 15px; fill: none; stroke: var(--blue); stroke-width: 1.8; }
.progress-step-button:hover b { color: var(--blue); }

.fleet-section { background: var(--cloud); border-top: 1px solid var(--line); min-height: calc(100vh - 174px); padding: 46px max(24px, calc((100vw - 1440px)/2)) 80px; }
.fleet-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 30px; }
.eyebrow { color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; margin: 0 0 7px; }
h1 { font: 800 clamp(42px, 4vw, 64px)/.92 var(--display); text-transform: uppercase; letter-spacing: -.025em; margin: 0; }
h1 em { color: var(--blue); font-style: normal; }
.results-meta { display: flex; align-items: end; gap: 30px; color: var(--slate); font-size: 13px; }
.results-meta p { margin: 0 0 10px; }
.results-meta strong { color: var(--ink); font-size: 16px; }
.results-meta label { display: grid; gap: 4px; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.results-meta select { border: 0; background: transparent; color: var(--ink); font-weight: 700; padding: 0 18px 0 0; }

.controls-bar { background: white; border: 1px solid var(--line); border-radius: 13px; display: flex; justify-content: space-between; gap: 14px; padding: 9px; margin-bottom: 18px; box-shadow: 0 8px 24px rgba(15,33,61,.04); }
.filters { display: flex; gap: 8px; }
.filter-control { position: relative; height: 48px; border-radius: 9px; background: var(--cloud); display: flex; align-items: center; padding: 0 13px; gap: 9px; min-width: 152px; }
.filter-control svg { width: 18px; fill: none; stroke: var(--ink); stroke-width: 1.5; flex: 0 0 auto; }
.filter-control > span { position: absolute; left: 40px; top: 7px; color: var(--slate); font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; pointer-events: none; }
.filter-control select { border: 0; background: transparent; width: 100%; padding: 14px 20px 0 0; font-size: 12px; font-weight: 700; color: var(--ink); outline: none; }
.sort-control { background: var(--ink); color: white; border-radius: 9px; min-width: 210px; position: relative; display: flex; flex-direction: column; justify-content: center; padding: 7px 40px 6px 16px; }
.sort-control span { font-size: 9px; color: #9fa8b7; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.sort-control select { border: 0; appearance: none; background: transparent; color: white; font-size: 12px; font-weight: 700; outline: none; }
.sort-control svg { position: absolute; right: 14px; width: 17px; fill: none; stroke: white; stroke-width: 2; }
.active-filters { min-height: 28px; display: flex; gap: 8px; flex-wrap: wrap; }
.filter-chip { border: 1px solid #c9d8f5; background: var(--blue-soft); color: var(--blue-dark); padding: 5px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }

.car-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.car-card { position: relative; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; animation: cardIn .45s ease both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.car-card:hover { transform: translateY(-4px); border-color: #b8c5d8; box-shadow: 0 18px 38px rgba(15,33,61,.10); }
.car-card.selected { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue); }
.card-head { padding: 22px 22px 0; display: flex; justify-content: space-between; gap: 12px; }
.car-class { color: var(--blue); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; margin: 0 0 3px; }
.card-head h2 { font: 700 27px/1 var(--display); letter-spacing: -.01em; margin: 0 0 5px; text-transform: uppercase; }
.card-head p:last-child { margin: 0; color: var(--slate); font-size: 11px; }
.availability { white-space: nowrap; color: #147447; background: #e6f6ed; border-radius: 999px; padding: 6px 8px; font-size: 9px; height: max-content; font-weight: 700; }
.car-visual { height: 205px; margin: 12px 14px 0; border-radius: 12px; overflow: hidden; background: linear-gradient(145deg, #e9edf3, #f8f9fb); position: relative; }
.car-visual::after { content: ""; position: absolute; inset: auto 12% 10px; height: 16px; border-radius: 50%; background: rgba(8,19,38,.18); filter: blur(9px); }
.car-visual img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) contrast(1.04); transition: transform .45s ease; }
.car-card:hover .car-visual img { transform: scale(1.035); }
.car-features { display: flex; align-items: center; gap: 7px; padding: 15px 22px; border-bottom: 1px solid var(--line); }
.feature { color: var(--slate); background: var(--cloud); border-radius: 6px; display: flex; align-items: center; gap: 5px; padding: 5px 7px; font-size: 10px; font-weight: 600; }
.feature svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.card-footer { padding: 16px 22px 20px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 10px; }
.daily-rate { margin: 0 0 4px; display: flex; align-items: baseline; gap: 2px; }
.currency-symbol { font: 700 18px var(--display); }
.price-value { font: 800 32px/1 var(--display); }
.price-decimals { font: 700 15px var(--display); }
.per-day { color: var(--slate); font-size: 10px; margin-left: 3px; }
.total-rate { color: var(--slate); font-size: 10px; margin: 0; }
.select-button { border: 0; border-radius: 9px; background: var(--blue); color: white; min-width: 94px; height: 44px; padding: 0 17px; font-size: 12px; font-weight: 700; transition: background .2s, transform .2s; }
.select-button:hover { background: var(--blue-dark); transform: translateY(-1px); }
.select-button span { display: inline-block; margin-left: 5px; transition: transform .2s; }
.select-button:hover span { transform: translateX(3px); }

.empty-state { text-align: center; padding: 80px 20px; border: 1px dashed #bdc6d3; border-radius: var(--radius); background: white; }
.empty-state span { color: var(--blue); font: 800 58px var(--display); }
.empty-state h2 { margin: 0; font: 700 30px var(--display); text-transform: uppercase; }
.empty-state p { color: var(--slate); font-size: 13px; }
.empty-state button { border: 0; border-radius: 8px; background: var(--ink); color: white; padding: 12px 18px; font-weight: 700; }

.page-scrim { position: fixed; inset: 0; z-index: 40; background: rgba(6,14,27,.52); opacity: 0; pointer-events: none; transition: opacity .3s; backdrop-filter: blur(2px); }
.page-scrim.open { opacity: 1; pointer-events: auto; }
.selection-drawer { position: fixed; z-index: 41; top: 0; right: 0; bottom: 0; width: min(430px, 100%); overflow-y: auto; overscroll-behavior: contain; background: white; padding: 48px 38px; transform: translateX(105%); transition: transform .35s cubic-bezier(.22,.9,.27,1); box-shadow: -25px 0 80px rgba(4,14,31,.2); }
.selection-drawer.open { transform: translateX(0); }
.drawer-close { position: absolute; top: 18px; right: 20px; border: 0; background: var(--cloud); width: 36px; height: 36px; border-radius: 50%; font-size: 23px; }
.drawer-step { color: var(--blue); background: var(--blue-soft); border-radius: 6px; padding: 5px 8px; display: inline-block; font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.drawer-kicker { margin: 34px 0 5px; color: var(--slate); font-size: 12px; }
.selection-drawer h2 { font: 800 46px/.95 var(--display); text-transform: uppercase; margin: 0; }
.selection-drawer img { width: 100%; height: 220px; margin: 22px 0; border-radius: 13px; object-fit: cover; }
.drawer-rate { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; padding: 18px 0; align-items: center; }
.drawer-rate span { color: var(--slate); font-size: 12px; }
.drawer-rate strong { font: 700 25px var(--display); }
.continue-button { margin-top: 28px; width: 100%; height: 54px; border: 0; border-radius: 9px; background: var(--blue); color: white; font-weight: 700; }
.continue-button span { float: right; font-size: 18px; }
.change-button { width: 100%; margin-top: 8px; border: 0; background: transparent; color: var(--slate); padding: 12px; font-weight: 600; }

.trip-dialog { border: 0; border-radius: 18px; width: min(680px, calc(100% - 32px)); max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; padding: 0; box-shadow: 0 25px 80px rgba(5,15,33,.24); }
.trip-dialog::backdrop { background: rgba(6,14,27,.52); backdrop-filter: blur(2px); }
.trip-dialog form { padding: 30px; }
.dialog-head { display: flex; justify-content: space-between; align-items: flex-start; }
.dialog-head h2 { font: 700 34px var(--display); text-transform: uppercase; margin: 0 0 24px; }
.dialog-head button { border: 0; background: var(--cloud); border-radius: 50%; width: 36px; height: 36px; font-size: 22px; }
.dialog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dialog-grid label { font-size: 11px; font-weight: 700; display: grid; gap: 7px; color: var(--slate); }
.dialog-grid input { border: 1px solid var(--line); border-radius: 9px; padding: 12px; color: var(--ink); }
.save-trip { margin-top: 24px; width: 100%; border: 0; border-radius: 9px; background: var(--blue); color: white; height: 48px; font-weight: 700; }
.review-vehicle { display: grid; grid-template-columns: 145px minmax(0, 1fr); align-items: center; gap: 14px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.review-vehicle img { width: 145px; height: 92px; border-radius: 8px; object-fit: cover; background: var(--white); }
.review-vehicle h3 { margin: 0; font: 700 27px var(--display); text-transform: uppercase; }
.review-vehicle-copy { min-width: 0; }
.review-trip-summary { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 12px; min-width: 0; }
.review-trip-summary-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 11px; color: var(--slate); font-size: 10px; font-weight: 700; }
.review-trip-summary-head strong { border: 1px solid #b9cdf8; border-radius: 999px; background: var(--blue-soft); color: var(--blue-dark); padding: 5px 9px; font-size: 11px; white-space: nowrap; }
.review-trip-route { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.review-trip-point { display: grid; gap: 5px; min-width: 0; }
.review-trip-point + .review-trip-point { border-inline-start: 1px solid var(--line); padding-inline-start: 16px; }
.review-trip-label { color: var(--slate); font-size: 10px; font-weight: 700; }
.review-date-time { display: flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; }
.review-date-time strong { color: var(--ink); font-size: 13px; letter-spacing: .01em; }
.time-pill { display: inline-flex; align-items: center; justify-content: center; min-width: 51px; padding: 5px 8px; border-radius: 999px; background: var(--blue); color: white; font-size: 11px; font-weight: 800; line-height: 1; }
.review-trip-location { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--slate); font-size: 10px; }
.review-breakdown { margin: 22px 0 0; }
.review-breakdown div { display: flex; justify-content: space-between; padding: 11px 0; color: var(--slate); font-size: 12px; }
.review-breakdown dd { margin: 0; color: var(--ink); font-weight: 700; }
.review-breakdown .review-total { border-top: 1px solid var(--line); margin-top: 5px; padding-top: 16px; color: var(--ink); font-weight: 700; }
.review-total dd { color: var(--blue); font: 700 23px var(--display); }
.dialog-note { color: var(--slate); text-align: center; font-size: 10px; }
.driver-dialog { width: min(720px, calc(100% - 28px)); }
.driver-intro { margin: -4px 0 22px; color: var(--slate); font-size: 12px; line-height: 1.6; }
.driver-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.driver-fields label { display: grid; gap: 7px; min-width: 0; color: var(--slate); font-size: 11px; font-weight: 700; }
.driver-fields input, .driver-fields select { width: 100%; min-width: 0; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); padding: 0 11px; }
.document-uploads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.document-upload { min-width: 0; border: 1px dashed #aebbd0; border-radius: 10px; background: var(--cloud); padding: 14px; display: grid; gap: 5px; }
.document-title { color: var(--ink); font-size: 12px; font-weight: 800; }
.document-upload small { color: var(--slate); font-size: 9px; }
.document-upload input { width: 100%; min-width: 0; margin-top: 7px; color: var(--slate); font-size: 10px; direction: ltr; text-align: left; }
.document-upload input::file-selector-button { border: 0; border-radius: 6px; background: var(--blue-soft); color: var(--blue-dark); padding: 7px 9px; margin-right: 8px; font-weight: 800; cursor: pointer; }
.form-message { min-height: 18px; margin: 10px 0 -8px; color: #b42318; font-size: 11px; font-weight: 700; }
.save-trip:disabled { cursor: wait; opacity: .65; }
.account-field { display: grid; gap: 7px; margin: 0 0 14px; color: var(--slate); font-size: 11px; font-weight: 700; }
.account-field input { border: 1px solid var(--line); border-radius: 9px; padding: 13px; }
.signup-only[hidden] { display: none; }
#signupPinConfirm { direction: ltr; unicode-bidi: isolate; text-align: left; letter-spacing: .35em; }
.join-link { width: 100%; border: 0; background: transparent; color: var(--blue); font-weight: 700; padding: 15px; }
.signin-dialog { width: min(520px, calc(100% - 28px)); }
.signin-dialog form { padding: 34px; }
.signin-dialog .dialog-head h2 { margin-bottom: 0; }
.auth-mode-switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; margin: 18px 0 4px; padding: 4px; border-radius: 9px; background: var(--cloud); }
.auth-mode-switch button { min-height: 38px; border: 0; border-radius: 7px; background: transparent; color: var(--slate); font-size: 11px; font-weight: 800; }
.auth-mode-switch button.active { background: white; color: var(--blue); box-shadow: 0 1px 5px rgba(15,33,61,.10); }
.signin-intro { color: var(--slate); margin: 10px 0 24px; font-size: 13px; line-height: 1.5; }
.phone-row { display: grid; grid-template-columns: 125px 1fr; gap: 10px; direction: ltr; }
.phone-row > * { min-width: 0; }
.phone-row select,.phone-row input { direction: ltr; text-align: left; }
html[dir="rtl"] .phone-row>label { direction: rtl; text-align: right; }
.country-field, .mobile-field { display: grid; gap: 7px; color: var(--slate); font-size: 11px; font-weight: 700; }
.country-field select, .mobile-field input { width: 100%; min-width: 0; height: 50px; border: 1px solid var(--line); border-radius: 7px; background: white; color: var(--ink); padding: 0 12px; }
.country-field select:focus, .mobile-field input:focus { border-color: var(--blue); outline: 3px solid var(--blue-soft); }
.mobile-field input { font-size: 16px; letter-spacing: .04em; }
.field-hint { margin: 7px 0 21px 135px; color: #8a8e95; font-size: 10px; }
.pin-fieldset { border: 0; padding: 0; margin: 0; }
.pin-fieldset legend { color: var(--slate); font-size: 11px; font-weight: 700; margin-bottom: 7px; }
.pin-inputs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 9px; direction: ltr; unicode-bidi: isolate; }
.pin-inputs input { width: 100%; min-width: 0; height: 56px; border: 1px solid var(--line); border-radius: 7px; text-align: center; font: 700 23px var(--body); color: var(--ink); caret-color: var(--blue); }
.pin-inputs input:focus { border-color: var(--blue); outline: 3px solid var(--blue-soft); }
.pin-inputs input.filled { border-color: #aeb7c5; background: var(--cloud); }
.show-pin { display: flex; width: max-content; align-items: center; gap: 7px; margin-top: 12px; color: var(--slate); font-size: 11px; cursor: pointer; }
.show-pin input { accent-color: var(--blue); }
.auth-message { min-height: 18px; margin: 11px 0 -12px; color: #bd1e2c; font-size: 11px; font-weight: 600; }
.auth-message.success { color: #147447; }
.signin-submit { position: relative; }
.signin-submit b { display: none; position: absolute; width: 17px; height: 17px; right: 17px; top: 15px; border: 2px solid rgba(255,255,255,.45); border-top-color: white; border-radius: 50%; animation: auth-spin .7s linear infinite; }
.signin-submit.loading b { display: block; }
.signin-submit:disabled { cursor: wait; opacity: .82; }
.auth-footnote { margin: 0; text-align: center; color: #969aa1; font-size: 9px; line-height: 1.4; }
@keyframes auth-spin { to { transform: rotate(360deg); } }

.account-dialog { width: min(780px, calc(100% - 28px)); }
.account-panel { padding: 30px; }
.account-dialog-head h2 { margin-bottom: 18px; }
.customer-profile-summary { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--cloud); }
.customer-profile-initial { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 18px; font-weight: 800; text-transform: uppercase; }
.customer-profile-copy { display: grid; gap: 3px; min-width: 0; }
.customer-profile-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.customer-profile-copy span { justify-self: start; color: var(--slate); font-size: 11px; }
.customer-signout { min-height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--ink); font-size: 11px; font-weight: 700; }
.customer-signout:hover { border-color: #aeb8c7; }
.reservation-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; margin-top: 20px; padding: 4px; border-radius: 10px; background: var(--cloud); }
.reservation-tabs button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; border: 0; border-radius: 7px; background: transparent; color: var(--slate); font-size: 11px; font-weight: 800; }
.reservation-tabs button.active { background: #fff; color: var(--blue-dark); box-shadow: 0 1px 5px rgba(15,33,61,.1); }
.reservation-tabs b { display: grid; place-items: center; min-width: 21px; height: 21px; padding-inline: 5px; border-radius: 999px; background: #dfe5ee; color: var(--slate); font-size: 10px; }
.reservation-tabs button.active b { background: var(--blue); color: #fff; }
.account-reservations-message { min-height: 17px; margin: 12px 0 0; color: var(--slate); text-align: center; font-size: 11px; font-weight: 700; }
.account-reservations-message.error { color: #b42318; }
.customer-reservation-list { display: grid; gap: 10px; margin-top: 10px; }
.customer-reservation-card { display: grid; gap: 13px; padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.customer-reservation-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.customer-reservation-code { display: grid; gap: 2px; min-width: 0; }
.customer-reservation-code small { color: var(--slate); font-size: 9px; font-weight: 700; }
.customer-reservation-code strong { direction: ltr; unicode-bidi: isolate; color: var(--ink); font-size: 15px; letter-spacing: .02em; }
.customer-reservation-status { flex: 0 0 auto; padding: 5px 9px; border-radius: 999px; background: #fff2d8; color: #8a5700; font-size: 9px; font-weight: 800; }
.customer-reservation-status.confirmed, .customer-reservation-status.active { background: #dff7ed; color: #087652; }
.customer-reservation-status.completed { background: #e9edf3; color: #4f5c70; }
.customer-reservation-status.cancelled { background: #fde8e7; color: #a6231c; }
.customer-reservation-vehicle { margin: 0; font-size: 14px; font-weight: 800; }
.customer-reservation-route { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.customer-reservation-point { min-width: 0; padding: 10px; border-radius: 8px; background: var(--cloud); }
.customer-reservation-point span { display: block; margin-bottom: 4px; color: var(--slate); font-size: 9px; font-weight: 700; }
.customer-reservation-point strong { display: block; direction: ltr; unicode-bidi: isolate; font-size: 12px; }
.customer-reservation-point small { display: block; overflow: hidden; margin-top: 3px; color: var(--slate); text-overflow: ellipsis; white-space: nowrap; font-size: 9px; }
.customer-reservation-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 11px; border-top: 1px solid var(--line); }
.customer-reservation-total { display: grid; gap: 2px; }
.customer-reservation-total span { color: var(--slate); font-size: 9px; font-weight: 700; }
.customer-reservation-total strong { color: var(--blue-dark); font-size: 15px; }
.customer-reservation-link { padding: 9px 12px; border-radius: 7px; background: var(--blue); color: #fff; text-decoration: none; font-size: 10px; font-weight: 800; }
.customer-reservation-link:hover { background: var(--blue-dark); }
.account-empty-state { margin: 10px 0 0; padding: 34px 16px; border: 1px dashed #cdd4df; border-radius: 12px; background: var(--cloud); color: var(--slate); text-align: center; font-size: 12px; }
.toast { position: fixed; left: 50%; bottom: 25px; z-index: 60; width: max-content; max-width: calc(100% - 24px); overflow-wrap: anywhere; text-align: center; transform: translate(-50%, 30px); background: var(--ink); color: white; padding: 12px 18px; border-radius: 9px; font-size: 12px; opacity: 0; transition: .25s; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1120px) {
  .site-header { grid-template-columns: minmax(0, 1fr) auto; padding: 0 20px; }
  .controls-bar { overflow-x: auto; }
  .filters { flex: 0 0 auto; }
  .car-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) and (min-width: 761px) {
  .site-header { grid-template-columns: minmax(0, 1fr) auto; }
  .header-divider, .text-button { display: none; }
}

@media (max-width: 760px) {
  .site-header { height: auto; min-height: 68px; grid-template-columns: 1fr auto; padding: 12px 16px; }
  .brand-logo { height:42px; }
  .header-actions { grid-column: 2; grid-row: 1; }
  .text-button, .header-divider { display: none; }
  .mobile-menu { top: 64px; right: 16px; }
  .progress-wrap { padding: 25px 10px 23px; }
  .progress-track { top: 41px; left: 17%; right: 17%; }
  .progress-list li { padding: 0 6px; gap: 0; }
  .progress-list li > span { width: 30px; height: 30px; }
  .progress-list p { display: none; }
  .fleet-section { padding: 32px 14px 55px; }
  .fleet-heading { align-items: flex-start; }
  .results-meta { display: block; text-align: right; }
  .results-meta label { justify-items: end; }
  .controls-bar { display: block; background: transparent; border: 0; box-shadow: none; padding: 0; overflow: visible; }
  .filters { display: grid; grid-template-columns: 1fr 1fr; }
  .filter-control { min-width: 0; width: 100%; background: white; border: 1px solid var(--line); }
  .sort-control { margin-top: 8px; height: 50px; }
  .car-grid { grid-template-columns: 1fr; gap: 14px; }
  .car-visual { height: 220px; }
  .selection-drawer { padding: 42px 24px; }
  .dialog-grid { grid-template-columns: 1fr; }
  .review-vehicle img { width: 110px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms!important; animation-iteration-count: 1!important; scroll-behavior: auto!important; transition-duration: .01ms!important; }
}

/* Compact reservation layout — tuned to the supplied reference */
:root {
  --blue: #075ce5;
  --blue-dark: #0047b8;
  --blue-soft: #e7f0ff;
  --ink: #0b0c0e;
  --slate: #71757b;
  --cloud: #f4f5f6;
  --line: #d8dadd;
  --card: #e9ebee;
  --radius: 13px;
}

body { background: #fff; }
.site-header { height: 54px; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 0 22px; }
.brand { min-width:0; }
.header-actions { min-width: 0; gap: 9px; }
.text-button { padding: 5px 2px; font-size: 12px; display:inline-flex; align-items:center; gap:6px; }
.text-button .account-label { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.text-button::after { color: var(--ink); font-weight: 700; content: " or Join"; }
.text-button.signed-in { max-width:180px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.text-button.signed-in::after { display: none; }
.header-divider { display: none; }
.menu-button { background: transparent; width: 30px; height: 30px; padding: 0 6px; }
.menu-button span { height: 1px; }

.progress-wrap { max-width: 1120px; padding: 15px 16px 14px; }
.progress-track { top: 29px; left: calc(16.66% + 20px); right: calc(16.66% + 20px); height: 1px; }
.progress-track span { background: var(--line); }
.progress-list li { gap: 8px; padding: 0 9px; }
.progress-list li > span { width: 27px; height: 27px; color: #989b9f; font-size: 12px; }
.progress-list li.done > span, .progress-list li.active > span { background: #050505; border-color: #050505; }
.progress-list p { font-size: 15px; }
.progress-list small { display: none; }
.progress-step-button .step-number { width: 27px; height: 27px; flex-basis: 27px; background: #050505; border-color: #050505; }
.dialog-grid input[type="date"], .dialog-grid input[type="time"] { direction: ltr; text-align: left; }

.fleet-section { background: #fff; border-top: 1px solid var(--line); min-height: calc(100vh - 112px); padding: 14px max(14px, calc((100vw - 1420px)/2)) 54px; }
.fleet-heading { margin: 0 0 13px; }
.fleet-heading h1 { font: 800 23px/1 var(--display); letter-spacing: -.03em; }
.controls-bar { min-width: 0; padding: 0 0 14px; gap: 8px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; margin-bottom: 17px; align-items: center; }
.filters { min-width: 0; flex: 1 1 auto; gap: 6px; }
.filter-control { flex: 1 1 128px; height: 38px; min-width: 118px; padding: 0 10px; gap: 7px; border: 1px solid #c8cacf; border-radius: 5px; background: #fff; }
.filter-control > span { display: none; }
.filter-control svg { width: 16px; }
.filter-control select { min-width: 0; padding: 0 16px 0 0; font-size: 12px; }
.price-filter { min-width: 105px; }
.sort-control { flex: 0 1 145px; min-width: 125px; height: 38px; padding: 0 32px 0 11px; border-radius: 4px; background: #050505; flex-direction: row; align-items: center; }
.sort-control span { display: none; }
.sort-control select { min-width: 0; font-size: 12px; width: 100%; }
.sort-control select option { color: var(--ink); background: #fff; }
.sort-control svg { width: 14px; right: 10px; }
.currency-control { margin-left: auto; display: flex; align-items: center; gap: 4px; font-size: 11px; white-space: nowrap; }
.currency-control .currency-fixed { font-weight: 700; font-size: 11px; }
.active-filters { min-height: 0; margin: -13px 0 13px; }
.active-filters:empty { display: none; }

.car-grid { gap: 12px; }
.car-card { background: var(--card); border: 0; border-radius: 11px; min-height: 370px; box-shadow: none; }
.car-card:hover { transform: translateY(-2px); border-color: transparent; box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.car-card.selected { box-shadow: 0 0 0 3px var(--blue); }
.card-head { padding: 18px 16px 0; }
.card-head h2 { font: 600 22px/1 var(--display); text-transform: none; margin-bottom: 4px; }
.card-head p:last-child { color: #131416; font-size: 11px; }
.availability { display: none; }
.car-features { padding: 9px 16px 0; border: 0; gap: 4px; }
.feature { background: #d9dce0; color: #6d7176; border-radius: 999px; padding: 4px 6px; font-size: 10px; font-weight: 400; }
.feature svg { width: 14px; height: 14px; }
.car-visual { height: 165px; margin: 6px 12px 0; background: #fff; border-radius: 4px; }
.car-visual::after { display: none; }
.car-visual img { object-fit: cover; object-position: center; border-radius: 4px; filter: grayscale(1) contrast(1.08) brightness(.92); mix-blend-mode: normal; }
.card-footer { padding: 8px 16px 17px; }
.currency-symbol { font-size: 20px; }
.price-value { font-size: 29px; }
.price-decimals { font-size: 14px; }
.per-day { font-size: 11px; }
.total-rate { font-size: 11px; color: #888b8f; margin-top: 9px; }
.select-button { border-radius: 5px; background: var(--blue); height: 38px; min-width: 68px; font-size: 12px; }
.select-button span { display: none; }

@media (max-width: 1120px) {
  .site-header { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding-inline: 14px; }
  .controls-bar { overflow: visible; }
  .currency-control { padding-left: 0; }
  .car-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .card-head { padding-left: 16px; padding-right: 16px; }
  .car-features { padding-left: 16px; }
  .car-visual { margin-left: 12px; margin-right: 12px; }
  .card-footer { padding-left: 16px; padding-right: 16px; }
  .total-rate { font-size: 11px; }
}

@media (max-width: 900px) and (min-width: 761px) {
  .car-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .site-header { min-height: 68px; height: auto; padding: 10px 14px; }
  .progress-wrap { padding: 14px 10px; }
  .progress-track { top: 28px; }
  .fleet-section { padding: 14px 10px 48px; }
  .controls-bar { overflow: visible; }
  .filters { gap: 7px; }
  .filter-control { min-width: 0; height: 40px; }
  .price-filter { min-width: 0; }
  .sort-control { height: 40px; }
  .currency-control { justify-content: flex-end; padding: 9px 3px 0; }
  .car-card { min-height: 348px; }
  .car-visual { height: 160px; }
  .car-grid { grid-template-columns: 1fr; }
  .signin-dialog form { padding: 28px 20px; }
  .phone-row { grid-template-columns: 112px 1fr; }
  .field-hint { margin-left: 122px; }
  .pin-inputs { gap: 6px; }
  .pin-inputs input { height: 50px; }
}

/* Localization, accessibility, and support content */
.skip-link { position: fixed; inset-inline-start: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 7px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 12px; }
.language-toggle { min-width: 58px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 700; }
.language-icon-button { width:40px; height:40px; min-width:40px; padding:0; border:1px solid var(--line); border-radius:50%; display:grid; place-items:center; background:#fff; color:var(--blue); transition:background .18s ease,color .18s ease,border-color .18s ease; }
.language-icon-button:hover { border-color:#b8cdf8; background:var(--blue-soft); color:var(--blue-dark); }
.language-icon-button svg { width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.button-icon,.menu-icon { width:18px; height:18px; flex:0 0 18px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.icon-action { display:flex; align-items:center; justify-content:center; gap:8px; }
.text-button::after { content: none; }
.support-section { max-width: 1440px; margin: 0 auto; padding: 42px max(24px, calc((100vw - 1400px)/2)); display: flex; justify-content: space-between; align-items: center; gap: 30px; border-top: 1px solid var(--line); background: #fff; }
.support-section p { margin: 0 0 5px; color: var(--blue); font: 800 18px var(--display); }
.support-section h2 { margin: 0 0 7px; font: 700 30px var(--display); }
.support-section span { color: var(--slate); font-size: 13px; }
.support-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.support-actions a { padding: 11px 15px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); text-decoration: none; font-size: 12px; font-weight: 700; display:inline-flex; align-items:center; justify-content:center; gap:7px; }
.support-actions a:first-child { border-color: var(--blue); background: var(--blue); color: #fff; }
.support-actions span { color:inherit; }
.site-footer { min-height: 64px; padding: 18px max(24px, calc((100vw - 1400px)/2)); display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); background: var(--cloud); color: var(--slate); font-size: 11px; }
.site-footer button { border: 0; background: transparent; color: var(--blue); font-weight: 700; }

[lang="ar"] body, [lang="ar"] button, [lang="ar"] select, [lang="ar"] input { font-family: "Noto Kufi Arabic", Arial, sans-serif; }
[lang="ar"] h1, [lang="ar"] h2, [lang="ar"] h3, [lang="ar"] .brand, [lang="ar"] .price-value, [lang="ar"] .currency-symbol, [lang="ar"] .drawer-rate strong { font-family: "Noto Kufi Arabic", Arial, sans-serif; }
[lang="ar"] h1 { letter-spacing: 0; text-transform: none; }
[dir="rtl"] .mobile-menu a, [dir="rtl"] .mobile-menu button { text-align: right; }
[dir="rtl"] .mobile-menu { right: auto; left: 24px; }
[dir="rtl"] .filter-control > span { left: auto; right: 40px; }
[dir="rtl"] .filter-control select { padding: 0 0 0 20px; }
[dir="rtl"] .sort-control { padding: 0 14px 0 39px; }
[dir="rtl"] .sort-control svg { right: auto; left: 14px; }
[dir="rtl"] .currency-control { margin-left: 0; margin-right: auto; }
[dir="rtl"] .per-day, [dir="rtl"] .select-button span { margin-left: 0; margin-right: 3px; }
[dir="rtl"] .selection-drawer { right: auto; left: 0; transform: translateX(-105%); box-shadow: 25px 0 80px rgba(4,14,31,.2); }
[dir="rtl"] .selection-drawer.open { transform: translateX(0); }
[dir="rtl"] .drawer-close { right: auto; left: 20px; }
[dir="rtl"] .continue-button span { float: left; }
[dir="rtl"] .field-hint { margin-left: 0; margin-right: 135px; }

@media (max-width: 760px) {
  .language-toggle { min-width: 50px; padding-inline: 6px; }
  .language-toggle.language-icon-button { min-width:40px; padding:0; }
  .header-actions { gap: 8px; }
  .mobile-menu { top: 68px; }
  .support-section { align-items: flex-start; flex-direction: column; padding: 30px 16px; }
  .support-actions { width: 100%; }
  .support-actions a { flex: 1 1 auto; text-align: center; }
  [dir="rtl"] .mobile-menu { right: auto; left: 16px; }
  [dir="rtl"] .field-hint { margin-right: 122px; }
}

/* Mobile hardening: keep every booking action usable down to 320px. */
@media (max-width: 760px) {
  body { min-width: 0; overflow-x: clip; }
  .site-header { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .brand { max-width:100%; overflow:hidden; }
  .brand-logo { height:42px; max-width:110px; }
  .header-actions { min-width: 0; }
  .language-toggle { min-width: 46px; min-height: 40px; padding: 6px; font-size: 11px; }
  .language-toggle.language-icon-button { min-width:40px; padding:0; }
  .menu-button { width: 40px; height: 40px; flex: 0 0 40px; padding-inline: 10px; }

  .progress-list { min-width: 0; }
  .progress-list li { min-width: 0; width: auto; }
  .progress-list li > span { flex: 0 0 27px; width: 27px; height: 27px; }
  .progress-step-button { gap: 4px; padding-inline: 2px; }

  .fleet-heading, .controls-bar, .filters, .car-grid, .car-card { min-width: 0; max-width: 100%; }
  .fleet-heading h1 { overflow-wrap: anywhere; font-size: 21px; }
  .filters { width: 100%; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .filter-control, .filter-control select { width: 100%; max-width: 100%; }
  .sort-control { width: 100%; min-width: 0; max-width: 100%; }
  .currency-control { width: 100%; margin-inline: 0; }

  .card-head > div { min-width: 0; }
  .card-head h2, .card-head p { overflow-wrap: anywhere; }
  .car-features { min-width: 0; flex-wrap: wrap; }
  .car-visual { width: auto; max-width: calc(100% - 24px); }
  .card-footer { min-width: 0; grid-template-columns: minmax(0, 1fr) auto; }
  .card-footer > div { min-width: 0; }
  .daily-rate { min-width: 0; flex-wrap: wrap; }
  .total-rate { overflow-wrap: anywhere; }
  .select-button { min-height: 40px; }

  .selection-drawer { width: 100%; padding: 42px 20px 28px; }
  .drawer-close { width: 40px; height: 40px; }
  .selection-drawer h2 { overflow-wrap: anywhere; font-size: 31px; }
  .selection-drawer img { height: 180px; margin-block: 16px; }
  .drawer-rate { gap: 12px; }
  .drawer-rate > * { min-width: 0; }

  .trip-dialog { width: calc(100% - 20px); border-radius: 12px; }
  .trip-dialog form, .signin-dialog form { padding: 22px 18px; }
  .dialog-head { gap: 12px; }
  .dialog-head > div { min-width: 0; }
  .dialog-head h2 { overflow-wrap: anywhere; font-size: 27px; line-height: 1.25; }
  .dialog-head button { flex: 0 0 40px; width: 40px; height: 40px; }
  .dialog-grid, .dialog-grid label, .dialog-grid input { min-width: 0; max-width: 100%; }
  .driver-fields, .document-uploads { grid-template-columns: 1fr; }
  .driver-dialog form { padding: 22px 18px; }
  .review-vehicle { grid-template-columns: 92px minmax(0, 1fr); align-items: flex-start; gap: 10px; }
  .review-vehicle img { flex: 0 0 92px; width: 92px; height: 72px; }
  .review-vehicle > div { min-width: 0; }
  .review-vehicle h3, .review-vehicle p { overflow-wrap: anywhere; }
  .review-vehicle h3 { font-size: 22px; }
  .review-trip-point + .review-trip-point { padding-inline-start: 8px; }
  .review-date-time { gap: 4px; }
  .review-date-time strong { font-size: 11px; }
  .time-pill { min-width: 44px; padding: 4px 6px; font-size: 10px; }
  .review-breakdown div { gap: 12px; }
  .review-breakdown dt { min-width: 0; overflow-wrap: anywhere; }
  .review-breakdown dd { flex: 0 0 auto; text-align: end; white-space: nowrap; }
  .phone-row { grid-template-columns: minmax(96px, 108px) minmax(0, 1fr); gap: 8px; }
  .field-hint { margin-left: 116px; overflow-wrap: anywhere; }
  [dir="rtl"] .field-hint { margin-left: 0; margin-right: 116px; }
  .pin-inputs { gap: 5px; }
  .pin-inputs input { height: 46px; font-size: 19px; }

  .support-section, .site-footer { min-width: 0; max-width: 100%; }
  .support-section h2, .support-section span { overflow-wrap: anywhere; }
  .site-footer { flex-direction: column; align-items: center; gap: 8px; padding: 16px; text-align: center; }
}

@media (max-width: 360px) {
  .site-header { padding-inline: 10px; }
  .brand-logo { height:38px; max-width:96px; }
  .fleet-section { padding-inline: 8px; }
  .filter-control { padding-inline: 8px; }
  .filter-control svg { width: 14px; }
  .filter-control select { font-size: 11px; }
  .card-head, .car-features, .card-footer { padding-inline: 13px; }
  .selection-drawer { padding-inline: 16px; }
  .trip-dialog form, .signin-dialog form { padding-inline: 15px; }
  .review-vehicle img { flex-basis: 78px; width: 78px; height: 62px; }
  .review-vehicle { grid-template-columns: 78px minmax(0, 1fr); }
  .phone-row { grid-template-columns: 96px minmax(0, 1fr); }
  .field-hint { margin-left: 104px; }
  [dir="rtl"] .field-hint { margin-right: 104px; }
}

/* Primary reservation search — a visible alternative to the step tracker. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.reservation-search-section {
  padding: 14px max(16px, calc((100vw - 1460px) / 2));
  background: linear-gradient(118deg, #0645ae 0%, var(--blue) 58%, #2878f2 100%);
}

.reservation-search-shell {
  width: 100%;
  max-width: var(--app-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .85fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(4, 24, 66, .18);
}

.reservation-search-shell.promotion-disabled { grid-template-columns: minmax(0, 1fr); }

.reservation-search-form {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 20px 24px 22px;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.reservation-promotion {
  min-width: 0;
  min-height: 100%;
  position: relative;
  overflow: hidden;
  border-inline-start: 1px solid var(--line);
  background: #eef3fb;
}

.reservation-promotion img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.promotion-brand {
  position: absolute;
  inset-inline-end: 16px;
  bottom: 14px;
  padding: 8px 11px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  font: 800 16px/1 var(--display);
  letter-spacing: .02em;
  box-shadow: 0 5px 15px rgba(6, 20, 48, .16);
}

.promotion-brand span { color: var(--blue); }
.reservation-promotion.has-custom-promotion .promotion-brand { display: none; }

.reservation-location-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.reservation-field {
  min-width: 0;
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.reservation-field[hidden] { display: none; }

.reservation-input-shell {
  min-width: 0;
  height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid #c9cbd0;
  border-radius: 4px;
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.reservation-input-shell:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(18, 97, 234, .12);
}

.reservation-input-shell svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: #555b64;
  stroke-width: 1.7;
}

.reservation-input-shell input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.reservation-input-shell input::placeholder { color: #868a91; }

.different-location-toggle {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #73777e;
  font-size: 12px;
  cursor: pointer;
}

.different-location-toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.toggle-track {
  width: 36px;
  height: 20px;
  flex: 0 0 36px;
  padding: 2px;
  border: 1px solid #c8cbd1;
  border-radius: 999px;
  background: #e5e7eb;
  transition: background .18s ease, border-color .18s ease;
}

.toggle-track i {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .22);
  transition: transform .18s ease;
}

.different-location-toggle input:checked + .toggle-track {
  border-color: var(--blue);
  background: var(--blue);
}

.different-location-toggle input:checked + .toggle-track i { transform: translateX(16px); }
.different-location-toggle input:focus-visible + .toggle-track { outline: 3px solid rgba(18, 97, 234, .22); outline-offset: 2px; }
[dir="rtl"] .different-location-toggle input:checked + .toggle-track i { transform: translateX(-16px); }

.reservation-datetime-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 16px;
}

.reservation-datetime-group {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(112px, .85fr);
  gap: 8px;
}

.reservation-datetime-group legend {
  grid-column: 1 / -1;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
}

.reservation-datetime-group .reservation-input-shell { width: 100%; }
.reservation-date-input,
.reservation-time-input { padding-inline: 10px; }
.reservation-date-input input,
.reservation-time-input input { width: auto; max-width: 100%; flex: 0 1 auto; direction: ltr; text-align: left; font-size: 13px; font-variant-numeric: tabular-nums; }

.trip-search-error {
  min-height: 16px;
  margin: 8px 0 -2px;
  color: #b42318;
  font-size: 11px;
  font-weight: 700;
}

.show-cars-button {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 5px;
  background: var(--blue);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  box-shadow: 0 5px 12px rgba(18, 97, 234, .24);
  transition: background .18s ease, transform .18s ease;
}

.show-cars-button:hover { background: var(--blue-dark); transform: translateY(-1px); }
.show-cars-button:focus-visible { outline: 3px solid rgba(18, 97, 234, .25); outline-offset: 3px; }
.show-cars-button:disabled { cursor: wait; opacity: .68; transform: none; }

@media (max-width: 1050px) {
  .reservation-search-shell { grid-template-columns: minmax(0, 1.42fr) minmax(280px, .9fr); }
  .reservation-datetime-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 14px; }
}

@media (max-width: 760px) {
  .reservation-search-section { padding: 8px; }
  .reservation-search-shell { grid-template-columns: minmax(0, 1fr); border-radius: 6px; box-shadow: 0 7px 18px rgba(4, 24, 66, .16); }
  .reservation-search-form { padding: 16px 14px 17px; }
  .reservation-promotion { order: -1; min-height: 148px; height: 148px; border-inline-start: 0; border-bottom: 1px solid var(--line); }
  .reservation-promotion img { min-height: 0; }
  .reservation-datetime-grid { gap: 14px; }
  .reservation-input-shell { height: 48px; padding-inline: 11px; }
  .reservation-input-shell input { font-size: 13px; }
  .reservation-datetime-group { grid-template-columns: minmax(0, 1.35fr) minmax(94px, .75fr); }
  .show-cars-button { min-height: 48px; font-size: 15px; }
}

@media (max-width: 360px) {
  .reservation-search-form { padding-inline: 11px; }
  .reservation-datetime-group { grid-template-columns: minmax(0, 1.25fr) minmax(84px, .7fr); gap: 6px; }
  .reservation-input-shell { padding-inline: 8px; gap: 6px; }
  .reservation-input-shell svg { width: 16px; height: 16px; flex-basis: 16px; }
  .reservation-input-shell input { font-size: 12px; }
}

/* One consistent application canvas across the public experience. */
.site-header {
  width: 100%;
  max-width: var(--app-max-width);
  margin-inline: auto;
}

.progress-wrap {
  width: 100%;
  max-width: var(--app-max-width);
}

.fleet-section > .controls-bar,
.fleet-section > .active-filters,
.fleet-section > .car-grid,
.fleet-section > .empty-state {
  width: 100%;
  max-width: var(--app-max-width);
  margin-inline: auto;
}

.support-section,
.site-footer {
  width: calc(100% - 32px);
  max-width: var(--app-max-width);
  margin-inline: auto;
}

.support-section { padding-inline: 24px; }
.site-footer { padding-inline: 24px; }

@media (max-width: 760px) {
  .support-section,
  .site-footer {
    width: calc(100% - 20px);
  }

  .account-panel { padding: 20px 16px; }
  .customer-profile-summary { grid-template-columns: 42px minmax(0, 1fr); padding: 12px; }
  .customer-profile-initial { width: 42px; height: 42px; }
  .customer-signout { grid-column: 1 / -1; width: 100%; }
  .reservation-tabs button { gap: 5px; padding-inline: 5px; font-size: 10px; }
  .customer-reservation-card { padding: 13px; }
  .customer-reservation-head { align-items: center; }
  .customer-reservation-route { grid-template-columns: 1fr; gap: 7px; }
  .customer-reservation-footer { align-items: stretch; flex-direction: column; }
  .customer-reservation-link { text-align: center; }
}
