/* AutoParts Finder — main stylesheet */

/* ── Custom properties ── */
:root {
  --ap-primary:    #0d6efd;
  --ap-hero-bg:    #f0f4ff;
  --ap-card-hover: #f8f9ff;
  --ap-radius:     0.75rem;
}

/* ── Global ── */
body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: #f8f9fa;
}

/* ── Hero section ── */
.hero-section {
  background: linear-gradient(135deg, var(--ap-hero-bg) 0%, #ffffff 100%);
  border-bottom: 1px solid #dee2e6;
  padding-top: 3rem;
  padding-bottom: 4rem;
}

/* ── Result cards ── */
.result-card {
  transition: box-shadow 0.18s ease, transform 0.18s ease;
  border-radius: var(--ap-radius) !important;
}
.result-card:hover {
  box-shadow: 0 6px 24px rgba(13, 110, 253, 0.12) !important;
  transform: translateY(-2px);
  background: var(--ap-card-hover);
}

/* ── Availability border helpers ── */
.border-3 {
  border-width: 4px !important;
}

/* ── Navbar tweaks ── */
.navbar-brand {
  font-size: 1.3rem;
  letter-spacing: -0.3px;
}

/* ── Feature icon circles on home ── */
.feature-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f0f4ff;
  margin: 0 auto;
}

/* ── Search card shadow ── */
.card.shadow {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08) !important;
}

/* ── Compact form labels ── */
.form-label.small {
  margin-bottom: 0.25rem;
}

/* ── Badge tweaks ── */
.badge {
  letter-spacing: 0.02em;
}

/* ── Pagination ── */
.page-link {
  border-radius: 0.5rem !important;
  margin: 0 2px;
}

/* ── Responsive table on narrow screens ── */
@media (max-width: 576px) {
  .result-card .col-md-3 {
    text-align: left !important;
  }
  .hero-section {
    padding-top: 2rem;
    padding-bottom: 2.5rem;
  }
}
