body {
  font-family: Poppins;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: #001524;
}

.container-calculator,
.container-calculator-one {
  margin: 0 auto;
  padding: 20px;
  background: #efefef;
  border-radius: 8px;
  width: 100%;
  height: 100%;
  max-width: 1170px;
  min-height: auto;
  margin-top: 50px;
  margin-bottom: 50px;
}

.header-calculator {
  color: #001524;
  font-family: Poppins;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.header-calculator h1 {
  margin: 0;
}

.header-calculator p {
  color: #001524;
}

.content {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.left-section,
.right-section {
  width: 48%;
  flex: 1;
  margin: 10px;
}

.background {
  background: #efefef;
  border-radius: 10px;
}

.slider-container {
  margin-bottom: 20px;
}

.label-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: #001524;
  font-family: Poppins;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.slider-value-text {
  font-weight: bold;
  font-size: 14px;
}

input[type="range"] {
  width: 100%;
}

.slider-values {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  padding-top: 4px;
}

.loan-details {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  margin-bottom: 20px;
  padding: 0 10px 0 10px;
}

.loan-details div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.calulator-button {
  width: 100%;
  padding: 10px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.calulator-button:hover {
  background: #0056b3;
}

.h1-calculator {
  color: #001524;
  font-family: Poppins;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  padding-bottom: 10px;
}

.p-calculator {
  color: #001524;
  font-family: Poppins;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.slider-box {
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 10px;
  position: relative;
  background-color: #f9f9f9;
}

.rupee-calculator {
  color: #1363df;
  text-align: right;
  font-family: Poppins;
  font-size: 14px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
}

.slider-calculator-slide {
  border-radius: 10px;
  background: #f4f9ff;
}

.loan-details-calculator {
  color: #001524;
  font-family: Poppins;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  padding-bottom: 15px;
}

.loan-details > div {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #e0e0e0;
}

.loan-details > div:last-child {
  border-bottom: none;
}

.loan-details span {
  font-size: 14px;
  color: #001524;
}

.loan-details span#rate-of-interest,
.loan-details span#repayment-amount,
.loan-details span#daily-installment,
.loan-details span#num-edis {
  font-weight: bold;
}

.calulator-button {
  width: 100%;
  padding: 15px;
  background-color: #1363df;
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.calulator-button:hover {
  background-color: #0b52c4;
}

.info-text {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  color: #001524;
  font-size: 14px;
}

.info-text svg {
  margin-right: 5px;
}

.note {
  border-top: 1px dashed #d1d1d1;
  padding-top: 10px;
  font-size: 12px;
  color: #001524;
  text-align: center;
}

.span-numbers {
  color: #001524;
  text-align: right;
  font-family: Poppins;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.info-text {
  display: flex;
  align-items: center;
  position: relative;
  color: #001524;
  font-size: 14px;
}

.info-text svg {
  margin-right: 5px;
}

.info-text .hover-text {
  display: none;
  position: absolute;
  bottom: -120px; /* Adjust based on the text length */
  left: 0;
  width: 250px; /* Adjust based on your preference */
  background: #f9f9f9;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 10px;
  font-size: 12px;
  z-index: 10;
}

.info-text:hover .hover-text {
  display: block;
}

.container-text-one {
  background-color: #ffffff;
  padding: 20px 20px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Media Queries */
@media (max-width: 1024px) {
  .container-calculator {
    width: 63%;
    padding: 10px;
    height: 100%;
  }
  .container-calculator-one {
    width: 63%;
    padding: 10px;
    height: 100%;
  }
}

@media (max-width: 817px) {
  .content {
    flex-direction: column;
    align-items: center;
  }

  .left-section,
  .right-section {
    width: 100%;
    margin: 10px 0;
  }

  .modal-content {
    margin: 100% auto;
  }
}

@media (max-width: 480px) {
  .container-calculator {
    width: 80%;
    padding: 10px;
    height: 100%;
  }

  .container-calculator-one {
    width: 80%;
    padding: 10px;
    height: 100%;
  }

  .h1-calculator {
    font-size: 18px;
  }

  .p-calculator {
    font-size: 14px;
  }

  .slider-values {
    font-size: 12px;
  }

  .loan-details div {
    font-size: 0.9em;
  }

  .loan-details-calculator {
    font-size: 18px;
  }

  .info-text {
    font-size: 0.8em;
  }

  .calulator-button {
    font-size: 0.9em;
  }

  .label-container {
    font-size: 14px;
  }

  .modal-content {
    margin: 100% auto;
  }

  .container-text-one {
  font-size: 12px;
  }
}
