:root {
  --bg: #0e0f12;
  --panel: #16181d;
  --text: #f5f7fa;
  --muted: #9aa3af;
  --accent: #dc2626;
  --border: #23262d;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

header {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
}

header h1 {
  margin: 0;
  font-size: 1.2rem;
}

header p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

main {
  display: flex;
  flex-direction: column;
  height: calc(100% - 72px);
}

#map {
  flex: 1;
}

#report-panel {
  padding: 1rem;
  background: var(--panel);
  border-top: 1px solid var(--border);
}

label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

select {
  width: 100%;
  padding: 0.75rem;
  margin-top: 0.25rem;
  background: #0b0c0f;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 6px;
}

button {
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.85rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

small {
  display: block;
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.75rem;
}

/* Desktop */
@media (min-width: 768px) {
  main {
    flex-direction: row;
  }

  #map {
    flex: 3;
  }

  #report-panel {
    flex: 1;
    max-width: 360px;
    border-top: none;
    border-left: 1px solid var(--border);
  }
}
