/* Confirmation dialog — see admin/js/utils/dialog.js.
   The admin's one styled confirm; replaces the OS confirm() box. */

.adlg-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1000000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.adlg-backdrop.adlg-open {
  display: flex;
}

.adlg {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
  font-family: var(--font-sans);
}

.adlg-title {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.adlg-msg {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
  white-space: pre-wrap;
  word-break: break-word;
}

.adlg-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.adlg-actions button {
  min-width: 92px;
}
