/*
 * Credit cost warning "Achtung! Kreditaufnahme kostet Geld." (EU 2023/2225, UWG Anhang Nr. 23e).
 *
 * Loaded for every dealer site from IsaExtension::isaFrontendStylesheets(): the warning must be
 * "klar und auffallend" on all of them, while the themes are per-tenant compiled files nobody
 * hand-edits. Scoped under .credit-warning and states its own colours, so a theme cannot fade it.
 */

.credit-warning {
    display: block;
    color: #b00020;
    font-weight: 700;
    line-height: 1.4;
}

.credit-warning-box {
    margin: 0 0 12px;
    padding: 10px 14px;
    background: #fdecee;
    border: 1px solid #f3b4bc;
    border-left: 4px solid #b00020;
    border-radius: 3px;
    font-size: 1.1em;
    clear: both;
}

.credit-warning-inline {
    margin: 0 0 8px;
    font-size: 1em;
}

/*
 * § 17 PAngV note and lender under the vehicle-page credit example (refs #19607).
 * Neutral, readable, own colours so a theme cannot hide them.
 */

.credit-example-note {
    display: block;
    margin: 10px 0 8px;
    padding: 8px 12px;
    background: #eef3f8;
    border: 1px solid #d3dfeb;
    border-radius: 3px;
    color: #2b3a4a;
    font-size: 0.95em;
    line-height: 1.4;
    clear: both;
}

.credit-example-note::before {
    content: "i";
    display: inline-block;
    width: 1.3em;
    height: 1.3em;
    margin-right: 6px;
    border-radius: 50%;
    background: #2b5c8a;
    color: #fff;
    font-weight: 700;
    font-style: italic;
    font-family: Georgia, serif;
    line-height: 1.3em;
    text-align: center;
}

.credit-example-lender {
    display: block;
    margin: 0 0 10px;
    font-size: 0.95em;
    line-height: 1.4;
    clear: both;
}

/* The same note inside the financing tooltip of lists and price rows: compact, no box. */
.credit-example-note-inline {
    margin: 6px 0;
    padding: 0;
    background: none;
    border: 0;
    font-size: 0.9em;
}
