﻿.profile-detail-outer.loan {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-detail-outer .container {
    height: auto;
    max-width: 700px;
    border-radius: 20px;
    padding: 20px;
    margin: 50px 0;
    background-color: #f6f6f6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
}

.profile-detail-outer .sub-container {
    display: flex;
    width: 100%;
    gap: 50px;
    height: max-content;
}

.profile-detail-outer .header {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

    .profile-detail-outer .header button {
        height: max-content;
        width: max-content;
        padding: 10px;
        border: none;
        background-color: transparent;
        font-size: 35px;
        color: #9088d2;
    }

        .profile-detail-outer .header button:hover {
            cursor: pointer;
        }

.profile-detail-outer .view,
.profile-detail-outer .breakup {
    width: 50%;
}

.profile-detail-outer .details input {
    width: 100%;
}

.profile-detail-outer .detail {
    display: flex;
    justify-content: space-between;
}

.profile-detail-outer .footer {
    display: flex;
    justify-content: space-between;
}

/*----- Styling the sliders ----*/
.profile-detail-outer input[type="range"] {
    -webkit-appearance: none;
    margin: 10px 0;
    width: 100%;
}

    .profile-detail-outer input[type="range"]:focus {
        outline: none;
    }

    .profile-detail-outer input[type="range"]::-webkit-slider-runnable-track {
        width: 100%;
        height: 6px;
        cursor: pointer;
        background: #9088d2;
        border-radius: 10px;
    }

    .profile-detail-outer 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: #9088d2;
        cursor: pointer;
        margin-top: -6px;
        -webkit-appearance: none;
    }

    .profile-detail-outer input[type="range"]:focus::-webkit-slider-runnable-track {
        background: #b3b3b3;
    }

    .profile-detail-outer input[type="range"]::-moz-range-track {
        width: 100%;
        height: 6px;
        cursor: pointer;
        background: #9088d2;
        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: #9088d2;
    cursor: pointer;
    margin-top: -6px;
}

.profile-detail-outer input[type="range"]::-ms-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    background: #9088d2;
    border-color: transparent;
    border-width: 16px 0;
    color: transparent;
    border-radius: 10px;
}

.profile-detail-outer input[type="range"]::-ms-fill-lower {
    background: #9088d2;
    border-radius: 5px;
}

.profile-detail-outer input[type="range"]::-ms-fill-upper {
    background: #9088d2;
    border-radius: 5px;
}

.profile-detail-outer 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;
}

.profile-detail-outer input[type="range"]:focus::-ms-fill-lower {
    background: #9088d2;
}

.profile-detail-outer input[type="range"]:focus::-ms-fill-upper {
    background: #9088d2;
}

/*-------------------------------------*/
.profile-detail-outer #price {
    color: #130f31;
    font-size: 25px;
}

.profile-detail-outer .loan-details {
    width: 90%;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.profile-detail-outer #price-container {
    color: #9088d2;
    margin-top: 50px;
}

    .profile-detail-outer #price-container::before {
        content: "Monthly Payable:";
        font-size: 12px;
        display: block;
    }

@media only screen and (max-width :768px) {
    .profile-detail-outer .container {
        max-width: 100%;
    }

    .profile-detail-outer .sub-container {
        flex-direction: column;
    }

    .profile-detail-outer .view, .profile-detail-outer .breakup {
        width: 100%;
    }
}
