@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
h1 {
    margin: 5px 0px;
    font-size: 25px;
    font-weight: 600;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    padding: 0px;
}
.calc {
    width: fit-content;
    flex-direction: column;
    display: flex;
}
.col{

}
.input-group {
    width: 100%;
    display: flex;
}
.input-group-prepend, .input-group-append{
    display: flex;
    background-color: #d4b0ff;
    /*background-color: #faeeff;*/
    min-width: 30px;
    height: 30px;
    padding: 0px 10px;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    border: 1px solid #aa7bee;
    color: #1A0034;
}

.input-group-prepend{
    border-radius: 5px 0px 0px 5px;
}
.input-group-append{
    border-radius: 0px 5px 5px 0px;
}



.form-control {
    flex-grow: 1;
    border-radius: 3px;
    border: 1px solid #aa7bee;
    outline: none;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    padding-left: 7px;
    width: 100%;
    min-height: 30px;
}

.input-group>.custom-select:not(:first-child), .input-group>.form-control:not(:first-child) {
    border-radius: 0px 5px 5px 0px;
    border-left: 0px;
}

.input-group>.custom-select:not(:last-child), .input-group>.form-control:not(:last-child) {
    border-radius: 5px 0px 0px 5px;
    border-right: 0px;
}

.mt-1 {
    display: block;
}


.calculatorbox label{
    margin-top: 15px;
}

.btn-success{
    width: 100%;
    background-color: #d4b0ff;
    border: 1px solid #aa7bee;
    font-family: 'Poppins', sans-serif;
    padding: 8px;
    margin-top: 15px;
    font-weight: 500;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-success:hover{
    background-color: #aa7bee;
    color: white;
}

.form-control{
    -webkit-appearance: none!important;
    -moz-appearance: none!important;
    appearance: none!important;
}

select.form-control:not([multiple]) {
    background-repeat: no-repeat;
    background-position: 98% 45%;
    background-size: 1em auto;
    background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"> <path d="M7.5 12.9L2.6 8 4 6.6l3.5 3.5L11 6.6 12.4 8z"/> </svg>');
}

.calculatorbox {
    background-color: #380a6c;
    color: #ffffff;
    padding: 20px;
    font-family: 'Poppins', sans-serif;
    border-radius: 10px;
    width: 350px;
    box-sizing: border-box;
}
.resultbox {
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #d4b0ff;
    box-shadow: 4px 4px 8px 0px rgba(56, 10, 108, 0.2);
    margin-top: 20px;
    border-radius: 10px;
    padding: 20px;
    width: 350px;
    box-sizing: border-box;
    color: #380a6c;
}
.error-msg{
    color: red;
    font-size: 12px;
    font-style: italic;
    height: 15px;
}
.fakechart {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    font-weight: 400;
    color: #783cb7;
    flex-direction: column;
    line-height: 1;
}
.chart-color{
    width: 100%;
    height: 10px;
    border: 1px solid #d4b0ff;
}
.result-block{
    width: 100%;
}
.result-block-label{
    font-size: 15px;
    text-align: center;
}
.result-block-label-total{
    font-size: 20px;
    font-weight: 600;
}

.result-block-val{
    width: 100%;
    text-align: center;
    font-size: 25px;
    margin-bottom: 15px;
    font-weight: 500;
}

.result-block-val-total{
    font-size: 35px;
    font-weight: 600;
}

.marauto{
    width: 300px;
    margin-bottom: 20px;
}

.fakechart-label{
    font-size: 16px;
}
.form-control[readonly] {
    background-color: #e7d4ff;
    color: #000;
}