/* ============================================================
   NOTIFICATIONS
   ============================================================ */
.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--accent);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.notification-dropdown {
    width: 340px;
    padding: 0;
    border: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-radius: 12px;
    overflow: hidden;
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 1rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: #0f172a;
    border-bottom: 1px solid #f1f5f9;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-bottom: 1px solid #f8fafc;
    transition: background 0.15s ease;
    color: #1e293b;
    position: relative;
}

.notification-item:hover {
    background: #f8fafc;
}

.notification-item.unread {
    background: #f0f7ff;
}

.notification-item.unread:hover {
    background: #e8f2ff;
}

.notification-item-full {
    display: flex;
    border-bottom: 1px solid #f1f5f9;
}

.notification-icon {
    font-size: 1.1rem;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 8px;
    flex-shrink: 0;
}

.notification-icon-scan {
    background: #fff7ed;
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-message {
    font-size: 0.825rem;
    color: #1e293b;
    line-height: 1.4;
}

.notification-item-name {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.2rem;
}

.notification-time {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.2rem;
}

.notification-unread-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.4rem;
}

.notification-footer {
    padding: 0.75rem 1rem;
    text-align: center;
    font-size: 0.825rem;
    border-top: 1px solid #f1f5f9;
}

.notification-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.notification-empty {
    padding: 2rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.875rem;
}
