/* Header Notifications: Unread vs Read distinction & live badge feedback */
.header-icon-pill.has-unread,
.header-icon-pill.has-unread i {
    color: #0b5ed7 !important;
}

html.dark .header-icon-pill.has-unread,
html.dark .header-icon-pill.has-unread i {
    color: #38bdf8 !important;
}

.header-icon-pill__badge.is-unread-active {
    background: #e11d48 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(225, 29, 72, 0.45);
}

.header-icon-pill__badge.is-pulse {
    animation: sooqNotifPop 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes sooqNotifPop {
    0% { transform: scale(0.75); }
    45% { transform: scale(1.28); }
    100% { transform: scale(1); }
}

.notif-dropdown__list {
    max-height: 18rem;
    overflow-y: auto;
    padding: 0.45rem;
}

.notif-dropdown__list .notif-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.65rem;
    padding: 0.7rem 0.78rem;
    margin-bottom: 0.35rem;
    border-radius: 0.8rem;
    border: 1px solid transparent;
    text-decoration: none;
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.notif-dropdown__list .notif-item:last-child {
    margin-bottom: 0;
}

.notif-dropdown__list .notif-item.is-unread {
    background: linear-gradient(135deg, #eff6ff 0%, #f8fbff 100%);
    border-color: #bfdbfe;
    border-right: 3px solid #0b63e5;
    box-shadow: 0 2px 8px rgba(11, 99, 229, 0.06);
}

.notif-dropdown__list .notif-item.is-unread:hover {
    background: #dbeafe;
    border-color: #93c5fd;
}

.notif-dropdown__list .notif-item.is-unread strong {
    color: #0f172a;
    font-weight: 900;
}

.notif-dropdown__list .notif-item.is-unread p {
    color: #334155;
    font-weight: 600;
}

.notif-dropdown__list .notif-item.is-unread .notif-item__time {
    color: #0b63e5;
    font-weight: 800;
}

.notif-dropdown__list .notif-item.is-read {
    background: #ffffff;
    border-color: #f1f5f9;
}

.notif-dropdown__list .notif-item.is-read:hover {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.notif-dropdown__list .notif-item.is-read strong {
    color: #64748b;
    font-weight: 700;
}

.notif-dropdown__list .notif-item.is-read p {
    color: #94a3b8;
    font-weight: 500;
}

.notif-dropdown__list .notif-item.is-read .notif-item__time {
    color: #94a3b8;
    font-weight: 600;
}

.notif-item__content {
    flex: 1 1 auto;
    min-width: 0;
}

.notif-item__head {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.notif-item__dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #0b63e5;
    box-shadow: 0 0 0 3px rgba(11, 99, 229, 0.16);
    flex-shrink: 0;
}

.notif-item__new-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.08rem 0.42rem;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8 !important;
    font-size: 0.62rem !important;
    font-weight: 900 !important;
    line-height: 1.3;
    flex-shrink: 0;
}

.notif-item__time {
    font-size: 0.68rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.notif-dropdown__foot button:disabled {
    opacity: 0.55;
    cursor: default;
}
