/* Shared, intentionally quiet treatment for destructive actions and their result messages. */
:is(button, a)[data-destructive-action],
form[data-destructive-action] :is(button[type="submit"], button:not([type])),
.danger,
.danger-button,
.danger-quiet {
  border-color: #e8c1bd !important;
  background: #fff7f6 !important;
  color: #a13f36 !important;
}

:is(button, a)[data-destructive-action]:hover,
form[data-destructive-action] :is(button[type="submit"], button:not([type])):hover,
.danger:hover,
.danger-button:hover,
.danger-quiet:hover {
  border-color: #d9948d !important;
  background: #fff0ee !important;
  color: #8f3028 !important;
}

:is(button, a)[data-destructive-action]:focus-visible,
form[data-destructive-action] :is(button[type="submit"], button:not([type])):focus-visible {
  outline-color: rgba(161, 63, 54, .25);
}

form[data-destructive-panel] {
  border-color: #efd4d1 !important;
  background: #fffafa !important;
}

:is(.notice, .ticket-notice, .knowledge-notice)[data-destructive-notice] {
  border: 1px solid #efc8c4 !important;
  background: #fff4f3 !important;
  color: #8f3931 !important;
}

/* Compact icon-only deletion controls remain visibly destructive without becoming loud. */
form[data-destructive-action] button:is([aria-label^="Eliminar"], [aria-label^="Quitar"], [title^="Eliminar"], [title^="Desvincular"]) {
  border-color: #edcbc7 !important;
  background: #fff7f6 !important;
  color: #a13f36 !important;
}
