.calc {
  margin: 20px 0;
}

.calc__heading {
  color: #000;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  line-height: 64px;
  text-transform: uppercase;
}

.calc__container-wrap {
  box-sizing: border-box;
  display: flex;
  width: 100%;
  flex-direction: column;
}

.calc__content-wrap {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 20px;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
}

.calc__wrapper {
  box-sizing: border-box;
  height: auto;
  background: #f8f9fa;
  width: 100% !important;
  padding: 15px 30px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.slider-container {
  display: flex;
  flex-direction: column;
  width: 100%;
}

#investment-slider,
#range-slider {
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  border: none;
  padding: 0;
  background: #f2dddd;
  outline: none;
  transition: background 0.3s;
  cursor: pointer;
}

#investment-slider::-webkit-slider-runnable-track,
#range-slider::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 3px;
  background: transparent;
}
#investment-slider::-moz-range-track,
#range-slider::-moz-range-track {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(to right, #f9423a 0%, #f2dddd 0%);
}

#investment-slider::-webkit-slider-thumb,
#range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* background-image: url(../index/thumb.svg) !important; */
  margin-top: -8px;
  transition: background 0.3s, transform 0.2s;
}
#investment-slider::-moz-range-thumb,
#range-slider::-moz-range-thumb {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* background-image: url(../index/thumb.svg) !important; */
  transition: background 0.3s, transform 0.2s;
}

.label-title {
  color: #676767;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
}

.label-num {
  color: #323232;
  font-size: 16px;
  margin-top: 5px;
  margin-bottom: 10px;
}

.tick-marks {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.tick {
  color: #676767;

  font-size: 14px;
}

.calc__results {
  width: 100%;
  background: #e4020f;
  width: 100%;
  display: flex;
  padding: 20px 40px;

  justify-content: space-between;
  align-items: center;
}

.results__stats {
  display: flex;
  flex-direction: column;

  gap: 8px;
}

.stats__heading {
  color: #fff;
  font-size: 16.8px;
  font-weight: 500;

  text-transform: uppercase;
}

.stats__sum {
  color: #fff;
  font-size: 28px;
}

.comment-form {
  margin: 20px 0;
  padding: 10px;
  background: #f7f7f7;
  border-radius: 8px;
}

#new-comment {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: none;
}

#submit-comment {
  margin-top: 10px;
  padding: 8px 16px;
  background: #f9423a;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .text-accent {
    width: calc(100% + 110px);
    margin-left: -55px;
  }
  .calc__content-wrap {
    max-width: 950px;
  }

  .calc__container-wrap {
    flex-direction: row;
  }

  .calc__results {
    flex-direction: column;
    align-items: flex-start;
    max-width: 360px;
    padding: 32px 48px;

    gap: 90px;
  }
  .stats__sum {
    font-size: 36px;
  }
  .label-title {
    font-size: 16px;
  }
  .label-num {
    font-size: 24px;
    margin-bottom: 16px;
  }
  .calc__wrapper {
    padding: 30px 24px;
    justify-content: space-between;
  }
  #investment-slider,
  #range-slider {
    height: 10px;
  }
  #investment-slider::-webkit-slider-thumb,
  #range-slider::-webkit-slider-thumb {
    width: 35px;
    height: 35px;
    background-size: cover;
    margin-top: -12px;
  }
  #investment-slider::-moz-range-thumb,
  #range-slider::-moz-range-thumb {
    width: 35px;
    height: 35px;
    background-size: cover;
  }
}
.info {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.user,
.amount {
  font-size: 18px;

  color: #000;
}

.user span,
.amount span {
  display: block;
  font-size: 14px;
  font-weight: normal;
  color: #666;
}

.progress {
  display: flex;
  gap: 8px;
}

.bar {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background-color: #ccc;
}

.bar.green {
  background-color: #00e539;
}

.bar.grey {
  background-color: #ccc;
}
.kontenjan-box {
  color: #f57776;
  padding: 16px 24px;
  font-weight: 400;
  font-size: 15.79px;
  text-align: center;
  margin: 0 auto;
  display: block;
  font-size: 20px;
}
input[type=range]::-webkit-slider-thumb {
  appearance: none;
  height: 24px !important;
  width: 24px !important;
  border-radius: 50%;
  background: red;
  border: 3px solid white;
  box-shadow: 0 0 0 1.5px red;
  cursor: pointer;
  margin-top: -6px;
}

input[type=range]::-moz-range-thumb {
  height: 24px !important;
  width: 24px !important;
  border-radius: 50%;
  background: red;
  border: 3px solid white;
  box-shadow: 0 0 0 1.5px red;
  cursor: pointer;
}
input[type=range] {
  height: 4px;
}
