/* World Map of Crypto Shops — Cryptobanking. Plain CSS, no framework. */
* { box-sizing: border-box; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  margin: 0 auto;
  max-width: 960px;
  padding: 0 1rem 2rem;
  line-height: 1.5;
  color: #1a1a1a;
  background: #fffdf5;
}
header h1 { color: #8a6d00; margin-bottom: 0.2rem; }
.meta { font-size: 0.95rem; }
a { color: #8a6d00; }
#map {
  height: 420px;
  width: 100%;
  border: 2px solid #c9a227;
  border-radius: 8px;
  background: #e8f0e8;
  z-index: 0;
}
.map-error { padding: 1rem; }
.shop-marker span {
  color: #c9a227;
  font-size: 22px;
  line-height: 22px;
  text-shadow: 0 0 3px #fff, 0 0 3px #fff;
  cursor: pointer;
}
.controls {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}
.controls label { display: flex; flex-direction: column; gap: 0.25rem; }
.controls input, .controls select,
form input, form textarea, form select {
  font: inherit;
  padding: 0.4rem 0.5rem;
  border: 1px solid #999;
  border-radius: 4px;
  background: #fff;
}
.panels {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1rem;
  align-items: start;
}
@media (max-width: 640px) { .panels { grid-template-columns: 1fr; } }
#shop-list { list-style: none; padding: 0; margin: 0; }
.shop-item {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 0.6rem 0.8rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
  background: #fff;
}
.shop-item.selected { border-color: #c9a227; outline: 2px solid #c9a227; }
.shop-item .empty { cursor: default; }
.badge {
  display: inline-block;
  background: #c9a227;
  color: #fff;
  border-radius: 3px;
  padding: 0 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
}
#shop-details {
  border: 1px solid #c9a227;
  border-radius: 6px;
  padding: 0.8rem 1rem;
  background: #fff;
  min-height: 4rem;
}
#shop-details:empty { display: none; }
.no-qr {
  background: #fff4d6;
  border-left: 4px solid #c9a227;
  padding: 0.6rem 0.8rem;
}
.eth-uri code { word-break: break-all; }
form label { display: block; margin-bottom: 0.7rem; }
form label span { display: block; margin-bottom: 0.2rem; font-weight: 600; }
form fieldset { margin-bottom: 0.7rem; border: 1px solid #999; border-radius: 4px; }
form fieldset label { display: inline-block; margin: 0.3rem 1rem 0.3rem 0; font-weight: normal; }
button {
  font: inherit;
  padding: 0.5rem 1rem;
  background: #c9a227;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.form-error { color: #a00; font-weight: 600; }
.submission {
  background: #f4f4f4;
  padding: 0.8rem;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}
footer { margin-top: 2rem; border-top: 1px solid #ccc; padding-top: 1rem; font-size: 0.95rem; }

.fallback-note { display: inline-block; background: #fff4d6; border: 1px solid #c9a227; border-radius: 4px; padding: 0.2rem 0.5rem; margin-left: 0.5rem; font-size: 0.9rem; }
.fallback-note[hidden] { display: none; }
