/* Stable controls: no transparent frame, hover motion or brightness flashes.
   Keep state colours, focus rings, disabled states and nested loading spinners. */
:is(button, input[type="button"], input[type="submit"], input[type="reset"],
    [role="button"], .rd-button, .lt-button, .lt-btn, .lt-btnPrimary,
    .proof-button, .btn, .button, .but-color, a[class*="btn-"],
    a[class*="button"], a.col_ya_lico) {
  transition: none !important;
  animation: none !important;
}

/* The old gradient disappeared before background-color finished fading in. */
.rd-button.rd-button--primary {
  background: #087238 !important;
}
.rd-button.rd-button--primary:hover {
  background: #076831 !important;
}
.rd-page--checkout .lt-btnPrimary {
  background: #087238 !important;
}
.rd-page--checkout .lt-btnPrimary:hover {
  background: #076831 !important;
}

/* Hover must not move the hit target away from the pointer at its edges. */
:is(button, [role="button"], a)[class*="hover:-translate"]:hover,
a.col_ya_lico:hover {
  transform: none !important;
  translate: none !important;
}
:is(button, [role="button"], a)[class*="hover:scale"]:hover {
  scale: 1 !important;
}

/* Filter-based darkening also changes text/icons and can look like flashing. */
:is(button, input[type="button"], input[type="submit"], input[type="reset"],
    [role="button"], .rd-button, .lt-button, .lt-btn, .lt-btnPrimary,
    .proof-button, .btn, .button, .but-color, a[class*="btn-"],
    a[class*="button"]):not(:disabled):not([aria-disabled="true"]):hover {
  filter: none !important;
}
