/* MOL-GOD W26D — Citation Source Weight + Paywall + DOI Status badges
 * Wkomponowane w extended-bibliography.css listę .molgod-biblio-item.
 * Każdy ref ma 3 inline badges: weight stars / paywall / DOI status.
 */

.molgod-citation-weight {
    display: inline-block;
    color: #f5a623;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 1px;
    margin-right: 6px;
    vertical-align: middle;
    cursor: help;
    user-select: none;
}

.molgod-citation-paywall {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    margin: 0 4px;
    border-radius: 3px;
    line-height: 1.4;
    vertical-align: middle;
    white-space: nowrap;
    cursor: help;
}
.molgod-citation-paywall.open      { color: #fff; background: #2e7d32; }
.molgod-citation-paywall.likely    { color: #fff; background: #f57c00; }
.molgod-citation-paywall.confirmed { color: #fff; background: #c62828; }
.molgod-citation-paywall.unknown   { color: #fff; background: #9e9e9e; }

.molgod-citation-doi-status {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    margin: 0 4px;
    border-radius: 3px;
    line-height: 1.4;
    vertical-align: middle;
    white-space: nowrap;
    cursor: help;
}
.molgod-citation-doi-status.alive       { color: #fff; background: #2e7d32; }
.molgod-citation-doi-status.dead        {
    color: #fff;
    background: #c62828;
    text-decoration: line-through;
}
.molgod-citation-doi-status.retracted   {
    color: #b71c1c;
    background: #ffebee;
    border: 1px solid #ef5350;
    font-weight: 700;
}
.molgod-citation-doi-status.unverified  { color: #424242; background: #eeeeee; }

/* Retracted ref highlights the whole li for accessibility (WCAG color+icon) */
.molgod-biblio-item[data-doi-status="retracted"] {
    background: #fff8f8;
    border-left: 4px solid #c62828;
    padding-left: 12px;
}
.molgod-biblio-item[data-doi-status="dead"] {
    opacity: 0.7;
}

/* Source-type label (plain text in tooltip; no inline element by default) */
.molgod-citation-source-type {
    display: none;
}

/* Mobile: stack badges vertically on narrow screens */
@media (max-width: 480px) {
    .molgod-citation-weight,
    .molgod-citation-paywall,
    .molgod-citation-doi-status {
        display: inline-block;
        margin: 2px 4px 2px 0;
    }
}
