.calculator {
  padding: 2rem 0;
  position: relative;
}
.calculator .secTitle3 {
  text-align: left;
  margin-bottom: 2rem;
}
.calculator .secTitle3.btm {
  margin-top: 1.5rem;
}
.calculator .secTitle3-loan {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}
.calculator .secTitle3-loan h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #174035;
  line-height: 2.5rem;
  margin-bottom: 0;
}
.calculator .input-error {
  border: 1px solid red;
}
.calculator .secTitle3-loan-eligibility h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #174035;
  line-height: 2.5rem;
  margin-bottom: 0;
}
.calculator .fieldPart .form-item {
  margin-bottom: 1.375rem !important;
}
.calculator .fieldPart .form-item input,
.calculator .fieldPart .form-item select {
  height: 3.125rem;
}
.calculator .fieldPart .modification {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}
.calculator .fieldPart .modification .required {
  margin: 0;
  font-weight: 600;
}
.calculator .fieldPart .modification .optionSelect {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-left: 0.9375rem;
}
.calculator .fieldPart .modification .optionSelect p {
  margin: 0;
  padding-left: 0.625rem;
}
.calculator .emi-calc .fieldPart .form-item input,
.calculator .emi-calc .fieldPart .form-item select {
  width: auto;
}
.calculator .label {
  font-size: 14px;
  margin-bottom: 0.5rem;
}
.calculator .form-item {
  margin-bottom: 1.375rem !important;
}
.calculator .form-item input,
.calculator .form-item select {
  height: 3.125rem;
}
.calculator p {
  font-size: 0.85rem;
  line-height: 1.15rem;
  margin-bottom: 0.625rem;
}
.calculator p:last-child {
  margin: 0;
}
.calculator .calPartSec label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #000;
  line-height: 1.3rem;
  font-family: var(--main-font, "Filson Pro");
}
.calculator .calPartSec .rangeSide h3 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #000;
  line-height: 1.3rem;
  font-family: var(--main-font, "Filson Pro");
  margin-bottom: 1.5rem;
}
.calculator .calPartSec .rangeSide .form-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: #ddd;
  outline: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.calculator .calPartSec .rangeSide .form-range:hover {
  opacity: 1;
}
.calculator .calPartSec .rangeSide .form-range:focus::-webkit-slider-thumb {
  outline: none !important;
  box-shadow: none !important;
}
.calculator .calPartSec .rangeSide .form-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: #47ee40;
  border: 2px solid #000;
  border-radius: 50%;
  cursor: pointer;
}
.calculator .calPartSec .rangeSide .form-range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #47ee40;
  border: 2px solid #000;
  border-radius: 50%;
  cursor: pointer;
}
.calculator .calPartSec .rangeSide input[type=text] {
  width: 100px;
  outline: none !important;
  box-shadow: none !important;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #000;
  line-height: 1.3rem;
  font-family: var(--main-font, "Filson Pro");
}
.calculator .calPartSec .rangeSide .loanamout .head,
.calculator .calPartSec .rangeSide .period .head,
.calculator .calPartSec .rangeSide .intrest .head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.calculator .calPartSec .rangeSide .loanamout .bottom,
.calculator .calPartSec .rangeSide .period .bottom,
.calculator .calPartSec .rangeSide .intrest .bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
}
.calculator .calPartSec .resultPart {
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.calculator .calPartSec .resultPart .sectionone {
  border-left: 1px solid #b5b5b5;
  padding-left: 2.5rem;
}
.calculator .calPartSec .resultPart .sectionone .resultValue {
  text-align: center;
  border-bottom: 1px dashed #000;
  padding: 1rem 0;
}
.calculator .calPartSec .resultPart .sectionone .resultValue .slider-value {
  font-size: 2rem;
  font-weight: 800;
  color: #004135;
  line-height: 3.5rem;
  font-family: var(--main-font, "Filson Pro");
}
.calculator .fieldPart-loan {
  text-align: center;
}
.calculator .srb-btn-loan {
  font-size: 1rem;
  font-weight: 700;
  color: #edffe8;
  line-height: 1rem;
  background-color: #174035;
  padding: 0.7rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: 300ms;
  border: none;
  pointer-events: none;
  width: 65%;
  height: 70px;
}
.calculator .srb-btn-reset {
  font-size: 1rem;
  font-weight: 700;
  color: #edffe8;
  line-height: 1rem;
  background-color: #174035;
  padding: 0.7rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: 300ms;
  border: none;
  width: 100%;
  height: 38px;
}
.calculator .srb-btn {
  text-align: center;
  margin: auto;
  width: auto;
  max-width: fit-content;
}
.calculator .srb-btn a {
  text-decoration: none;
}

@media (max-width: 768px) {
  .calculator .secTitle3 h2 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25rem;
  }
  .calculator .secTitle3 p {
    font-size: 0.7rem;
    line-height: 1.15rem;
  }
  .calculator .calPartSec label {
    font-size: 0.7rem;
    font-weight: 700;
    color: #000;
    line-height: 1.3rem;
    font-family: var(--main-font, "Filson Pro");
  }
  .calculator .calPartSec .rangeSide h3 {
    font-size: 0.75rem !important;
    font-weight: 700;
    color: #000;
    line-height: 1rem;
    font-family: var(--main-font, "Filson Pro");
    margin-bottom: 1.2rem;
  }
  .calculator .calPartSec .resultPart .sectionone {
    border-left: none;
    padding-left: 0;
  }
  .calculator .calPartSec .resultPart .sectionone .resultValue {
    padding: 10px 3px;
  }
  .calculator .calPartSec .resultPart .sectionone .resultValue .slider-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: #004135;
    line-height: 2rem;
    font-family: var(--main-font, "Filson Pro");
  }
  .calculator .srb-btn-loan {
    width: 100%;
  }
  .calculator .srb-btn {
    width: 80% !important;
    margin-top: 15px;
  }
  .calc-data .hero-calculator-wrapper .form-section .result-box .result-box-item .heading {
    font-size: 12px !important;
  }
  .calc-data .hero-calculator-wrapper .form-section .result-box .result-box-item .result {
    font-size: 12px !important;
  }
}
@media (min-width: 600px) and (max-width: 1024px) {
  .calculator .calPartSec label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #000;
    line-height: 1.3rem;
    font-family: var(--main-font, "Filson Pro");
  }
  .calculator .calPartSec .rangeSide h3 {
    font-size: 0.75rem !important;
    font-weight: 700;
    color: #000;
    line-height: 1rem;
    font-family: var(--main-font, "Filson Pro");
    margin-bottom: 1.2rem;
  }
  .calculator .calPartSec .resultPart .sectionone {
    border-left: none;
    padding-left: 0;
  }
  .calculator .calPartSec .resultPart .sectionone .resultValue {
    padding: 10px 3px;
  }
  .calculator .calPartSec .resultPart .sectionone .resultValue .slider-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: #004135;
    line-height: 2rem;
    font-family: var(--main-font, "Filson Pro");
  }
  .calculator .srb-btn-loan {
    width: 100%;
  }
  .calculator .srb-btn {
    width: 80% !important;
    margin-top: 15px;
  }
}
.calc-data {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  margin-top: 7px;
}
.calc-data .heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.4rem;
  font-weight: 700;
  color: #004135;
  line-height: 1.5rem;
  font-family: var(--main-font, "Filson Pro");
  width: 100%;
}
.calc-data .hero-calculator-wrapper {
  margin-top: 2rem;
  width: 100%;
}
.calc-data .hero-calculator-wrapper .form-section .input-wrapper {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}
.calc-data .hero-calculator-wrapper .form-section .input-wrapper label {
  font-size: 12px;
  font-weight: 500;
  color: #1f1f1f;
  line-height: 12px;
  font-family: var(--main-font, "Filson Pro");
}
.calc-data .hero-calculator-wrapper .form-section .input-wrapper .input-box {
  margin-top: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(77, 103, 103, 0.6);
  border-radius: 8px;
}
.calc-data .hero-calculator-wrapper .form-section .input-wrapper .range-container {
  margin-top: 0.6rem;
}
.calc-data .hero-calculator-wrapper .form-section .input-wrapper .range-container .form-range {
  appearance: none; /* Removes default styling */
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 8px;
  outline: none;
}
.calc-data .hero-calculator-wrapper .form-section .input-wrapper .range-container .form-range::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 8px;
}
.calc-data .hero-calculator-wrapper .form-section .input-wrapper .range-container .form-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: #47ee40;
  border: 2px solid rgba(0, 65, 53, 0.5019607843);
  border-radius: 50%;
  cursor: pointer;
  position: relative; /* Needed for pseudo-element positioning */
  box-shadow: inset 0 0 0 5px #fff;
}
.calc-data .hero-calculator-wrapper .form-section .input-wrapper .range-container .form-range::-moz-range-track {
  height: 8px;
  border-radius: 8px;
  background: #ddd; /* Fallback color for Firefox */
}
.calc-data .hero-calculator-wrapper .form-section .input-wrapper .range-container .form-range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #4caf50;
  border: 2px solid rgba(0, 65, 53, 0.5019607843);
  border-radius: 50%;
  cursor: pointer;
}
.calc-data .hero-calculator-wrapper .form-section .input-wrapper .bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 0.6rem;
}
.calc-data .hero-calculator-wrapper .form-section .input-wrapper .bottom label {
  font-size: 12px;
  font-weight: 500;
  color: rgba(63, 63, 63, 0.8);
  line-height: 12px;
  font-family: var(--main-font, "Filson Pro");
}
.calc-data .hero-calculator-wrapper .form-section .result-box {
  background: rgba(0, 65, 53, 0.1019607843);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 96%;
  margin: auto;
}
.calc-data .hero-calculator-wrapper .form-section .result-box .vertical-line {
  width: 2px;
  height: 50px;
  background: #9299ad;
  margin: 10px 20px;
}
.calc-data .hero-calculator-wrapper .form-section .result-box .result-box-item {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
  justify-content: center;
  align-items: start;
  gap: 8px;
}
.calc-data .hero-calculator-wrapper .form-section .result-box .result-box-item .heading {
  font-size: 12px;
  font-weight: 400;
  color: #004135;
  line-height: 12px;
  font-family: var(--main-font, "Filson Pro");
  padding: 0;
  margin: 0;
}
.calc-data .hero-calculator-wrapper .form-section .result-box .result-box-item .result {
  font-size: 20px;
  font-weight: 700;
  color: #004135;
  line-height: 20px;
  font-family: var(--main-font, "Filson Pro");
  padding: 0;
  margin: 0;
}
.calc-data .hero-calculator-wrapper .apply-button {
  text-align: center;
  margin-top: 0.7rem;
}
.calc-data .hero-calculator-wrapper .apply-button a {
  width: 100%;
}

.range-input {
  margin-top: 0.7rem;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  cursor: pointer;
  outline: none;
  border-radius: 15px;
  height: 8px;
  background: #f0f0f0;
}
.range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  height: 20px;
  width: 20px;
  background-color: #47ee40;
  border-radius: 50%;
  transition: 0.2s ease-in-out;
  border: 2px solid black;
}
.range-input::-moz-range-thumb {
  -webkit-appearance: none;
  appearance: none;
  height: 20px;
  width: 20px;
  background-color: #47ee40;
  border-radius: 50%;
  transition: 0.2s ease-in-out;
  border: 2px solid black;
}
.range-input::-webkit-slider-thumb:hover {
  box-shadow: 0 0 0 3px rgba(42, 255, 106, 0.3);
}
.range-input:active::-webkit-slider-thumb {
  box-shadow: 0 0 0 4px rgba(42, 255, 106, 0.5);
}
.range-input:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 4px rgba(42, 255, 106, 0.4);
}
.range-input::-moz-range-thumb:hover {
  box-shadow: 0 0 0 4px rgba(42, 255, 106, 0.5);
}
.range-input:active::-moz-range-thumb {
  box-shadow: 0 0 0 4px rgba(42, 255, 106, 0.5);
}
.range-input:focus::-moz-range-thumb {
  box-shadow: 0 0 0 4px rgba(42, 255, 106, 0.5);
}
