::ng-deep .qms-dialog-container-v2 {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;

  .qms-dialog-header {
    flex-shrink: 0;
  }

  .qms-dialog-content {
    flex-grow: 1;
    overflow-y: auto;
    overflow-x: hidden;
    margin: 0;
    min-height: 2em;
  }

  .qms-dialog-footer {
    margin-top: 10px;
    flex-shrink: 0;

    &.qms-dialog-footer-align-center {
      justify-content: center;
    }

    &.qms-dialog-footer-align-start {
      justify-content: start;
    }
  }
}
