.m__calculator *,
.m__calculator ::after,
.m__calculator ::before {
    box-sizing: border-box
}

.m__calculator * {
    font-family: inherit;
    font-family: "Inter", sans-serif;
}

.m__calculator {
    width: 100%;
    margin: 0 auto;
    font-family: inherit;
    font-size: 17px;
    color: black;
    padding-top: 50px;
}

.m__calculator .m__row {
    align-items: end;
    column-gap: 20px;
    width: 100%;
}

.m__calculator .m__cell {
    flex: 1;

    padding: 15px 0;
    flex: 1 1 calc(50% - 20px);

    align-items: center;

    min-height: 60px;
}

.m_block_3 {
    display: flex;
    flex-direction: row;
    gap: 26px;
}

.m__col_3 {
    flex-basis: 33%;
}

.m__calculator .m__group {
    position: relative;
    width: 100%;
}

.m__group input {
    width: 100%;
    position: relative;
    background: rgb(249, 250, 251);
    border-radius: 6px;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(90 90 90);
    border-image: initial;
    height: 48px;
    padding: 5px 10px 5px 12px;
    font-size: 17px;
    color: rgb(55, 65, 81);
    font-weight: 600;
    transition: box-shadow .4s;
}

.m__group input:focus,
.m__group:hover input {
    box-shadow: 0 0 0 4px rgb(183 183 183 / 30%), 0 0 0 16px rgb(202 235 48 / 0%);
    outline: 0;
    border: 1px solid black;
}

.m__calculator .m__name {
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 4px;
    line-height: 17px;
    position: relative;
    flex: 1;
    color: black;
    text-align: left;
}

.m__calculator .m__value {
    font-weight: 700;
    margin-bottom: 6px;
    font-size: 16px;
    line-height: 17px;
    position: relative;
    color: #ffffff;
}

.m__calculator .m__label {
    display: flex;
}

.m__section {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    column-gap: 10px;
    max-width: 500px;
    margin: auto;
}



.max_500 {
    max-width: 500px;
}


.button__c {
    padding: 10px;
    border: 2px solid;
    color: #000000;
    background-color: #ffffff;
    transition: box-shadow .4s, background-color .3s;
    font-family: 'Inter';
    font-size: 16px;
    font-weight: 600;
    min-height: 40px;
    border-radius: 25px;
    cursor: pointer;
    position: relative;
    display: block;
    text-align: center;
    outline: none;
    margin: 15px 0 15px;
    text-decoration: none;
}

.button__c:hover {
    box-shadow: 0 0 0 4px rgb(187 187 187 / 49%), 0 0 0 16px rgb(202 235 48 / 0%);
}

.m_block_result {
    margin-top: 20px;
    padding-bottom: 0 !important;
}

.m__calculator .m_block_result .m__name {
    font-size: 17px;
    font-weight: 700;
    color: black;
    text-align: center;
}

.m__calculator .m_block_result .m__group div {
    font-size: 34px;
    font-weight: 800;
    line-height: 44px;
}



.m_block_paystripe .m__name span {
    color: rgb(202 235 48);
    font-weight: 700;
}

.m_block_paystripe .m__slider {
    background: linear-gradient(270deg, #caeb30 0%, rgb(85 103 5) 100%);
}

.m__descr div {
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #cccccc3d;
    padding: 8px 0;
    font-weight: 600;
}

.m__line {
    margin: 30px 0 15px;
}

.m__line:after {
    content: " ";
    width: 100%;
    height: 4px;
    margin-top: 6px;
    background: linear-gradient(90deg, #caeb304d 0%, rgb(85 103 5 / 22%) 100%);
    display: block;
    border-radius: 4px;
}


#m__success {
    background: #caeb30;
    color: black;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    padding: 15px;
    border-radius: 8px;
    display: none;
}

.m_error {
    font-size: 13px;
    margin-top: 5px;
    color: #ff6464;
}

.block_gradient {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #b8d079 0%, #46b3cd 100%);
    padding: 5px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 20px;
    flex-basis: 50%;
}

.block_gradient_in {
    background: #ffffff;
    width: 100%;
    margin: 0;
    padding: 15px 30px 0;
    border-radius: 4px;
}




@media all and (max-width: 600px) {
    .m__calculator .m__row {
        display: flex;
        flex-direction: column;
        align-items: initial;
        width: 100%;
        column-gap: 0;
    }

    .m__calculator .m__cell {
        max-width: 100%
    }


    .m__calculator .noUi-horizontal {
        margin-bottom: 15px
    }
}


@media all and (max-width: 600px) {
    .m__calculator {
        font-size: 16px;
        padding-top: 70px;
    }

    .m__section {
        display: flex;
        flex-direction: column;
        row-gap: 10px;
        margin: 15px;
    }

    .m__calculator .m__cell {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .m__calculator .m__name {
        min-width: auto;
    }

    .m__calculator .m__group {
        position: relative;
        flex: 1;
        width: auto;
    }

    .m_block_3 {
        display: flex;
        flex-direction: column;
        gap: 22px;
        margin-bottom: 20px;
    }

    .m__col_3 {
        flex-basis: 100%;
        width: 100%
    }

    .button__c {
        width: auto;
        margin: 14px 40px 10px;
    }

    .m__calculator .noUi-tooltip {
        display: none !important;
    }

    .block_gradient {
        margin: 0;
        margin-top: 25px;
    }

    .m__calculator .m__cell {
        padding: 15px 0 0;
    }

    .m__cell.m_block_3 {
        padding: 0;
    }

    .m_row_sticky .block_gradient {
        position: sticky;
        top: 0;
        z-index: 9;
    }

}


.arrow_abs {
    color: #797979;
    fill: #797979;
    position: absolute;
    left: -170px;
    top: -15px;
    width: 150px;
    height: 100px;
    text-align: center;
    transform: rotate(345deg);
}

.arrow_abs div {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}

.arrow_abs svg {
    width: 80px;
    margin-left: 70px;
}

.inputs_block {
    flex-basis: 50%;
}

.guage-bar-track {
    height: 18px;
    width: 100%;
    display: flex;
    align-items: stretch;
    margin: 15px 0;
    border-radius: 25px;
    overflow: hidden;
    background: linear-gradient(90deg, #f1bb46 56.88%, #f39200 93.6%);
}

.guage-bar {
    background: linear-gradient(270deg, #68d1db 1.47%, #15a3b3 50%);
    position: relative;
    border-radius: 25px;
}

.guage-bar.orange {
    background: none;
}

.mdetail {
    font-size: 13px;
    color: rgb(121, 120, 120);
    margin-top: 15px;
    font-family: 'Inter';
}

.m_price {}



.no_enough.no_visible {
    display: none;
}

.no_enough {
    color: #ff4c4c;
    font-size: 12px;
    font-weight: 600;
    width: 100%;
    display: inline;
    margin: 5px 0;
    padding: 2px;
    text-align: center;
    border-radius: 5px;
}


.mplaceholder .placeholder {
    background: #d3d3d3;
    color: #d3d3d3;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    min-width: 120px;
    max-width: 200px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.mplaceholder .placeholder:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100px;
    background: linear-gradient(45deg, #c1bebe, transparent);
    transform: skewX(-45deg);
    animation: gradient 1s infinite ease-in-out;
}

@keyframes gradient {
    form {
        left: 0%;
    }

    to {
        left: 100%;
    }
}



#m_results table {
    width: 100%;
    border: 0;
}

#m_results table th,
#m_results table td {
    width: 33%;
    border: 0;
    padding: 0;
    line-height: 1.5;
}

#m_results tr {
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    border-bottom: 1px solid #cccccc3d;
    padding: 8px 0;
    /* font-weight: 600; */
}




@media all and (max-width: 600px) {

    .no_enough {
        display: block;
        text-align: left;
    }

    .arrow_abs {
        color: #797979;
        fill: #797979;
        position: absolute;
        left: unset;
        right: 0;
        top: unset;
        bottom: 60px;
        width: 150px;
        height: 100px;
        text-align: center;
        transform: rotate(354deg);
    }

    .arrow_abs svg {
        width: 80px;
        margin-left: 0;
        transform: rotate(140deg);
    }

    .mplaceholder .placeholder {
        min-width: 60px;
    }

    .block_gradient_in {
        padding: 15px 10px 10px;
    }

    #m_results table th,
    #m_results table td {
        font-size: 14px;
    }

    .m__calculator .m_block_result .m__name {
        font-size: 15px;
    }

    .m__calculator .m_block_result .m__group div {
        font-size: 26px;
        font-weight: 800;
        line-height: 29px;
    }

}