.modalDialogCustom {
  margin-top: 2% !important;
  margin-bottom: auto !important;
  transform: none !important;
  top: 0 !important;
}

@media only screen and (max-width: 767px) {
  .modalDialogCustom {
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    /* height: 50vh !important;
    max-height: 50vh !important; */
  }
}

.modalHeader {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  padding: 1rem;
  border-bottom: 1px solid #dee2e6;
  border-top-left-radius: calc(0.3rem - 1px);
  border-top-right-radius: calc(0.3rem - 1px);
}

@media only screen and (max-width: 767px) {
  .modalHeader {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
  }
}

.modalTitle {
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 0;
  line-height: 1.5;
}

.modalBody {
  background-color: var(--bg-body);
  color: var(--text-body);
  padding: 10px;
  max-height: calc(98vh - 50px);
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
  flex: 1 1 auto;
}

@media only screen and (max-width: 767px) {
  .modalBody {
    max-height: calc(50vh - 60px);
    /* height: calc(50vh - 60px); */
    padding: 0.5rem;
    overflow-y: auto;
  }
}
