body { font-family: Inter, system-ui, Arial, sans-serif; background:#f5f7fa; margin:0; }
.container { max-width: 980px; margin: 32px auto; padding: 0 16px; }
.card { background:#fff; border-radius:12px; box-shadow:0 4px 16px rgba(0,0,0,.06); padding:20px; }

/* Buttons */
.btn { background:#0066cc; color:#fff; border:none; padding:10px 14px; border-radius:8px; cursor:pointer; font-weight:600; text-decoration:none; display:inline-block; }
.btn:hover { background:#004c99; }

/* small + light buttons */
.btn-sm { padding: 8px 10px; font-size: 14px; }
.btn-light { background:#eef2f7; color:#111827; }
.btn-light:hover { background:#e6ebf3; }

/* Inputs */
.input, select {
  width:100%;
  box-sizing:border-box;
  padding:10px;
  border-radius:8px;
  border:1px solid #e5e7eb;
  margin:6px 0 14px;
  background:#fff;
}
label { display:block; font-weight:600; color:#111827; margin-bottom:6px; }

/* Results */
.result {
  border:1px solid #eef2f7;
  padding:12px;
  border-radius:10px;
  margin:10px 0;
  display:flex;
  gap:12px;
  align-items:center;
}
.map-note { font-size:12px; color:#666; }
.subtext { font-size:13px; color:#475569; }
.download-row { margin-top:10px; display:flex; gap:8px; flex-wrap:wrap; }

/* Recommended tag */
.tag-recommended {
  background:#e0ecff;
  color:#004c99;
  font-size:12px;
  font-weight:700;
  padding:4px 8px;
  border-radius:999px;
  text-transform:uppercase;
  letter-spacing:0.3px;
}

/* Navbar */
.nav { display:flex; gap:12px; align-items:center; }

/* Responsive Grid */
.grid { display:grid; gap:16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

@media (max-width: 768px) {
  .container { padding: 0 12px; }
  .card { padding:16px; }
  .grid { grid-template-columns: 1fr; }
  .result { flex-direction: column; align-items:flex-start; }
}

.text-muted { color:#6b7280; }
.center { display:flex; align-items:center; justify-content:center; }
img.rounded { border-radius:8px; object-fit:cover; }

/* Spinner */
.loader {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid #e5e7eb;
  border-top-color: #0066cc;
  display: inline-block;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
