:root {
  --background: #f9fafb;
  --surface: #ffffff;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --secondary: #10b981;
  --text: #111827;
  --text-muted: #6b7280;
  --border: #e5e7eb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
}

header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

h1 {
  margin: 0;
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary);
}

#content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: auto;
}

section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease;
}

section:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

section h2 {
  margin-top: 0;
  font-size: 1.25rem;
  color: var(--text);
  font-weight: 500;
}

.map {
  width: 100%;
  height: 320px;
  border-radius: 8px;
  margin: 1rem 0;
  background-color: #d1d5db;
}

.download-box {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
}

.download-box label {
  font-weight: 500;
  color: var(--text-muted);
}

select {
  padding: 0.5rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: white;
  color: var(--text);
  font-size: 1rem;
}

button {
  padding: 0.6rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}

button:hover {
  background: var(--primary-hover);
}

.route-label {
  background: var(--secondary);
  color: white;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.85rem;
  display: inline-block;
  margin-bottom: 1rem;
}

@media (max-width: 600px) {
  h1 {
	font-size: 1.5rem;
  }
}
