/**
 * Najibul Notification-Bell Ads — token-driven (2026-11-17)
 * Rendered inside the notification panel → inherits the panel's
 * --nfs-* design tokens (light / dark via the panel's own system),
 * so the ad is always perfectly legible wherever it appears.
 * Falls back gracefully if tokens are missing.
 */

.najibul-onbi-ad-item,
.najibul-onbi-ad-item * {
    box-sizing: border-box;
}

.najibul-onbi-ad-item {
    display: block;
    position: relative;
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid var(--nfs-border, #e5e5e5);
    background:
        linear-gradient(135deg, rgba(16, 185, 129, 0.09) 0%, rgba(124, 58, 237, 0.09) 100%),
        var(--nfs-bg-secondary, #f9f9f9);
    transition: background .2s ease, transform .18s ease, box-shadow .25s ease;
    outline: none;
    user-select: none;
}

.najibul-onbi-ad-item:hover {
    background:
        linear-gradient(135deg, rgba(16, 185, 129, 0.16) 0%, rgba(124, 58, 237, 0.16) 100%),
        var(--nfs-bg-hover, #f2f2f2) !important;
    box-shadow: inset 3px 0 0 0 #10b981;
}

.najibul-onbi-ad-item:active {
    transform: scale(0.985);
}

.najibul-onbi-ad-item:focus-visible {
    outline: 2px solid var(--nfs-primary, #3ea6ff);
    outline-offset: -2px;
}

/* ── meta row (badge + "Featured") ──────────────────────────── */
.najibul-onbi-ad-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.najibul-onbi-ad-badge {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #059669;
    background: rgba(16, 185, 129, 0.15);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(16, 185, 129, 0.35);
    white-space: nowrap;
}

.najibul-onbi-ad-featured {
    font-size: 11px;
    color: var(--nfs-text-light, #909090);
    white-space: nowrap;
}

/* ── title + message — panel text tokens = always legible ───── */
.najibul-onbi-ad-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
    color: var(--nfs-text, #0f0f0f);
    margin-bottom: 3px;
}

.najibul-onbi-ad-message {
    font-size: 12px;
    line-height: 1.45;
    color: var(--nfs-text-secondary, #606060);
}

@media (prefers-reduced-motion: reduce) {
    .najibul-onbi-ad-item { transition: none; }
}
