.page-header {
  margin-bottom: 24px;
}

.page-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 4px;
}

.page-subtitle {
  font-size: 13px;
  color: var(--text-3);
}

/* ── Country filter ── */
.country-filter-wrap {
  margin-bottom: 28px;
  position: relative;
  max-width: 360px;
}

.cf-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-3);
  pointer-events: none;
}

.country-filter {
  width: 100%;
  padding: 7px 10px 7px 34px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 13px;
  color: var(--text);
  background: var(--surface);
  height: 34px;
  outline: none;
  transition: border-color 0.15s;
}
.country-filter:focus { border-color: var(--accent); }
.country-filter::placeholder { color: var(--text-3); }

/* ── Country sections ── */
.country-section {
  margin-bottom: 28px;
}

.country-heading {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-3);
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

.crossing-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.crossing-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  text-decoration: none;
  color: var(--text);
  transition: background 0.1s;
}
.crossing-row:hover { background: var(--surface-2); text-decoration: none; }

.cr-left {
  flex: 1;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}

.cr-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.cr-dest {
  font-size: 12px;
  color: var(--text-2);
  white-space: nowrap;
}

.cr-arrow {
  color: var(--text-3);
  flex-shrink: 0;
  opacity: 0.5;
}

.wait-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.wait-low    { background: var(--low-bg);    color: var(--low-text); }
.wait-medium { background: var(--med-bg);    color: var(--med-text); }
.wait-high   { background: var(--high-bg);   color: var(--high-text); }
.wait-none   { background: var(--surface-2); color: var(--text-3); }

.no-results {
  display: none;
  padding: 48px 0;
  text-align: center;
  color: var(--text-3);
}

@media (max-width: 600px) {
  .country-filter-wrap { max-width: 100%; }
}
