.stats {
  display: flex;
  flex-flow: column;
  gap: 30px;
  width: 100%;

  .rightPanel {
    .statIcon {
      display: flex;
      justify-content: center;
      margin-bottom: 30px;
    }

    .statGrid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      grid-gap: 10px;

      div {
        display: flex;
        flex-flow: column;
      }
    }

    .subtitle {
      text-transform: capitalize;
    }

    span {
      font-size: 20px;
    }
  }
}

.achievements {
  display: flex;
  flex-flow: column;
  gap: 15px;
}

.achievementsGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 10px;
}

.achievement {
  padding: 20px 10px;
  display: flex;
  flex-flow: row !important;
  align-items: center;

  @include themed {
    background: t($modal-secondaryColour);
    border: 1px solid t($modal-sidebarActive);
    border-radius: t($borderRadius);
    gap: 10px;
  }

  .timestamp {
    display: flex;
    flex-flow: row;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    @include themed {
      color: t($subColor);
    }
  }

  .achievementTitle {
    font-size: 18px;
    font-weight: bold;
  }

  svg.trophy {
    font-size: 20px !important;
    @include themed {
      background-image: t($slightGradient);
      box-shadow: t($boxShadow);
    }

    padding: 15px;
    border-radius: 100%;
  }

  svg.trophyLocked {
    font-size: 20px !important;
    @include themed {
      background-image: t($modal-sidebarActive);
      box-shadow: t($boxShadow);
    }

    padding: 15px;
    border-radius: 100%;
  }
}

.statSection.rightPanel {
  padding: 25px;

  @include themed {
    border-radius: t($borderRadius);
    background: t($modal-secondaryColour);
    box-shadow: 0 0 0 1px t($modal-sidebarActive);

    svg {
      font-size: 50px;
      color: t($subColor);
    }
  }
}

.achievementContent {
  display: flex;
  flex-flow: column;
  gap: 2px;

  .subtitle {
    font-size: 13px !important;
  }
}

.statsTopBar {
  display: flex;
  justify-content: space-between;
  align-items: center;

  button {
    margin-bottom: 15px;
    flex-flow: row !important;
    padding-left: 20px;
    padding-right: 20px;
  }
}
