/* Clear, restrained action colors for data tables in both themes. */
.app-shell main button[title="تعديل"] {
  color: #2563eb;
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.08);
}

.app-shell main button[title="تعديل"]:hover {
  color: #1d4ed8;
  background-color: #dbeafe;
  border-color: #93c5fd;
}

.app-shell main button[title="حذف"] {
  color: #dc2626;
  background-color: #fff1f2;
  border: 1px solid #fecdd3;
  box-shadow: 0 1px 2px rgba(220, 38, 38, 0.08);
}

.app-shell main button[title="حذف"]:hover {
  color: #b91c1c;
  background-color: #ffe4e6;
  border-color: #fda4af;
}

.app-shell main button[title="تعديل"]:focus-visible,
.app-shell main button[title="حذف"]:focus-visible {
  outline: 2px solid #818cf8;
  outline-offset: 2px;
}

html.dark .app-shell main button[title="تعديل"] {
  color: #93c5fd !important;
  background-color: rgba(59, 130, 246, 0.12);
  border-color: rgba(96, 165, 250, 0.3);
  box-shadow: none;
}

html.dark .app-shell main button[title="تعديل"]:hover {
  color: #dbeafe !important;
  background-color: rgba(59, 130, 246, 0.24);
  border-color: rgba(147, 197, 253, 0.55);
}

html.dark .app-shell main button[title="حذف"] {
  color: #fca5a5 !important;
  background-color: rgba(239, 68, 68, 0.12);
  border-color: rgba(248, 113, 113, 0.3);
  box-shadow: none;
}

html.dark .app-shell main button[title="حذف"]:hover {
  color: #fee2e2 !important;
  background-color: rgba(239, 68, 68, 0.24);
  border-color: rgba(252, 165, 165, 0.55);
}

html.dark .ds-mute {
  color: #a8b4c7;
  background-color: rgba(148, 163, 184, 0.1);
  border-color: rgba(148, 163, 184, 0.28);
}

html.dark .hover\:bg-indigo-50\/40:hover,
html.dark .active\:bg-indigo-50\/40:active {
  background-color: rgba(99, 102, 241, 0.12) !important;
}
