/*
 * Dragon Drinks primary actions.
 *
 * This file is loaded after each page's CSS so legacy page-specific gradients
 * cannot reintroduce a mixed visual state. Explicit semantic colors and
 * secondary actions remain untouched.
 */
:root {
  --dd-action-primary: #ff2daa;
  --dd-action-primary-hover: #6a11cb;
  --dd-action-disabled: #b8aebf;
}

html body :is(.btn1, [data-dd-primary-action]):not([style*="background"]):not([class*="delete"]):not([class*="cancel"]):not([class*="danger"]):not([class*="warning"]):not([class*="success"]):not([id*="delete"]):not([id*="cancel"]):not([id*="bad_debt"]):not(.disabled):not(:disabled):not([aria-disabled="true"]):not(#dd-action-weight-a):not(#dd-action-weight-b):not(#dd-action-weight-c) {
  background: var(--dd-action-primary) !important;
  background-image: none !important;
  border-color: var(--dd-action-primary) !important;
  color: #ffffff !important;
  transition: background-color .18s ease, border-color .18s ease,
              box-shadow .18s ease, transform .18s ease !important;
}

html body :is(.btn1, [data-dd-primary-action]):not([style*="background"]):not([class*="delete"]):not([class*="cancel"]):not([class*="danger"]):not([class*="warning"]):not([class*="success"]):not([id*="delete"]):not([id*="cancel"]):not([id*="bad_debt"]):not(.disabled):not(:disabled):not([aria-disabled="true"]):not(#dd-action-weight-a):not(#dd-action-weight-b):not(#dd-action-weight-c):hover,
html body :is(.btn1, [data-dd-primary-action]):not([style*="background"]):not([class*="delete"]):not([class*="cancel"]):not([class*="danger"]):not([class*="warning"]):not([class*="success"]):not([id*="delete"]):not([id*="cancel"]):not([id*="bad_debt"]):not(.disabled):not(:disabled):not([aria-disabled="true"]):not(#dd-action-weight-a):not(#dd-action-weight-b):not(#dd-action-weight-c):focus-visible {
  background: var(--dd-action-primary-hover) !important;
  background-image: none !important;
  border-color: var(--dd-action-primary-hover) !important;
  color: #ffffff !important;
  filter: none !important;
}

html body :is(.btn1, [data-dd-primary-action]):is(.disabled, :disabled, [aria-disabled="true"]):not(#dd-action-weight-a):not(#dd-action-weight-b):not(#dd-action-weight-c) {
  background: var(--dd-action-disabled) !important;
  background-image: none !important;
  border-color: var(--dd-action-disabled) !important;
  color: #ffffff !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
}
