/* Custom dialogs (EPIC-011-S05, extended EPIC-011-S06). Requires: css/tokens.css
 *
 * Replaces alert()/confirm()/prompt() per the project's Dialog Box
 * Creation guideline -- backdrop overlay, dark design-system surface, no
 * hardcoded pixel width (the panel scales with the viewport instead of a
 * fixed px value that overflows a narrow screen).
 */
.acs-dialog-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(1, 4, 9, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
}

.acs-dialog {
  width: min(92vw, 26rem);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 12px 32px rgba(1, 4, 9, 0.5);
}

.acs-dialog:focus {
  outline: none;
}

.acs-dialog__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
}

.acs-dialog__message {
  font-size: 14px;
  color: var(--ink-muted);
  margin: 0 0 20px;
  line-height: 1.5;
}

.acs-dialog__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
