input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 6px;
  background: #e5e7eb;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #9e0b0f;
  cursor: pointer;
}

.calc-container {
  background: linear-gradient(180deg, #ffe5df 0%, rgba(255, 229, 223, 0) 100%);
  font-family: Inter, sans-serif;
  color: #808080 !important;
  font-style: normal;
  font-weight: 700;
}

.emi-card {
  border: 1px solid #e8ebf1;
  border-radius: 10px;
  padding: 30px;
}

.form-label {
  font-size: 14px;
  color: #333;
  margin-bottom: 8px;
}

.underline-input {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  border-bottom: 1px solid #e8ebf1;
  padding-bottom: 6px;
}

.underline-input input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 20px;
  font-weight: 600;
  width: 100px;
  text-align: right;
}

.big-input input {
  font-size: 32px;
  width: 200px;
}

.underline-input span {
  font-size: 14px;
  color: #555;
}

.loan-box {
  border: 2px solid #9e0b0f;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  color: #9e0b0f;
}

.loan-box h2 {
  font-weight: 700;
  font-size: 36px;
}

.slider-label {
  font-weight: 500;
}

.range-value {
  font-weight: 600;
}

input[type="range"] {
  width: 100%;
}

.emi-amount {
  font-size: 42px;
  font-weight: 700;
  color: #9e0b0f;
}

.donut {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: conic-gradient(#5b74e8 0%, #ff7a22 0%);
  margin: 30px auto;
  position: relative;
}

.donut::after {
  content: "";
  width: 140px;
  height: 140px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.legend div {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.legend span {
  width: 10px;
  height: 42px;
  border-radius: 6px;
}
