.next-modal-header {
  height: var(--modal-header-height, 48px);
  padding: 12px 22px;
  gap: 64px;
  box-shadow: none;
  border-bottom: 1px solid var(--color-line1-1,#e8e8e8);

  .left-part {
    display: flex;
    align-items: center;
    & > * {
      &:not(:last-child) {
        margin-right: 8px;
      }
    }
  }

  .right-part {
    .next-btn-text.next-medium > .next-btn-icon.next-icon-alone:before {
      font-size: 24px;
      width: 24px;
    }
  }
  .next-modal-title.next-modal-title {
    font-size: var(--modal-title-font-size, 18px);
    color: var(--color-text1-4, #292929);
    font-weight: var(--font-weight-medium, 500);

    &-center {
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
    }
  }

  .next-modal-title-box {
    display: flex;
    align-items: center;

    .next-modal-title-icon {
      color: var(--color-text1-2, #6e6e6e);
      line-height: 32px;
      width: 32px;
      background-color: var(--color-brand3-1,#f2f5f7);
      border-radius: 4px;
      font-size: 20px;
      margin-right: var(--modal-title-icon-margin-right, 12px);
      cursor: pointer;
      transform: translateY(0px);
      &::before {
        font-size: 20px;
        width: 32px;
        vertical-align: 0em;
      }
      &:hover {
        color: var(--color-brand1-6, #1b9aee);
      }
    }
  }

  .next-modal-groups {
    display: flex;
    align-items: center;
  }
}

.next-modal-header-extra {
  height: 48px;
  padding: 8px 32px;
  background: var(--color-fill1-1, #fff);
  border-top: 1px solid var(--color-line1-1, #e8e8e8);
  border-bottom: 1px solid var(--color-line1-1, #e8e8e8);
}

.next-modal-body .next-modal-children {
  background: var(--color-fill1-1, #fff);
}
.next-modal-body {
  height: calc(100% - var(--modal-header-height, 48px));
  background: var(--color-fill1-1, #fff);
}
.next-modal {
  transition: opacity 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.next-modal {
  .next-modal-header {
    .right-part {
      align-items: center;
    }
  }
  .next-modal-body {
    .next-nav {
      height: inherit; // 防止Nav在布局组件Sidebar中出滚动条
      &.next-ver .next-nav-group-label {
        margin-top: 40px;
        margin-bottom: 8px;
        &:first-child {
          margin-top: 0;
        }
      }
    }
  }
}