@value colors: "../../variables/colors.css";
@value breakpoints: "../../variables/breakpoints.css";
@value tablet from breakpoints;
@value mobile from breakpoints;
@value xtraLightGrey from colors;
@value cm_grey_100 from colors;
@value cm_grey_200 from colors;
@value cm_grey_400 from colors;
@value cm_grey_500 from colors;

.continueLearningWrapper {
  margin-top: 40px;
  margin-bottom: 16px;
}

.continueLearningTitle {
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
}

.continueLearningNumber {
  border-radius: 12px;
  background-color: #EAEAEB;
  color: #515161;
  padding: 2px 4px;
  margin-left: 8px;
  font-size: 10px;
  font-weight: 600;
  line-height: 12px;
}

.searchAndSortSection {
  display: flex;
  margin-bottom: 16px;
  justify-content: space-between;
}

.searchWrapper {
  border-radius: 12px;
  width: 300px;
  background-color: cm_grey_100;
}

.sortSection {
  display: flex;
  gap: 32px;
  align-items: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
}

.sortWrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  color: cm_grey_500;
}

.filterWrapper {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}

.filterButtonWrapper {
  display: flex;
  align-items: center;
}

.divider {
  height: 24px;
  width: 1px;
  background-color: cm_grey_200;
  margin-left: 12px;
}

.emptySearchResultContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.emptySearchResultTitle {
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  margin-bottom: 8px;
}

.emptySearchResultDescription {
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  margin-bottom: 16px;
}

.emptySearchResultClearSearch {
  color: #0061FF;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 20px;
  cursor: pointer;
}

.emptySearchResultClearSearch:hover {
  text-decoration: underline;
}

.bannerWrapper {
  margin-bottom: 16px;
}

@media tablet {
  .searchAndSortSection {
    flex-direction: column;
  }

  .sortSection {
    margin-top: 16px;
  }

  .filterWrapper {
    overflow-x: scroll;
  }
}

@media mobile {
  .sortSection {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    margin-top: 16px;
  }
}
