.stats__container {
  padding-top: 40px;
  padding-bottom: 150px;
}

.stats__upper {
  padding-bottom: 40px;
}

.stats__title {
  font-size: 28px;
  font-weight: 300;
}

.stats__controls-wrapper {
  display: flex;
  justify-content: space-between;
  padding-bottom: 40px;
}

.stats__form--search {
  position: relative;
}

.stats__form-input {
  width: 250px;
  padding: 6px 20px 6px 40px;
  border-radius: 26px;
  border: 1px solid var(--color-primary);
  background-color: transparent;
}

.stats__form-search {
  position: absolute;
  width: 16px;
  height: 16px;
  background-image: url("../img/magnifier-icon.svg");
  background-repeat: no-repeat;
  background-size: contain;
  left: 16px;
  top: 9px;
}

.table {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.table__row {
  min-height: 94px;
  display: grid;
  grid-template-columns: 44px repeat(2, 150px) 190px auto;
}

.table__row--head {
  min-height: auto;
}

.table__row--all {
  min-height: auto;
  border-radius: 26px;
  background: #d9e8f1;
  display: grid;
  grid-template-columns: 464px auto;
}

.table__cell {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
}

.table__cell--explain {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
}

.table__cell--type {
  justify-content: flex-start;
  padding-right: 36px;
  text-align: left;
}

.table__cell--special {
  font-weight: 500;
}

.table__cell-inner {
  text-align: center;
}

.table__cell-inner--success {
  border-bottom: 1px solid #5aa49c;
}

.table__cell-inner--warning {
  border-bottom: 1px solid #ec1d1d;
}

.table__cell-inner--medium {
  border-bottom: 1px solid #b69a2d;
}

.table__cell-select {
  border-radius: 26px;
  height: 44px;
  width: 114px;
  font-weight: 500;
  background-color: transparent;
  padding: 6px 14px;
}

/* .table__cell--type provides destinguishing between header select and stats select  */
.table__cell--type .choices {
  width: 116px;
  border-radius: 26px;
}

.table__cell--type .choices .choices__inner {
  padding: 1px;
  height: auto;
}

.table__cell--type .choices .choices__list--single {
  padding: 6px 14px;
}

.table__cell--type .choices .choices__placeholder {
  font-weight: 500;
}

.table__cell--type .choices .choices__list--dropdown,
.table__cell--type .choices__list[aria-expanded] {
  top: 104%;
  width: 300px;
  border-radius: 26px;
  background-color: #fffdfa;
}

.table__cell-wrapper {
  display: grid;
  grid-template-columns: repeat(7, 116px);
  background-color: #f5f5f5;
}

.table__cell-wrapper--head {
  background-color: transparent;
}

.table__cell-wrapper--all {
  position: relative;
  background-color: transparent;
  border: 1px solid #315269;
  border-radius: 26px;
  padding-left: 70px;
}

.table__cell-button {
  width: 10px;
  height: 14px;
  background-image: url("../img/double-arrow-grey-decor.svg");
  background-repeat: no-repeat;
  background-size: contain;
  display: flex;
  flex-shrink: 0;
  margin-left: 6px;
}

.stats__pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 30px;
}

.stats__pagination-pages {
  display: flex;
  gap: 6px;
  font-size: 18px;
}

.stats__pages-list {
  display: flex;
  gap: 12px;
}

.stats__pagination-dots {
  font-size: 18px;
}

.stats__pages-button {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.stats__pagination-button {
  padding: 6px 20px;
  border: 1px solid var(--color-primary);
  border-radius: 26px;
  transition: 0.2s all ease;
}

@media (any-hover: hover) {
  .stats__pagination-button:hover {
    background-color: var(--color-primary);
    transition: 0.2s all ease;
    color: #fff;
  }
}
