#main {
    display: flex;
    gap:20px;
  }
  #calculator {
    flex: 1;
    padding: 20px;
  }
  #result {
    flex: 1;
    padding: 20px;
  }¤


/* Reset default margin and padding for all elements */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Set a light background color and font family */
body {
  font-family: 'Inter', sans-serif;
  background-color: #f5f5f5;
}
#
/* Center the calculator and result sections */
#main {
  display: flex;
  justify-content: center;
  align-items: center;
  gap:20px;
}

/* Style the calculator section */
#calculator {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  height: 650px;
}

/* Style the form elements */
form {
  display: flex;
  flex-direction: column;
}

label {
  font-weight: bold;
  margin-bottom: 8px;
  color: #333;
}

input[type="number"],
input[type="range"] {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 12px;
  font-size:22px;
}

/* Style the range sliders */
input[type="range"] {
  width: 100%;
  appearance: none;
  background-color: transparent;
  outline: none;
  height: 1px;
  padding:0px !Important;
}

input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #007bff;
  cursor: pointer;
}

#amount
{
  margin-bottom:25px;
  padding:12px;
  border-radius:12px;
  border:1px #cdcdcd solid;
}

/* Style the result section */
#result {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s, transform 0.3s;
  height: 650px;
}

/* Fade in the result section when toggle switch is checked */
.switch-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  color: #777;
}

.switch-checkbox {
  display: none;
}

.switch-toggle {
  width: 40px;
  height: 20px;
  border-radius: 10px;
  background-color: #ccc;
  position: relative;
  margin-left: auto;
  margin-right: 0;
  transition: background-color 0.3s;
}

.switch-toggle:before {
  content: '';
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: white;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform 0.3s;
}

.switch-checkbox:checked + .switch-toggle {
  background-color: #007bff;
}

.switch-checkbox:checked + .switch-toggle:before {
  transform: translateX(20px);
}

/* Style the divs in the result section */
#div-father {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 20px;
}

#divx1, #divx2, #divx3 {
  flex: 1;
  border-radius: 6px;
  margin-bottom: 15px;
  color: #333;
}

#divx1 {
  display:flex;
  flex-direction: column;
  gap:20px;
}

#divx4
{
  display:flex;
  align-items: center;
  border:1px #e1e1e1 solid;
  border-radius: 12px;
  padding:13px;
}

#axoSavings
{
  font-weight: 500;
}

#monthlyPayment
{
  font-size:22px;
  font-weight:500 !important;
}

/* Style the payment remark information */
#paymentRemarkInfo {
  margin-top: 20px;
  padding: 10px;
  background-color: #ffc107;
  border-radius: 6px;
  color: #333;
}

.nono {display: none;}

.ctalink {
  background:green;
  color:white;
  padding:20px;
  border-radius:100px;
  text-decoration:none;
}

.cta

{
  margin-top:40px;
}

.smallinfo {position: absolute;bottom:15px;color:grey;display:none;}
.staywithme
{
  padding:10px;
  margin-top:20px;
}
#yousavedValue
{
  font-size:20px;
  font-weight: 600;
}

@media (max-width: 768px) {
  #main {
    flex-direction: column; /* Stack elements vertically */
  }
  
  #calculator,
  #result {
    padding: 10px; /* Reduce padding for smaller screens */
  }
}

@media (max-width: 768px) {
  #cta {
    margin-bottom:30px;
  }
}