/*
====================================================
MoneyLendings Debt Snowball Calculator
====================================================
*/


.mlft-snowball-grid {
    width:100%;
    margin-bottom:20px;
}


/*
------------------------------------
Instructions Box
------------------------------------
*/

.mlft-instructions {

    background:#f8f3e7;
    border-radius:8px;
    padding:15px 18px;
    margin-bottom:18px;
    font-size:14px;
    line-height:1.6;
    color:#302d55;

}


.mlft-instructions strong {

    font-size:15px;

}


.mlft-instructions ul {

    margin:8px 0 0 18px;
    padding:0;

}


/*
------------------------------------
Debt Entry Form
------------------------------------
*/


.mlft-debt-row {

    display:flex;
    flex-direction:column;
    margin-bottom:15px;

}


.mlft-form-row {

    display:flex;
    align-items:center;
    width:100%;
    margin-bottom:8px;

}


.mlft-form-row label {

    width:130px;
    min-width:130px;
    margin-right:6px;
    white-space:nowrap;
    text-align:left;
    color:#302d55;
    font-weight:600;

}


.mlft-form-row input {

    width:160px;
    height:36px;
    padding:6px 8px;
    border:1px solid #d9d9d9;
    border-radius:6px;
    font-size:14px;
    box-sizing:border-box;

}


/*
------------------------------------
Remove Button
------------------------------------
*/


.mlft-remove-debt {

    width:160px;
    padding:10px;

    border:none;
    border-radius:8px;

    background:#dc3545;
    color:#fff;

    font-weight:600;
    cursor:pointer;

}


.mlft-remove-debt:hover {

    background:#bb2d3b;

}


/*
------------------------------------
Buttons
------------------------------------
*/


.mlft-actions {

    margin:20px 0;

}


#mlft-add-debt {

    width:100%;

}


#mlft-calculate-snowball {

    width:100%;
    margin-top:15px;

}


/*
------------------------------------
Mobile
------------------------------------
*/


@media(max-width:900px){


    .mlft-debt-row {

        padding:15px;
        border:1px solid #e5e5e5;
        border-radius:10px;
        background:#fff;

    }


    .mlft-form-row {

        flex-direction:column;
        align-items:flex-start;

    }


    .mlft-form-row label {

        width:auto;
        min-width:0;
        margin-bottom:4px;

    }


    .mlft-form-row input {

        width:100%;

    }


}