/* ============================================================================
   styles/results.css — 4-Racer Standings Table & Toast Notification Styling
   ============================================================================ */

.standings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
  background: rgba(15, 23, 42, 0.75);
  border-radius: 12px;
  overflow: hidden;
}

.standings-table th {
  background: rgba(30, 41, 59, 0.95);
  color: #94a3b8;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 8px 10px;
}

.racer-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #cbd5e1;
}

.racer-chip.is-me {
  border-color: #fb7185;
  color: #ffffff;
}

.racer-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.progress-marker.opponent {
  z-index: 1;
  width: 12px;
  height: 12px;
}

.app-toast {
  position: absolute;
  bottom: 78px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.toast-info {
  background: #0284c7;
  color: #ffffff;
}

.toast-success {
  background: #16a34a;
  color: #ffffff;
}

.toast-error {
  background: #dc2626;
  color: #ffffff;
}
