body.app-dialog-open {
  overflow: hidden;
}

.app-dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #10182866;
}

.app-dialog-backdrop[hidden] {
  display: none !important;
}

.app-dialog {
  width: min(420px, 100%);
  padding: 22px 22px 18px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 60px #10182840;
}

.app-dialog h2 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.app-dialog p {
  margin: 0;
  color: #4b5565;
  font-size: 0.9rem;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
}

.app-dialog-actions {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.app-dialog-actions .primary-btn {
  min-width: 7rem;
  justify-content: center;
}

.stack-form .primary-btn,
.stack-form .secondary-btn {
  justify-content: center;
  width: 100%;
}
