/* Basic styles adapted from your CSS */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Geist", sans-serif;
}
.mortgage-calculator {
  max-width: 720px;
  margin: 20px auto;
  padding: 20px;
  border: 1px solid #d7d7d7;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}
.form-group {
  margin-bottom: 20px;
}
.wrapping {
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  padding: 12px;
}
label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: #373737;
}
select,
input[type="text"],
input[type="number"] {
  width: 100%;
  padding: 16px 12px !important;
  border-radius: 8px !important;
  border: 1px solid #ccc !important;
  font-size: 15px;
  height: 50px;
  color: #9b9b9b;
}
.label-with-amount {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.range-wrapper {
  display: flex;
  flex-direction: column;
}
.range-value {
  padding-block: 16px 22px;
  padding-inline: 12px;
  border: 1px solid #d7d7d7;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  background: #ededed;
}
.instruction {
  font-size: 12px;
  color: #9b9b9b;
  margin-top: 4px;
  text-align: right;
}
span {
  font-size: 14px;
  font-weight: 400;
  color: #9b9b9b;
}

input[type="range"] {
  position: relative;
  top: -4px;
  flex: 1;
  -webkit-appearance: none;
  background: transparent;
  width: 100%;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: #25396e;
  cursor: pointer;
  border: 3px solid #d4dcee;
  margin-top: -6px;
}
input[type="range"]::-moz-range-thumb {
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: #25396e;
  border: 3px solid #d4dcee;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, #4e79eb 0%, #d9d9d9 100%);
  border-radius: 4px;
}
