body {
  background: #f8f9fa;
  font-size: 0.92rem;
}

.navbar-brand {
  letter-spacing: -0.5px;
}

.car-card {
  transition: box-shadow 0.15s ease;
}
.car-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
}

.table th {
  font-weight: 600;
  white-space: nowrap;
}

/* Color swatches for part group colors */
.color-swatch {
  display: inline-block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.1s;
}
.color-swatch-none {
  background: #fff;
  border: 2px solid #ccc;
  font-size: 12px;
  line-height: 24px;
  text-align: center;
  color: #999;
}

.color-swatch-label input:checked + .color-swatch {
  border-color: #212529;
  box-shadow: 0 0 0 2px rgba(33,37,41,0.25);
}

/* SVG chart styles */
.chart-svg {
  width: 100%;
  height: auto;
}
.chart-svg text {
  font-family: inherit;
  font-size: 12px;
  fill: #495057;
}
.chart-svg .axis-line {
  stroke: #dee2e6;
  stroke-width: 1;
}
.chart-svg .grid-line {
  stroke: #e9ecef;
  stroke-width: 0.5;
}
.chart-svg .bar-label {
  font-size: 11px;
  text-anchor: middle;
  fill: #495057;
}

/* Tab styling */
.nav-tabs .nav-link {
  color: #6c757d;
}
.nav-tabs .nav-link.active {
  color: #212529;
  font-weight: 600;
}

/* Form widths on desktop */
@media (min-width: 768px) {
  .form-control, .form-select {
    max-width: 480px;
  }
}
