/* Debt-to-income calculator page (/debt-to-income-calculator/): the parts lq-ui.css, mortgage.css and debt-payoff.css
   don't already have. */

/* The five debt fields sit closer together than the main fields. */
.lq-dti-debt {
    margin-bottom: 10px;
}

/* Results card: band heading and gauge */
.lq-dti-band {
    margin: 6px 0 0;
    font-size: 14px;
    line-height: 1.5;
    color: #e6f2f1;
}

.lq-dti-pill {
    display: inline-block;
    margin-inline-end: 6px;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: var(--lq-g900);
    background: #8fd6b4;
}

.lq-dti-ok .lq-dti-pill {
    background: #f3d27a;
}

.lq-dti-high .lq-dti-pill {
    background: #f4a77a;
}

.lq-dti-over .lq-dti-pill {
    background: #f28b82;
}

.lq-dti-gauge {
    position: relative;
    height: 12px;
    margin: 18px 0 30px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .12);
}

    .lq-dti-gauge i {
        display: block;
        height: 100%;
        border-radius: 12px;
        background: #8fd6b4;
        transition: width .3s, background .3s;
    }

.lq-dti-ok .lq-dti-gauge i {
    background: #f3d27a;
}

.lq-dti-high .lq-dti-gauge i {
    background: #f4a77a;
}

.lq-dti-over .lq-dti-gauge i {
    background: #f28b82;
}

    /* Markers at 28, 36, 43 and 50%: the label under the bar and a tick across it. */
    .lq-dti-gauge span {
        position: absolute;
        top: 17px;
        transform: translateX(-50%);
        font-size: 12px;
        line-height: 1;
        color: #a9cfcc;
        white-space: nowrap;
    }

        .lq-dti-gauge span::before {
            content: "";
            position: absolute;
            left: 50%;
            top: -20px;
            height: 18px;
            border-inline-start: 2px solid rgba(255, 255, 255, .55);
        }

/* What to change */
.lq-dti-fix-card {
    padding: 18px 22px;
}

.lq-dti-fix {
    margin: 0;
    padding-inline-start: 20px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--lq-ink);
}

    .lq-dti-fix li + li {
        margin-top: 8px;
    }

    .lq-dti-fix a {
        color: var(--lq-g700);
        text-decoration: underline;
    }

/* Loan-type table */
.lq-dti-note {
    white-space: normal !important;
    color: var(--lq-muted);
    font-size: 14px;
}

.lq-dti-fit {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

.lq-dti-yes {
    background: #e3f4ec;
    color: #12613f;
}

.lq-dti-maybe {
    background: #fbf0d6;
    color: #7a5208;
}

.lq-dti-no {
    background: #fbe4e2;
    color: #9b2c24;
}
