/* Notification Styles */

.notifications-container {
    padding-bottom: 60px;
}

.notification-group {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    transition: background-color 0.2s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.notification-group:hover {
    background-color: var(--bg-hover);
}

.notification-group.unread {
    background-color: rgba(220, 86, 62, 0.05);
    /* Accent tint */
}

/* Header: Icon + Avatars */
.notif-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notif-icon-col {
    width: 32px;
    display: flex;
    justify-content: flex-end;
    /* Align right to match avatars padding if needed */
    font-size: 28px;
}

.notif-avatars {
    display: flex;
    gap: 8px;
    /* Spaced out like Twitter */
    flex-wrap: wrap;
}

.notif-avatars img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--bg-primary);
    /* Overlap border if negative margin, but request looks spaced */
}

/* Content */
.notif-content {
    padding-left: 44px;
    /* Icon width + gap */
    font-size: 15px;
    line-height: 1.4;
}

.notif-user-link {
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.notif-user-link:hover {
    text-decoration: underline;
}

.notif-text {
    color: var(--text-secondary);
    margin-top: 4px;
}

.notif-post-snippet {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 4px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* Inline Actions */
.notif-actions {
    display: flex;
    gap: 24px;
    margin-top: 8px;
    padding-left: 44px;
}

.notif-action-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 18px;
    padding: 4px;
    border-radius: 50%;
    transition: color 0.2s, background-color 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.notif-action-btn:hover {
    color: var(--accent);
    background-color: var(--accent-dim);
}

.notif-action-btn.upvote:hover {
    color: var(--upvote);
    background-color: var(--upvote-dim);
}

.notif-action-btn.downvote:hover {
    color: var(--downvote);
    background-color: var(--downvote-dim);
}

/* Unread Indicator */
.notif-unread-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
}

.notifications-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 53px;
    /* Below header */
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 10;
}

.notif-tab {
    flex: 1;
    text-align: center;
    padding: 16px;
    cursor: pointer;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.2s;
    position: relative;
}

.notif-tab:hover {
    background-color: var(--bg-hover);
}

.notif-tab.active {
    color: var(--text-primary);
    font-weight: 700;
}

.notif-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 4px;
    border-radius: 4px;
    background-color: var(--accent);
}