/* Notification Bell */
.notification-bell {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: var(--color-text);
    margin-right: var(--spacing-sm);
    vertical-align: middle;
}

.notification-bell:hover {
    color: var(--color-link);
}

.notification-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--color-vote-positive, #e74c3c);
    color: #fff;
    font-size: 0.65em;
    font-weight: bold;
    padding: 1px 4px;
    border-radius: 8px;
    min-width: 14px;
    text-align: center;
    line-height: 1.3;
}

/* Notification List */
.notifications-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.notification-item {
    display: flex;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    gap: var(--spacing-sm);
    border-bottom: 1px solid var(--color-border);
    transition: background-color 0.15s;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-unread {
    background-color: var(--color-background-secondary, rgba(255, 255, 255, 0.03));
    border: 1px solid var(--color-link);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.notification-icon {
    flex-shrink: 0;
    width: 24px;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.85em;
}

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

.notification-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    color: var(--color-text);
}

.notification-link:hover .notification-message {
    color: var(--color-link);
}

.notification-avatar {
    width: 24px;
    height: 24px;
    border-radius: 2px;
    flex-shrink: 0;
}

.notification-message {
    font-size: var(--font-size-sm);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notification-time {
    display: block;
    font-size: 0.75em;
    color: var(--color-text-muted);
    margin-top: 2px;
}

.notification-actions {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}

.notification-action-btn {
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: 4px;
    font-size: 0.8em;
    opacity: 0.5;
    transition: opacity 0.15s;
}

.notification-action-btn:hover {
    opacity: 1;
    color: var(--color-link);
}

/* Mention Autocomplete Dropdown */
.mention-dropdown {
    background: var(--color-background, #1a1a1a);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.mention-dropdown-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 6px 10px;
    cursor: pointer;
    font-size: var(--font-size-sm);
    color: var(--color-text);
}

.mention-dropdown-item:hover,
.mention-dropdown-active {
    background: var(--color-background-secondary, rgba(255, 255, 255, 0.05));
}

.mention-dropdown-avatar {
    width: 20px;
    height: 20px;
    border-radius: 2px;
}

/* Bookmark Button */
.bookmark-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}
