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

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

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

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

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

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

.adm-modal-image-container {
  margin-bottom: 24px;
  max-height: 40vh;
  overflow-y: scroll;
}

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

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

.adm-modal-content {
  padding: 0 24px 24px;
  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-modal-footer {
  -webkit-user-select: none;
  user-select: none;
  padding: 16px 24px 24px;
}

.adm-modal-footer-empty {
  padding: 0;
  height: 16px;
}

.adm-modal-footer.adm-space {
  --gap-vertical: 40px;
}

.adm-modal-footer .adm-modal-button {
  font-size: var(--ldkj-font-size-10);
  line-height: 50px;
}

.adm-modal-footer .adm-modal-button:not(.adm-modal-button-primary) {
  padding-top: 0;
  padding-bottom: 0;
}

.adm-modal-footer .adm-modal-button:not(.adm-modal-button-primary)::before {
  display: none;
}

.adm-modal-footer .adm-modal-button:not(.adm-modal-button-primary):active {
  opacity: 0.7;
}