/* Bussig — gemensam stil. Modern, luftig, lugn färgskala (transit + eco). */

:root {
  --bg: #eef2f1;
  --surface: #ffffff;
  --surface-2: #f6f8f7;
  --ink: #0f1f1c;
  --muted: #687a76;
  --line: #e2e8e6;
  --primary: #0f766e;       /* djup teal */
  --primary-soft: #d7efeb;
  --minibuss: #0f766e;      /* egna fordon */
  --taxi: #f59e0b;          /* taxi */
  --hail: #475569;          /* uber/bolt */
  --ok: #16a34a;
  --warn: #dc2626;
  --shadow: 0 6px 24px rgba(15, 31, 28, 0.08);
  --radius: 16px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.02em; }
a { color: var(--primary); }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.03em;
}
.brand .dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft);
}
.brand small { font-weight: 500; color: var(--muted); font-size: 13px; letter-spacing: 0; }

.pill {
  font-size: 12px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px;
  background: var(--surface-2); color: var(--muted);
}
.pill.live { background: var(--primary-soft); color: var(--primary); }
.pill.live::before {
  content: ""; display: inline-block; width: 7px; height: 7px;
  border-radius: 50%; background: var(--primary); margin-right: 6px;
  animation: puls 1.4s infinite;
}
@keyframes puls { 0%,100% { opacity: 1 } 50% { opacity: 0.3 } }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

button {
  font-family: var(--font);
  font-weight: 600;
  font-size: 14px;
  border: none;
  border-radius: 12px;
  padding: 12px 16px;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  transition: transform .06s ease, filter .15s ease;
}
button:hover { filter: brightness(1.06); }
button:active { transform: translateY(1px); }
button.ghost { background: var(--surface-2); color: var(--ink); border: 1px solid var(--line); }
button:disabled { opacity: .5; cursor: not-allowed; }

select, input {
  font-family: var(--font);
  font-size: 14px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  width: 100%;
}

.muted { color: var(--muted); }
.row { display: flex; gap: 10px; }
.row > * { flex: 1; }
