/* Feuille de style principale — page des horaires du tramway. */

:root {
  --bg: #f2f5f9;
  --card: #ffffff;
  --accent: #0d7fc4;
  --text: #16232f;
  --muted: #5b6b7c;
  --delay-late: #dc2626;
  --border: #e3e9f0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  display: flex;
  justify-content: center;
}

.container { width: 100%; max-width: 620px; padding: 32px 16px 48px; }

.app-title {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 12px;
}

.stop-header { margin-bottom: 20px; }

.stop-name { font-size: 1.9rem; font-weight: 800; line-height: 1.2; }

.stop-city { color: var(--muted); font-size: 1rem; margin-top: 2px; }

.stop-clock { color: var(--muted); font-size: 0.8rem; margin-top: 6px; }

.list-card {
  background: var(--card);
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(22, 35, 47, 0.08);
  overflow: hidden;
}

.trip-list { list-style: none; }

.trip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.trip:last-child { border-bottom: none; }

.eta-block { min-width: 96px; text-align: center; }

.time-value { font-size: 1.5rem; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.15; white-space: nowrap; }

.eta-offset { display: block; margin-top: 4px; color: var(--accent); font-size: 0.85rem; font-weight: 700; white-space: nowrap; }

.dest-block { text-align: right; min-width: 0; }

.dest-name { font-size: 1rem; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.origin-name { color: var(--muted); font-size: 0.85rem; margin-top: 2px; }

.side-block { text-align: right; }

.pmr-tag { font-size: 1.1rem; cursor: help; }

.status-tag {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--delay-late);
}

.empty, .loading, .error { padding: 24px 20px; color: var(--muted); font-size: 0.95rem; }

.error { color: var(--delay-late); background: rgba(220, 38, 38, 0.06); }

.footer-note { margin-top: 14px; color: var(--muted); font-size: 0.8rem; text-align: center; }