.bet-modal--wrapper {
  position: relative;
  display: flex;
  gap: 3rem;
  padding: 48px;

  &.type-1 {
    .bet-modal--trifecta-description {
      display: none;
    }

    .bet-modal--icon-1 {
      display: block;
    }
  }

  &.type-2 {
    .bet-modal--title,
    .bet-modal--team-winner,
    .bet-modal--rack-description {
      display: none;
    }

    .bet-modal--background {
      background-color: #1f530f;

      > img {
        display: none;
      }
    }

    .background-inner-circle {
      background: radial-gradient(
        circle,
        rgba(50, 205, 50, 0.4) 0%,
        rgba(50, 205, 50, 0) 70%
      );
    }

    .bet-modal--icon-1 {
      display: block;
    }
  }

  &.type-3 {
    .bet-modal--background {
      background-color: #1f530f;

      > img {
        display: none;
      }
    }

    .background-inner-circle {
      background: radial-gradient(
        circle,
        rgba(31, 83, 15, 0.4) 0%,
        rgba(50, 205, 50, 0) 70%
      );
    }

    .bet-modal--icon-2 {
      display: block;
    }
  }
}

.background-inner-circle {
  width: 500px;
  height: 500px;

  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.bet-modal--background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
}

/* Ensure all foreground content is above the background layer */
.bet-modal--wrapper > :not(.bet-modal--background) {
  position: relative;
  z-index: 1;
}

.bet-modal--background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.bet-modal--title,
.bet-modal--trifecta-description,
.bet-modal--rack-description,
.bet-modal--team-winner,
.bet-modal--amount {
  color: var(--Text-secondary, #e2e2e2);
  font-family: Mulish;
  font-style: normal;
  font-weight: 700;
}

.bet-modal--title {
  text-align: center;
  font-size: 24px;
  line-height: 110%; /* 26.4px */
  letter-spacing: -0.72px;
}

.bet-modal--icon-1,
.bet-modal--icon-2 {
  display: none;
  width: 172px;
  align-self: center;
}

.bet-modal--description-wrapper {
  display: grid;
}

.bet-modal--trifecta-description {
  text-align: center;
  font-size: 15px;
  line-height: 120%; /* 18px */
  letter-spacing: -0.15px;
}

.bet-modal--rack-description {
  text-align: center;
  font-size: 17px;
  line-height: 150%;
  letter-spacing: -0.17px;
}

.bet-modal--team-winner {
  text-align: center;
  font-size: 22px;
  line-height: 150%; /* 33px */
  letter-spacing: -0.22px;
}

.bet-modal--amount {
  text-align: center;
  font-size: 20.438px;
  line-height: 130%; /* 26.57px */
  letter-spacing: -0.204px;
}
