@antPrefix: ant;

.fileManagerContainer {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 30px;
}

.wrapper {
  position: relative;

  .tabs {
    :global {
      .@{antPrefix}-tabs-nav {
        font-weight: 400;
        margin: 0 !important;

        .@{antPrefix}-tabs-tab {
          height: 35px;
          font-size: 14px;
          border: 1px solid #e8e8e8;
          border-radius: 10px;
          padding: 6px 16px !important;
          color: #333 !important;
          margin-right: 12px;

          + .@{antPrefix}-tabs-tab {
            margin-left: 0 !important;
          }

          &.@{antPrefix}-tabs-tab-active {
            background-color: #14161a;
            border-color: transparent;
            color: #fff !important;
          }

          &:hover:not(.@{antPrefix}-tabs-tab-active) {
            border-color: #14161a;
          }
        }

        .@{antPrefix}-tabs-tab-btn {
          color: inherit !important;
          text-shadow: none !important;
          font-weight: unset;
          font-size: 14px;
          line-height: 22px !important;
        }

        .@{antPrefix}-tabs-ink-bar {
          display: none;
        }
      }
    }
  }

  .scrollArea {
    margin-top: 16px;
    overflow-y: auto;
    padding-bottom: 50px;
  }

  .spinWrapper {
    height: 100%;
  }
}

.cardGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 4px;

  @media (max-width: 1200px) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  @media (max-width: 900px) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.marketBg {
  width: 100%;
  aspect-ratio: 8.8 / 1;
  object-fit: cover;
}

.relatedToMeDropdown {
  padding: 5px 8px;
  border-radius: 8px;
  border: 1px solid #ced3d9;
  min-width: 100px;
  font-size: 13px;
  &:hover {
    border-color: var(--beyond-color-primary-hover);
  }
  .selectedItem {
    padding: 2px 6px;
    border-radius: 4px;
    background: #f2f6fa;
  }
}

.searchInput {
  width: 200px;
}

.menuItem {
  display: flex;
  align-items: center;
  gap: 8px;
}

.headerIcon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  margin-right: 8px;
}

.defaultHeaderIcon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background-color: #f2f6fa;
  color: #165dff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
}

.defaultHeaderIconIcon {
  font-size: 16px;
}

.infiniteScroll {
  overflow: visible;
}

.spinningWrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.emptyWrapper {
  min-height: 400px;
}
