html, body { min-height: 100%; }
body { font-feature-settings: 'ss01' on, 'cv01' on; }
.card-surface { background: rgba(255,255,255,0.92); backdrop-filter: blur(14px); }
.dark .card-surface { background: rgba(51,65,85,0.84); }
.custom-scroll::-webkit-scrollbar { width: 10px; }
.custom-scroll::-webkit-scrollbar-thumb { background: rgba(148,163,184,.45); border-radius: 999px; }
@media (max-width: 640px) {
  .mobile-table-cards table,
  .mobile-table-cards thead,
  .mobile-table-cards tbody,
  .mobile-table-cards th,
  .mobile-table-cards td,
  .mobile-table-cards tr { display: block; }
  .mobile-table-cards thead { display: none; }
  .mobile-table-cards tbody { display: grid; gap: 12px; }
  .mobile-table-cards tr { border: 1px solid rgba(148,163,184,.18); border-radius: 1.5rem; padding: 14px 16px; background: white; }
  .dark .mobile-table-cards tr { background: rgba(51,65,85,0.88); }
  .mobile-table-cards td { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0 !important; border: none !important; }
  .mobile-table-cards td::before { content: attr(data-label); font-weight: 600; color: rgb(100 116 139); }
}


html.dark { color-scheme: dark; }
.dark .card-surface {
  background: rgba(51,65,85,0.84);
  backdrop-filter: blur(16px);
}
.dark .mobile-table-cards tr { background: rgba(51,65,85,0.88); }

html, body {
  min-height: 100%;
}
body {
  min-height: 100vh;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% 100%;
}
html.dark, .dark body {
  background-color: #1f2937;
}
.dark body {
  background-image:
    radial-gradient(circle at top, rgba(148, 163, 184, 0.18), transparent 34%),
    linear-gradient(180deg, #4b5563 0%, #374151 48%, #1f2937 100%);
}

[data-vehicle-search]::placeholder { color: rgb(148 163 184); }
[data-vehicle-select] option { white-space: normal; }


.warehouse-filter-grid { align-items: start; }
.warehouse-filter-grid > * { min-width: 0; }
.warehouse-filter-grid input,
.warehouse-filter-grid select,
.warehouse-filter-grid button,
.warehouse-filter-grid a { min-width: 0; }
.warehouse-filter-grid label,
.warehouse-filter-grid span,
.warehouse-filter-actions a,
.warehouse-filter-actions button,
.warehouse-filter-nav a {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.warehouse-filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.warehouse-filter-actions > * {
  flex: 1 1 160px;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.25;
}
.warehouse-filter-chip-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.warehouse-filter-chip-group label {
  min-width: 0;
  max-width: 100%;
}
.warehouse-filter-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.warehouse-filter-nav > * {
  min-width: 0;
  text-align: center;
}
