.adm-dialog {
  --z-index: var(--ldkj-dialog-z-index, 1000);
  ---z-index: var(--z-index);
}

.adm-dialog .adm-center-popup {
  --z-index: var(---z-index);
}

.adm-dialog-body {
  width: 100%;
  max-height: 70vh;
  font-size: var(--ldkj-font-size-6);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.adm-dialog-body > * {
  flex: none;
}

.adm-dialog-body > .adm-dialog-content {
  flex: auto;
}

.adm-dialog-body:not(.adm-dialog-with-image) {
  padding-top: 40px;
}

.adm-dialog-image-container {
  margin-bottom: 24px;
  max-height: 40vh;
}

.adm-dialog-header {
  margin-bottom: 16px;
  padding: 0 24px;
}

.adm-dialog-title {
  margin-bottom: 16px;
  padding: 0 24px;
  font-weight: bold;
  font-size: var(--ldkj-font-size-10);
  line-height: 50px;
  text-align: center;
}

.adm-dialog-content {
  padding: 0 24px 40px;
  max-height: 70vh;
  overflow-x: hidden;
  overflow-y: auto;
  font-size: var(--ldkj-font-size-7);
  line-height: 1.4;
  color: var(--ldkj-color-text);
}

.adm-dialog-content-empty {
  padding: 0;
  height: 24px;
}

.adm-dialog-footer {
  -webkit-user-select: none;
  user-select: none;
}

.adm-dialog-footer .adm-dialog-action-row {
  display: flex;
  align-items: stretch;
  border-top: 1px solid var(--ldkj-color-border);
}

.adm-dialog-footer .adm-dialog-action-row > * {
  flex: 1;
}

.adm-dialog-footer .adm-dialog-action-row > .adm-dialog-button {
  padding: 20px;
  font-size: var(--ldkj-font-size-10);
  line-height: 50px;
  border-radius: 0;
  border-right: solid 1px var(--ldkj-color-border);
}

.adm-dialog-footer .adm-dialog-action-row > .adm-dialog-button-bold {
  font-weight: bold;
}

.adm-dialog-footer .adm-dialog-action-row > .adm-dialog-button:last-child {
  border-right: none;
}

.adm-dialog-image-container {
  overflow-y: auto;
}