/* body {
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #bab5e3;
  }
   */
  .container-calc {
    height: auto;
    max-width: 600px;
    border-radius: 20px;
    padding: 20px;
    background-image: linear-gradient(to bottom left, #e4dfec, white, white);
  }
  .sub-container-calc {
    display: flex;
    width: 100%;
    gap: 50px;
    height: max-content;
  }
  
  .header-calc {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
  }
  
  .header-calc button {
    height: max-content;
    width: max-content;
    padding: 10px;
    border: none;
    background-color: transparent;
    font-size: 35px;
    color: #BD1616;
  }
  
  .header-calc button:hover {
    cursor: pointer;
  }
  
  .view-calc {
    width: 35%;
  }

  .breakup-calc {
    width: 65%;
  }

  .details-calc input {
    width: 100%;
  }
  
  .details-calc {
    display: flex;
    /* justify-content: space-between; */
    flex-wrap: wrap;
  }
  
  .footer-calc {
    display: flex;
    justify-content: space-evenly;
  }

  /* .total-calc {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
  } */

  /*----- Styling the sliders ----*/
  input[type="range"] {
    -webkit-appearance: none;
    margin: 10px 0;
    width: 100%;
  }
  
  input[type="range"]:focus {
    outline: none;
  }
  
  input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    background: #BD1616;
    border-radius: 10px;
  }
  
  input[type="range"]::-webkit-slider-thumb {
    box-shadow: 2px 2px 5px #b3b3b3, -1px -1px 3px grey;
    border: 5px solid #ffffff;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #BD1616;
    cursor: pointer;
    margin-top: -6px;
    -webkit-appearance: none;
  }
  
  input[type="range"]:focus::-webkit-slider-runnable-track {
    background: #b3b3b3;
  }
  
  input[type="range"]::-moz-range-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    background: #BD1616;
    border-color: transparent;
    border-width: 16px 0;
    color: transparent;
    border-radius: 10px;
  }
  
  input[type="range"]::-moz-range-thumb {
    box-shadow: 2px 2px 5px #b3b3b3, -1px -1px 3px grey;
    border: 5px solid #ffffff;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #BD1616;
    cursor: pointer;
    margin-top: -6px;
  }
  
  input[type="range"]::-ms-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    background: #BD1616;
    border-color: transparent;
    border-width: 16px 0;
    color: transparent;
    border-radius: 10px;
  }
  
  input[type="range"]::-ms-fill-lower {
    background: #BD1616;
    border-radius: 5px;
  }
  
  input[type="range"]::-ms-fill-upper {
    background: #BD1616;
    border-radius: 5px;
  }
  
  input[type="range"]::-ms-thumb {
    box-shadow: 2px 2px 5px #b3b3b3, -1px -1px 3px grey;
    border: 5px solid #ffffff;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #BD1616;
    cursor: pointer;
    margin-top: -6px;
  }
  
  input[type="range"]:focus::-ms-fill-lower {
    background: #BD1616;
  }
  
  input[type="range"]:focus::-ms-fill-upper {
    background: #BD1616;
  }
  
  /*-------------------------------------*/
  #price {
    color: #130f31;
    font-size: 25px;
  }
  
  .loan-details-calc {
    width: 90%;
    display: flex;
    justify-content: space-between;
    gap: 30px;
  }
  
  #price-container {
    color: #BD1616;
    margin-top: 50px;
  }
  
  #price-container::before {
    content: "Monthly Payable:";
    font-size: 12px;
    display: block;
  }
  

  @media (max-width: 740px) {
        .view-calc {
            width: 20%;
        }
        .breakup-calc {
            width: 80%;
        }
  }