:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --panel: #ffffff;
  --ink: #111827;
  --muted: #64748b;
  --line: #d9e2ef;
  --brand: #0f4c81;
  --brand-dark: #0a365d;
  --cyan: #0ea5a4;
  --green: #15803d;
  --amber: #b45309;
  --red: #b91c1c;
  --shadow: 0 16px 36px rgba(17, 24, 39, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body,
#app {
  width: 100%;
  height: 100%;
  min-height: 100%;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(15, 76, 129, 0.08), transparent 270px),
    var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.boot {
  min-height: 100vh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  color: var(--muted);
}

.boot img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.app,
.app-shell {
  min-height: 100vh;
}

.app-shell {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  background:
    linear-gradient(180deg, rgba(15, 76, 129, 0.08), transparent 270px),
    var(--bg);
}

.app-shell.sidebar-open {
  grid-template-columns: 260px minmax(0, 1fr);
}

.app-content {
  min-width: 0;
  padding: max(12px, env(safe-area-inset-top)) 14px max(14px, env(safe-area-inset-bottom));
}

.passenger-app .app-content {
  padding: max(10px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
}

.app-sidebar {
  position: sticky;
  top: 0;
  z-index: 800;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100vh;
  padding: 14px 10px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 10px 0 28px rgba(17, 24, 39, 0.06);
  overflow: hidden;
}

.sidebar-brand,
.topbar-left {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-brand img {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 14px;
  object-fit: contain;
  background: #eef5fb;
}

.sidebar-brand div,
.sidebar-footer,
.sidebar-link span {
  opacity: 0;
  pointer-events: none;
}

.sidebar-open .sidebar-brand div,
.sidebar-open .sidebar-footer,
.sidebar-open .sidebar-link span {
  opacity: 1;
  pointer-events: auto;
}

.sidebar-brand strong {
  display: block;
  font-size: 18px;
}

.sidebar-brand span {
  color: var(--muted);
  font-size: 12px;
}

.sidebar-nav {
  display: grid;
  gap: 8px;
}

.sidebar-link {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 13px;
  padding: 0 12px;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
  text-align: left;
}

.sidebar-link::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  border-radius: 99px;
  background: currentColor;
}

.sidebar-link.active {
  background: rgba(15, 76, 129, 0.1);
  color: var(--brand);
}

.sidebar-footer {
  display: grid;
  gap: 8px;
  margin-top: auto;
}

.sidebar-backdrop {
  display: none;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  margin-bottom: 12px;
}

.brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 8px 20px rgba(15, 76, 129, 0.16);
}

.brand strong {
  display: block;
  font-size: 20px;
}

.brand span,
.muted,
.tiny {
  color: var(--muted);
}

.brand span {
  display: block;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-actions,
.tabs,
.segmented,
.row,
.quick-grid,
.stats-grid {
  display: flex;
  gap: 10px;
}

.top-actions {
  align-items: center;
}

.icon-button {
  width: 44px;
  min-width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  color: var(--brand);
  font-size: 20px;
  font-weight: 900;
}

.layout {
  display: grid;
  grid-template-columns: minmax(340px, 430px) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.stack {
  display: grid;
  gap: 12px;
}

.panel,
.map-panel,
.auth-card,
.ride-card,
.stat-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.panel,
.auth-card {
  border-radius: 18px;
  padding: 16px;
}

.map-panel {
  overflow: hidden;
  border-radius: 22px;
}

.tracking-map-panel {
  position: relative;
}

.map {
  width: 100%;
  height: 520px;
  min-height: 0;
  background: #e9f1f8;
}

.leaflet-container {
  width: 100% !important;
  height: 100% !important;
  min-height: 0;
  position: relative;
  overflow: hidden !important;
  background: #e9f1f8;
  outline-offset: 1px;
  touch-action: none;
}

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
  position: absolute;
  left: 0;
  top: 0;
}

.leaflet-tile {
  border: 0;
  filter: inherit;
  visibility: inherit;
  user-select: none;
  -webkit-user-drag: none;
}

.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
  max-width: none !important;
  max-height: none !important;
}

.leaflet-pane,
.leaflet-map-pane,
.leaflet-tile-pane,
.leaflet-overlay-pane {
  transform-style: flat !important;
}

.leaflet-map-pane {
  z-index: 400;
}

.leaflet-tile-pane {
  z-index: 200;
}

.leaflet-overlay-pane {
  z-index: 400;
}

.leaflet-shadow-pane {
  z-index: 500;
}

.leaflet-marker-pane {
  z-index: 600;
}

.leaflet-tooltip-pane {
  z-index: 650;
}

.leaflet-popup-pane {
  z-index: 700;
}

.leaflet-control-container .leaflet-top,
.leaflet-control-container .leaflet-bottom {
  position: absolute;
  z-index: 1000;
  pointer-events: none;
}

.leaflet-top {
  top: 0;
}

.leaflet-right {
  right: 0;
}

.leaflet-bottom {
  bottom: 0;
}

.leaflet-left {
  left: 0;
}

.leaflet-control {
  position: relative;
  z-index: 800;
  float: left;
  clear: both;
  pointer-events: auto;
}

.leaflet-right .leaflet-control {
  float: right;
}

.leaflet-top .leaflet-control {
  margin-top: 10px;
}

.leaflet-bottom .leaflet-control {
  margin-bottom: 10px;
}

.leaflet-left .leaflet-control {
  margin-left: 10px;
}

.leaflet-right .leaflet-control {
  margin-right: 10px;
}

.leaflet-bar {
  border: 1px solid rgba(15, 76, 129, 0.16);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.16);
  overflow: hidden;
}

.leaflet-bar a {
  display: block;
  width: 34px;
  height: 34px;
  line-height: 34px;
  background: #fff;
  color: var(--brand);
  text-align: center;
  text-decoration: none;
  font-weight: 900;
}

.leaflet-bar a + a {
  border-top: 1px solid var(--line);
}

.active-ride-map {
  margin-bottom: 12px;
}

.active-ride-map .map {
  height: 420px;
}

.tracking-pill {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 500;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(217, 226, 239, 0.92);
  border-radius: 18px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 32px rgba(17, 24, 39, 0.16);
  backdrop-filter: blur(14px);
}

.tracking-pill strong,
.tracking-pill span {
  display: block;
}

.tracking-pill > div,
.tracking-meta {
  min-width: 0;
}

.tracking-pill strong {
  font-size: 14px;
}

.tracking-pill span {
  color: var(--muted);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tracking-meta {
  text-align: right;
}

.tracking-meta strong {
  color: var(--brand);
}

.ride-map-shell {
  position: relative;
  height: calc(100dvh - 82px);
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #e9f1f8;
  box-shadow: var(--shadow);
}

.ride-map {
  height: 100%;
  min-height: 0;
}

.map-quote {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 450;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 24px);
  border: 1px solid rgba(217, 226, 239, 0.92);
  border-radius: 999px;
  padding: 8px 11px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 26px rgba(17, 24, 39, 0.14);
  backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 850;
}

.map-quote strong {
  color: var(--brand);
}

.booking-sheet {
  position: absolute;
  left: 18px;
  right: auto;
  bottom: 18px;
  z-index: 500;
  width: min(430px, calc(100% - 36px));
  max-height: calc(100dvh - 130px);
  overflow: auto;
  border: 1px solid rgba(217, 226, 239, 0.92);
  border-radius: 24px;
  padding: 9px 12px 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.18);
  backdrop-filter: blur(14px);
}

.sheet-handle {
  width: 42px;
  height: 4px;
  margin: 0 auto 8px;
  border-radius: 99px;
  background: #cbd5e1;
}

.sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.sheet-head h1 {
  font-size: 21px;
  margin-bottom: 2px;
}

.sheet-head p {
  margin-bottom: 0;
  font-size: 12px;
}

.vehicle-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}

.booking-sheet .choice {
  min-height: 42px;
}

.address-stack {
  display: grid;
  gap: 7px;
}

.address-field {
  position: relative;
  display: grid;
  gap: 6px;
}

.address-field label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.address-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.address-input-row input {
  min-width: 0;
  width: 100%;
  min-height: 43px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 12px;
  background: #fff;
  color: var(--ink);
}

.suggestions {
  display: grid;
  gap: 6px;
  max-height: 190px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 6px;
  background: #f8fbff;
}

.suggestions button {
  width: 100%;
  border: 0;
  border-radius: 11px;
  padding: 9px 10px;
  background: #fff;
  color: var(--ink);
  text-align: left;
}

.suggestions strong,
.suggestions span {
  display: block;
}

.suggestions strong {
  font-size: 13px;
}

.suggestions span {
  color: var(--muted);
  font-size: 11px;
}

.quote.compact {
  margin: 8px 0;
}

.quote.compact .metric {
  padding: 9px;
}

.quote.compact .metric strong {
  font-size: 15px;
}

.request-button {
  width: 100%;
  min-height: 47px;
  margin-top: 10px;
}

.driver-dashboard {
  display: grid;
  grid-template-columns: minmax(340px, 430px) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.driver-stack {
  display: grid;
  gap: 12px;
}

.driver-map-panel {
  position: sticky;
  top: 14px;
  height: calc(100dvh - 86px);
  min-height: 560px;
}

.driver-map {
  height: 100%;
  min-height: 0;
}

.wallet-grid,
.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 14px;
  align-items: start;
}

.support-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wallet-list,
.settings-list {
  display: grid;
  gap: 10px;
}

.wallet-card,
.support-tile,
.settings-list > div,
.gateway-status {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: #f8fbff;
}

.wallet-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.wallet-card span,
.support-tile span,
.settings-list span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.support-tile {
  min-height: 92px;
  color: var(--ink);
  text-align: left;
  text-decoration: none;
}

.gateway-status {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.gateway-status p {
  margin-bottom: 0;
}

.leaflet-control-attribution {
  font-size: 10px;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: 28px;
  line-height: 1.08;
  margin-bottom: 6px;
}

h2 {
  font-size: 18px;
  margin-bottom: 6px;
}

h3 {
  font-size: 15px;
  margin-bottom: 6px;
}

p {
  line-height: 1.45;
}

.hero {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15, 76, 129, 0.94), rgba(14, 165, 164, 0.78)),
    url("/assets/car.png") right -18px bottom -58px / 240px auto no-repeat;
  border: 0;
}

.hero p {
  width: min(72%, 360px);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
}

.field {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.field label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 0 12px;
  background: #fff;
  color: var(--ink);
}

.field textarea {
  min-height: 84px;
  padding-top: 10px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.button,
.primary,
.secondary,
.danger,
.ghost,
.choice {
  position: relative;
  min-height: 44px;
  border-radius: 13px;
  border: 0;
  padding: 10px 13px;
  font-weight: 850;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.small {
  min-height: 30px;
  border-radius: 9px;
  padding: 6px 9px;
  font-size: 12px;
}

.primary {
  background: var(--brand);
  color: #fff;
}

.primary:hover {
  background: var(--brand-dark);
}

.secondary {
  background: #e8f7f5;
  color: #075f5d;
}

.danger {
  background: #fee2e2;
  color: var(--red);
}

.ghost,
.choice {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}

.choice.active,
.tabs .active {
  border-color: var(--brand);
  background: rgba(15, 76, 129, 0.1);
  color: var(--brand);
}

.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tabs {
  flex-wrap: wrap;
}

.tabs .button {
  min-height: 38px;
  border: 1px solid var(--line);
}

.quote {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0;
}

.metric,
.stat-card {
  border-radius: 14px;
  padding: 12px;
  background: #fff;
}

.metric {
  border: 1px solid var(--line);
}

.metric span,
.tiny {
  display: block;
  font-size: 12px;
}

.metric strong,
.stat-card strong {
  display: block;
  margin-top: 3px;
  font-size: 17px;
}

.ride-list {
  display: grid;
  gap: 10px;
}

.ride-card {
  border-radius: 16px;
  padding: 13px;
}

.ride-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.ride-card p {
  margin-bottom: 6px;
}

.payment-box {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 11px;
  background: #f8fbff;
}

.payment-box.paid {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.payment-box code {
  display: block;
  white-space: normal;
  word-break: break-word;
  border-radius: 10px;
  padding: 9px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
}

.pix-qr {
  width: min(220px, 100%);
  aspect-ratio: 1;
  justify-self: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  background: #fff;
  object-fit: contain;
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 9px;
  background: #eef6ff;
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.status.ok {
  background: #dcfce7;
  color: var(--green);
}

.status.warn {
  background: #ffedd5;
  color: var(--amber);
}

.status.bad {
  background: #fee2e2;
  color: var(--red);
}

.driver-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.empty {
  border: 1px dashed var(--line);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  color: var(--muted);
  background: #fff;
}

.bottom-nav {
  position: sticky;
  bottom: 10px;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
  padding: 8px;
  border: 1px solid rgba(217, 226, 239, 0.92);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.12);
  backdrop-filter: blur(12px);
}

.bottom-nav button {
  min-height: 42px;
  border-radius: 14px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.bottom-nav .active {
  background: var(--brand);
  color: #fff;
}

.auth-wrap {
  width: min(100%, 440px);
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0 auto;
  padding: 20px 14px;
}

.auth-card {
  width: 100%;
}

.auth-logo {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 76, 129, 0.16);
}

.admin-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 14px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.table-wrap {
  overflow-x: auto;
}

.table-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  min-width: 160px;
}

.tariff-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tariff-form {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
}

th,
td {
  padding: 11px 10px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 1000;
  width: min(calc(100% - 28px), 520px);
  transform: translateX(-50%);
  border-radius: 15px;
  padding: 13px 15px;
  background: #101827;
  color: #fff;
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.28);
  font-weight: 800;
}

.error-box {
  border: 1px solid #fecaca;
  color: #991b1b;
  background: #fff1f2;
  border-radius: 14px;
  padding: 11px;
  margin-top: 10px;
  font-size: 13px;
}

.success-box {
  border: 1px solid #bbf7d0;
  color: #166534;
  background: #f0fdf4;
  border-radius: 14px;
  padding: 11px;
  margin-top: 10px;
  font-size: 13px;
}

.hidden {
  display: none !important;
}

@media (max-width: 900px) {
  .app-shell,
  .app-shell.sidebar-open {
    display: block;
  }

  .app-content,
  .passenger-app .app-content {
    padding: max(10px, env(safe-area-inset-top)) 10px max(12px, env(safe-area-inset-bottom));
  }

  .app-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: min(82vw, 292px);
    transform: translateX(-105%);
    transition: transform 0.18s ease;
  }

  .sidebar-open .app-sidebar {
    transform: translateX(0);
  }

  .sidebar-brand div,
  .sidebar-footer,
  .sidebar-link span,
  .sidebar-open .sidebar-brand div,
  .sidebar-open .sidebar-footer,
  .sidebar-open .sidebar-link span {
    opacity: 1;
    pointer-events: auto;
  }

  .sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 700;
    border: 0;
    background: rgba(15, 23, 42, 0.36);
  }

  .sidebar-open .sidebar-backdrop {
    display: block;
  }

  .layout,
  .admin-grid,
  .driver-dashboard,
  .wallet-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .driver-map-panel {
    position: relative;
    top: auto;
    height: 430px;
    min-height: 430px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tariff-grid {
    grid-template-columns: 1fr;
  }

  .ride-map-shell {
    height: calc(100dvh - 76px);
    min-height: 0;
    border-radius: 22px;
  }

  .ride-map {
    height: 100%;
    min-height: 0;
  }

  .booking-sheet {
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: auto;
    max-height: 58vh;
    z-index: 1200;
  }

  .leaflet-control-zoom {
    display: none;
  }
}

@media (max-width: 430px) {
  .topbar {
    align-items: center;
  }

  .brand span {
    max-width: 190px;
  }

  .top-actions {
    align-items: center;
  }

  .top-actions .button {
    min-height: 40px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .hero {
    background:
      linear-gradient(135deg, rgba(15, 76, 129, 0.94), rgba(14, 165, 164, 0.78)),
      url("/assets/car.png") right -42px bottom -64px / 210px auto no-repeat;
  }

  .hero p {
    width: 76%;
  }

  .grid-2,
  .quote,
  .quick-grid,
  .payment-methods {
    grid-template-columns: 1fr;
  }

  .quote.compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .booking-sheet {
    max-height: 56vh;
    padding-left: 10px;
    padding-right: 10px;
  }

  .tracking-pill {
    grid-template-columns: 1fr;
  }

  .tracking-meta {
    text-align: left;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}
