/* The question a button asks before it acts, drawn in the page: a white
   card over a dimmed page, the question, then Not now and the yes button.
   On a phone the buttons stack, the yes button on top, each full width. */
.confirm-dialog {
  width: min(28rem, calc(100vw - 2rem));
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 1rem;
  background: #fff;
  color: #1f2a37;
  box-shadow: 0 20px 50px rgb(0 0 0 / 0.25);
}
.confirm-dialog::backdrop { background: rgb(17 24 39 / 0.45); }
.confirm-dialog__box { padding: 1.5rem; }
.confirm-dialog__message {
  margin: 0 0 1.25rem;
  font-size: 1.0625rem;
  line-height: 1.5;
}
.confirm-dialog__buttons {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}
.confirm-dialog__cancel { color: #1f2a37; }
@media (max-width: 30rem) {
  .confirm-dialog__buttons { flex-direction: column-reverse; }
  .confirm-dialog__buttons .btn { width: 100%; }
}
