:root {
  --green: #1f9d55;
  --red: #c0392b;
  --yellow: #f1c40f;
  --blue: #3498db;
  --gray: #555;
  --bg: #f7f7f7;
}

* {
  box-sizing: border-box;
  font-family: system-ui, sans-serif;
}

body {
  margin: 0;
  background: var(--bg);
  color: #111;
}

.app {
  max-width: 520px;
  margin: 0 auto;
  padding: 16px;
}

.status-header {
  text-align: center;
  margin-bottom: 12px;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  color: white;
  font-weight: bold;
  margin-bottom: 8px;
}

.secondary {
  color: var(--gray);
  margin-top: 4px;
}

.alert {
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 12px;
  font-weight: bold;
  text-align: center;
}

.alert.critical {
  background: var(--red);
  color: white;
}

.alert.warning {
  background: var(--yellow);
  color: black;
}

.alert.info {
  background: var(--blue);
  color: white;
}

.hidden {
  display: none;
}

.direction {
  text-align: center;
  margin: 24px 0;
}

.arrow {
  font-size: 64px;
}

.timer {
  font-size: 28px;
  font-weight: bold;
}

.traffic {
  display: flex;
  justify-content: space-around;
  margin: 16px 0;
}

.traffic-item {
  text-align: center;
}

.map {
  margin: 20px 0;
}

.map-placeholder {
  background: #ddd;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  border-radius: 8px;
}

.footer {
  font-size: 12px;
  color: #666;
  text-align: center;
  margin-top: 20px;
}
