.container {
  max-width: 1168px;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0 10px;
}

.container-title-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 64px;
}

.container-title-wrapper h2 {
  font-weight: 400;
  font-size: 48px;
  line-height: 60px;
  margin: 0;
}

.container-title-wrapper span {
  font-weight: 400;
  font-size: 16px;
  line-height: 21px;
}

.buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 55px;
}

.bttn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  border-radius: 100px !important;
  padding: 10px 26px;
  cursor: pointer;
  font-weight: 500;
  font-size: 18px !important;
  line-height: 22px !important;
  white-space: nowrap;
}
.bttn:disabled {
  opacity: 0.7;
}

.bttn.active {
  font-size: 18px;
  line-height: 22px;
}

.bet-container {
  width: 100%;
  /*min-height: 572px;*/
  display: flex;
  flex-direction: column;
  padding: 24px 60px;
  margin-top: 55px;
  border-radius: 10px;
}

.bet-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 35px;
}

.bet-filter-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  margin-bottom: 55px;
}

.bet-filter-choose-bet {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.bet-filter-choose-bet img {
  cursor: pointer;
  border: 2px solid transparent;
}

.bttn-reset {
  background: none;
  padding: 11px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px;
  border-style: solid;
  font-weight: 400;
  font-size: 18px;
  line-height: 22px;
  border-radius: 100px !important;
  cursor: pointer;
}

.form-select {
  min-width: 320px;
  background: transparent;
}

.bet-strategy-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 21px;
  margin-bottom: 42px;
  row-gap: 42px;
}

.bet-strategy-list img:hover {
  cursor: pointer;
}

.bet-strategy-list-item {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.bet-strategy-list-item-count {
  padding: 5px 20px;
  position: absolute;
  border-radius: 100px !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  line-height: 21px !important;
  bottom: -18px;
  cursor: pointer;
  z-index: 2;
}
.bet-strategy-list-item-count:disabled {
  display: none;
}

.bet-footer {
  max-width: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  margin-top: 10px;
}

.latest-spins-container {
  width: 100%;
  /*min-height: 200px;*/
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 25px;
  border-radius: 10px;
  padding: 40px 60px;
}

.latest-spins-title {
  font-weight: 400;
  font-size: 28px;
  line-height: 35px;
}

.latest-spins-list {
  display: flex;
  align-items: center;
  gap: 14px;
  overflow-y: hidden;
  overflow-x: auto;

}

.latest-spins-list::-webkit-scrollbar {
  display: none;
}

.latest-spins-list img {
  max-width: 92px;
  max-height: 46px;
}

.result-container {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 30px;
  width: 100%;
  color: var(--color-text-main);
}

.overall-result-total {
  width: 100%;
  height: 100%;
  max-width: 429px;
  min-height: 325px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  padding: 30px 60px;
  gap: 20px;
}

.overall-result {
  width: 100%;
  max-width: 709px;
  min-height: 325px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  padding: 30px 60px;
}

.overall-result-total-title {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.overall-result-total-title, .overall-result-title  h2 {
  font-weight: 400;
  font-size: 28px;
  line-height: 35px;
  margin: 0;
}

.active_chip {
  border: 2px;
  border-radius: 100px;
}

.overall-result-total-title,.overall-result-title span {
  font-weight: 700;
  font-size: 16px;
  line-height: 21px;
}

.overall-result-total-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.overall-result-total-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 21px;
  border-bottom: 1px solid;
  padding-bottom: 5px;
}

.overall-result-total-list-item span {
  font-weight: 400;
  font-size: 14px;
  line-height: 19px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.overall-result-total-list-item span:nth-child(2) {
  font-weight: 700;
  font-size: 16px;
  line-height: 21px;
}

.overall-result-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.overall-result-list {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 26px;
  overflow: auto;
}

.overall-result-list::-webkit-scrollbar {
  display: none;
}

.overall-result-list-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.overall-result-list-item img {
  max-width: 77px;
  max-height: 38px;
}

.overall-result-list-item span {
  font-weight: 400;
  font-size: 14px;
  line-height: 19px;
}

.overall-result-list-item span:nth-child(2) {
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
}

.overall-result-list-item span:nth-child(5) {
  font-weight: 700;
  font-size: 16.57px;
  line-height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 33px;
  border: 1px solid;
  border-radius: 5px;
}

.custom-dropdown {
  width: 300px;
  font-family: sans-serif;
  position: relative;
}

.dropdown-selected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: transparent;
  padding: 10px 12px;
  border: 1px;
  border-style: solid;
  font-size: 18px;
  font-weight: 400;
  line-height: 22px;
  border-radius: 5px;
  cursor: pointer;
  z-index: 11;
  position: relative;
}

.dropdown-arrow {
  margin-left: 8px;
}

.dropdown-arrow-active {
  transform: rotate(180deg);
}

.dropdown-options {
  overflow: hidden;
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  padding-top: 10px;
  width: 100%;
  top: 80%;
  left: 0;
  border: 1px;
  border-style: solid;
  border-top: none;
  border-radius: 6px;
  box-sizing: border-box;
  display: none;
  z-index: 10;
}

.dropdown-option {
  padding: 10px 20px;
  font-weight: 400;
  font-size: 18px;
  line-height: 22px;
  cursor: pointer;
  border-bottom: 1px;
  border-bottom-style: solid;
}

.dropdown-options.open {
  display: block;
}

@media (max-width: 1025px) {
  .bet-filter-container {
    flex-direction: column-reverse;
    align-items: start;
    gap: 24px;
  }

  .result-container {
    flex-direction: column;
  }

  .overall-result, .overall-result-total {
    max-width: 100%;
  }
}

@media (max-width: 875px) {
  .bet-container {
    padding: 73px 20px;
  }
  .overall-result, .overall-result-total, .latest-spins-container {
    padding: 20px 20px;
    min-height: fit-content;
  }

  .container-title-wrapper h2 {
    font-weight: 400;
    font-size: 38px;
    line-height: 40px;
  }
}


@media (max-width: 760px) {
  .bet-strategy-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 21px;
    row-gap: 30px;
  }

  .bet-strategy-list img {
    width: 140px;
    height: 75px;
  }
}

@media (max-width: 400px) {
  .custom-dropdown {
    min-width: 100%;
    width: 100%;
  }
}
