/* ============================================================
   HiTech Parking – Global Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── Custom Properties ──────────────────────────────────────── */
:root {
  --hp-navy:         #0f172a;
  --hp-navy-mid:     #1e293b;
  --hp-navy-light:   #334155;
  --hp-blue:         #2563eb;
  --hp-blue-hover:   #1d4ed8;
  --hp-blue-pale:    #eff6ff;
  --hp-blue-border:  #bfdbfe;
  --hp-gray-50:      #f8fafc;
  --hp-gray-100:     #f1f5f9;
  --hp-gray-200:     #e2e8f0;
  --hp-gray-500:     #64748b;
  --hp-gray-700:     #374151;
  --hp-white:        #ffffff;
  --hp-success:      #10b981;
  --hp-warning:      #f59e0b;
  --hp-danger:       #ef4444;
  --hp-shadow-sm:    0 1px 2px 0 rgb(0 0 0 / 0.05);
  --hp-shadow:       0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --hp-shadow-md:    0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --hp-shadow-lg:    0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --hp-shadow-xl:    0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --hp-radius:       0.5rem;
  --hp-radius-lg:    0.75rem;
  --hp-radius-xl:    1rem;
  --hp-transition:   all 0.2s ease;
}

/* ── Base ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--hp-gray-50);
  color: var(--hp-navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--hp-navy);
}

a { color: var(--hp-blue); transition: var(--hp-transition); }
a:hover { color: var(--hp-blue-hover); }

/* ── Navbar ─────────────────────────────────────────────────── */
.hp-navbar {
  background: var(--hp-navy) !important;
  border-bottom: 1px solid rgba(255,255,255,0.09);
  padding: 0.625rem 0;
  position: sticky;
  top: 0;
  z-index: 1030;
}
.hp-navbar .navbar-brand {
  display: flex;
  align-items: center;
  overflow: visible;
  padding: 0;
  margin-left: 0;
}
.hp-navbar .navbar-brand img {
  height: 44px;
  width: auto;
  transform: scale(1.9);
  transform-origin: left center;
  margin-left: 22px;
}
.hp-navbar .nav-link {
  color: rgba(255,255,255,0.72) !important;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.375rem 0.75rem !important;
  border-radius: var(--hp-radius);
  transition: var(--hp-transition);
  white-space: nowrap;
}
.hp-navbar .nav-link:hover {
  color: #ffffff !important;
  background: rgba(255,255,255,0.08);
}
.hp-navbar .nav-link.nav-signup {
  background: var(--hp-blue);
  color: #ffffff !important;
  padding: 0.375rem 1rem !important;
  font-weight: 600;
}
.hp-navbar .nav-link.nav-signup:hover {
  background: var(--hp-blue-hover);
}
.hp-navbar .navbar-toggler {
  border-color: rgba(255,255,255,0.25);
  padding: 0.3rem 0.55rem;
}
.hp-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.hp-navbar .navbar-nav { gap: 0.125rem; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn-hp {
  padding: 0.625rem 1.5rem;
  border-radius: var(--hp-radius);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: var(--hp-transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  line-height: 1.4;
}
.btn-hp-primary {
  background: var(--hp-blue);
  color: #fff;
}
.btn-hp-primary:hover {
  background: var(--hp-blue-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37,99,235,0.35);
}
.btn-hp-secondary {
  background: #fff;
  color: var(--hp-navy);
  border: 1.5px solid var(--hp-gray-200);
}
.btn-hp-secondary:hover {
  border-color: var(--hp-blue);
  color: var(--hp-blue);
  background: var(--hp-blue-pale);
}
.btn-hp-ghost {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.2);
}
.btn-hp-ghost:hover {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn-hp-outline {
  background: transparent;
  color: var(--hp-gray-500);
  border: 1px solid var(--hp-gray-200);
  padding: 0.4rem 0.875rem;
  font-size: 0.875rem;
}
.btn-hp-outline:hover {
  background: var(--hp-gray-100);
  color: var(--hp-navy);
  border-color: var(--hp-gray-200);
}

/* ── Hero ────────────────────────────────────────────────────── */
.hp-hero {
  background: linear-gradient(135deg, var(--hp-navy) 0%, #1a2444 50%, #0f2360 100%);
  color: #fff;
  padding: 5.5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}
.hp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 75% 40%, rgba(37,99,235,0.25) 0%, transparent 55%);
  pointer-events: none;
}
.hp-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--hp-gray-50));
  pointer-events: none;
}
.hp-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(37,99,235,0.18);
  border: 1px solid rgba(37,99,235,0.4);
  color: #93c5fd;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.875rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}
.hp-hero h1 {
  color: #fff;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.hp-hero h1 .accent { color: #60a5fa; }
.hp-hero .lead {
  color: rgba(255,255,255,0.68);
  font-size: 1.125rem;
  max-width: 520px;
  margin-bottom: 2.25rem;
  line-height: 1.65;
}
.hp-hero-actions {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  align-items: center;
}
.hp-stats-row {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hp-stat-number {
  font-size: 1.875rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.hp-stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Section Styles ─────────────────────────────────────────── */
.hp-section {
  padding: 4.5rem 0;
}
.hp-section-white { background: #fff; }
.hp-section-gray  { background: var(--hp-gray-50); }
.hp-section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 0.625rem;
  letter-spacing: -0.01em;
}
.hp-section-sub {
  color: var(--hp-gray-500);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

/* ── Feature Cards ───────────────────────────────────────────── */
.hp-feature-card {
  background: #fff;
  border: 1px solid var(--hp-gray-200);
  border-radius: var(--hp-radius-xl);
  padding: 2rem;
  height: 100%;
  transition: var(--hp-transition);
}
.hp-feature-card:hover {
  border-color: var(--hp-blue-border);
  box-shadow: var(--hp-shadow-lg);
  transform: translateY(-3px);
}
.hp-feature-icon {
  width: 48px;
  height: 48px;
  background: var(--hp-blue-pale);
  border-radius: var(--hp-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  margin-bottom: 1.25rem;
}
.hp-feature-card h5 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}
.hp-feature-card p {
  color: var(--hp-gray-500);
  font-size: 0.9375rem;
  margin: 0;
  line-height: 1.6;
}

/* ── Step Cards (How it Works) ───────────────────────────────── */
.hp-step-number {
  width: 52px;
  height: 52px;
  background: var(--hp-blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 auto 1.25rem;
}
.hp-step-card {
  text-align: center;
  padding: 1.5rem;
}
.hp-step-card h5 { margin-bottom: 0.5rem; }
.hp-step-card p {
  color: var(--hp-gray-500);
  font-size: 0.9375rem;
  margin: 0;
}

/* ── Page Header ─────────────────────────────────────────────── */
.hp-page-header {
  background: linear-gradient(135deg, var(--hp-navy) 0%, var(--hp-navy-mid) 100%);
  color: #fff;
  padding: 2.25rem 0 2rem;
  margin-bottom: 0;
}
.hp-page-header h1, .hp-page-header h2 {
  color: #fff;
  margin-bottom: 0.25rem;
  font-size: 1.75rem;
}
.hp-page-header p { color: rgba(255,255,255,0.6); margin: 0; }

/* ── Search ──────────────────────────────────────────────────── */
.hp-search-wrap { position: relative; }
.hp-search-wrap .search-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--hp-gray-500);
  pointer-events: none;
  font-size: 1rem;
}
.hp-search-wrap input {
  padding-left: 2.75rem !important;
  border: 1.5px solid var(--hp-gray-200);
  border-radius: var(--hp-radius-lg);
  background: #fff;
  font-size: 0.9375rem;
  height: 2.875rem;
  transition: var(--hp-transition);
  width: 100%;
}
.hp-search-wrap input:focus {
  outline: none;
  border-color: var(--hp-blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

/* ── Cards ───────────────────────────────────────────────────── */
.hp-card {
  background: #fff;
  border: 1px solid var(--hp-gray-200);
  border-radius: var(--hp-radius-xl);
  box-shadow: var(--hp-shadow-sm);
  transition: var(--hp-transition);
  overflow: hidden;
  height: 100%;
}
.hp-card:hover {
  box-shadow: var(--hp-shadow-md);
  transform: translateY(-2px);
}
.hp-card .hp-card-body { padding: 1.5rem; }

/* ── Category Cards ──────────────────────────────────────────── */
.hp-cat-card {
  background: #fff;
  border: 1px solid var(--hp-gray-200);
  border-radius: var(--hp-radius-xl);
  padding: 1.5rem;
  height: 100%;
  transition: var(--hp-transition);
}
.hp-cat-card:hover {
  border-color: var(--hp-blue-border);
  box-shadow: var(--hp-shadow-lg);
  transform: translateY(-2px);
}
.hp-cat-icon {
  width: 44px;
  height: 44px;
  background: var(--hp-blue-pale);
  border-radius: var(--hp-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.hp-cat-card h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.hp-lot-count {
  font-size: 0.8125rem;
  color: var(--hp-gray-500);
  margin-bottom: 1.25rem;
}

/* ── Favorites Card ──────────────────────────────────────────── */
.hp-fav-card {
  background: #fff;
  border: 1px solid var(--hp-gray-200);
  border-radius: var(--hp-radius-xl);
  padding: 1.25rem 1.5rem;
  height: 100%;
  transition: var(--hp-transition);
}
.hp-fav-card:hover {
  border-color: var(--hp-blue-border);
  box-shadow: var(--hp-shadow-md);
}
.hp-fav-card h6 { font-size: 0.9375rem; font-weight: 700; margin-bottom: 0.25rem; }
.hp-fav-card .fav-location { font-size: 0.8125rem; color: var(--hp-gray-500); margin-bottom: 1rem; }

/* ── Occupancy Bars ──────────────────────────────────────────── */
.occ-bar {
  height: 8px;
  background: var(--hp-gray-200);
  border-radius: 999px;
  overflow: hidden;
}
.occ-fill {
  height: 100%;
  width: var(--fill, 0%);
  border-radius: 999px;
  transition: width 0.55s ease;
}
.occ-fill.green  { background: var(--hp-success); }
.occ-fill.yellow { background: var(--hp-warning); }
.occ-fill.red    { background: var(--hp-danger); }
.occ-fill.gray   { background: var(--hp-gray-500); opacity: 0.3; }

/* ── Status Badges ───────────────────────────────────────────── */
.hp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.625rem;
  border-radius: 999px;
}
.hp-badge-success { background: #d1fae5; color: #065f46; }
.hp-badge-danger  { background: #fee2e2; color: #991b1b; }
.hp-badge-info    { background: #dbeafe; color: #1e40af; }
.hp-badge-warning { background: #fef3c7; color: #92400e; }

/* ── Structure Card (in lot.ejs) ─────────────────────────────── */
.structure-hp-card {
  background: #fff;
  border: 1px solid var(--hp-gray-200);
  border-radius: var(--hp-radius-xl);
  overflow: hidden;
  height: 100%;
  transition: var(--hp-transition);
  display: flex;
  flex-direction: column;
}
.structure-hp-card:hover {
  box-shadow: var(--hp-shadow-md);
  border-color: var(--hp-blue-border);
}
.structure-hp-card .shc-header {
  padding: 1.25rem 1.5rem 1rem;
}
.structure-hp-card .shc-map {
  flex-shrink: 0;
}
.structure-hp-card .shc-footer {
  padding: 1rem 1.5rem 1.25rem;
  margin-top: auto;
}

/* ── Overall Occupancy Summary ───────────────────────────────── */
.hp-occ-hero {
  background: linear-gradient(135deg, var(--hp-navy) 0%, #1a2f5e 100%);
  border-radius: var(--hp-radius-xl);
  padding: 2rem 2.25rem;
  color: #fff;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}
.hp-occ-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -5%;
  width: 220px;
  height: 220px;
  background: rgba(37,99,235,0.15);
  border-radius: 50%;
  pointer-events: none;
}
.hp-occ-hero .occ-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.375rem;
}
.hp-occ-hero .occ-number {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.hp-occ-hero .occ-sub {
  color: rgba(255,255,255,0.6);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
}
.hp-occ-track {
  background: rgba(255,255,255,0.15);
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
}
.hp-occ-track-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.6s ease;
}

/* ── Level Cards ─────────────────────────────────────────────── */
.hp-level-card {
  background: #fff;
  border: 1px solid var(--hp-gray-200);
  border-radius: var(--hp-radius-lg);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: var(--hp-transition);
  height: 100%;
}
.hp-level-card:hover {
  border-color: var(--hp-blue-border);
  box-shadow: var(--hp-shadow-md);
}
.hp-level-card .lc-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--hp-navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}
.hp-level-card .lc-count {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--hp-navy);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}
.hp-level-card .lc-pct {
  font-size: 0.8125rem;
  color: var(--hp-gray-500);
  margin-bottom: 0.75rem;
}

/* ── Favorite Button ─────────────────────────────────────────── */
.hp-fav-btn {
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.22);
  border-radius: var(--hp-radius-lg);
  color: rgba(255,255,255,0.8);
  padding: 0.4rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--hp-transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}
.hp-fav-btn:hover {
  background: rgba(255,255,255,0.18);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.hp-fav-btn.is-fav {
  background: rgba(251,191,36,0.15);
  border-color: rgba(251,191,36,0.4);
  color: #fbbf24;
}
.hp-fav-btn.is-fav:hover {
  background: rgba(251,191,36,0.25);
}

/* ── Structure Page Header ───────────────────────────────────── */
.hp-structure-header {
  background: linear-gradient(135deg, var(--hp-navy) 0%, var(--hp-navy-mid) 100%);
  padding: 2rem 0 1.75rem;
  color: #fff;
}
.hp-structure-header h1 {
  color: #fff;
  font-size: 1.75rem;
  margin-bottom: 0;
}
.hp-structure-header .struct-location {
  color: rgba(255,255,255,0.55);
  font-size: 0.9375rem;
  margin: 0.25rem 0 0;
}

/* ── Dropdown Overrides ──────────────────────────────────────── */
.dropdown-menu {
  border: 1px solid var(--hp-gray-200);
  border-radius: var(--hp-radius-lg);
  box-shadow: var(--hp-shadow-xl);
  padding: 0.5rem;
}
.dropdown-item {
  border-radius: var(--hp-radius);
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--hp-navy);
  transition: var(--hp-transition);
}
.dropdown-item:hover {
  background: var(--hp-blue-pale);
  color: var(--hp-blue);
}

/* ── Form Controls ───────────────────────────────────────────── */
.form-control, .form-select {
  border: 1.5px solid var(--hp-gray-200);
  border-radius: var(--hp-radius);
  font-size: 0.9375rem;
  padding: 0.5625rem 0.875rem;
  transition: var(--hp-transition);
  background: #fff;
  font-family: inherit;
}
.form-control:focus, .form-select:focus {
  border-color: var(--hp-blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
  outline: none;
}
.form-label {
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--hp-navy);
  margin-bottom: 0.375rem;
}
.form-check-input:checked {
  background-color: var(--hp-blue);
  border-color: var(--hp-blue);
}

/* ── Auth Pages ──────────────────────────────────────────────── */
.hp-auth-page {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: linear-gradient(135deg, var(--hp-gray-50) 0%, var(--hp-blue-pale) 100%);
}
.hp-auth-card {
  background: #fff;
  border: 1px solid var(--hp-gray-200);
  border-radius: var(--hp-radius-xl);
  padding: 2.5rem 2.25rem;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--hp-shadow-xl);
}
.hp-auth-logo {
  text-align: center;
  margin-bottom: 1.75rem;
}
.hp-auth-logo img {
  height: 32px;
  width: auto;
}
.hp-auth-card h2 {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 0.375rem;
}
.hp-auth-sub {
  text-align: center;
  color: var(--hp-gray-500);
  font-size: 0.9375rem;
  margin-bottom: 1.875rem;
}
.hp-auth-footer {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--hp-gray-500);
}
.hp-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0;
  color: var(--hp-gray-500);
  font-size: 0.8125rem;
}
.hp-divider::before, .hp-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--hp-gray-200);
}

/* ── Info/Status Pages ───────────────────────────────────────── */
.hp-info-page {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}
.hp-info-card {
  background: #fff;
  border: 1px solid var(--hp-gray-200);
  border-radius: var(--hp-radius-xl);
  padding: 3rem 2.5rem;
  width: 100%;
  max-width: 480px;
  text-align: center;
  box-shadow: var(--hp-shadow-lg);
}
.hp-info-icon {
  font-size: 3rem;
  margin-bottom: 1.25rem;
  display: block;
}
.hp-info-card h2 { margin-bottom: 0.75rem; }
.hp-info-card p { color: var(--hp-gray-500); margin-bottom: 0.5rem; }

/* ── Alerts ──────────────────────────────────────────────────── */
.alert {
  border-radius: var(--hp-radius-lg);
  border: none;
  font-size: 0.9375rem;
  padding: 0.875rem 1.125rem;
}
.alert-danger  { background: #fee2e2; color: #991b1b; }
.alert-success { background: #d1fae5; color: #065f46; }
.alert-warning { background: #fef3c7; color: #92400e; }
.alert-info    { background: #dbeafe; color: #1e40af; }

/* ── Search Results ──────────────────────────────────────────── */
.search-result-item {
  background: #fff;
  border: 1px solid var(--hp-gray-200);
  border-radius: var(--hp-radius-lg);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: var(--hp-navy);
  transition: var(--hp-transition);
  margin-bottom: 0.625rem;
}
.search-result-item:hover {
  border-color: var(--hp-blue-border);
  background: var(--hp-blue-pale);
  color: var(--hp-blue);
  box-shadow: var(--hp-shadow-sm);
}
.search-result-item .arrow {
  color: var(--hp-gray-500);
  font-size: 1.125rem;
}
.search-result-item:hover .arrow { color: var(--hp-blue); }

/* ── LA Meters ───────────────────────────────────────────────── */
.hp-neighborhood-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  background: #fff;
  border: 1px solid var(--hp-gray-200);
  border-radius: var(--hp-radius-lg);
  cursor: pointer;
  transition: var(--hp-transition);
  user-select: none;
}
.hp-neighborhood-header:hover {
  border-color: var(--hp-blue-border);
  background: var(--hp-blue-pale);
}
.hp-neighborhood-header h5 {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
}
.hp-neighborhood-header .count-badge {
  margin-left: auto;
  background: var(--hp-gray-100);
  color: var(--hp-gray-500);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.625rem;
  border-radius: 999px;
}
.hp-neighborhood-header .chevron {
  color: var(--hp-gray-500);
  font-size: 0.875rem;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.hp-neighborhood-header.collapsed .chevron {
  transform: rotate(-90deg);
}
.hp-meter-card {
  background: #fff;
  border: 1px solid var(--hp-gray-200);
  border-radius: var(--hp-radius-lg);
  overflow: hidden;
  height: 100%;
  transition: var(--hp-transition);
}
.hp-meter-card:hover {
  box-shadow: var(--hp-shadow-md);
  transform: translateY(-1px);
}
.hp-meter-card .mc-body { padding: 1rem 1.125rem; }
.hp-meter-card .mc-name {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
  color: var(--hp-navy);
}
.hp-meter-card .mc-stats {
  font-size: 0.8125rem;
  color: var(--hp-gray-500);
  margin-bottom: 0.625rem;
}

/* ── Off-Site Parking Cards ──────────────────────────────────── */
.hp-offsite-card {
  background: #fff;
  border: 1px solid var(--hp-gray-200);
  border-radius: var(--hp-radius-xl);
  overflow: hidden;
  height: 100%;
  transition: var(--hp-transition);
}
.hp-offsite-card:hover {
  box-shadow: var(--hp-shadow-md);
  border-color: var(--hp-blue-border);
}
.hp-offsite-card .oc-body { padding: 1.25rem 1.5rem; }

/* ── Main content bottom padding ────────────────────────────── */
main { flex: 1; padding-bottom: 0 !important; }

/* ── Footer ──────────────────────────────────────────────────── */
.hp-footer {
  background: var(--hp-navy);
  color: rgba(255,255,255,0.55);
  padding: 3.5rem 0 2rem;
  margin-top: 0;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.hp-footer-logo img {
  height: 28px;
  width: auto;
  transform: scale(1.8);
  transform-origin: left center;
  margin-bottom: 1rem;
  margin-left: 14px;
}
.hp-footer-desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.45);
  max-width: 260px;
  margin-top: 1.5rem;
}
.hp-footer h6 {
  color: rgba(255,255,255,0.85);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}
.hp-footer a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.875rem;
  display: block;
  margin-bottom: 0.625rem;
  transition: var(--hp-transition);
}
.hp-footer a:hover { color: #fff; }
.hp-footer hr {
  border-color: rgba(255,255,255,0.08);
  margin: 2rem 0 1.25rem;
}
.hp-footer-bottom {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
}

/* ── Privacy / Terms Page ────────────────────────────────────── */
.hp-legal {
  max-width: 780px;
  margin: 0 auto;
  padding: 3rem 1rem 5rem;
}
.hp-legal h1 { font-size: 2rem; margin-bottom: 0.375rem; }
.hp-legal h3 {
  font-size: 1.0625rem;
  margin-top: 2rem;
  margin-bottom: 0.625rem;
  color: var(--hp-navy);
}
.hp-legal p, .hp-legal li {
  color: var(--hp-gray-700);
  font-size: 0.9375rem;
  line-height: 1.7;
}
.hp-legal ul { padding-left: 1.5rem; }
.hp-legal .effective-date {
  color: var(--hp-gray-500);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}
.hp-legal-toc {
  background: var(--hp-gray-50);
  border: 1px solid var(--hp-gray-200);
  border-radius: var(--hp-radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}
.hp-legal-toc h6 {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--hp-gray-500);
  margin-bottom: 0.75rem;
}
.hp-legal-toc a {
  font-size: 0.875rem;
  color: var(--hp-blue);
  display: block;
  margin-bottom: 0.375rem;
  text-decoration: none;
}
.hp-legal-toc a:hover { text-decoration: underline; }

/* ── Additional Info Box ─────────────────────────────────────── */
.hp-info-box {
  background: var(--hp-blue-pale);
  border: 1px solid var(--hp-blue-border);
  border-radius: var(--hp-radius-lg);
  padding: 1.25rem 1.5rem;
  font-size: 0.9375rem;
  color: var(--hp-navy);
  line-height: 1.65;
}

/* ── Utility ─────────────────────────────────────────────────── */
.text-hp-muted  { color: var(--hp-gray-500) !important; }
.text-hp-navy   { color: var(--hp-navy) !important; }
.text-hp-blue   { color: var(--hp-blue) !important; }
.bg-hp-navy     { background: var(--hp-navy) !important; }
.bg-hp-gray     { background: var(--hp-gray-50) !important; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 991px) {
  .hp-navbar .navbar-collapse { margin-top: 0.75rem; }
  .hp-navbar .nav-link {
    border-radius: var(--hp-radius);
    padding: 0.5rem 0.75rem !important;
  }
}
@media (max-width: 768px) {
  .hp-hero { padding: 3.5rem 0 3rem; }
  .hp-hero::after { height: 30px; }
  .hp-hero h1 { font-size: 2rem; }
  .hp-hero .lead { font-size: 1rem; }
  .hp-stats-row { gap: 1.5rem; }
  .hp-section { padding: 3rem 0; }
  .hp-auth-card { padding: 2rem 1.5rem; }
  .hp-occ-hero { padding: 1.5rem 1.25rem; }
  .hp-occ-hero .occ-number { font-size: 2.25rem; }
  .hp-footer { margin-top: 0; }
}
