/* Custom parking zone layout — summary panel styles */

:root {
  --bg: #0c1222;
  --bg-elevated: #121a2e;
  --surface: #161f35;
  --border: #2a3652;
  --text: #e8ecf4;
  --muted: #94a3b8;
  --accent: #3b82f6;
  --accent-soft: rgba(59, 130, 246, 0.15);
  --success: #22c55e;
  --ev: #06b6d4;
  --bike: #a855f7;
  --vip: #eab308;
  --reserved: #f97316;
  --radius-lg: 16px;
  --radius-md: 12px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: radial-gradient(ellipse 120% 80% at 50% -20%, #1e3a5f 0%, transparent 55%),
    linear-gradient(165deg, var(--bg) 0%, #0a0f1a 100%);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 8px 16px;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  z-index: 100;
}

.page {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 20px 48px;
}

.back-row {
  margin-bottom: 20px;
}

.back-row a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.back-row a:hover {
  color: var(--text);
}

.local-note {
  font-size: 0.9rem;
  color: var(--muted);
}

.zone-header {
  margin-bottom: 28px;
}

.zone-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 0 0 8px;
}

.zone-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.zone-sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-stat {
  background: linear-gradient(135deg, var(--surface) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}

.hero-stat__label {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0 0 4px;
}

.hero-stat__value {
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  margin: 0;
  color: var(--success);
  letter-spacing: -0.03em;
}

.hero-stat__unit {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  margin-left: 4px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 18px 16px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.stat-card:hover {
  border-color: #3d4d6e;
  transform: translateY(-1px);
}

.stat-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.stat-card--ev .stat-card__icon {
  background: rgba(6, 182, 212, 0.18);
  color: var(--ev);
}

.stat-card--bike .stat-card__icon {
  background: rgba(168, 85, 247, 0.18);
  color: var(--bike);
}

.stat-card--vip .stat-card__icon {
  background: rgba(234, 179, 8, 0.18);
  color: var(--vip);
}

.stat-card--reserved .stat-card__icon {
  background: rgba(249, 115, 22, 0.18);
  color: var(--reserved);
}

.stat-card__title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 6px;
  line-height: 1.3;
}

.stat-card__value {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
}

.footer-note {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--muted);
}

@media (max-width: 520px) {
  .page {
    padding: 16px 16px 40px;
  }

  .hero-stat {
    padding: 20px 20px;
  }
}
