/* @charset "UTF-8"; */

.section.calculatortabs-container.calculator-common-container {
  position: relative;
  margin-bottom: 60px;
}

.calculator-common-container h1 {
  margin-bottom: 20px;
}


/* 
.emicalculator-container {
  padding-top: 15%;
} */

/* .emicalculator-container.emi-cal {
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 84%;
  margin: 0 auto;
} */

/* .emicalculator-wrapper {
  padding: 0;
} */

.calculator-common-wrapper .mainwrapper {
  display: flex;
  width: 100%;
  flex-direction: row-reverse;
  /* align-items: center; */
  /* border-radius: 12px; */
  overflow: hidden;
  gap: 40px;
}

.calculator-common-wrapper .inputdiv {
  width: 60%;
  padding: 40px 40px;
  background: white;
  padding-bottom: 0;
}

.calculatortabs-container .inputdiv {
  padding: 130px 40px;
  padding-bottom: 0;
}

.calculatortabs-container .inputdiv form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.calculator-common-wrapper .outerdiv {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  position: relative;
  margin-bottom: 14px;
}

.calculator-common-wrapper .data {
  margin-bottom: 15px;
}

.calculator-common-wrapper .data label {
  position: absolute;
  top: -17px;
  left: 2px;
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 120%;
  color: #111111;
  margin-bottom: 10px;
}

.calculator-common-wrapper .inputDiv {
  position: relative;
  margin-bottom: 10px;
  text-align: center;
}

.calculator-common-wrapper .inputDiv .calValinput {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-family: var(--body-font-family-semibold);
  font-size: 16px;
  font-weight: 600;
  transition: border-color 0.3s ease;
}

.calculator-common-wrapper .inputDiv .inputinnerspan {
  position: absolute;
  right: 15px;
  top: 9px;
  color: #111111;
  font-size: 14px;
  pointer-events: none;
}

.calculator-common-wrapper .rangediv {
  position: relative;
  margin-bottom: 10px;
  width: 80%;
}

.calculator-common-wrapper .rangediv input[type="range"] {
  width: 100%;
  height: 8px;
  border-radius: 3px;
  -webkit-appearance: none;
  cursor: pointer;
  background: #ddd;
}

.calculator-common-wrapper .values {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}

.calculator-common-wrapper .values .text {
  font-size: 12px;
  color: #111111;
  font-weight: bold;
}

/* Track */
.calculator-common-wrapper .rangediv input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 8px;
  margin: 0 -35px;
}

.calculator-common-wrapper .rangediv input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 100px;
  height: 30px;
  border: none;
  background: url("../../icons/emi-left-right.svg") no-repeat center center;
  margin-top: -7.4px;
  cursor: pointer;
  border-radius: 15px;
}


.calculator-common-wrapper .rangediv input[type="range"]::-moz-range-thumb {
  width: 70px;
  height: 30px;
  border: none;
  border-radius: 999px;
  background: url("../../icons/emi-left-right.svg") no-repeat center center / contain;
  cursor: pointer;
}

/* Dots overlay */
.calculator-common-wrapper .rangediv::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 10px;
  height: 8px;
  background-image: radial-gradient(circle, #111111 1.5px, transparent 2px);
  background-size: calc(100% / 6) 100%;
  background-repeat: repeat-x;
  pointer-events: none;
  z-index: 1;
  opacity: 30%;
}

.calculator-common-wrapper .emi-result-card {
  background: #fff;
  width: 40%;
  border-radius: 12px;
  margin-top: 12px;
}

/* Top EMI section */
.calculator-common-wrapper .emi-result-top {
  padding: 15px 32px;
  background: #fff3ee;
  border-radius: 20px 20px 0 0;
}

.calculator-common-wrapper .emi-label {
  font-size: 14px;
  color: #444;
  margin-bottom: 0.25rem;
}

.calculator-common-wrapper .emi-value {
  font-size: 44px;
  font-weight: 700;
  color: #ea6024;
  margin: 0;
  margin-top: 15px;
}

.calculator-common-wrapper .emi-unit {
  font-size: 12px;
  color: #ea6024;
  font-weight: 400;
  margin-left: 0.25rem;
}

/* Middle section */
.calculator-common-wrapper .emi-result-middle {
  display: flex;
  gap: 54px;
  padding: 15px 32px;
  background: #fff3ee;
  border-top: 1px solid #d9d9d9;
}

.calculator-common-wrapper .emi-info-label {
  font-size: 14px;
  color: #111111;
  font-weight: 400;
}

.calculator-common-wrapper .emi-info-value {
  font-size: 22px;
  font-weight: 700;
  color: #ea6024;
  margin-top: 0.25rem;
}

.calculator-common-wrapper .emi-result-bottom {
  background: linear-gradient(24.77deg, #4e0004 14.08%, #8e0006 67.23%);
  padding: 30px 32px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  border-radius: 0 0 20px 20px;
}

/* Buttons */
.calculator-common-wrapper .emi-result-actions {
  display: flex;
  gap: 1rem;
}

.calculator-common-wrapper .btn-primary {
  background: linear-gradient(90deg, #e5461c, #ee6f32);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  width: 50%;
  text-align: center;
}

.calculator-common-wrapper .btn-secondary {
  background: #fff;
  color: #ea6024 !important;
  border: 1px solid #ea6024;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  width: 50%;
  text-align: center;
}

/* Footer */
.calculator-common-wrapper .emi-result-footer {
  display: flex;
  gap: 0.5rem;
  color: #ffffff;
  font-weight: 600;
  line-height: 140%;
  align-items: center;
}

.calculator-common-wrapper .emi-result-footer p {
  font-size: 16px;
  font-family: var(--body-font-family-semibold);
  line-height: 140%;
  margin: 0 !important;
}

.calculator-common-wrapper .info-icon {
  font-weight: bold;
  color: #ea6024;
  background: transparent;
  height: auto;
  width: auto;
}

/* Fieldset container */
.calculator-common-wrapper .field-flex-column>fieldset {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 50px;
}

/* Legends (questions) */
.calculator-common-wrapper .fieldset-wrapper legend {
  margin-bottom: 12px;
  display: block;
  padding-bottom: 10px;
  font-size: 16px;
  font-weight: 700;
  line-height: 120%;
  color: #111111;
}

#form-tenure-type {
  display: none;
}

.calculator-common-wrapper .select-wrapper {
  position: relative;
  min-width: 284px;
}

.calculator-common-wrapper .select-wrapper select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #cfcfcf;
  border-radius: 8px;
  font-family: var(--body-font-family-semibold);
  font-size: 14px;
  appearance: none;
  outline: none;
  cursor: pointer;
  margin-top: 0;
}

/* Add a custom arrow */
.calculator-common-wrapper .select-wrapper::after {
  content: url("../../icons/cal-iconv2.svg");
  font-size: 12px;
  color: #666;
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.calculator-common-wrapper .field-flex>fieldset {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.top-span {
  position: absolute;
  top: -30px;
  font-size: 10px;
  line-height: 1.3;
}


@media (max-width: 1024px) {
  .calculator-common-wrapper .mainwrapper {
    gap: 0px;
  }

  .calculator-common-wrapper .btn-secondary,
  .calculator-common-wrapper .btn-primary {
    width: 50%;
    text-align: center;
  }

  .fix-width-container .calculator-common-wrapper .select-wrapper {
    min-width: 100%;
  }
}

/* Mobile */
@media (max-width: 820px) {


  .calculator-common.block {
    border: 1px solid rgba(17, 17, 17, 0.12);
    box-shadow: 0px 4px 16px 0px rgba(17, 17, 17, 0.08);
    background: rgba(255, 255, 255, 1);
    border-radius: 12px;
  }

  .calculator-common-wrapper .field-flex-column>fieldset {
    flex-direction: column;
    gap: 20px;
  }

  .calculator-common-wrapper .mainwrapper {
    flex-direction: column-reverse;
    overflow: hidden;
    gap: 0;
    border-radius: 12px;
  }

  .calculator-common-wrapper .emi-result-footer p {
    font-size: 14px;
  }

  .section.fix-width-container.calculatortabs-container.calculator-common-container .inputdiv {
    padding-top: 20px;
  }

  .calculator-common-wrapper .inputdiv {
    padding: 35px 20px 20px;
    width: 100%;
    padding-bottom: 0;
  }

  .fix-width-container .calculator-common-wrapper {
    border: 1px solid rgba(17, 17, 17, 0.12);
    box-shadow: 0px 4px 16px 0px rgba(17, 17, 17, 0.08);
    background: rgba(255, 255, 255, 1);
    border-radius: 12px;
  }

  .fix-width-container .calculator-common.block {
    box-shadow: none;
  }


  .calculator-common-wrapper .inputDiv .inputinnerspan {
    top: 5px;
  }

  .calculator-common-wrapper .inputDiv .calValinput {
    border-radius: 50px;
    padding: 8px 25px 8px 10px;
    font-family: var(--body-font-family-bold);
    font-weight: 800;
    font-size: 14px;
  }

  .calculator-common-wrapper .inputDiv {
    width: 40%;
  }

  .calculator-common-wrapper .emi-result-card {
    width: 100%;
  }

  .calculator-common-wrapper .emi-result-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-radius: 0;
  }

  .calculator-common-wrapper .emi-label {
    font-size: 16px;
    margin: 0;
  }

  .calculator-common-wrapper .emi-value {
    font-size: 22px;
    font-weight: 800;
    margin-top: 4px;
  }

  .calculator-common-wrapper .outputdiv {
    padding: 20px;
  }

  .calculator-common-wrapper .outerdiv {
    display: block;
    margin-bottom: 10px;
  }

  .calculator-common-wrapper .rangediv {
    width: 100%;
  }

  .calculator-common-wrapper .rangediv input[type="range"]::-webkit-slider-thumb {
    background-color: transparent;
    box-shadow: none;
  }

  .calculator-common-wrapper .rangediv input[type="range"]::-moz-range-thumb {
    background-color: transparent;
    box-shadow: none;
  }

  .calculator-common-wrapper .data label {
    position: relative;
    font-size: 14px;
    top: -14px;
  }

  .calculator-common-wrapper .data {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .calculator-common-wrapper .btn-secondary,
  .calculator-common-wrapper .btn-primary {
    width: 50%;
    text-align: center;
    font-size: 12px;
  }

  .calculator-common-wrapper .emi-result-bottom {
    padding: 32px 16px;
    border-radius: unset !important;
    gap: 0;
  }

  .calculator-common-wrapper .emi-result-middle {
    gap: 24px;
    padding: 16px;
    justify-content: space-between;
    padding-top: 0;
  }

  /* .calculator-common-wrapper .emi-result-middle .emi-info{
    display: flex !important;
     gap: 24px;
    padding: 16px;
    justify-content: space-between;
    padding-top: 0;
  } */

  .calculator-common-wrapper .data {
    margin-bottom: 0;
    align-items: flex-start;
  }

  .calculator-common-wrapper .emi-result-actions {
    text-align: center;
    margin-bottom: 20px;
  }

  .calculator-common-wrapper .btn-primary {
    padding: 12px 0;
  }

  .top-span {
    top: 20px;
    max-width: 175px;
  }

  /* .calculator-common-wrapper .fieldset-wrapper #form-field-rep-1 {
    flex-direction: column;
    gap: 0px;
  } */

  .field-wrapper.radio-wrapper.radio-custom-button {
    flex: 1;
  }

  #form-pmay-radio-label,
  #form-pmay-radio-label-1 {
    width: 100%;
  }

.calculator-common-wrapper .range-wrapper:not(:last-child) {
  padding-bottom: 15px;
}

}


.radio-custom-button input[type="radio"] {
  display: none;
}

.radio-custom-button label {
  display: inline-block;
  padding: 10px 50px;
  border: 1px solid #cfcfcf;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #111111;
  background-color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.radio-custom-button label:hover {
  background-color: #f9e6e8;
  border-color: #a70e15;
  color: #a70e15;
}


.radio-custom-button input[type="radio"]:checked+label {
  background: linear-gradient(to right, #e5461c, #ee6f32);
  color: #ffffff;
  border: none;
}
.emicolor
{
  font-size: 18px !important;
}