.credit-simulator {
  border-top: 1px solid #e5dfd3;
  margin-top: 4px;
  padding-top: 24px;
}

.credit-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.credit-heading label {
  font-size: 14px;
  font-weight: 600;
}

.credit-heading output {
  color: #9a6c1e;
  font: 700 clamp(22px, 3vw, 30px)/1 Manrope;
  white-space: nowrap;
}

.credit-simulator input[type="range"] {
  --progress: 24.43%;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  margin: 8px 0;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #b57c22 0%, #e6c66f var(--progress), #e5e1d8 var(--progress), #e5e1d8 100%);
  padding: 0;
  cursor: pointer;
}

.credit-simulator input[type="range"]:focus {
  outline: 0;
}

.credit-simulator input[type="range"]:focus-visible::-webkit-slider-thumb {
  outline: 4px solid rgba(190, 144, 56, .25);
}

.credit-simulator input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0d47c, #a9701f);
  box-shadow: 0 4px 14px rgba(94, 63, 18, .35);
  cursor: grab;
}

.credit-simulator input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0d47c, #a9701f);
  box-shadow: 0 4px 14px rgba(94, 63, 18, .35);
  cursor: grab;
}

.range-scale {
  display: flex;
  justify-content: space-between;
  color: #89867f;
  font-size: 12px;
  margin-top: 6px;
}

.form-status {
  min-height: 18px;
  margin: 0;
  color: #55755f;
  font-size: 12px;
  text-align: center;
}

.submit-btn:disabled {
  opacity: .7;
  cursor: wait;
}

@media (max-width: 620px) {
  .credit-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }
}
