@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.wrapperCalc {
    display: flex;
    justify-content: center;
    align-items: center;

    z-index: 1;
    position: relative;
}

.card {
    margin: 10px;
}

.range {
    background: #fff;
    border-radius: 10px;
    padding: 0 65px 0 45px;
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.1);
}

.sliderValue {
    position: relative;
    width: 100%;
}

.sliderValue span {
    position: absolute;
    height: 45px;
    width: 45px;
    transform: translateX(-70%) scale(0);
    font-weight: 500;
    top: -40px;
    line-height: 55px;
    z-index: 2;
    color: #fff;
    transform-origin: bottom;
    transition: transform 0.3s ease-in-out;
}

.sliderValue span.show {
    transform: translateX(-70%) scale(1);
}

.sliderValue span:after {
    position: absolute;
    content: '';
    height: 100%;
    width: 100%;
    background: #F36A09;
    border: 3px solid #fff;
    z-index: -1;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    border-bottom-left-radius: 50%;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
}

.mb-3 {
    margin-bottom: 1rem;
}

.form-label {
    color: grey;
    background-color: #fff;
    border-radius: 10px;
    width: 95%;
    padding-left: 20px;
}

.form-range {
    width: 100%;
    height: 3px;
    background: #ddd;
    border-radius: 5px;
    outline: none;
    border: none;
    z-index: 2222;
    justify-content: start;
}

.form-range::-webkit-slider-thumb {
    width: 20px;
    height: 20px;
    background: #F36A09;
    border-radius: 50%;
    background: #F36A09;
    border: 1px solid #F36A09;
    cursor: pointer;
}

.form-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #F36A09;
    border-radius: 50%;
    background: #F36A09;
    border: 1px solid #F36A09;
    cursor: pointer;
}

.form-range::-moz-range-progress {
    background: #F36A09;
}

#monthlyInstallments {
    color: #F36A09;
    font-weight: 600;
}
/* .btn{
    background-color: #F36A09;
    border: none;
    font-family: sans-serif;
}
.btn:hover{
    background-color: #FFFF;
    color: #F36A09;
    border: #F36A09;
    font-family: sans-serif;
} */
/* Hide the default radio button */
.custom-radio {
    display: none;
}

/* Create a custom radio button */
.custom-radio + .form-check-label::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid gray;
    margin-right: 10px;
    vertical-align: middle;
    transition: border-color 0.3s, background-color 0.3s;
}

/* Style the custom radio button when checked */
.custom-radio:checked + .form-check-label::before {
    border-color: #F36A09;
    background-color: #F36A09;
}

/* Style the custom radio button for focus and hover states */
.custom-radio + .form-check-label:hover::before,
.custom-radio:focus + .form-check-label::before {
    border-color: #F36A09;
}

@media (max-width: 767.98px) {
    #wrapper {
        flex-direction: column;
    }
    .card {
        width: 100%;
    }
}