:root {
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --slate-900: #0f172a;
  --slate-600: #475569;
  --slate-200: #e2e8f0;
  color-scheme: light;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #f8fafc;
  color: var(--slate-900);
}

#app {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  padding: 16px;
  background: linear-gradient(135deg, var(--amber-500), var(--amber-600));
  color: white;
}

.topbar h1 { margin: 0; font-size: 1.15rem; }
.topbar span { font-size: 0.85rem; opacity: 0.9; }

#map {
  height: 45vh;
  min-height: 260px;
  background: var(--slate-200);
}

.panel {
  flex: 1;
  padding: 20px 16px 32px;
  background: white;
}

.status-banner {
  font-weight: 700;
  font-size: 1.05rem;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fffbeb;
  color: var(--amber-600);
  margin-bottom: 20px;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.timeline li {
  position: relative;
  padding: 0 0 20px 28px;
  border-left: 2px solid var(--slate-200);
  font-size: 0.9rem;
  color: var(--slate-600);
}

.timeline li:last-child { border-color: transparent; }

.timeline li::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--slate-200);
}

.timeline li.done {
  color: var(--slate-900);
  font-weight: 600;
}

.timeline li.done::before {
  background: var(--amber-500);
}

.timeline time {
  display: block;
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--slate-600);
}

.driver-info {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
