.dialog-popup {
  border: solid 1px #a8a9ad;
  border-radius: 10px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
}
.dialog-popup::backdrop {
  background: rgba(255, 255, 255, 0.8);
}

.dialog-popup .popup-inner {
  width: min(400px, calc(100vw - 20px));
  min-height: 100px;
  padding: 20px;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dialog-popup.small .popup-inner {
  width: fit-content;
  min-width: 200px;
  text-align: center;
}

.dialog-popup .popup-header {
  font-size: 16px;
}

.dialog-popup .popup-message {
  line-height: 1.3;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dialog-popup.small .popup-message {
  flex-grow: 1;
}
.dialog-popup.small .popup-message p {
  margin: auto;
}

.dialog-popup .popup-message ul {
  padding-left: 0;
  list-style-position: inside;
}

.dialog-popup .flex-checkbox {
  width: fit-content;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
}

.dialog-popup .flex-checkbox label {
  width: fit-content;
  margin: 0;
}

.dialog-popup .popup-buttons {
  width: fit-content;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.popup-button {
  box-sizing: border-box;
  min-width: 42px;
  height: 24px;
  line-height: 24px;
  background-color: #000;
  color: #FFF;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
