.jnpf-report-designer {
  display: flex;
  height: 100%;

  &__body {
    position: relative;
    display: flex;
    flex: 1;
    overflow: hidden;
  }

  .design-wrap {
    width: 100%;
    height: calc(100%);
  }

  .flex-row {
    display: flex;
    height: calc(100%);
    overflow: hidden;

    .left-side {
      min-width: 250px;
      max-width: 250px;
      height: calc(100%);
      background: var(--component-background);
      border-radius: 8px;

      .tabs-content {
        height: calc(100% - 42px);
        overflow: hidden auto;
        user-select: none;

        .right-radio {
          .ant-radio-button-wrapper {
            padding: 0 11px;
          }
        }

        .components-list {
          .components-list-title {
            font-weight: 600;

            .title-tip {
              margin-left: 4px;
              font-size: 12px;
              font-weight: normal;
              color: #999;
            }
          }

          .ant-collapse-content-box {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            padding: 0 10px;
          }

          .components-item {
            width: 110px;
            margin-bottom: 10px;
            transition: transform 0ms !important;

            &.disabled {
              .components-body {
                color: var(--text-color-secondary);
                cursor: not-allowed;

                &:hover {
                  color: var(--text-color-secondary);
                  border-color: var(--border-color-base);
                }
              }
            }

            &.ep-click-item .components-body {
              cursor: pointer;
            }

            .components-body {
              display: flex;
              align-items: center;
              height: 36px;
              padding-left: 8px;
              font-size: 12px;
              line-height: 34px;
              color: var(--text-color);
              cursor: move;
              border: 1px solid var(--border-color-base);
              border-radius: var(--radius);

              i {
                height: 16px;
                margin-right: 4px;
                line-height: 16px;
              }

              &:hover {
                color: var(--primary-color);
                border: 1px solid var(--primary-color);
              }
            }
          }
        }

        .dataSet-content {
          height: 100%;

          .dataSet-content-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 50px;
            padding: 10px;
            font-size: 16px;
            border-bottom: 1px solid var(--border-color-base1);
          }

          .dataSet-content-main {
            height: calc(100% - 50px);
          }
        }
      }
    }

    .center-side {
      box-sizing: border-box;
      flex: 1;
      min-width: 800px;
      margin: 0 0 0 10px;
      overflow: hidden;
      background: var(--component-background);
      border-radius: 8px;
    }
  }

  .right-radio .ant-radio-wrapper {
    margin-inline-end: 6px;
  }

  .data-source-display-type-radio .ant-radio-wrapper {
    margin-inline-end: 0;
  }
}

.jnpf-basic-report-designer {
  .report-config-container {
    position: absolute;
    top: -60px;
    bottom: 0;
    left: 0;
    z-index: 100000;
    width: 100%;
    padding: 70px 10px 10px;
    background: var(--app-base-background);
    background-repeat: no-repeat;
    background-position: top center;
    background-clip: content-box;
    background-size: cover;

    .report-config-container-main {
      height: 100%;
      padding: 20px;
      overflow-y: auto;
      background-color: var(--component-background);
      border-radius: 8px;

      .title {
        margin-bottom: 10px;
        font-weight: 600;
      }
    }
  }
}

.univer-dialog-root .univer-dialog-mask {
  background: #00000080 !important;
}
