:root {
    --credit-tooltip-background-color: #007F8B;
    --credit-tooltip-text-color: #ffffff;
    --credit-tooltip-terms-color: #6f6f6f;
}

span.credit-preview-total:before {
    content: 'Get this for ';
}

.credit-tooltip p:first-child:after {
    content: ' with a Personal Credit Account.';
}

span.credit-preview-save:before {
    content: 'Save ';
}

span.credit-preview-save {
    display: none;
}

.credit-tooltip-container {
    display: flex;
    flex-flow: column;
}

@media screen and (min-width: 668px) and (max-width: 991px){
    .credit-tooltip-container {
        max-width: 50%;
        margin-left: auto;
    }
}

.credit-tooltip {
    width: 100%;
    background: #000000;
    color: #ffffff;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    border-radius: 4px;
    margin-bottom: 6px;
    position: relative;
    box-sizing: border-box;
}

.credit-tooltip:before {
    content:'';
    width: 24px;
    height: 24px;
    position: absolute;
    top: -9px;
    right: 20px;
    background: #000000;
    border-radius: 4px;
    transform: rotate(45deg);
}

.credit-tooltip p {
    font-size: 16px;
    line-height: 24px;
}

.credit-tooltip p:first-child {
    margin-bottom: 0;
    font-weight: bold;
}

.credit-tooltip a.gui-btn.gui-btn-white {
    align-self: center;
    margin-bottom: 0;
    color: #000000;
    border-radius: 4px;
}

.credit-tooltip p {
    margin-bottom: 12px;
}

.credit-tooltip-container > p,
.credit-tooltip-container p > a {
    text-align: center;
    margin-bottom: 12px;
    color: #6f6f6f;
    font-size: 12px;
}

.credit-tooltip-container p > a {
    text-decoration: underline;
}

@supports (color: var(--variable)) {

    .credit-tooltip,
    .credit-tooltip:before {
        background: var(--credit-tooltip-background-color, #000000);
        color: var(--credit-tooltip-text-color, #ffffff);
    }


    .credit-tooltip a.gui-btn.gui-btn-white {
        color: var(--credit-tooltip-background-color, #000000);
    }

    .credit-tooltip-container > p,
    .credit-tooltip-container p > a {
        color: var(--credit-tooltip-terms-color, #6f6f6f);
    }

}
