.sub-container {
    display: flex;
    width: 100%;
    gap: 50px;
    height: max-content;
}

.header {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;

}

.header button {
    height: max-content;
    width: max-content;
    padding: 10px;
    border: none;
    background-color: transparent;
    font-size: 35px;
    color: #9088d2;
}

.header h1 {
    font-size: 48px;
    color: #000000 !important;

}

.cal {
    padding: 90px 20px;
}

.header button:hover {
    cursor: pointer;
}

.view,
.breakup {
    width: 100%;
}

p {
    color: #808287 !important;
}

.details input {
    width: 100%;
}

.detail {
    display: flex;
    justify-content: space-between;
}

.footer {
    display: flex;
    justify-content: space-between;
}

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: #ebac0f;
    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: #000032;
    cursor: pointer;
    margin-top: -6px;
    -webkit-appearance: none;
}

input[type="range"]:focus::-webkit-slider-runnable-track {
    background: #b3b3b3;
}

input[type="range"]::-moz-range-track,
input[type="range"]::-ms-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    background: #9088d2;
    border-radius: 10px;
}

input[type="range"]::-moz-range-thumb,
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: #9088d2;
    cursor: pointer;
    margin-top: -6px;
}

input[type="range"]::-ms-fill-lower,
input[type="range"]::-ms-fill-upper {
    background: #9088d2;
    border-radius: 5px;
}



#price {
    color: #130f31;
    font-size: 25px;
}

.loan-details {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 50px;
}

#price-container {
    color: #9088d2;
    margin-top: 50px;
}

#price-container::before {
    content: "Monthly Payable:";
    font-size: 12px;
    display: block;
}

.pie-chart-container {
  width: 350px;      /* Adjust size as needed */
  height: 350px;
  margin: 0 auto;
}
#pieChart {
  width: 100% !important;
  height: 100% !important;
}
