/* Global action button theme */
:root {
  --primary: #8b5cf6;
  --primary-color: #8b5cf6;
  --accent: #8b5cf6;
  --accent-color: #8b5cf6;
  --qc-action: #8b5cf6;
  --qc-action-hover: #7c3aed;
  --qc-action-active: #6d28d9;
}

:is(
  .primary, .btn-primary, .btn-confirm, .btn-save, .btn-order, .action-btn,
  .ai-btn, .submit, .btn-retry, .btn-cart, .btn-main, .pay-btn, .btn-next,
  .cart-go, .btn-action, .btn-gallery, .btn-new, .entry-btn, .submit-btn,
  .generate-btn, .login-btn, .register-btn, .btn-consult, .btn-match
):not(:disabled):not(.disabled),
button[type="submit"]:not(:disabled):not(.disabled):not(.btn-cancel):not(.btn-ghost):not(.btn-danger):not(.danger):not(.delete-btn):not(.del-btn) {
  background: #8b5cf6 !important;
  border-color: #8b5cf6 !important;
  color: #fff !important;
}

:is(
  .primary, .btn-primary, .btn-confirm, .btn-save, .btn-order, .action-btn,
  .ai-btn, .submit, .btn-retry, .btn-cart, .btn-main, .pay-btn, .btn-next,
  .cart-go, .btn-action, .btn-gallery, .btn-new, .entry-btn, .submit-btn,
  .generate-btn, .login-btn, .register-btn, .btn-consult, .btn-match,
  button[type="submit"]
):not(:disabled):not(.disabled):hover {
  background: #7c3aed !important;
  border-color: #7c3aed !important;
}

:is(
  .primary, .btn-primary, .btn-confirm, .btn-save, .btn-order, .action-btn,
  .ai-btn, .submit, .btn-retry, .btn-cart, .btn-main, .pay-btn, .btn-next,
  .cart-go, .btn-action, .btn-gallery, .btn-new, .entry-btn, .submit-btn,
  .generate-btn, .login-btn, .register-btn, .btn-consult, .btn-match,
  button[type="submit"]
):not(:disabled):not(.disabled):active {
  background: #6d28d9 !important;
  border-color: #6d28d9 !important;
}

button:disabled,
.disabled[role="button"] {
  cursor: not-allowed;
  opacity: .5;
}
