/* Onde usar bitcoin. Tokens come from theme.css. */
html, body { min-height: 100%; }
body { display: flex; flex-direction: column; }

.main-content {
  flex: 1;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 52px 16px 56px;
}

.page-title {
  font-size: clamp(28px, 4vw, 34px);
  text-align: center;
  margin: 0 0 8px;
}

.page-subtitle {
  text-align: center;
  color: var(--ink-soft);
  margin: 0 0 32px;
  font-size: 16px;
}

.panel-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  width: 100%;
  max-width: 820px;
  margin: 0 auto 24px;
}

.panel-title { margin: 0 0 14px; font-size: 20px; }

/* map */
.map-card { padding: 10px; }
.map-frame {
  display: block;
  width: 100%;
  height: 460px;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface-2);
}
@media (max-width: 600px) { .map-frame { height: 360px; } }
.attribution {
  margin: 8px 6px 2px;
  font-size: 12.5px;
  color: var(--ink-dim);
  text-align: right;
}

/* search */
.input-label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink-soft);
  font-size: 13.5px;
  font-weight: 500;
}
.input-field {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  outline: none;
}
.input-field::placeholder { color: var(--ink-dim); }
.input-field:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.input-field:disabled { opacity: 0.6; }

.list-status { margin: 12px 0 4px; color: var(--ink-soft); font-size: 14px; }
.list-status.is-error { color: var(--neg); }
.list-note { margin: 0 0 14px; color: var(--ink-dim); font-size: 12.5px; line-height: 1.5; }
.list-empty { color: var(--ink-soft); }

/* city groups */
.city { border-top: 1px solid var(--line); }
.city summary {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 2px;
  cursor: pointer;
  font-weight: 600;
}
.city-name { overflow-wrap: anywhere; }
.city-count {
  color: var(--accent-2);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.places { list-style: none; margin: 0 0 10px; padding: 0; }
.place {
  background: var(--surface-2);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 8px;
}
.place-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.place-name { font-weight: 600; overflow-wrap: anywhere; }
.place-tag {
  font-size: 12px;
  color: var(--accent-2);
  background: var(--accent-soft);
  border-radius: 6px;
  padding: 1px 6px;
}
.place-addr { margin: 4px 0 0; color: var(--ink-soft); font-size: 14px; overflow-wrap: anywhere; }
.place-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: 6px 0 0;
  font-size: 12.5px;
  color: var(--ink-dim);
}

.clube-link { margin: 16px 0 0; color: var(--ink-soft); font-size: 14px; }

/* FAQ (same rules as the converter) */
.faq {
  max-width: 820px;
  margin: 40px auto 0;
}
.faq-title { font-size: 20px; text-align: center; margin: 0 0 14px; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 12px 2px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
}
.faq p {
  margin: 10px 0 2px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.6;
}

/* "Mostrar mais" buttons for the paged city and place lists. */
.more-btn { display: block; margin: 12px auto; }
.places > .more-btn { margin: 8px auto 4px; }
