.fare-demo { color: #17253b; background: #fff; }
.fare-demo__container { width: min(100%, var(--content-width)); margin: 0 auto; padding: 32px 22px; text-align: center; }
.fare-demo__title { margin: 0; font-size: clamp(25px, 7vw, 32px); font-weight: 800; line-height: 1.25; letter-spacing: -.05em; }
.fare-demo__title strong { color: var(--color-accent); }
.fare-demo__description { margin: 15px 0 0; color: #68635e; font-size: 15px; line-height: 1.55; letter-spacing: -.035em; }
.fare-demo__stage { max-width: 372px; margin: 24px auto 0; padding: 12px; border-radius: 22px; background: #f5f7fb; }
/* Reproduce select.png: flat white popup, grey controls and teal confirmation. */
.fare-demo__popup { padding: 14px; border-radius: 12px; color: #111827; background: #fff; }
.fare-demo__popup-title { margin: 0; font-size: 15px; font-weight: 800; line-height: 1.3; }
.fare-demo__controls { display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; align-items: center; gap: 10px; max-width: 246px; margin: 15px auto 14px; }
.fare-demo button { border: 0; font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.fare-demo button:disabled { cursor: default; opacity: 1; -webkit-text-fill-color: currentColor; }
.fare-demo .fare-demo__step { width: 40px; height: 40px; padding: 0; border-radius: 50%; color: #111827; background: #f2f2f2; font-size: 26px; font-weight: 800; line-height: 1; }
.fare-demo__amount { display: flex; align-items: baseline; justify-content: center; gap: 2px; min-width: 0; font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 30px; font-weight: 800; line-height: 1.3; }
.fare-demo__amount small { font-size: 10px; font-weight: 700; }
.fare-demo__current { display: flex; justify-content: space-between; gap: 8px; padding: 10px 11px; border: 1px solid #ededed; border-radius: 9px; font-size: 13px; line-height: 1.3; }
.fare-demo__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 14px; }
.fare-demo .fare-demo__cancel, .fare-demo .fare-demo__confirm { min-height: 40px; padding: 10px 8px; border-radius: 8px; font-size: 14px; font-weight: 700; line-height: 1.3; }
.fare-demo__cancel { color: #333; background: #e4e4e4; }
.fare-demo__confirm { color: #fff; background: #1ea593; }
.fare-demo button:focus-visible { outline: 3px solid #2463dc; outline-offset: 3px; }
.fare-demo .fare-demo__step.is-demonstrating, .fare-demo .fare-demo__step:active { background: #dce6f5; box-shadow: inset 0 0 0 2px #2463dc; }
.fare-demo .fare-demo__confirm.is-demonstrating, .fare-demo .fare-demo__confirm:active { background: #158574; box-shadow: inset 0 0 0 2px #0c6257; }
@media (min-width: 768px) {
  .fare-demo__container { padding: 44px 40px; }
  .fare-demo__description { font-size: 17px; }
}
