/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Base */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #f7f7f7;
  color: #111;
  line-height: 1.6;
}

/* Layout */
.container {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

/* Links */
a {
  color: #111;
  text-decoration: none;
  font-weight: 500;
}
a:hover {
  text-decoration: underline;
}

/* =========================
   TOP BAR (FINAL, STABLE)
========================= */
.topbar {
  background: #fff;
  border-bottom: 1px solid #e6e6e6;
}

.topbar-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.topbar-center {
  text-align: center;
}

.topbar-right {
  justify-self: end;
}

/* Header text */
.topbar-center h1 {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.city-name {
  font-size: 0.95rem;
  color: #333;
}

.city-badge {
  display: inline-block;
  margin-top: 4px;
  background: #eee;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
}

.change-location {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.75rem;
  color: #555;
  text-decoration: underline;
}

/* Rules text */
.rules {
  font-size: 0.95rem;
  margin-bottom: 30px;
}
.rules strong {
  display: block;
  margin-top: 6px;
}

/* Categories */
.category {
  border-bottom: 1px solid #e0e0e0;
  padding: 12px 0;
}

.category summary {
  font-size: 1.05rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.category summary::-webkit-details-marker {
  display: none;
}

.category summary::after {
  content: "▾";
  float: right;
}

.category[open] summary::after {
  content: "▴";
}

.subcategories {
  list-style: none;
  margin-top: 10px;
  column-count: 2;
  column-gap: 40px;
}

.subcategories li {
  padding: 6px 0;
  break-inside: avoid;
}

/* Footer */
.footer {
  margin-top: 60px;
  padding: 20px 0;
  text-align: center;
  font-size: 0.8rem;
  color: #666;
}
.footer a {
  color: #666;
}
details summary {
  cursor: pointer;
}
/* City list buttons should look like clean text links */
.cities button{
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.cities button:hover{
  text-decoration: underline;
}
/* Verified Local Badge Style */
.verified-badge {
  display: inline-flex;
  align-items: center;
  background: #e1f5fe;
  color: #0288d1;
  border: 1px solid #b3e5fc;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: bold;
  margin-left: 8px;
}

.verified-badge::before {
  content: "✓";
  margin-right: 4px;
}
/* Modern Verification Card Styling */
.verification-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.verification-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}
.status-badge {
  font-size: 0.7rem;
  background: #eee;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: bold;
}
.status-verified {
  background: #e8f5e9;
  color: #2e7d32;
}
.verify-action-btn {
  width: 100%;
  background: #111;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}
