.resizeble-dialog {
  max-width: 100%;
  max-height: 100% !important;
  resize: both;
  overflow: auto;
}
.mat-mdc-dialog-content {
  max-height: none !important;
}
.mdc-dialog__content {
  overflow: hidden !important;
}
.modal-dialog {
  display: flex;
  min-width: 400px;
}
.modal-content {
  padding: 0 20px;
  width: 100%;
}
.sln-core-dialog-modal {
  .sln-modal-dialog {
    // min-width: 500px;
    min-width: auto;
    max-width: 100%;
    .mdc-dialog__title {
      cursor: grab;
      padding: 0;
      display: inline;
      width: auto;
    }
    .mdc-dialog__title::before {
      height: 0;
    }
    .sln-modal-title {
      padding: 0;
      display: inline;
      width: auto;
      color: var(--DARK-GREY);
      font-family: var(--font-bold);
      width: 95%;
      padding: 10px 0;
      text-transform: uppercase;
    }
  }
  .sln-header-search {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--LIGHT-GRAY);
    justify-content: space-between;
    width: 100%;
    margin-bottom: 10px;
  }
  .modal-footer {
    border-top: 1px solid #e5e5e5;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    margin-top: 10px;
    padding: 0;
    padding-top: 10px;
    padding-bottom: 10px;
    flex-wrap: nowrap;
  }
}
.mat-mdc-dialog-container .mdc-dialog__surface {
  overflow-x: hidden;
  box-shadow: 1px 4px 15px 3px #8c8c8c;
}
.mat-mdc-menu-content {
  border: 1px solid var(--LIGHT-GRAY);
  border-radius: 4px;
}
.footer {
  width: 100%;
  justify-content: space-between;
}
// info-dialog
.sln-core-info-dialog {
  .modal-header {
    border-bottom: 1px solid var(--LIGHT-GRAY);
    h4 {
      padding-top: 10px;
      padding-bottom: 10px;
      font-size: 18px;
      color: var(--DARK-GREY);
      text-transform: uppercase;
    }
  }
  .modal-text {
    width: 100%;
    margin: 10px 0;
    color: var(--WHITE);
    border-radius: 4px;
    background: var(--DANGER);
    padding: 10px;
    max-height: 80vh;
    overflow: auto;
  }
  .modal-footer {
    text-align: end;
    padding-bottom: 10px;
  }
}
.sln-core-info-dialog:has(.alert-validation) {
  .modal-text {
    background: var(--WHITE);
    color: var(--DARK-GREY);
  }
}
.cdk-overlay-container {
  z-index: 10;
}
