/* Shared action styling for rank lists, ranking previews and map-marker cards. */
:is(#alpha-list-card, #property-card, .alpha-ranking-actions) :is(
  .alpha-action, .alpha-card-links > a, .alpha-card-links > button,
  .imap-listing-links > a, .imap-listing-links > button,
  .property-card-primary-actions > a, .property-compare-actions > button,
  .property-interest-buttons > button, .property-share-button
) {
  --card-action-color: #1d4ed8;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 40px;
  min-height: 40px;
  padding: 4px 6px;
  border: 1px solid var(--card-action-color);
  border-radius: 7px;
  background: #fff;
  color: #103e70;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  box-shadow: none;
}
:is(#alpha-list-card, #property-card, .alpha-ranking-actions) .property-interest-buttons > button[data-buyer-save-key] {
  --card-action-color: #991b1b;
}
:is(#alpha-list-card, #property-card, .alpha-ranking-actions) .property-interest-buttons > .property-not-interested-button {
  --card-action-color: #1e3a8a;
}
:is(#alpha-list-card, #property-card, .alpha-ranking-actions) :is(.alpha-card-links, .imap-listing-links, .property-card-primary-actions, .property-compare-actions, .property-interest-buttons, .alpha-card-share, .imap-card-share) > :is(a, button):hover:not(:disabled) {
  background: #edf3f8;
}
:is(#alpha-list-card, #property-card, .alpha-ranking-actions) .property-interest-buttons > button[data-buyer-save-key]:is(:hover, [aria-pressed="true"]) {
  background: #fef2f2;
}
:is(#alpha-list-card, #property-card, .alpha-ranking-actions) .property-interest-buttons > .property-not-interested-button:is(:hover, [aria-pressed="true"]) {
  background: #eff6ff;
}
:is(#alpha-list-card, #property-card, .alpha-ranking-actions) :is(.alpha-card-links, .imap-listing-links, .property-card-primary-actions, .property-compare-actions, .property-interest-buttons, .alpha-card-share, .imap-card-share) > :is(a, button):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
:is(#alpha-list-card, #property-card, .alpha-ranking-actions) button:disabled {
  opacity: .55;
  cursor: default;
}
.alpha-ranking-actions > .alpha-action:hover:not(:disabled) { background: #edf3f8; }
:is(#alpha-list-card, #property-card, .alpha-ranking-actions) button.property-share-button {
  flex: 0 0 auto;
  width: auto;
  height: 30px;
  min-height: 30px;
  padding: 4px 9px;
  border: 1px solid #93c5fd;
  border-radius: 7px;
  background: #fff;
  color: #103e70;
  font-size: 11px;
  line-height: 1.2;
}
