/* ── Confirm dialog / modal ──────────────────────────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(14, 23, 38, 0.55);
  backdrop-filter: blur(2px);
  animation: modal-fade 0.14s ease;
}
.modal__card {
  width: 100%;
  max-width: 400px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-4);
  animation: modal-pop 0.16s ease;
}
.modal__card--wide { max-width: 520px; }
.modal__title { font-size: 1.15rem; margin-bottom: var(--space-2); }
.modal__message {
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0 0 var(--space-4);
}
.modal__actions { display: flex; justify-content: flex-end; gap: var(--space-2); }

@keyframes modal-fade { from { opacity: 0; } }
@keyframes modal-pop { from { transform: translateY(8px) scale(0.98); opacity: 0; } }

@media (max-width: 480px) {
  .modal__actions { flex-direction: column-reverse; }
  .modal__actions .btn { width: 100%; }
}
