/* FuelDash V480 — minimal location refresh icon and quiet price freshness status. */
html body #app .location {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  align-items: center !important;
  column-gap: 9px !important;
  row-gap: 6px !important;
}

html body #app .location-copy {
  min-width: 0 !important;
}

html body #app .location-line {
  display: flex !important;
  align-items: center !important;
  min-width: 0 !important;
  min-height: 30px !important;
  gap: 6px !important;
  white-space: nowrap !important;
}

html body #app .location-line strong {
  flex: 0 1 auto !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  overflow-wrap: normal !important;
}

html body #app .location-line .price-freshness {
  flex: 0 0 auto !important;
  margin-left: auto !important;
}

html body #app .location-refresh-button {
  align-self: center !important;
  box-sizing: border-box !important;
  display: inline-grid !important;
  place-items: center !important;
  flex: 0 0 22px !important;
  width: 22px !important;
  min-width: 22px !important;
  max-width: 22px !important;
  height: 22px !important;
  min-height: 22px !important;
  max-height: 22px !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(255, 69, 58, .82) !important;
  border-radius: 50% !important;
  color: #ff453a !important;
  background-color: rgba(255, 69, 58, .15) !important;
  box-shadow: inset 0 1px rgba(255, 205, 200, .12), 0 0 0 1px rgba(255, 69, 58, .12) !important;
  font: inherit !important;
  font-size: 0 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  touch-action: manipulation !important;
  -webkit-tap-highlight-color: transparent !important;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease, opacity 160ms ease !important;
}

html body #app .location-refresh-button:hover {
  border-color: rgba(255, 69, 58, .98) !important;
  background-color: rgba(255, 69, 58, .22) !important;
}

html body #app .location-refresh-button:focus-visible {
  outline: 2px solid rgba(255, 69, 58, .82) !important;
  outline-offset: 2px !important;
}

html body #app .location-refresh-button:active {
  transform: scale(.96) !important;
}

html body #app .location-refresh-button:disabled,
html body #app .location-refresh-button.is-loading {
  opacity: .74 !important;
  cursor: wait !important;
}

html body #app .location-refresh-button svg {
  width: 11px !important;
  height: 11px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.8px !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  flex: 0 0 11px !important;
  transform-origin: center !important;
}

html body #app .price-freshness {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  min-width: 0 !important;
  color: var(--fd-muted) !important;
  font-size: 9px !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
}

html body #app .price-freshness > i {
  display: block !important;
  width: 5px !important;
  height: 5px !important;
  flex: 0 0 5px !important;
  border-radius: 50% !important;
  background: #30d158 !important;
  box-shadow: 0 0 7px rgba(48, 209, 88, .45) !important;
}

html body #app .price-freshness.is-fresh > i {
  background: #30d158 !important;
  box-shadow: 0 0 7px rgba(48, 209, 88, .45) !important;
}

html body #app .price-freshness.is-loading > i {
  background: #ff453a !important;
  box-shadow: 0 0 7px rgba(255, 69, 58, .38) !important;
}

html body #app .price-freshness.is-settled {
  color: var(--fd-muted) !important;
}

html body #app .price-freshness.is-settled > i {
  background: #ff453a !important;
  box-shadow: 0 0 7px rgba(255, 69, 58, .38) !important;
}

html body #app .price-freshness.is-unknown > i {
  background: #ff453a !important;
  box-shadow: 0 0 7px rgba(255, 69, 58, .38) !important;
}

@keyframes fd-location-refresh-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

html body #app .location-refresh-button.is-loading svg {
  animation: fd-location-refresh-spin 1.1s linear infinite !important;
}

html[data-fd-theme="light"] body #app .location-refresh-button {
  border-color: rgba(210, 48, 40, .66) !important;
  color: #d22f28 !important;
  background-color: rgba(255, 69, 58, .13) !important;
  box-shadow: inset 0 1px rgba(255, 205, 200, .12), 0 0 0 1px rgba(210, 48, 40, .10) !important;
}

@media (max-width: 390px) {
  html body #app .location {
    column-gap: 6px !important;
  }

  html body #app .location-line {
    gap: 6px !important;
  }

  html body #app .location-refresh-button svg {
    width: 11px !important;
    height: 11px !important;
    flex-basis: 11px !important;
  }

  html body #app .price-freshness {
    font-size: 8px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body #app .location-refresh-button,
  html body #app .location-refresh-button:active {
    transition: none !important;
  }

  html body #app .location-refresh-button.is-loading svg {
    animation: none !important;
  }
}
