.profile-body-1 {
  @import '~bootstrap/scss/bootstrap';

  margin-top: 10px;
	background: darkgreen;
	font-family: "Roboto", sans-serif;;
  overflow-y: auto;

.back-button {
    top: 10px;
    right: 10px;
    z-index: 100;
    background: rgb(1, 61, 0);
    border-radius: 25px;
    padding: 10px;
    font-size: 20px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    width: 50px;
    height: 50px;
  }

  .main-content {

    h1, h2, h3, h4, h5, h6 {
      color: #fff;
    }

    .stat {
      font-size: 25px;
    }

    .graystat {
      font-size: 25px;
      color: #aaa;
    }

    h1 {
      border: solid 3px #fff;
      padding: 10px;
      border-radius: 25px;
      // width fit content
      display: inline-block;
      padding-left: 10px;
      padding-right: 10px;
      background: rgb(1, 61, 1);
    }

    .equipped-skin {
      // Inlined
      display: inline-block;
      margin-right: 10px;
      // Smaller
      width: 100px;
      height: 100px;
    }

    .cluster {
      background-color: rgb(1, 61, 0);
      border: 1px solid rgb(1, 28, 1);
      border-radius: 25px;
      padding-left: 10px;
      padding-top: 10px;
    }

    .smallcluster {
      width: 70%;
      background-color: rgb(1, 61, 0);
      border: 1px solid rgb(1, 28, 1);
      border-radius: 25px;
      padding-left: 10px;
      padding-top: 10px;
      margin-left: auto;
      margin-right: auto;
      display: block;
    }

    .container {
      border: solid 5px #fff;
      padding: 10px;
      border-radius: 25px;
    }

    .xp-graph {
      height: 350px; // Adjust the value as needed
      background-color: rgb(1, 51, 1); // Change to the desired background color
      border-radius: 5px; // Optional, for rounded corners
      padding: 10px; // Optional, for some spacing around the graph
    }
    .leaderboard-card {
      background: rgb(1, 28, 1);
      margin-bottom: 30px;
      border-radius: 5px;
      overflow: hidden;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);

      &__top {
        background: rgb(1, 61, 0);
        padding: 20px 0 10px 0;
      }
      &__body {
        padding: 15px;
        margin-top: -40px;
        z-index: inherit;
      }
      &__first {
        transform: scale(1.05);

        .leaderboard-card__top {
          background: linear-gradient(45deg, #7e57c2, #ab47bc);
          color: #fff;
        }
      }
    }
  }

  .profile-top-games {
    margin: 30px 0 40px 0;
    background: rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 20px;

    &__header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 10px;
      flex-wrap: wrap;
    }

    &__sort {
      display: flex;
      gap: 10px;
    }

    &__sort-btn {
      background: #222;
      color: #fff;
      border: none;
      border-radius: 6px;
      padding: 6px 18px;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.15s;
      &.active, &:hover {
        background: #ffb700;
        color: #222;
      }
    }

    &__table {
      width: 100%;
      border-collapse: separate;
      border-spacing: 0;
      background: transparent;

      th, td {
        padding: 10px 12px;
        text-align: center;
        font-size: 1rem;
      }
      th {
        background: #222;
        color: #fff;
        font-weight: 700;
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
        box-shadow: 2px 0 0 0 #444;
        border-right: 2px solid #444;
        border-bottom: 3px solid #ffb700;
      }
      th:last-child {
        border-right: none;
        box-shadow: none;
      }
      tr:nth-child(even) td {
        background: rgba(255,255,255,0.04);
      }
      tr:nth-child(odd) td {
        background: rgba(0,0,0,0.03);
      }
      td {
        color: #fff;
      }
    }
  }

  .profile-stat-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 32px 0 8px 0;
    opacity: 0.5;
    position: relative;
    font-size: 0.95rem;

    & > span:first-child {
      margin: 0 12px;
      color: #ccc;
      font-weight: 400;
      letter-spacing: 0.5px;
      white-space: nowrap;
      font-size: 0.95rem;
      z-index: 1;
      background: transparent;
    }

    &::before,
    &::after {
      content: '';
      flex: 1;
      height: 1px;
      background: #444;
      display: block;
    }

    &::before {
      margin-right: 12px;
    }
    &::after {
      margin-left: 12px;
    }

    .profile-stat-separator-arrow {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      top: 100%;
      font-size: 1.2rem;
      color: #ccc;
      pointer-events: none;
      opacity: 0.7;
      line-height: 1;
      margin-top: 2px;
    }
  }
}
.profile-body-2 {
  @import '~bootstrap/scss/bootstrap';

  margin-top: 10px;
	background: blue;
	font-family: "Roboto", sans-serif;;
  overflow-y: auto;

  .back-button {
    top: 10px;
    right: 10px;
    z-index: 100;
    background: rgb(9, 11, 123);
    border-radius: 25px;
    padding: 10px;
    font-size: 20px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    width: 50px;
    height: 50px;
  }

  .main-content {

    h1, h2, h3, h4, h5, h6 {
      color: #fff;
    }

    .stat {
      font-size: 25px;
    }

    .graystat {
      font-size: 25px;
      color: #aaa;
    }

    h1 {
      border: solid 3px #fff;
      padding: 10px;
      border-radius: 25px;
      // width fit content
      display: inline-block;
      padding-left: 10px;
      padding-right: 10px;
      background: rgb(13, 5, 99);
    }

    .equipped-skin {
      // Inlined
      display: inline-block;
      margin-right: 10px;
      // Smaller
      width: 100px;
      height: 100px;
    }

    .cluster {
      background-color: rgb(7, 10, 106);
      border: 1px solid rgb(1, 28, 1);
      border-radius: 25px;
      padding-left: 10px;
      padding-top: 10px;
    }

    .smallcluster {
      width: 70%;
      background-color: rgb(7, 10, 106);
      border: 1px solid rgb(1, 28, 1);
      border-radius: 25px;
      padding-left: 10px;
      padding-top: 10px;
      margin-left: auto;
      margin-right: auto;
      display: block;
    }

    .container {
      border: solid 5px #fff;
      padding: 10px;
      border-radius: 25px;
    }

    .xp-graph {
      height: 350px; // Adjust the value as needed
      background-color: rgb(8, 1, 51); // Change to the desired background color
      border-radius: 5px; // Optional, for rounded corners
      padding: 10px; // Optional, for some spacing around the graph
    }
    .leaderboard-card {
      background: rgb(5, 3, 62);
      margin-bottom: 30px;
      border-radius: 5px;
      overflow: hidden;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);

      &__top {
        background: rgb(7, 4, 86);
        padding: 20px 0 10px 0;
      }
      &__body {
        padding: 15px;
        margin-top: -40px;
        z-index: inherit;
      }
      &__first {
        transform: scale(1.05);

        .leaderboard-card__top {
          background: linear-gradient(45deg, #7e57c2, #ab47bc);
          color: #fff;
        }
      }
    }
  }
}

.profile-body-3 {
  @import '~bootstrap/scss/bootstrap';

  margin-top: 10px;
  background: #f9f9f9;
  font-family: "Roboto", sans-serif;
  overflow-y: auto;
  text-align: left;
  width: 100%;

  .back-button {
    top: 10px;
    right: 10px;
    z-index: 100;
    border: none;
    padding: 10px;
    font-size: 20px;
    font-weight: bold;
    background-color: #f9f9f9;
    color: black;
    cursor: pointer;
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
  }

  .main-content {
    text-align: left;

    h1, h2, h3, h4, h5, h6 {
      color: #212529;
      text-align: left;
    }

    .stat {
      font-size: 25px;
    }

    .graystat {
      font-size: 25px;
      color: #aaa;
    }

     h1 {
      padding: 10px;
      border-radius: 25px;
      display: block;
      padding-left: 10px;
      padding-right: 10px;
      margin-left: 0;
      margin-right: auto;
    }

    .equipped-skin {
      display: inline-block;
      margin-right: 10px;
      width: 100px;
      height: 100px;
      margin-left: 0;
    }

    .cluster {
      padding-left: 10px;
      padding-top: 10px;
    }

    .smallcluster {
      width: 50%;
      padding-left: 10px;
      padding-top: 10px;
    }

    .container {
      padding: 10px;
      border-radius: 25px;
      margin-left: 0;
      text-align: left;
      width: 100%;
    }

    .xp-graph {
      height: 350px;
      background-color: #f9f9f9;
      border-radius: 5px;
      padding: 10px;
      display: block;
      margin: 0 auto;
    }

    .leaderboard-card {
      background: #ffffff;
      margin-bottom: 30px;
      border-radius: 5px;
      overflow: hidden;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      text-align: center;

      * {
        text-align: center !important;
      }

      &__top {
        background: #f9f6ff;
        padding: 20px 0 10px 0;
        text-align: center;
      }

      &__body {
        padding: 15px;
        margin-top: -40px;
        z-index: inherit;
        text-align: center;
      }

      &__first {
        transform: scale(1.05);

        .leaderboard-card__top {
          background: linear-gradient(45deg, #7e57c2, #ab47bc);
          color: #fff;
        }
      }
    }
  }
}
