.operatorDetails {
  flex-direction: column;

  > a {
    padding: 0.8rem;
    background-color: #6b50cc;
    border-radius: 1.6rem 1.6rem 0 0;
    display: flex;
    align-items: center;
    justify-content: center;

    > img {
      border: none;
    }
  }

  > div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 1.6rem;
    gap: 1rem;

    > a {
      color: #1c1a28;
      font-size: 18px;
      font-weight: 700;
      line-height: 2.8rem;
    }

    > div {
      > div {
        padding: 0px;
        color: #1c1a28;
        font-size: 1.4rem;
        line-height: 2.2rem;

        // > span::before {
        //   color: #ffdb20;
        // }

        > span:nth-child(2) {
          line-height: normal;
        }

        > span:last-child {
          font-size: 12px;
          line-height: 20px;
        }
      }
    }
  }
}

.operatorCard {
  width: 100%;
  background: var(--cards-background-color, #fff);
  border-radius: var(--cards-border-radius);
  border: var(--cards-border);
  position: relative;
  min-height: 27rem;
  @include flex-direction(column);

  & > div:last-child:not(.cardContent){
    > div{
      max-height: 45px;
      overflow: auto;
      padding-right: 1.6rem;

      a {
        font-size: 1rem;
        font-weight: 400;
        line-height: 1.5rem;
        margin: 0;
        width: auto;
      }
  
      &::-webkit-scrollbar {
        -webkit-appearance: none;
        width: 0.4rem;
      }
  
      &::-webkit-scrollbar-thumb {
        border-radius: 2px;
        background-color: var(--color-57);
      }
  
      /* Track */
      &::-webkit-scrollbar-track {
        background: var(--color-52);
        border-radius: 2px;
      }
    }
    

    padding: 0.8rem 1.6rem;
    border-top: 1.5px solid var(--color-52);
    background: var(--color-56);
    border-radius: 0 0 var(--cards-border-radius) var(--cards-border-radius);
    width: 100%;
    text-align: center;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5rem;
  }
}

.cardContent {
  @include flex-direction(column);
  @include flex-align(stretch, space-between);
  width: 100%;
  color: var(--color-50);
  gap: 1.6rem;
  height: 100%;

  a {
    letter-spacing: 0.002em;
    text-align: center;
  }

  > div {
    margin: 1.6rem;
    width: calc(100% - 3.2rem);
  }

  > div {
    margin: 1.6rem;
    width: calc(100% - 3.2rem);

    > div {
      flex-direction: column;
      gap: 1.6rem;

      > a:nth-child(2) {
        max-width: 100%;
      }
    }
  }
}

.casinoText {
  @include flex-align(center, space-between);
  width: 100%;
  flex-direction: column;
  overflow: hidden;
  text-align: center;
}

.cardFooter {
  width: 100%;
  color: var(--color-44);
  @include flex-direction(column);
  @include flex-align(center, center);
  margin-top: 0;
  gap: 0.8rem;

  a {
    width: 100%;
    border-radius: var(--border-radius);
  }

  p {
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 2rem;
    color: var(--color-50);
  }
}

.reviewLink {
  color: var(--color-53);
  font-size: 1.6rem;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 2.4rem;
  padding: 0 1.6rem;
  text-decoration-line: underline;

  + div {
    margin-top: -1.6rem;
  }
}

.paymentMethods {
  @include flex-align(center, flex-start);
  gap: 0.625rem;
  padding: 0 1.6rem;

  li {
    @include flex-align(center, center);
    background: var(--color-54);
    border-radius: 4px;
    font-style: normal;
    font-weight: 700;
    font-size: 1.4rem;
    line-height: 2.1rem;
    letter-spacing: 0.002em;
    text-decoration-line: underline;
    color: var(--color-53);
    width: 5.4rem;
    height: 3.6rem;

    &:last-child {
      width: 54px;
      height: 36px;
    }
  }

  &.showMore {
    justify-content: space-between;
  }
}

.cardContentContainer {
  padding: 1.6rem;
  margin: 0 1.6rem;
  @include flex-direction(column);
  @include flex-align(flex-start, space-between);
  border: 1.5px dashed var(--color-55);
  border-radius: 1.2rem;
  background: var(--color-54);
  gap: 1.6rem;
  flex: 1;
}

.cardContentTop {
  @include flex-align(center, space-between);
  padding: 1.6rem;

  h4 {
    margin: 0;
  }
}
