.titleAndTab {
  width: 100%;

  @include flex-direction(column);
  @include flex-align(center, space-between);

  gap: 0.8rem;
  flex-wrap: wrap;

  > * {
    flex: 0 0 30%;

    @include min(tablet) {
      flex: unset;
    }
  }

  > h2 {
    flex: 0 0 58%;

    @include min(tablet) {
      flex: 1;
    }
  }
}

.tabsHeader {
  display: grid;
  grid-template-columns: auto;

  @include min(tablet) {
    grid-template-columns: 1fr 1fr;

    &.tabsonly {
      grid-template-columns: 1fr;
    }
  }

  h2 {
    margin: 0;
  }
}

.invertOrder {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  margin-bottom: 2rem;

  @include min(tablet) {
    grid-template-columns: max-content;
    margin-bottom: 2rem;
  }

  @include min(laptop) {
    align-items: center;
  }

  > div {
    flex-direction: row;
  }

  button,
  ol {
    @include min(tablet) {
      width: 100%;
    }
  }
}

.headerComp {
  select {
    margin: 2rem 0;
    width: 100%;
    padding: 0.9rem 2rem;
    border: 0;
    border-radius: 0.4rem;
    box-shadow: 0 0.1rem 0.2rem 0 rgb(0 0 0 / 20%);
    background: var(--color-9);
    color: var(--color-22);
    font-weight: 700;
    text-align: left;
    font-size: 1.6rem;
    white-space: nowrap;
  }
}

.titleContainer {
  @include flex-align(center, center);
}

.disclaimer {
  flex-basis: 100%;
  flex-wrap: wrap;
}

.lottoTabs, .sportstakeTabs {
  display: flex;

  button {
    display: none !important;
  }

  > div {
    display: flow-root;
    flex-wrap: nowrap;
    align-items: start;

    > div {
      margin-bottom: 0;
      flex-wrap: nowrap;
      align-items: start;
    }
  }

  ol {
    display: flex;
    flex-direction: row !important;
    overflow-x: scroll;
    width: 100vw !important;
    position: relative !important;
    opacity: 1 !important;
    z-index: 1 !important;
    top: 0 !important;
    margin-top: 0 !important;
    box-shadow: none !important;
    gap: 1rem;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0.8rem;

    &::-webkit-scrollbar {
      height: .5rem;
    }

    &::-webkit-scrollbar-track {
      background: transparent;
    }

    &::-webkit-scrollbar-thumb {
      background: #888;
      border-radius: .5rem;
    }

    &::-webkit-scrollbar-thumb:hover {
      background: #555;
    }

    >li{
      padding-right: 0 !important;
    }

    button {
      border: 1.5px solid #a5bcf0;
      border-radius: 0.8rem;
      display: flex !important;
      background-color: rgb(236 236 246);
      flex-direction: column;
      justify-content: center;
      align-items: center;
      height: 100%;
      height: 4.8rem;
      width: 8rem;
      padding: 3rem 0;
      gap: 0.2rem;
      font-weight: 700;
      color: rgb(23 24 47);
    }

    span {
      font-size: 1.4rem;
      font-weight: normal;
    }
  }
}