/* A ticket's price that is still loading (fares.js): a small wheel where
   the price will be, and words that say it. */
.fare-spinner {
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  margin-right: 0.45em;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  vertical-align: -0.08em;
  animation: fare-spin 0.8s linear infinite;
}
.trip-amount .fare-spinner { margin-right: 0; }
.fare-loading { color: var(--muted); }
@keyframes fare-spin {
  to { transform: rotate(360deg); }
}
/* For someone who asked for less movement: it turns slowly, and the words say the rest. */
@media (prefers-reduced-motion: reduce) {
  .fare-spinner { animation-duration: 3s; }
}
