/* ChaosWeather web UI base stylesheet (#54). */

:root {
  color-scheme: light dark;
  --fg: #1a1a1a;
  --bg: #ffffff;
  --accent: #2b6cb0;
  --muted: #f0f4f8;
  --border: #d0d7de;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.5;
}

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

.site-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--fg);
  text-decoration: none;
}

.site-main {
  max-width: 32rem;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.service-area {
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.address-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.address-form label {
  font-weight: 600;
}

.address-form input {
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  font-size: 1rem;
}

.address-form button {
  align-self: flex-start;
  padding: 0.5rem 1.25rem;
  border: none;
  border-radius: 0.375rem;
  background: var(--accent);
  color: #ffffff;
  font-size: 1rem;
  cursor: pointer;
}

.address-form button:hover {
  background: #234e8a;
}
