/* Shared Stan Pay colors and roles. Card artwork, brand marks and icons are independent. */
:root {
  --stan-surface: #0b1f18;
  --stan-border: #1e3a30;
  --stan-text: #eaf7ef;
  --stan-text-secondary: #b7ccc0;
  --stan-text-muted: #8aa396;
  --stan-accent: #3ddc84;
  --stan-accent-text: #7be8a6;
}

:root body :is(.surface.surface, .tile) {
  background-color: var(--stan-surface);
  border-color: var(--stan-border);
  border-radius: 18px;
  color: var(--stan-text);
}
:root body .tile--method {
  border: 1px solid var(--stan-border);
  transition: scale .15s cubic-bezier(.4, 0, .2, 1), border-color .15s cubic-bezier(.4, 0, .2, 1);
}
:root body .tile--method:enabled:active { scale: .97; }
:root body .tile--method:focus-visible { outline: 2px solid var(--stan-accent-text); outline-offset: 2px; }
@media (hover: hover) {
  :root body .tile--method:enabled:hover { border-color: rgba(61, 220, 132, .4); }
}

:root body .screen-title { color: var(--stan-text); }
:root body .screen-description { color: var(--stan-text-secondary); }
:root body .row-title { color: var(--stan-text); font-size: 16px; line-height: 24px; font-weight: 700; }
:root body .row-description { color: var(--stan-text-secondary); font-size: 14px; line-height: 20px; }
:root body .row-note { color: var(--stan-text-muted); font-size: 12px; line-height: 16px; }
:root body .row-note--accent { color: var(--stan-accent-text); }

:root body .stan-profile-menu {
  min-height: 81px;
  padding-block: 8px;
}

:root body .tile--crypto-unavailable { min-height: 126px; padding-block: 20px; }
:root body .transaction-actions > button {
  flex: 1 1 0%;
  min-width: 0;
  min-height: 48px;
  padding: 4px 12px;
  white-space: normal;
  overflow-wrap: anywhere;
}
:root body .transaction-actions > button > svg { flex-shrink: 0; }

.tile-holder--locked { position: relative; }
.tile--method:disabled[aria-busy="true"] { cursor: default; }
.tile--method:disabled:not([aria-busy="true"]) {
  filter: grayscale(1);
  opacity: .5;
  padding-right: 64px;
  cursor: not-allowed;
}

@media (prefers-reduced-motion: reduce) {
  :root body .tile--method { transition: none; }
}
