

.swiper {
  width: 100%;
  height: 200px;
  border-radius: 5px;
  margin-top: 15px;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
  display: none;
}

.swiper-pagination-bullet {
  backdrop-filter: blur(4px);
  background: rgba(255, 255, 255, 0.39);
  border-radius: 24px;
  width: 38px;
}

.swiper-pagination-bullet-active {
  background: #fff;
}

.container {
  width: 1380px;
  padding: 0 var(--safe-padding);
  margin: 0 auto;
}

@media (max-width: 1380px) {
  .container {
    width: 100%;
  }
}

.MonitoringServer-module__wrapper[data-monitoringserverid="38460"] {
  .MonitoringServer-module__progressBar {
    background: linear-gradient(130deg, #00a6ff 0%, #5cc6ff 100%) !important;
  }

  .server-tag {
    color: #00a6ff !important;
    background: rgba(0, 166, 255, 0.16) !important;
    border: 0.8px solid rgba(0, 166, 255, 0.17) !important;
  }
}

.MonitoringServer-module__wrapper[data-monitoringserverid="38459"] {
  .MonitoringServer-module__progressBar {
    background: linear-gradient(130deg, #90f 0%, #c977ff 100%) !important;
  }

  .server-tag {
    color: #90f !important;
    background: rgba(153, 0, 255, 0.16) !important;
    border: 0.8px solid rgba(153, 0, 255, 0.17) !important;
  }
}

.MonitoringServer-module__wrapper[data-monitoringserverid="38238"] {
  .MonitoringServer-module__progressBar {
    background: linear-gradient(130deg, #f60 0%, #ffb888 100%) !important;
  }

  .server-tag {
    color: #f60 !important;
    background: rgba(255, 102, 0, 0.16) !important;
    border: 0.8px solid rgba(255, 102, 0, 0.17) !important;
  }
}

.headerContainer {
  margin-top: 30px;

  .Header-module__logo {
    font-size: 16px;
    font-weight: 800;
  }

  .LangSwitcher-module__wrapper {
    .LangSwitcher-module__btn {
      border: 1px solid rgba(190, 190, 190, 0.17);
      border-radius: 4px;
      background: rgba(156, 156, 156, 0.16);
      width: 39px;
      height: 39px;
    }

    margin-right: 10px;
  }

  .PlayerMenu-module__wrapper {
    gap: 0;
    margin-left: initial;
  }

  .PlayerBalance-module__wrapper {
    border: 2px solid #ededed;
    border-radius: 4px 0 0 4px;
    border-right: none;
    padding-right: 5px;
    transform: translateX(5px);
    max-height: 40px;

    .PlayerBalance-module__btn {
      flex-direction: column;
      max-height: 40px;
      padding: 6px;
      align-items: flex-start;

      &:hover {
        background: none;
      }

      .PlayerBalance-module__balanceText {
        font-weight: 700;
        font-size: 8px;
        color: rgba(0, 0, 0, 0.54);
      }

      .PlayerBalance-module__balanceValue {
        font-weight: 600;
        font-size: 13px;
        color: #000;
      }
    }
  }

  .PlayerMenu-module__profileLink {
    border: 2px solid #ededed;
    border-radius: 4px;
    max-height: 40px;

    &:focus {
      background: none;
    }

    &:hover {
      background: none;
      cursor: default;
    }

    .PlayerMenu-module__profileInfo {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: center;
      padding-left: 7px;
      padding-right: 7px;
      border-right: 1px solid rgba(0, 0, 0, 0.04);

      .PlayerMenu-module__profileName {
        font-weight: 700;
        font-size: 11px;
        color: #000;
      }

      .PlayerMenu-module__profileLevel {
        font-weight: 600;
        font-size: 6px;
        color: rgba(0, 0, 0, 0.47);
      }
    }

    .PlayerMenu-module__profileButton {
      margin-left: 10px;
      cursor: pointer;
    }
  }

  .PlayerMenu-module__loginLink {
    background: #00a6ff;
    border-radius: 4px;
    padding: 11px 15px;
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    gap: 9px;
    text-transform: none;
  }
}

.bannerContainer {
  display: none;
}

.Index-module__wrapper {
  margin-top: 20px;

  .Shop-module__wrapper {
    .helper_text {
      font-style: italic;
      font-weight: 500;
      font-size: 15px;
      color: #ffae00;
      border: 1px solid rgba(255, 157, 0, 0.13);
      border-radius: 4px;
      background: linear-gradient(90deg, #fff3e3 0%, #ffeed8 100%);
      width: 100%;
      margin-bottom: 20px;
      padding: 14px;
    }

    .Shop-module__header {
      display: none;
    }

    .boxBody {
      background: transparent;
      padding: 0;

      .Servers-module__servers {
        display: none;
      }

      .Categories-module__categories {
        background: #fff;
        border-radius: 4px;
        margin: 0;
        margin-bottom: 20px;
        justify-content: flex-start;

        .Categories-module__category {
          border-radius: 4px;
          font-weight: 500;
          font-size: 16px;
          color: rgba(0, 0, 0, 0.21);
          background: transparent;
          border: 1px solid transparent;

          &:hover {
            background: rgba(71, 73, 74, 0.16);
            border: 1px solid rgba(71, 73, 74, 0.17);
          }

          &.Categories-module__active {
            background: rgba(0, 166, 255, 0.16);
            color: #fff;
            font-weight: 600;
            color: #00a6ff;
            border: 1px solid rgba(0, 166, 255, 0.17);
          }
        }
      }
    }
  }

  .Search-module__wrapper {
    display: none;
  }

  .Products-module__wrapper.Products-module__grid4 {
    .Product-module__wrapper {
      display: grid;
      gap: 0px 0px;
      border-radius: 4px;
      grid-auto-flow: row;
      overflow: visible;
      align-items: center;
      justify-items: center;
      // transition: background 0.3s ease-in-out;
      background: #fff;
      grid-template-areas:
        "Product-module__img Product-module__img"
        "Product-module__name Product-module__price";

      &:hover {
        background: radial-gradient(
          80.26% 80.26% at 50% 100%,
          #d9f2ff 0%,
          #fff 100%
        );
      }

      .Product-module__price {
        position: initial;
        grid-area: Product-module__price;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 166, 255, 0.16);
        border: 1px solid rgba(0, 166, 255, 0.17);
        border-radius: 4px;
        font-weight: 700;
        font-size: 14px;
        color: #00a6ff;
        padding: 6px;
        width: fit-content;
        height: fit-content;

        .Product-module__oldPrice {
          display: none;
        }
      }

      .Product-module__count {
        display: none;
      }

      .Product-module__name {
        transform: none;
        font-weight: 600;
        font-size: 14px;
        color: #000;
        position: initial;
        grid-area: Product-module__name;
        display: flex;
        align-items: center;
        background: transparent;
        max-width: 80px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }

      .Product-module__img {
        grid-area: Product-module__img;
      }

      .Product-module__discount {
        backdrop-filter: blur(4px);
        background: rgba(82, 204, 1, 0.16);
        border: 1px solid rgba(82, 204, 1, 0.17);
        border-radius: 4px;
        font-weight: 700;
        font-size: 16px;
        color: #52cc01;
        top: -10px;
        right: -10px;
      }
    }
  }

  .Widgets-module__wrapper-left {
    margin-right: 20px;
    min-width: 222px;
    max-width: 222px;
  }

  .Widgets-module__wrapper {
    min-width: 225px;
    max-width: 225px;

    .Widgets-module__widgetWrapper {
      .MonitoringWidget-module__header {
        display: none;
      }

      .MonitoringWidget-module__body.boxBody {
        background: #fff;
        border-radius: 8px;
        padding: 0;

        .MonitoringServer-module__wrapper {
          position: relative;
          padding: 15px;
          margin: 0;
          border-bottom: 1px solid rgba(0, 0, 0, 0.1);

          .MonitoringServer-module__name {
            font-weight: 600;
            font-size: 16px;
            color: #000;
            display: flex;
            align-items: center;
            justify-content: start;
            flex-wrap: wrap;
            position: relative;

            .server-tag {
              border: 0.8px solid rgba(0, 166, 255, 0.17);
              border-radius: 4px;
              width: fit-content;
              height: 16px;
              background: rgba(0, 166, 255, 0.16);
              padding: 2px 4px;
              font-weight: 700;
              font-size: 9px;
              color: #00a6ff;
              margin-left: 6px;
            }
          }

          .MonitoringServer-module__progressWrapper {
            .MonitoringServer-module__progressInfo {
            }

            .MonitoringServer-module__progressBarWrapper {
              border-radius: 4px;
              height: 17px;
              background: repeating-linear-gradient(
                -45deg,
                #eee 0,
                #eee 10px,
                #ddd 10px,
                #ddd 20px
              );
              animation: MonitoringServer-module__monitoringAnimation 2s linear
                infinite;
              animation-delay: 0s;
              margin: 0;

              .MonitoringServer-module__progressBarAnim {
                display: none;
              }

              .MonitoringServer-module__progressBar {
                border-radius: 4px;
                background: linear-gradient(130deg, #00a6ff 0%, #5cc6ff 100%);
              }
            }
          }

          .MonitoringServer-module__info {
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: absolute;
            top: 39px;
            left: 25px;

            &::before {
              content: url("https://storage.dreamrusttop.ru/dream/fix/player.svg");
              margin-right: 5px;
            }

            span {
              font-weight: 600;
              font-size: 10px;
              color: #fff;
            }

            .MonitoringServer-module__btns {
              display: none;
            }
          }
        }
      }

      .boxFooter {
        display: none;
      }
    }
  }
}

.Widgets-module__social {
  border-radius: 8px;
  padding: 20px;
  padding-top: 50px;
  padding-bottom: 25px;
  text-align: center;
  color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  height: 231px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;

  .discord-content {
    h2 {
      font-weight: 600;
      font-size: 14px;
      color: #fff;
    }

    p {
      font-weight: 500;
      font-size: 10px;
      text-align: center;
      color: rgba(255, 255, 255, 0.48);
      margin: 10px 0 20px;
    }
  }

  .button {
    display: inline-block;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    transition: background 0.3s ease;
    font-weight: 600;
    font-size: 13px;
    color: #fff;
  }

  .button:hover {
    background: rgba(255, 255, 255, 0.3);
  }
}

.Widgets-module__discord {
  background: linear-gradient(40deg, #7d89ff 0%, #5765f2 100%);
}

.Widgets-module__vk {
  background: linear-gradient(40deg, #64a4ff 0%, #006aff 100%);
}

.Widgets-module__tg {
  background: linear-gradient(40deg, #23a0dc 0%, #29a9eb 100%);
}

.Header-module__wrapper {
  border-radius: 8px;
  background: #fff;

  .HeaderNav-module__wrapper.Header-module__nav {
    margin-left: 10px;
    flex: 1;

    .NavServerDropDown-module__wrapper {
      border: 1px solid rgba(0, 166, 255, 0.17);
      border-radius: 5px;
      padding: 3px 8px;
      background: rgba(0, 166, 255, 0.15);
      height: 26px;
      margin-right: 30px;

      .NavServerDropDown-module__btn {
        width: 100%;
        height: 100%;
        color: #00a6ff;

        .NavServerDropDown-module__shopTitle {
          width: 100%;
          height: 100%;
          font-weight: 900;
          font-size: 13px;

          display: flex;
          align-items: center;
          justify-content: center;
        }
      }

      .NavServerDropDown-module__list {
        border-radius: 4px;
        border: 1px solid rgba(0, 166, 255, 0.17);
        backdrop-filter: blur(13.800000190734863px);
        background: rgba(0, 166, 255, 0.15);
        padding: 0;
        width: 100%;
        left: 0;
        box-shadow: none;

        &.NavServerDropDown-module__active {
          .NavServerDropDown-module__server {
            padding: 3px 8px;
            font-weight: 800;
            font-size: 13px;
            border-radius: 0;
            color: #00a6ff;
            border-bottom: 0.6px solid rgba(255, 255, 255, 0.17);

            &:hover {
              background: rgba(144, 216, 255, 0.16);
            }

            &:last-child {
              border-bottom: none;
            }
          }
        }
      }
    }

    .HeaderNav-module__link {
      margin-left: auto;
      font-weight: 600;
      font-size: 16px;
      color: #000;
      text-transform: none;
    }

    .NavDropDown-module__wrapper {
      margin-right: auto;

      .NavDropDown-module__linkName {
        text-transform: none;
      }
    }
  }
}

.ModalLayout-module__positionWrapper {
  align-items: center;
}

.dropDownList {
  background: #fff;
  padding: 4px;
  border-radius: 4px;

  .dropDownItem {
    border-radius: 4px;
    padding: 11px;
    font-weight: 500;
    font-size: 16px;
    color: #a1a1a1;

    &:hover {
      background: #e4e4e4;
    }
  }
}
.Selector-module__dropDownList.Selector-module__openOnTop {
  background: #fff;
  padding: 4px;
  border-radius: 4px;

  .Selector-module__dropDownItem {
    border-radius: 4px;
    padding: 11px;
    font-weight: 500;
    font-size: 16px;
    color: #a1a1a1;

    &:hover {
      background: #e4e4e4;
    }

    &.Selector-module__active {
      background: #e4e4e4;
      color: #4f4f4f;
      font-weight: 600;
    }
  }
}

.ModalLayout-module__modal {
  &.ProductModal-module__item {
    width: 380px;
  }

  &.ProductModal-module__dropdown {
    width: 676px;
  }

  // &.ProductModal-module__command {
  //   width: 676px;
  // }

  .ProductModal-module__header {
    display: none;
  }

  .boxBody {
    border-radius: 4px 4px 0 0;
    background: #fff;
    display: flex;
    flex-direction: column;
    padding-bottom: 0;

    &:has(.PrivilegeModal-module__wrapper) {
      .productModalFormRowItem:has(.CountSelector-module__inputWrapper) {
        display: none;
      }
    }

    .productModalImg {
      max-width: initial;
      border: 0.7px solid #e4e4e4;
      border-radius: 4px;
      background: #fff;
      padding: 20px;
    }

    .productModalGiveText {
      display: none;
    }

    .productModalProductAvailability {
      display: none;
    }

    .header_name {
      border: 1px solid rgba(0, 166, 255, 0.17);
      border-radius: 4px;
      background: rgba(0, 166, 255, 0.16);
      font-weight: 600;
      font-size: 18px;
      color: #00a6ff;
      text-align: center;
      padding-top: 10px;
      padding-bottom: 10px;
      margin-bottom: 10px;
    }

    .SelectContent-module__selectorWrapper {
      display: flex;
      justify-content: start;
      align-items: center;
      background: #f4f4f4;
      border: 0.7px solid #d1d1d1;
      border-radius: 4px;

      .ProductItemSelector-module__label {
        background: transparent;
        flex: 0;
        font-weight: 500;
        font-size: 14px;
        padding-left: 13px;
        padding-right: 13px;
        color: #969696;
        border-right: 1px solid #d6d6d6;
        margin: 0;
      }

      .ProductItemSelector-module__serverSelector.dropDownWrapper {
        background: transparent;

        .dropDownCurrentItem {
          background: transparent;
          outline: none;
          border: none;

          &:focus,
          &:hover {
            outline: none;
            border: none;
          }
        }
      }
    }

    .productModalDescription {
      border: 0.7px solid #d1d1d1;
      border-radius: 4px;
      font-weight: 500;
      font-size: 13px;
      color: #969696;
    }

    .ProductModal-module__form {
      display: flex;
      flex-direction: column-reverse;
      gap: 10px;

      .productModalFormRow {
        display: flex;
        flex-direction: column-reverse;
        gap: 10px;

        &:last-child {
          margin: 0;
        }

        .productModalFormRowItem {
          &:has(.ItemContent-module__label) {
            display: flex;
            justify-content: start;
            align-items: center;
            background: #f4f4f4;
            border: 0.7px solid #d1d1d1;
            border-radius: 4px;

            .ItemContent-module__label {
              background: transparent;
              flex: 0;
              font-weight: 500;
              font-size: 14px;
              padding-left: 13px;
              padding-right: 13px;
              color: #969696;
              border-right: 1px solid #d6d6d6;
              margin: 0;
            }

            .Selector-module__dropDownWrapper {
              background: transparent;

              .Selector-module__dropDownCurrentItem {
                background: transparent;
                outline: none;
                border: none;

                &:focus,
                &:hover {
                  outline: none;
                  border: none;
                }
              }
            }
          }

          &:has(.ActionSelector-module__label) {
            display: flex;
            justify-content: start;
            align-items: center;
            background: #f4f4f4;
            border: 0.7px solid #d1d1d1;
            border-radius: 4px;

            .ActionSelector-module__label {
              background: transparent;
              flex: 0;
              font-weight: 500;
              font-size: 14px;
              padding-left: 13px;
              padding-right: 13px;
              color: #969696;
              border-right: 1px solid #d6d6d6;
              margin: 0;
            }

            .ActionSelector-module__actionSelector.dropDownWrapper {
              background: transparent;

              .dropDownCurrentItem {
                background: transparent;
                outline: none;
                border: none;

                &:focus,
                &:hover {
                  outline: none;
                  border: none;
                }
              }
            }
          }

          &:has(.SelectContent-module__label) {
            display: flex;
            justify-content: start;
            align-items: center;
            background: #f4f4f4;
            border: 0.7px solid #d1d1d1;
            border-radius: 4px;

            .SelectContent-module__label {
              background: transparent;
              flex: 0;
              font-weight: 500;
              font-size: 14px;
              padding-left: 13px;
              padding-right: 13px;
              color: #969696;
              border-right: 1px solid #d6d6d6;
              margin: 0;
            }

            .Selector-module__dropDownWrapper {
              background: transparent;

              .dropDownCurrentItem {
                background: transparent;
                outline: none;
                border: none;

                &:focus,
                &:hover {
                  outline: none;
                  border: none;
                }
              }
            }
          }
        }

        .CountSelector-module__label {
          display: none;
        }

        .TotalSum-module__label {
          display: none;
        }

        .TotalSum-module__inputWrapper {
          background: #f4f4f4;
          border: 0.7px solid #d1d1d1;
          border-radius: 4px;

          .TotalSum-module__currency {
            background: transparent;
            position: relative;

            &::after {
              content: "";
              height: 50%;
              background: #d1d1d1;
              width: 1px;
              position: absolute;
              right: 0;
              top: 50%;
              transform: translateY(-50%);
            }
          }

          .TotalSum-module__input {
            font-weight: 600;
            font-size: 16px;
            color: #4f4f4f;
          }
        }

        .CountSelector-module__inputWrapper {
          background: #f4f4f4;
          border: 0.7px solid #d1d1d1;
          border-radius: 4px;

          .CountSelector-module__changeCountBtn {
            color: #969696;
            border: none;
            position: relative;

            &.CountSelector-module__left {
              &::after {
                content: "";
                height: 50%;
                background: #d1d1d1;
                width: 1px;
                position: absolute;
                right: 0;
                top: 50%;
                transform: translateY(-50%);
              }
            }

            &.CountSelector-module__right {
              &::before {
                content: "";
                height: 50%;
                background: #d1d1d1;
                width: 1px;
                position: absolute;
                left: 0;
                top: 50%;
                transform: translateY(-50%);
              }
            }
          }

          .CountSelector-module__input {
            font-weight: 600;
            font-size: 16px;
            color: #4f4f4f;
          }
        }

        // &:nth-child(2) {
        //   display: none;
        // }
      }
    }
  }

  .SelectContent-module__footer,
  .ItemContent-module__footer {
    background: #fff;
    flex-direction: row-reverse;
    border-radius: 0 0 4px 4px;
    padding-top: 0;
    gap: 10px;

    .Button-module__btn {
      border-radius: 4px;
      font-weight: 600;
      font-size: 16px;
      color: #fff;
      border: none;
      padding-top: 10px;
      padding-bottom: 10px;

      &.Button-module__accent {
        background: #5bc663;
        flex: 2;
      }

      &.Button-module__gray {
        background: #ff6161;
        flex: 1;
      }
    }
  }
}

.PrivilegeModal-module {
  &__wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  &__description {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 0.7px solid #d1d1d1;
    border-radius: 4px;
    background: #f4f4f4;
    padding: 11px 13px;

    .PrivilegeModal-module__item {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      padding-bottom: 10px;
      border-bottom: 1px solid #d6d6d6;

      &:last-child {
        border-bottom: none;
        padding-bottom: 0;
      }

      .PrivilegeModal-module__itemName {
        font-weight: 600;
        font-size: 16px;
        color: #4f4f4f;
      }

      .PrivilegeModal-module__itemDescription {
        font-weight: 500;
        font-size: 11px;
        color: #a1a1a1;
      }
    }
  }

  &__kits {
    border: 0.7px solid #d1d1d1;
    border-radius: 4px;
    padding: 11px;
    background: #f4f4f4;
    margin-bottom: 10px;
  }

  &__kitItems {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    overflow: hidden;
  }

  &__kitItem {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 10px;
    position: relative;
    animation: itemFadeIn 0.3s ease-in-out;
    animation-fill-mode: both;
    max-width: 80px;
    max-height: 80px;

    @for $i from 1 through 21 {
      &:nth-child(#{$i}) {
        animation-delay: #{$i * 0.05}s;
      }
    }

    img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }
  }

  &__kitItemCount {
    position: absolute;
    bottom: 5px;
    right: 5px;
    font-weight: 500;
    font-size: 11px;
    color: #a1a1a1;
  }

  &__kitSwitcher {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 10px;
    position: relative;
  }

  &__kitButton {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    cursor: pointer;
    color: rgba(0, 0, 0, 0.6);
    font-size: 14px;
    transition: all 0.3s ease;
    min-width: 171px;
    height: 26px;
    text-transform: uppercase;

    &.active {
      background: #d6f0ff;
      flex: 2;
      justify-content: end;
    }

    svg {
      width: 16px;
      height: 16px;
      fill: currentColor;
      transition: transform 0.3s ease;
    }

    &[data-direction="prev"] {
      flex: 1;
      font-weight: 600;
      font-size: 10px;
      color: #a1a1a1;

      span {
        border-left: 0.7px solid #d1d1d1;
      }
    }

    &[data-direction="next"] {
      flex: 1;
      font-weight: 600;
      font-size: 10px;
      color: #a1a1a1;
      justify-content: flex-end;

      span {
        border-right: 0.7px solid #d1d1d1;
      }
    }

    &:hover svg {
      transform: scale(1.2);
    }
  }

  &__kitButtonName {
    font-weight: 700;
    font-size: 10px;
    color: #00a6ff;
    flex: 1;
  }

  &__kitButtonDescription {
    font-weight: 600;
    font-size: 10px;
    color: #00a6ff;
    padding-left: 17px;
    border-left: 1px solid rgba(0, 166, 255, 0.29);
  }
}

@keyframes kitFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes itemFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.Profile-module__wrapper {
  margin-top: 20px;
}

.ProfileNav-module__wrapper {
  width: 264px;
  min-width: initial;
  max-width: initial;

  .ProfileNav-module__body {
    padding: 3px;
    background: #fff;
    padding-bottom: 0;
    border-radius: 4px 4px 0 0;

    .ProfileNav-module__navItem {
      padding: 7px;
      background: transparent;
      border-radius: 4px;
      border: 1px solid transparent;
      font-weight: 500;
      font-size: 16px;
      color: rgba(0, 0, 0, 0.21);

      &.ProfileNav-module__active {
        background: rgba(0, 166, 255, 0.16);
        border: 1px solid rgba(0, 166, 255, 0.17);

        color: #00a6ff;
      }
    }
  }

  .boxFooter {
    background: #fff;
    padding: 3px;
    padding-top: 0;
    border-radius: 0 0 4px 4px;

    .Button-module__btn.ProfileNav-module__logOut.Button-module__accent {
      font-weight: 500;
      font-size: 16px;
      color: #ff6161;
      background: transparent;
      border: none;
      text-align: start;
      border: 1px solid transparent;

      &:hover {
        background: rgba(255, 97, 97, 0.16);
        border: 1px solid rgba(255, 97, 97, 0.17);
        border-radius: 4px;
      }
    }
  }
}

.ProfileContent-module__wrapper {
  .ProfileContent-module__header {
    display: none;
  }
}

.ProfileContentInfo-module {
  &__wrapper {
    background: #fff;
    border-radius: 4px;
    padding: 22px;
  }

  &__content {
    display: flex;
    gap: 20px;
  }

  &__avatar {
    width: 186px;
    height: 186px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }

  &__info {
    flex-grow: 1;
  }

  &__row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid #d6d6d6;

    &:last-child {
      border-bottom: none;
      padding-bottom: 0;
    }

    &:first-child {
      padding-top: 0;
    }
  }

  &__label {
    font-weight: 600;
    font-size: 16px;
    color: #8f8f8f;
    flex: 1;
  }

  &__value {
    font-weight: 700;
    font-size: 16px;
    color: #000;
    flex: 1;
  }
}

.ProfileHistory-module__wrapper {
  margin-top: 20px;

  .HistoryContent-module__wrapper {
    .HistoryContent-module__header {
      display: none;
    }

    .boxBody {
      border-radius: 4px;
      background: #fff;
      padding: 0;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      align-items: center;

      .HistoryFilters-module__wrapper {
        display: none;
      }

      .HistoryTable-module__table {
        width: 100%;
        padding: 0;
      }

      .HistoryTable-module__tableData {
        display: flex;
        flex-direction: column;
        gap: 10px;

        .HistoryTable-module__tableHeader {
          grid-template-columns: repeat(3, 1fr);
          background: #fff;
          padding: 26px 37px;
          border-bottom: 1px solid rgba(0, 0, 0, 0.1);

          .HistoryTable-module__tableTitle {
            text-align: start;
            font-weight: 600;
            font-size: 16px;
            color: #8f8f8f;
          }
        }

        .HistoryTable-module__tableLine {
          background: #fff;
          grid-template-columns: repeat(3, 1fr);
          padding: 26px 37px;
          border-bottom: 1px solid rgba(0, 0, 0, 0.1);

          &:last-child {
            border-bottom: none;
          }

          .HistoryTable-module__value {
            text-align: start;
            font-weight: 600;
            font-size: 16px;
            color: #000;
          }
        }
      }
    }
  }
}

.ProfileBasket-module__wrapper {
  margin-top: 20px;

  .BasketContent-module__wrapper {
    .BasketContent-module__header {
      display: none;
    }

    .boxBody {
      padding: 0;
      border-radius: 0;
      background: transparent;
      display: flex;
      flex-direction: column;
      align-items: center;

      .BasketFilters-module__wrapper {
        display: none;
      }

      .Selector-module__dropDownWrapper.BasketFilters-module__serverSelector {
        display: none;
      }

      .BasketTable-module__table {
        .BasketTable-module__tableData {
          display: grid;
          grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
          gap: 20px;

          .BasketTable-module__tableHeader.BasketTable-module__canSell {
            display: none;
          }

          .BasketTable-module__tableLine.BasketTable-module__canSell {
            display: flex;
            flex-direction: column;
            background: #fff;
            border-radius: 4px;
            padding: 8px;
            min-height: 275px;

            .BasketTable-module__productNameWrapper {
              display: flex;
              flex-direction: column;
              align-items: center;
              justify-content: space-between;
              width: 100%;

              .productModalImg.BasketTable-module__itemImg {
                width: 100%;
                height: 100%;
                object-fit: cover;
                margin: 0;
              }

              .BasketTable-module__productInfoWrapper {
                width: 100%;
                text-align: start;
                margin-top: 8px;
                margin-bottom: 14px;

                .BasketTable-module__value {
                  font-weight: 600;
                  font-size: 14px;
                  color: #000;
                }
              }
            }

            .BasketTable-module__serverInfoWrapper {
              display: none;
            }

            .Button-module__btn.Button-module__accent {
              width: 100%;
              border-radius: 4px;
              background: #ff5f5f;
              font-weight: 700;
              font-size: 16px;
              color: #fff;
              border: none;
              height: 44px;
            }
          }
        }
      }
    }
  }
}

.Pagination-module__pagination {
  display: flex;
  gap: 10px;
  padding: 20px;
  justify-content: center;
  width: fit-content;
  padding: 4px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  margin-bottom: 20px;
  background: #fff;

  .Pagination-module__navPageBtn {
    &.Pagination-module__left,
    &.Pagination-module__right {
      display: none;
    }
  }

  .Pagination-module__page {
    font-weight: 500;
    font-size: 16px;
    color: rgba(0, 0, 0, 0.48);
    background: transparent;
    position: relative;
    margin-right: 4px;

    &:nth-last-child(2) {
      margin-right: 0 !important;

      &::before {
        display: none !important;
      }
    }

    &::before {
      position: absolute;
      content: "";
      background: rgba(0, 0, 0, 0.11);
      width: 1px;
      height: 20px;
      right: -10px;
    }

    &.Pagination-module__active {
      font-weight: 500;
      font-size: 16px;
      color: #00a6ff;
      border: 1px solid rgba(0, 166, 255, 0.17);
      border-radius: 4px;
      background: rgba(0, 166, 255, 0.16);
    }
  }
}

.ModalLayout-module__modal.PlayerBalance-module__modal {
  width: 642px;

  .PlayerBalanceModal-module__header {
    display: none;
  }

  .boxBody {
    padding: 14px;
  }

  .BalanceModal-module {
    &__wrapper {
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      gap: 10px;
    }

    &__header {
      width: 100%;
      font-size: 24px;
      font-weight: 600;
      background: rgba(0, 166, 255, 0.16);
      text-align: center;
      border: 1px solid rgba(0, 166, 255, 0.17);
      border-radius: 4px;
      font-weight: 600;
      font-size: 18px;
      color: #00a6ff;
      padding: 10px;
    }

    &__methods {
      display: flex;
      flex: 1;
      flex-direction: column;
      justify-content: space-around;
      gap: 10px;
    }

    &__method {
      display: flex;
      align-items: center;
      gap: 15px;
      padding: 16px 13px;
      background: #f4f4f4;
      border-radius: 4px;
      cursor: pointer;
      transition: all 0.3s ease;
      border: 0.7px solid #d1d1d1;

      &:hover {
        background: #e9e9e9;
      }
    }

    &__methodIcon {
      display: flex;
      align-items: center;
      gap: 5px;

      img {
        width: 30px;
        height: 30px;
        object-fit: contain;
      }
    }

    &__methodInfo {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: start;
    }

    &__methodName {
      text-align: start;
      font-weight: 600;
      font-size: 16px;
      color: #4f4f4f;
    }

    &__methodDescription {
      text-align: start;
      font-weight: 500;
      font-size: 11px;
      color: #a1a1a1;
    }

    &__payment {
      display: flex;
      flex-direction: column;
      gap: 10px;
      flex: 1;
    }

    &__paymentInfo {
      background: #f4f4f4;
      border-radius: 4px;
      display: flex;
      flex-direction: column;
      gap: 9px;
      border: 0.7px solid #d1d1d1;
    }

    &__cryptoInfo {
      text-align: center;
      padding-top: 10px;
    }

    &__cryptoTitle {
      font-weight: 700;
      font-size: 16px;
      text-align: center;
      color: #4f4f4f;
    }

    &__cryptoDescription {
      font-weight: 500;
      font-size: 11px;
      color: #a1a1a1;
    }

    &__amountWrapper {
      display: flex;
      flex-direction: column;
      gap: 9px;
      padding-left: 16px;
      padding-right: 16px;
      width: 100%;
      padding-bottom: 19px;
    }

    &__amountInput {
      display: flex;
      align-items: center;
      background: #ffffff;
      border: 0.7px solid #d1d1d1;
      border-radius: 4px;
      padding: 10px 13px;
    }

    &__currency {
      border-right: 1px solid #d1d1d1;
      font-weight: 500;
      font-size: 16px;
      color: #a1a1a1;
      padding-right: 13px;
    }

    &__input {
      flex: 1;
      border: none;
      outline: none;
      font-size: 16px;
      color: #000;
      padding-left: 13px;
      font-weight: 500;
      font-size: 12px;

      &::placeholder {
        font-weight: 500;
        font-size: 12px;
        color: rgba(79, 79, 79, 0.22);
      }
    }

    &__payButton {
      width: 100%;
      padding: 12px;
      background: #56b65d;
      border: none;
      border-radius: 4px;
      color: #fff;
      font-weight: 600;
      font-size: 16px;
      cursor: pointer;
      transition: background-color 0.3s ease;

      &:hover {
        background: #439d4a;
      }
    }

    &__form {
      display: flex;
      flex-direction: column;
      gap: 9px;
      width: 100%;
    }

    &__bonus {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
      width: 100%;
      border: 0.7px solid #d1d1d1;
      border-radius: 4px;
      padding: 18px 16px;
      background: #f4f4f4;
      font-weight: 600;
      font-size: 14px;
      color: #959595;
      cursor: pointer;
      transition: all 0.3s ease;
      position: relative;

      &:hover {
        background: #e9e9e9;
      }
    }

    &__bonusDescription {
      display: flex;
      align-items: center;
      gap: 10px;
      justify-content: space-between;
      width: 100%;
    }

    &__bonusButton {
      background: none;
      border: none;
      padding: 0;
      cursor: pointer;
      transition: transform 0.3s ease;

      &.active {
        transform: rotate(180deg);
      }
    }

    &__bonusContent {
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      background: #f4f4f4;
      border: 0.7px solid #d1d1d1;
      border-radius: 4px;
      margin-top: 5px;
      padding: 0;
      max-height: 0;
      overflow: hidden;
      transition: all 0.3s ease;
      opacity: 0;
      z-index: 100;
      pointer-events: none;

      &.active {
        max-height: 200px;
        padding: 16px;
        opacity: 1;
        pointer-events: all;
      }
    }

    &__bonusItem {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 0;
      border-top: 1px solid #d1d1d1;

      &:first-child {
        padding-top: 0;
        border-top: none;
      }

      &:last-child {
        padding-bottom: 0;
      }
    }

    &__bonusAmount {
      font-weight: 500;
      font-size: 11px;
      color: #959595;
    }
  }
}

.boxFooter.PlayerBalanceModal-module__footer {
  padding: 14px;
  padding-top: 0;
  background: #fff;

  .Button-module__btn.Button-module__accent {
    display: none;
  }

  .Button-module__btn.Button-module__gray {
    border-radius: 4px;
    padding: 10px 38px;
    background: #eaeaea;
    width: 100%;
    font-weight: 600;
    font-size: 16px;
    color: #868686;
  }
}

.customModalWrapper-module__wipe {
  width: 856px;
  max-width: 95vw;

  @media (max-width: 768px) {
    width: 100%;
  }

  .boxHeader {
    border: 1px solid rgba(0, 166, 255, 0.17);
    border-radius: 4px;
    background: rgba(0, 166, 255, 0.16);
    font-weight: 600;
    font-size: 18px;
    color: #00a6ff;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-bottom: 10px;

    @media (max-width: 576px) {
      font-size: 16px;
      padding: 8px;
    }
  }

  .boxBody {
    background: #fff;
    padding: 14px;
    padding-bottom: 0;
    border-radius: 4px 4px 0 0;

    @media (max-width: 576px) {
      padding: 10px;
    }
  }

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

    &__notice {
      background: linear-gradient(90deg, #fff3e3 0%, #ffeed8 100%);
      border: 1px solid rgba(255, 157, 0, 0.27);
      border-radius: 4px;
      padding: 14px 19px;
      font-style: italic;
      font-weight: 500;
      font-size: 16px;
      color: #ffae00;

      @media (max-width: 576px) {
        font-size: 14px;
        padding: 10px 15px;
      }
    }

    &__section {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    &__title {
      text-align: start;
      border: 0.7px solid #d1d1d1;
      border-radius: 4px;
      padding: 10px 19px;
      background: #f4f4f4;
      font-weight: 600;
      font-size: 16px;
      color: #4f4f4f;

      @media (max-width: 576px) {
        font-size: 14px;
        padding: 8px 15px;
      }
    }

    &__grid {
      display: grid;
      grid-template-columns: repeat(8, 1fr);
      gap: 10px;

      @media (max-width: 1024px) {
        grid-template-columns: repeat(6, 1fr);
      }

      @media (max-width: 768px) {
        grid-template-columns: repeat(4, 1fr);
      }

      @media (max-width: 576px) {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
      }

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

    &__item {
      background: #fff;
      border: 0.7px solid #d1d1d1;
      border-radius: 4px;
      padding: 10px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 5px;
      cursor: pointer;
      transition: all 0.3s ease;
      width: 94px;
      height: 103px;

      @media (max-width: 1024px) {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
      }

      &:hover {
        background: #f5f5f5;
      }

      img {
        width: 70px;
        height: 70px;
        object-fit: contain;

        @media (max-width: 1024px) {
          width: 80%;
          height: 80%;
        }

        @media (max-width: 576px) {
          width: 70%;
          height: 70%;
        }
      }
    }

    &__time {
      font-weight: 500;
      font-size: 11px;
      color: rgba(0, 0, 0, 0.7);

      @media (max-width: 576px) {
        font-size: 10px;
      }
    }
  }

  .boxFooter {
    background: #fff;
    padding: 14px;
    padding-top: 10px;
    border-radius: 0 0 4px 4px;

    @media (max-width: 576px) {
      padding: 10px;
    }

    .btn.Button-module__btn.Button-module__gray {
      width: 100%;
      border-radius: 4px;
      padding: 10px 38px;
      background: #eaeaea;
      font-weight: 600;
      font-size: 16px;
      color: #868686;

      @media (max-width: 576px) {
        font-size: 14px;
        padding: 8px 20px;
      }
    }
  }
}

.customModalWrapper-module__rules {
  width: 856px;
  max-width: 95vw;

  @media (max-width: 768px) {
    width: 100%;
  }

  .boxHeader {
    border: 1px solid rgba(0, 166, 255, 0.17);
    border-radius: 4px;
    background: rgba(0, 166, 255, 0.16);
    font-weight: 600;
    font-size: 18px;
    color: #00a6ff;
    padding: 10px;
    text-align: center;
    margin-bottom: 10px;

    @media (max-width: 576px) {
      font-size: 16px;
      padding: 8px;
    }
  }

  .boxBody {
    background: #fff;
    padding: 14px;
    border-radius: 4px 4px 0 0;

    @media (max-width: 576px) {
      padding: 10px;
    }
  }

  .wipeInfo {
    display: flex;
    flex-direction: column;
    gap: 15px;

    &__section {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    &__title {
      text-align: start;
      border: 0.7px solid #d1d1d1;
      border-radius: 4px;
      padding: 10px 19px;
      background: #f4f4f4;
      font-weight: 600;
      font-size: 16px;
      color: #4f4f4f;

      @media (max-width: 576px) {
        font-size: 14px;
        padding: 8px 15px;
      }
    }

    &__rules {
      display: flex;
      flex-direction: column;
      gap: 15px;
    }

    &__rule {
      display: flex;
      gap: 8px;
      align-items: flex-start;
      font-size: 14px;
      line-height: 1.4;
      color: #4f4f4f;
      padding-left: 19px;
      padding-right: 19px;

      @media (max-width: 576px) {
        font-size: 13px;
      }
    }

    &__ruleText {
      font-weight: 600;
      font-size: 16px;
      color: #4f4f4f;
      text-align: start;
    }
  }

  .boxFooter {
    background: #fff;
    padding: 14px;
    border-radius: 0 0 4px 4px;

    @media (max-width: 576px) {
      padding: 10px;
    }

    .btn.Button-module__btn.Button-module__gray {
      width: 100%;
      border-radius: 4px;
      padding: 10px 38px;
      background: #eaeaea;
      font-weight: 600;
      font-size: 16px;
      color: #868686;

      @media (max-width: 576px) {
        font-size: 14px;
        padding: 8px 20px;
      }
    }
  }
}
