.operatorBanner {
  width: 100%;
  padding: 1.6rem 1.6rem 2.4rem 1.6rem;
  z-index: var(--cookie-consent-index);
  border-top: 1.5px solid var(--operator-banner-sticky-border-color, #515156);
  background: var(--operator-banner-sticky-backgorund, #1b1b1c);
  box-shadow: 0px 4px 12px 0px rgba(27, 27, 28, 0.08);

  @include min(tablet) {
    padding: 1.6rem;
  }
}

.container {
  gap: 1.6rem;
  @include flex-direction(row);
  @include flex-align(center, flex-start);
  max-width: var(--max-width-sticky-banner, --main-container-max);
  margin: 0 auto;
  position: relative;
  @include min(tablet) {
    margin: 0 auto;
  }
  > div {
    @include flex-direction(row);
    @include flex-align(center, flex-start);
    gap: 1.6rem;
    width: 100%;
  }
  > a {
    width: 8rem;
    height: 4rem;
    border-radius: 100px;
    background-color: #6e33e5;
    font-size: 1.4rem;
    font-style: normal;
    font-weight: 700;
    line-height: 2.2rem;
    svg {
      display: none;
    }
    @include min(tablet) {
      min-width: 14.9rem;
      min-height: 5.6rem;
      font-size: 1.8rem;
      line-height: 2.6rem;
      text-transform: capitalize;
      @include min(laptop) {
        min-width: 19.7rem;
      }
      > svg {
        display: block;
        font-size: 15px;
      }
    }
  }
}
.welcomeBonus {
  display: none;
}
.details {
  display: none;
  @include min(tablet) {
    @include flex-direction(column);
    @include flex-align(flex-start, center);
    > span:first-child {
      color: #fff;
      font-size: 1.4rem;
      font-style: normal;
      font-weight: 700;
      line-height: 2.2rem;
    }
    > div {
      border-radius: 100px;
      background: #3c3c40;
      width: 5.8rem;
      height: 2.2rem;
      border: 0;
      margin: 0.5rem 0;
      color: white;
      font-size: 14px;
      font-style: normal;
      font-weight: 700;
      line-height: 22px;
      > span:first-child {
        margin-right: 0.1rem;
      }
      > span:last-child {
        font-size: 1.2rem;
        margin-top: 0.1rem;
      }
    }
  }
}

.logo {
  @include flex-direction(row);
  > img {
    min-width: 4rem;
    min-height: 4rem;
    width: 4rem;
    height: 4rem;
    border-radius: 0.8rem;
    @include min(tablet) {
      min-width: 6.4rem;
      min-height: 6.4rem;
      width: 6.4rem;
      height: 6.4rem;
      margin-right: 1.6rem;
    }
  }
}
.bonus {
  line-height: 2px;
  @include min(tablet) {
    text-align: center;
    width: 100%;
  }
  p {
    color: #3c3c40;
  }

  span {
    color: #1b1b1c;
    font-size: 2rem;
    font-style: normal;
    font-weight: 700;
    line-height: 2.8rem;
    text-transform: capitalize;
  }

  > span:last-child {
    padding: 0;
  }
  @include min(tablet) {
    > a {
      > span {
        font-size: 2rem;
        font-style: normal;
        font-weight: 700;
        line-height: 2.8rem;
        text-transform: capitalize;
      }
    }
  }
}

.closeBtn {
  position: absolute;
  right: -1rem;
  top: -1rem;
  background-color: #3c3c40;
  @include min(tablet) {
    width: 2rem;
    height: 2rem;
    cursor: pointer;
  }
}

.hide {
  display: none;
}

.floating {
  max-width: var(--main-container-max);
  border-radius: 1.6rem;
  width: 95%;
  box-shadow: 0px 4px 6px -2px rgba(27, 27, 28, 0.02), 0px 12px 16px -4px rgba(27, 27, 28, 0.05);
  margin-left: auto;
  margin-right: auto;
  padding: 0.8rem 1.6rem;

  > svg {
    right: 10px;
    top: -7px;
    border-radius: 50%;
    padding: 2px;
  }
}

.show {
  margin-bottom: 0;
}

.tncEnable {
  border-top: 0;
  background: #f4f4f4;
  box-shadow: 0px 4px 12px 0px rgba(27, 27, 28, 0.08);
  padding-right: 1rem;
}

.tncEnable .bonus {
  > a {
    > span {
      color: #1b1b1c;
    }
  }
  > div {
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: 14px;
    color: #515151;
  }
}

.tncEnable .closeBtn {
  background-color: #b5b5b5;
  color: rgb(100, 100, 109) !important;
}

.showTncFixed {
  border-top: 1.5px solid var(--ui-kit-colours-white-900, #dedede);
  > div {
    display: grid;
    grid-template-columns: 1fr 8rem;
    grid-template-rows: auto auto;
    @include min(tablet) {
      grid-template-columns: 1fr 14.9rem;
    }
    > div:last-child {
      display: block;
      grid-column: 1/3;
      grid-row: 2/3;
      color: #515156;
      font-size: 1rem;
      font-style: normal;
      font-weight: 400;
      line-height: 1.5rem;
      height: 3rem;
      overflow-y: scroll;
      &::-webkit-scrollbar {
        width: 4px;
        border-radius: 2px;
      }
      &::-webkit-scrollbar-track {
        background: #cacaca;
        border-radius: 2px;
      }

      &::-webkit-scrollbar-thumb {
        background: #515156;
        border-radius: 2px;
      }
    }
    > div:first-child {
      grid-column: 1/2;
      grid-row: 1/2;
    }
  }
}

@include min(tablet) {
  .welcomeBonus {
    display: block;
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 700;
    line-height: 2.7rem;
    color: #dedede;
  }
  .tncEnable .details {
    > span:first-child {
      color: #1b1b1c;
    }
    > div {
      background-color: white;
      color: #1b1b1c;
    }
  }
  .tncEnable .welcomeBonus {
    color: #3c3c40;
  }
}
