/* TAX / NO TAX project pill (Views/Shared/_TaxBadge.cshtml). Loaded globally from the layout. */

.tax-badge {
    display: inline-block;
    vertical-align: middle;
    margin-left: 6px;
    padding: 1px 7px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    font-family: inherit;
}

.tax-badge--tax {
    background-color: #f59e0b;
    color: #1f1300;
    border: 1px solid #d97706;
}

.tax-badge--notax {
    background-color: #f8f9fa;
    color: #6c757d;
    border: 1px solid #adb5bd;
}

/* Inside table cells and small text keep it tight. */
td .tax-badge,
small .tax-badge,
.small .tax-badge {
    margin-left: 4px;
    padding: 0 6px;
    font-size: 9px;
}

/* On dark headers (reverse-mode cards) keep the NO TAX pill readable. */
.reverse-mode .tax-badge--notax,
.bg-dark .tax-badge--notax {
    background-color: rgba(255, 255, 255, 0.85);
}
