#reward-modal {
  max-width: 642px;
  width: 642px;
  max-height: 452px;
  height: 452px;
  background: white;
  z-index: 999999999;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  padding: 30px;
  display: flex;
  flex-direction: column;
  opacity: 0;
}

@media (width < 700px) {
  #reward-modal {
    width: 90vw;
    padding: 15px;
    max-width: 642px;
    max-height: 452px;
  }
}

.reward-modal-close-wapper:before {
  font-size: 20px;
}

.reward-modal-close-wapper:hover {
  cursor: pointer;
  opacity: 0.5;
}

.reward-modal-close-wapper {
  position: absolute;
  top: 10px;
  right: 12px;
  transition: all;
  transition-duration: 200ms;
}

.reward-modal-heading {
  font-family: 'Playfair Display';
  font-size: 28px;
  color: #333;
  line-height: 1;
}

.reward-modal-collected-title {
  margin-top: 30px;
  font-size: 16px;
  font-family: 'Open Sans';
  color: #333;
  margin-bottom: 10px;
}

@media (width < 700px) {
  .reward-modal-collected-title {
    margin-top: 15px;
  }
}

.reward-modal-collected-diamond .icon-gem-regular {
  color: #ff7e04;
}

.reward-modal-collected-diamond .icon-gem-regular::before {
  font-size: 30px;
}

.reward-modal-collected {
  flex-wrap: nowrap;
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 30px;
}

@media (width < 700px) {
  .reward-modal-collected {
    margin-bottom: 15px;
  }
}

#reward-modal-collected-value {
  font-family: Inter;
  font-size: 40px;
  color: #ff7e04;
}

.reward-modal-subheading {
  font-family: 'Playfair Display';
  font-size: 20px;
  margin-bottom: 20px;
}

@media (width < 700px) {
  .reward-modal-subheading {
    margin-bottom: 10px;
  }
}

.reward-modal-text {
  font-family: 'Open Sans';
  font-size: 16px;
  color: #333;
  margin-bottom: 15px;
}

#reward-modal-submit-btn {
  font-family: 'Open Sans';
  font-size: 14px;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 40px;
  padding-right: 40px;
  color: #000;
  border-radius: 5px;
  background: #deb54f;
  text-align: center;
  width: 310px;
  max-width: 310px;

  transition: all;
  transition-duration: 200ms;
}

#reward-modal-submit-btn:hover {
  color: #000;
  cursor: pointer;
  background-color: #c88e00;
}

@media (width < 700px) {
  #reward-modal-submit-btn {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
  }
}

.reward-modal-submit-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  margin-top: auto;
}

@media (width < 400px) {
  .reward-modal-submit-wrapper {
    justify-content: center;
  }
}

.reward-modal-slider {
  margin-bottom: 20px;
}

.reward-modal-slider-scale {
  font-size: 16px;
  font-family: 'Open Sans';
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  margin-bottom: 20px;
}

#reward-modal-slider-bg {
  height: 6px;
  width: 100%;
  background: #d9d9d9;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
}

#reward-modal-slider-value {
  height: 6px;
  width: 67%;
  background: #02c01e;
}

#reward-modal-slider-knob {
  height: 20px;
  width: 20px;
  background: #595959;
  border-radius: 10px;
  transform: translateX(-150%) translateY(-35%);
}

#reward-modal-slider-knob:hover {
  cursor: grab;
}

#reward-modal-slider-tip {
  color: white;
  background: #02c01e;
  border-radius: 5px;
  font-family: 'Open Sans';
  font-size: 16px;
  padding-left: 4px;
  padding-right: 4px;
  padding-top: 2px;
  padding-bottom: 2px;
  transform: translateY(-40px) translateX(-25%);
  height: 26px;
  text-align: center;
}

#reward-modal-range-slider {
  -webkit-appearance: none;
  appearance: none;
  background: #d9d9d9;
  height: 6px;
}

#reward-modal-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  background-color: #595959;
  height: 20px;
  width: 20px;
  border-radius: 10px;
}

#reward-tooltip {
  background: #02c01e;
  width: 58px;
  height: 26px;
  font-family: 'Open Sans';
  font-size: 16px;
  color: white;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  padding: 0;
  justify-content: center;
  align-items: center;
  margin-top: -48px;
}
