/* Heathrow Trip Map integration. */
.trip-map-day-button {
  appearance: none;
  border: 0;
  cursor: pointer;
}
.trip-map-location-card[data-map-location="Heathrow Airport / Elizabeth Line"] {
  border-color: rgba(37, 99, 235, 0.65);
}
.trip-map-location-card[data-map-location="Heathrow Airport / Elizabeth Line"] .trip-map-location-top h3::after {
  content: " ✈️";
}

/* 2026-05-16 universal action button restore: applies to desktop, mobile, itinerary detail modals, Trip Map cards/popups, and Concierge/map surfaces. */
html body #app .actions,
html body #app #detailActions,
html body .trip-map-card-actions,
html body .trip-map-popup-actions,
html body .concierge-card-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px !important;
}

html body #app .action-link,
html body .trip-map-popup .action-link,
html body .trip-map-location-card .action-link,
html body .concierge-card-actions .action-link,
html body #detailActions .action-link,
html body #app .trip-map-zoom-button.action-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  min-height: 46px !important;
  padding: 12px 18px !important;
  border-radius: 999px !important;
  border: 0 !important;
  text-decoration: none !important;
  font-weight: 950 !important;
  font-size: clamp(16px, 2.2vw, 22px) !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(5, 15, 35, .18) !important;
  cursor: pointer !important;
  white-space: nowrap !important;
}

html body #app .action-link .action-icon,
html body .trip-map-popup .action-link .action-icon,
html body .trip-map-location-card .action-link .action-icon,
html body #detailActions .action-link .action-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 1.15em !important;
  min-width: 1.15em !important;
  font-size: .98em !important;
  line-height: 1 !important;
}

html body #app .action-link .action-label,
html body .trip-map-popup .action-link .action-label,
html body .trip-map-location-card .action-link .action-label,
html body #detailActions .action-link .action-label {
  display: inline-block !important;
  text-transform: none !important;
}

html body #app .action-website,
html body #app .website-button.action-link,
html body .trip-map-popup .website-button.action-link,
html body .trip-map-location-card .website-button.action-link {
  background: linear-gradient(135deg, #0b3b91, #1167df) !important;
  color: #fff !important;
}

html body #app .action-maps,
html body #app .maps-button.action-link,
html body .trip-map-popup .maps-button.action-link,
html body .trip-map-location-card .maps-button.action-link {
  background: linear-gradient(135deg, #c8102e, #f02e3b) !important;
  color: #fff !important;
}

html body #app .action-tripadvisor,
html body #app .tripadvisor-button.action-link,
html body .trip-map-popup .tripadvisor-button.action-link,
html body .trip-map-location-card .tripadvisor-button.action-link {
  background: linear-gradient(135deg, #008f70, #00b98f) !important;
  color: #fff !important;
}

html body #app .action-menu,
html body #app .menu-button.action-link,
html body .trip-map-popup .menu-button.action-link,
html body .trip-map-location-card .menu-button.action-link {
  background: linear-gradient(135deg, #ffb000 0%, #ff8a00 62%, #d87400 100%) !important;
  color: #fff !important;
  border: 2px solid rgba(255,255,255,.72) !important;
  box-shadow: 0 10px 22px rgba(255, 138, 0, .28), inset 0 1px 0 rgba(255,255,255,.35) !important;
}

html body #app .action-call {
  background: linear-gradient(135deg, #06358a, #0a4fb8) !important;
}

html body #app .action-uber,
html body #app .action-lyft {
  background: linear-gradient(135deg, #111827, #374151) !important;
}

html body #app .action-zoom,
html body #app .trip-map-zoom-button.action-link {
  background: linear-gradient(135deg, #ffc400, #ff9f0a) !important;
  color: #07111f !important;
}

/* Override older pseudo-icon rules so icons are not duplicated. */
html body #app .action-link::before,
html body .trip-map-popup .action-link::before,
html body .trip-map-location-card .action-link::before,
html body #detailActions .action-link::before,
html body #app .trip-map-zoom-button.action-link::before {
  content: none !important;
  display: none !important;
}

@media (max-width: 760px) {
  html body #app .actions,
  html body #app #detailActions,
  html body .trip-map-card-actions,
  html body .trip-map-popup-actions {
    gap: 9px !important;
  }

  html body #app .action-link,
  html body .trip-map-popup .action-link,
  html body .trip-map-location-card .action-link,
  html body #detailActions .action-link,
  html body #app .trip-map-zoom-button.action-link {
    min-height: 44px !important;
    padding: 11px 15px !important;
    font-size: 19px !important;
    border-radius: 999px !important;
  }

  html body .trip-map-popup .action-link {
    font-size: 16px !important;
    min-height: 40px !important;
    padding: 10px 13px !important;
    gap: 7px !important;
  }
}

/* Concierge action buttons also use the same universal action style. */
html body .nearby-concierge-card a.action-link,
html body .nearby-concierge-hero-card a.action-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  min-height: 44px !important;
  padding: 11px 18px !important;
  border-radius: 999px !important;
  border: 0 !important;
  text-decoration: none !important;
  font-weight: 950 !important;
  font-size: 18px !important;
  line-height: 1 !important;
  color: #fff !important;
  text-transform: none !important;
}
html body .nearby-concierge-card a.action-maps,
html body .nearby-concierge-hero-card a.action-maps {
  background: linear-gradient(135deg, #c8102e, #f02e3b) !important;
}
html body .nearby-concierge-card a.action-website,
html body .nearby-concierge-hero-card a.action-website {
  background: linear-gradient(135deg, #0b3b91, #1167df) !important;
}

/* 2026-05-16 Trip Map popup button text contrast fix.
   Leaflet popup/link rules were overriding the label color for some action buttons.
   Force all popup/card action labels and icons to render as white on colored buttons. */
html body .leaflet-popup-content .trip-map-popup-actions a.action-link,
html body .leaflet-popup-content .trip-map-popup-actions a.action-link:link,
html body .leaflet-popup-content .trip-map-popup-actions a.action-link:visited,
html body .leaflet-popup-content .trip-map-popup-actions a.action-link:hover,
html body .leaflet-popup-content .trip-map-popup-actions a.action-link:active,
html body .leaflet-popup-content .trip-map-popup-actions button.action-link,
html body .trip-map-popup .trip-map-popup-actions a.action-link,
html body .trip-map-popup .trip-map-popup-actions button.action-link {
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0,0,0,.28) !important;
}

html body .leaflet-popup-content .trip-map-popup-actions a.action-link *,
html body .leaflet-popup-content .trip-map-popup-actions button.action-link *,
html body .trip-map-popup .trip-map-popup-actions .action-link *,
html body .trip-map-popup .trip-map-popup-actions .action-icon,
html body .trip-map-popup .trip-map-popup-actions .action-label,
html body .trip-map-popup .trip-map-popup-actions .website-button .action-icon,
html body .trip-map-popup .trip-map-popup-actions .website-button .action-label,
html body .trip-map-popup .trip-map-popup-actions .tripadvisor-button .action-icon,
html body .trip-map-popup .trip-map-popup-actions .tripadvisor-button .action-label,
html body .trip-map-popup .trip-map-popup-actions .maps-button .action-icon,
html body .trip-map-popup .trip-map-popup-actions .maps-button .action-label,
html body .trip-map-popup .trip-map-popup-actions .menu-button .action-icon,
html body .trip-map-popup .trip-map-popup-actions .menu-button .action-label {
  color: #ffffff !important;
  fill: #ffffff !important;
  stroke: #ffffff !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #ffffff !important;
}

html body .leaflet-popup-content .trip-map-popup-actions a.action-zoom,
html body .leaflet-popup-content .trip-map-popup-actions a.action-zoom *,
html body .leaflet-popup-content .trip-map-popup-actions button.action-zoom,
html body .leaflet-popup-content .trip-map-popup-actions button.action-zoom * {
  color: #07111f !important;
  -webkit-text-fill-color: #07111f !important;
  fill: #07111f !important;
  stroke: #07111f !important;
  text-shadow: none !important;
}


/* 2026-05-16 Air Canada app-action button. Mirrors the Lyft native-app treatment,
   but uses a compact Air Canada logo mark and app-launch label. */
html body #app .action-aircanada,
html body #detailActions .action-aircanada,
html body .trip-map-popup .action-aircanada,
html body .trip-map-location-card .action-aircanada {
  background: linear-gradient(135deg, #111827, #374151) !important;
  color: #ffffff !important;
}

html body #app .action-link .action-icon-img,
html body #detailActions .action-link .action-icon-img,
html body .trip-map-popup .action-link .action-icon-img,
html body .trip-map-location-card .action-link .action-icon-img {
  width: 1.18em !important;
  height: 1.18em !important;
  object-fit: contain !important;
  display: block !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  padding: 2px !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,.35), 0 0 10px rgba(255,255,255,.18) !important;
}

/* London Baby 2026 — Ticket button purple/violet treatment */
html body #app .action-ticket,
html body #app .ticket-button.action-link,
html body .trip-map-popup .ticket-button.action-link,
html body .trip-map-location-card .ticket-button.action-link,
html body .detail-backdrop #detailActions .action-ticket,
html body .detail-actions .action-ticket {
  background: linear-gradient(135deg, #6D28D9 0%, #9333EA 48%, #C026D3 100%) !important;
  background-color: #9333EA !important;
  color: #ffffff !important;
  border-color: rgba(255,255,255,.42) !important;
  box-shadow: 0 10px 24px rgba(147,51,234,.30), inset 0 1px 0 rgba(255,255,255,.30) !important;
}
html body #app .action-ticket *,
html body #app .ticket-button.action-link *,
html body .trip-map-popup .ticket-button.action-link *,
html body .trip-map-location-card .ticket-button.action-link *,
html body .detail-backdrop #detailActions .action-ticket *,
html body .detail-actions .action-ticket * {
  color: #ffffff !important;
}
