/* FuelDash V414 — compact provider actions for optimal-route station cards. */

html[data-fd-theme] body #app .fd-route-result-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  justify-content: stretch !important;
  gap: 8px !important;
  padding: 0 13px 13px 67px !important;
}

html[data-fd-theme] body #app .fd-route-result-actions a {
  box-sizing: border-box !important;
  min-width: 0 !important;
  min-height: 42px !important;
  padding: 6px 10px !important;
  color: #e5e5e5 !important;
  border: 1px solid #2b2b2b !important;
  border-radius: 12px !important;
  background: #141414 !important;
  box-shadow: none !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

html[data-fd-theme] body #app .fd-route-result-actions a:active {
  border-color: #3a3a3f !important;
  background: #1e1e1e !important;
}

html[data-fd-theme] body #app .fd-route-result-actions a:focus-visible {
  outline: 2px solid rgba(255, 59, 48, .9) !important;
  outline-offset: 2px !important;
}

html[data-fd-theme] body #app .fd-route-result-actions a .fd-map-provider-icon {
  box-sizing: border-box !important;
  width: 22px !important;
  height: 22px !important;
  flex: 0 0 22px !important;
  border-radius: 6px !important;
}

html[data-fd-theme] body #app .fd-route-result-actions a .fd-map-provider-icon.is-apple {
  padding: 0 !important;
  background: #f4f4f6 !important;
  object-fit: cover !important;
}

html[data-fd-theme] body #app .fd-route-result-actions a .fd-map-provider-icon.is-google {
  padding: 3px !important;
  background: #fff !important;
  object-fit: contain !important;
}

html[data-fd-theme] body #app .fd-route-result-actions a > span {
  min-width: 0 !important;
  color: inherit !important;
  font-size: inherit !important;
  font-weight: 700 !important;
  letter-spacing: -.01em !important;
  white-space: nowrap !important;
}

@media (max-width: 390px) {
  html[data-fd-theme] body #app .fd-route-result-actions {
    padding-left: 63px !important;
  }
}
