.container {
  @include flex-direction(column);
  @include flex-align(center, center);
  border-radius: 1.6rem;
  background: var(--operator-banner-backgorund, #f4f4f4);
  padding: 1.6rem;
  gap: 1.6rem;
  @include min(tablet) {
    padding: 1.6rem 2.4rem;
    @include flex-direction(row);
    @include flex-align(center, center);
  }
  > div {
    width: 100%;
    @include flex-direction(column);
    gap: 1.6rem;
  }

  > a {
    width: 100%;
    border-radius: 10rem;
    font-size: 1.4rem;
    font-style: normal;
    font-weight: 700;
    line-height: 2.2rem;
    @include min(tablet) {
      min-height: 5.6rem;
      max-width: 19.7rem;
      font-size: 1.8rem;
      line-height: 2.6rem;
    }

    > svg {
      width: 1.4rem;
    }
  }

  @include min(tablet) {
    > div {
      @include flex-direction(row);
      @include flex-align(center, flex-start);
    }
  }
}

.logo {
  cursor: pointer;
  height: 7.2rem;
  @include flex-direction(row);
  gap: 1.6rem;
  @include min(tablet) {
    @include flex-direction(row);
    @include flex-align(center, center);
    height: auto;
  }

  > img {
    min-width: 7.2rem;
    width: 7.2rem;
    height: 7.2rem;
    border-radius: 0.8rem;
    @include min(tablet) {
      min-width: 6.4rem;
      width: 6.4rem;
      height: 6.4rem;
    }
  }
}

.details {
  @include flex-direction(column);
  @include flex-align(flex-start, center);

  @include min(tablet) {
    display: flex;
    flex-direction: column;
  }
  > span:first-of-type {
    color: var(--operator-banner-name-color, #1b1b1c);
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 700;
    line-height: 2.7rem;
    margin-bottom: 0.8rem;
    @include min(tablet) {
      font-size: 1.4rem;
      font-weight: 700;
      line-height: 2.2rem;
      min-width: 11rem;
    }
  }

  > div {
    border-radius: 100px;
    background: #fff;
    border: 0px;
    margin: 0;
    height: 2.9rem;
    width: 7.6rem;
    @include flex-direction(row);
    @include flex-align(center, center);

    > span:first-of-type {
      margin-right: 0.4rem;
    }

    > span:last-of-type {
      font-size: 11px;
      margin-top: 0.2rem;
    }
  }
}

.bonus {
  border-radius: 0.8rem;
  height: 100%;
  background: var(--operator-banner-backgorund-bonus, #fff);
  min-height: 6.4rem;
  width: 100%;
  @include flex-direction(column);
  @include flex-align(center, center);
  border: 1px solid #fff;

  > div {
    background-color: #f4f4f4;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    color: #3c3c40;
    text-align: center;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.4rem;
    padding: 0.8rem 2rem;
  }

  span:first-of-type {
    color: var(--operator-banner-first-bonus, #1b1b1c);
    text-align: center;
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 700;
    line-height: 2.7rem;
    padding-right: 0;
    margin: 0.8rem 0.8rem 0 0.8rem;
  }

  span:last-of-type {
    color: var(--operator-banner-second-bonus, #515156);
    text-align: center;
    font-size: 1.4rem;
    font-style: normal;
    font-weight: 700;
    line-height: 2.2rem;
    padding: 0;
    margin: 0 0.8rem 0.8rem 0.8rem;
  }
}

.showTncFixed {
  > div {
    > div:last-child {
      height: 42px;
      overflow-y: scroll;
      color: #515156;
      font-size: 10px;
      font-style: normal;
      font-weight: 400;
      line-height: 14px;
      padding-right: 1rem;

      &::-webkit-scrollbar {
        width: 4px;
        border-radius: 2px;
      }

      &::-webkit-scrollbar-track {
        background: #cacaca;
        border-radius: 2px;
      }

      &::-webkit-scrollbar-thumb {
        background: #515156;
        border-radius: 2px;
      }
    }
  }

  @include min(tablet) {
    > div {
      display: grid;
      grid-template-columns: 1fr 20rem;
      grid-template-rows: auto auto;

      > div:last-of-type {
        grid-column: 1/3;
        grid-row: 2/3;
        display: block;
      }

      > a {
        grid-row: 1/2;
        grid-column: 2/3;
      }

      > div:first-of-type {
        grid-row: 1/2;
        grid-column: 1/2;
      }
    }
  }
}

@include min(tablet) {
  .tncEnable {
    > div {
      gap: 2.4rem;

      > div {
        gap: 2.4rem;
      }
    }
  }

  .tncEnable .logo {
    > img {
      min-width: 9.6rem;
      width: 9.6rem;
      height: 9.6rem;
    }
  }
}
