#spinWheel {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  /*   display: none; */
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  outline: 0;
  max-height: 850px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
}

.background-fade {
  background: rgb(0 0 0 / 40%);
}

.spin-wheel-content {
  box-shadow: 0 2px 10px 3px rgba(0, 0, 0, 0.2);
  /* border-radius: 15px; */
  min-width: 820px;
  min-height: 535px;
  transform: translate(-25%, 3%);
}

.spin-wheel-body {
  min-height: 535px;
  padding: 0 !important;
  overflow: hidden;
}

.spin-wheel-body .spin-wheel-row {
  min-height: inherit;
}

.spin-wheel-body .spin-wheel-row img {
  max-width: 100%;
  /* margin-top: 35px; */
  position: relative;
  top: 8px;
  display: block;
  margin-inline: auto;
}

.spin-wheel-title {
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  line-height: 1.29 !important;
  color: #24272c;
  margin-bottom: 24px;
  margin-top: 0px;
}

.spin-wheel-paragraph {
  font-size: 16px;
  line-height: 1.38 !important;
  text-align: center;
  margin-bottom: 30px;
  color: #000;
}

.spin-wheel-btn {
  border-radius: 50px;
  box-shadow: 0 5px 10px 0 rgba(0, 170, 99, 0.3);
  background-color: #00aa63;
  border: 1px solid #00aa63;
  height: 49px;
  padding: 0px 40px;
  color: #fff;
  font-size: 17px;
  border-style: none;
  display: flex;
  align-items: center;
  margin-inline: auto;
  transition: all 0.3s ease-in-out;
}

.spin-wheel-btn:hover {
  background-color: transparent;
  color: #00aa63;
  border: 1px solid #00aa63;
}

.spin-wheel-close-btn {
  position: absolute;
  /* left: 440px; */
  top: 10px;
  right: 20px;
  font-size: 10px;
  color: #000;
  opacity: 1;
  background: transparent;
  border-style: none;
  font-size: 16px;
  outline: none;
}

.spi-wheel-close-btn:hover {
  opacity: 0.5;
}

.spin-wheel-body svg {
  position: relative;
  right: 100px;
}

.spin-wheel-body .spin-wheel-row .slice {
  line-height: 1 !important;
  font-weight: 600;
  font-size: 15px;
  color: #000000;
  text-align: center;
}

.spin-wheel-result-img {
  position: relative !important;
  top: -15px !important;
  right: 7px;
  z-index: -5;
  margin-top: 0 !important;
}

.svg-container,
.spin-wheel-form-svg {
  background-image: linear-gradient(to bottom, #004e7b, #0a141b);
}

.svg-container,
.spin-wheel-form-svg {
  width: 41.5%;
}
.spin-wheel-inner,
.spin-wheel-result,
.spin-wheel-form {
  width: 58.5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.spin-wheel-form-badge {
  padding: 7px 15px 7px 31px;
  background-color: #00aa63;
  width: 50%;
  margin-top: 30px;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  border-radius: 0px 4px 4px 0px;
}

.spin-wheel-result-title {
  color: #fff;
  font-size: 28px;
  margin-bottom: 0;
  margin-top: 30px;
}

.spin-wheel-form-control {
  max-width: 80%;
}

.spin-wheel-form-btn {
  width: 80%;
  justify-content: center;
}

.spin-wheel-form-close-btn {
  position: absolute;
  right: 20px;
  top: 10px;
  left: initial;
}

.svg-mobile {
  display: none;
}

.spin-wheel-label {
  display: block;
}

@media (max-width: 768px) {
  .spin-wheel-content {
    min-width: auto;
    min-height: auto;
    width: 100%;
    height: 100%;
    transform: translate(0%, 8%);
  }

  .modal-body {
    max-height: auto;
  }

  .svg-container {
    max-height: 450px;
  }

  .svg-container svg {
    /*     scale: 0.7;
    right: 70px;
    bottom: 50px; */
    position: static;
  }

  .spin-wheel-body .spin-wheel-row {
    flex-direction: column-reverse;
  }

  .spin-wheel-close-btn,
  .spin-wheel-form-close-btn {
    /*  left: 320px;
        top: 10px; */
    /*         position: static;
    float: right; */
    margin-right: 2rem;
    margin-top: 1rem;
    position: absolute;
    top: 0;
    right: 0;
    left: inherit;
    border: none;
    border-radius: 100px;
    height: 25px;
    width: 25px;
    background: #f9e8d9;
    color: #000;
  }

  .spin-wheel-body .spin-wheel-row img {
    position: static;
    margin-top: 0;
  }

  .spin-wheel-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .spin-wheel-paragraph {
    margin-bottom: 20px;
    font-size: 15px;
  }

  .spin-wheel-btn {
    margin-bottom: 20px;
    font-size: 15px;
    height: 40px;
  }

  /*   .spin-wheel-form-close-btn {
    margin-right: 1rem;
    margin-top: 1rem;
    position: absolute;
    top: 0;
    right: 0;
    left: inherit;
  } */

  .spin-wheel-form {
    padding: 2rem;
  }
  .spin-wheel-form .spin-wheel-paragraph {
    font-size: 16px !important;
    margin-top: 20px;
    font-weight: bold;
  }

  .spin-wheel-dialog {
    transform: translate(0, -60px) !important;
  }

  .trophy-svg {
    width: 150px;
    height: 150px;
  }

  .spin-wheel-form-badge {
    font-size: 16px;
    margin-top: 15px;
  }

  .spin-wheel-result-title {
    font-size: 16px;
    margin-top: 10px;
  }
  .svg-container,
  .spin-wheel-form-svg,
  .spin-wheel-inner,
  .spin-wheel-result,
  .spin-wheel-form {
    width: 100%;
  }
}

.spin-wheel-dialog {
  transform: none;
  transition: transform 0.3s ease-out;
  min-height: calc(100% - 3.5rem);
  max-width: 500px;
  margin: 1.75rem auto;
  display: flex;
  align-items: center;
  position: relative;
  width: auto;
}

.spin-wheel-dialog::before {
  height: calc(100vh - 3.5rem);
  display: block;
  content: "";
}

.spin-wheel-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.3rem;
  outline: 0;
}

.spin-wheel-body {
  position: relative;
  flex: 1 1 auto;
  background-color: white;
}

.spin-wheel-row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  display: flex;
  /*   flex-wrap: wrap; */
  margin-top: calc(var(--bs-gutter-y) * -1);
  margin-right: calc(var(--bs-gutter-x) * -0.5);
  margin-left: calc(var(--bs-gutter-x) * -0.5);
}

#spinWheelForm div {
  margin-bottom: 1rem;
  align-items: center;
  flex-direction: column;
  display: flex;
}

#spinWheelForm div label {
  margin-bottom: 0.5rem;
}

#spinWheelForm div input {
  display: block;
  width: 380px;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.spin-wheel-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.spin-wheel-result,
.spin-wheel-form-svg,
.spin-wheel-form,
.spin-wheel-form-end {
  display: none;
}

#spinWheelForm div input:active,
#spinWheelForm div input:focus {
  border-color: #00aa63;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgb(0 170 99 / 25%);
}

.show-modal {
  /* display: block !important; */
  opacity: 1 !important;
  visibility: visible !important;
}
