.workSpace {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 16px 0 0;

  .header {
    flex-shrink: 0;
    padding: 0 16px 8px;
    // border-bottom: 1px solid #f0f0f0;
  }

  .mainTitle {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: #262626;
  }

  .contentArea {
    flex: 1;
    overflow-y: auto;
    padding: 0 16px 8px;
  }

  .collapse {
    :global {
      .@{antPrefix}-collapse-item {
        border-bottom: none;

        > .@{antPrefix}-collapse-header {
          padding: 8px 0;
          align-items: center;

          &:hover {
            background: transparent;
          }
        }

        > .@{antPrefix}-collapse-content {
          > .@{antPrefix}-collapse-content-box {
            padding: 0;
          }
        }
      }
    }
  }

  .collapseHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-right: 8px;
  }

  .collapseTitle {
    font-size: 14px;
    font-weight: 500;
    color: #8c8c8c;
  }

  .collapseCount {
    font-size: 12px;
    font-weight: 400;
    color: #bfbfbf;
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 10px;
  }

  .collapseLabel {
    font-size: 14px;
    font-weight: 500;
    color: #8c8c8c;
  }

  .groupList {
    .listItem {
      padding: 4px 0;
      border-bottom: none;

      &:first-child {
        padding-top: 0;
      }

      &:last-child {
        padding-bottom: 0;
        margin-bottom: 8px;
      }
    }
  }

  .collapseIcon {
    font-size: 12px;
    color: #8c8c8c;
  }

  .list {
    .listItem {
      padding: 4px 0;
      border-bottom: none;

      &:first-child {
        padding-top: 0;
      }

      &:last-child {
        padding-bottom: 0;
        margin-bottom: 8px;
      }
    }
  }

  .card {
    width: 100%;
    background: #f5f5f5;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;

    &:hover {
      background: #e8e8e8;
    }

    :global {
      .@{antPrefix}-card-body {
        padding: 8px 12px;
      }
    }
  }

  .cardContent {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .iconWrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #fff;
    border-radius: 6px;
    flex-shrink: 0;
  }

  .fileIcon {
    font-size: 18px;
    color: #8c8c8c;
  }

  .content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .title {
    font-size: 15px;
    font-weight: 500;
    color: #262626;
    line-height: 1.4;
  }

  .meta {
    line-height: 1.4;
  }

  .metaText {
    font-size: 13px;
    color: #8c8c8c;
  }

  .metaDot {
    font-size: 13px;
    color: #bfbfbf;
  }

  .moreButton {
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    &:hover {
      background: rgba(0, 0, 0, 0.04);
    }
  }

  .moreIcon {
    font-size: 16px;
    color: #8c8c8c;
  }
}

.deleteMenuItem {
  display: block;
  color: #ff4d4f !important;
}

.spin {
  height: 100%;
  width: 100%;
  :global {
    .@{antPrefix}-spin-container {
      height: 100%;
      width: 100%;
    }
  }
}
