.app-dialog {
  border: 0;
  border-radius: 10px;
  box-shadow: 0 24px 70px rgba(12, 25, 40, 0.25);
  color: #1c2b3a;
  max-width: 440px;
  padding: 0;
  width: calc(100% - 32px);
}
.app-dialog::backdrop {
  background: rgba(14, 25, 38, 0.52);
  backdrop-filter: blur(2px);
}
.app-dialog__panel {
  background: #fff;
  padding: 24px;
}
.app-dialog__title {
  color: #172b40;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}
.app-dialog__message {
  color: #536273;
  font-size: 0.94rem;
  line-height: 1.55;
  margin: 12px 0 24px;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.app-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: flex-end;
}
.app-dialog__button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 5px;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
.app-dialog__button:focus-visible {
  box-shadow: 0 0 0 3px rgba(36, 107, 253, 0.22);
  outline: none;
}
.app-dialog__button--primary {
  background: #246bfd;
  color: #fff;
}
.app-dialog__button--primary:hover {
  background: #174fc4;
}
.app-dialog__button--danger {
  background: #bd3029;
  color: #fff;
}
.app-dialog__button--danger:hover {
  background: #9e241f;
}
.app-dialog__button--secondary {
  background: #fff;
  border-color: #ccd6e0;
  color: #34475a;
}
.app-dialog__button--secondary:hover {
  background: #f2f5f8;
  border-color: #aebdcb;
}
@media (max-width: 480px) {
  .app-dialog__panel {
    padding: 20px;
  }
  .app-dialog__actions {
    flex-direction: column-reverse;
  }
  .app-dialog__button {
    width: 100%;
  }
}