@import '~@zgfe/business-lib/es/assets/styles/inner.less';

.dataset-registration {
  width: 100%;
  height: 100%;
  background-color: #fafafb;

  &-title {
    display: flex;
    flex: none;
    gap: 10px;
    align-items: center;
    width: 100%;
    height: 48px;
    padding: @padding-sm 24px;
    background: #fff;
    border-bottom: 1px solid #f2f3f4;

    &-back {
      color: @text-color-secondary;
      &:hover {
        color: @primary-color;
      }
    }

    &-txt {
      color: @text-color;
      font-weight: 500;
      font-size: 16px;
      line-height: 1;
    }
  }

  &-container {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 48px);
    padding: @padding-md @padding-md @padding-lg @padding-md;

    &-option {
      display: flex;
      gap: 16px;
      align-items: center;
      height: 64px;
      padding: 0 24px;
      background-color: @white;
      border-top: 1px solid #e8efff;
      border-radius: 0 0 @border-radius-normal @border-radius-normal;
    }
  }

  &-content {
    display: flex;
    // height: 100%;
    flex: 1;
    flex-direction: column;
    gap: 16px;
    overflow-y: auto;

    &-panel {
      height: fit-content;
      padding: @padding-lg !important;
      background-color: @white;
      border-radius: @border-radius-normal;
      .ant-form {
        margin-top: 24px;
      }

      &:last-child {
        border-radius: @border-radius-normal @border-radius-normal 0 0;
      }
    }

    &-form {
      height: 100%;
      .ant-form-item-label {
        width: 112px;
        text-align: right;
        & > label::after {
          margin-right: 12px;
        }
      }
      .ant-form-item:last-child {
        margin-bottom: 0;
      }
    }
  }
  .ant-radio-group {
    display: flex;
    gap: 24px;
  }

  &-form-item {
    margin-top: -14px;
  }
  &-form-tip {
    display: flex;
    align-items: center;
    margin-top: 16px;
    color: #fd9f41;
    .bsicon {
      margin-right: 8px;
      font-weight: 500;
      font-size: 16px !important;
      line-height: 1;
    }
  }
  &-width342 {
    width: 342px;
  }

  &-vertical {
    &-title {
      margin-bottom: 12px;
      color: @text-color-secondary;
      &.required:before {
        display: inline-block;
        margin-right: 4px;
        color: #ff4d4f;
        font-size: 14px;
        font-family: SimSun, sans-serif;
        line-height: 1;
        content: '*';
      }
    }
  }

  &-loading {
    height: 100%;

    .ant-spin-container {
      height: 100%;
    }
  }
  &-radio-label {
    position: relative;
    display: inline-block;
  }
  &-radio-icon {
    position: absolute;
    right: -22px;
    color: #9aa1a9;
  }
}
