.file-list {
  display: flex;
  flex-direction: column;
  gap: 8px;

  .file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--ant-color-border);
    border-radius: var(--border-radius-base);
    padding: 8px 6px 8px 14px;
    cursor: pointer;
    height: 41px;
    transition: background-color 0.3s ease;

    .delete-btn {
      display: none;
    }

    &:hover {
      background-color: var(--ant-color-fill-tertiary);

      .delete-btn {
        display: block;
      }
    }

    &.ghost {
      background-color: transparent;
    }

    .title {
      display: flex;
      align-items: center;
      width: 300px;
      flex: 1;
    }
  }
}
