.fileBrowserPanel {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  overflow: hidden;

  .toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;

    .toolbarRight {
      margin-left: auto;
      display: flex;
      align-items: center;
      gap: 8px;
    }
  }

  .breadcrumbBar {
    padding: 10px 16px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
  }

  .searchResult {
    font-size: 13px;
    color: #595959;
  }

  .searchPath {
    font-size: 12px;
    color: #8c8c8c;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .backBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 4px;

    &:hover {
      background-color: var(--beyond-color-bg-text-hover, #f5f5f5);
    }
  }

  .content {
    flex: 1;
    height: 0;
    width: 100%;
    padding: 0 16px;
  }

  .sortableHeader {
    cursor: pointer;
    user-select: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;

    &:hover {
      color: var(--beyond-color-primary, #1677ff);
    }
  }

  .sortIcons {
    display: inline-flex;
    flex-direction: column;
    line-height: 1;
    vertical-align: middle;
  }

  .preview {
    height: 100%;
    position: relative;
    line-height: 1;
  }

  .previewClose {
    width: 28px;
    height: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 99px;

    &:hover {
      background-color: #f5f5f5;
    }
  }
}
