/* === PROFILE VIEW === */
.profile-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.profile-header {
    padding: 32px 32px 16px 32px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    margin-top: 8px;
}

.avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--accent-green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    font-family: var(--font-display);
    flex-shrink: 0;
}

/* Make profile info fill the remaining width so buttons can align right */
.profile-info {
    flex: 1;
    min-width: 0;
}

.profile-username-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
    width: 100%;
}

.profile-username {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    flex: 1;
    min-width: 0;
}

.profile-created-at {
    font-size: 14px;
    color: var(--secondary);
    margin-bottom: 16px;
}

.profile-stats {
    display: flex;
    gap: 24px;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.profile-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    margin-left: auto;
}

.profile-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 24px;
}

.profile-tab {
    padding: 12px 24px;
    background: none;
    border: none;
    color: var(--secondary);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    position: relative;
}

.profile-tab:hover {
    color: var(--primary);
}

.profile-tab.active {
    color: var(--accent-cyan);
    border-bottom-color: var(--accent-cyan);
}

.notification-badge {
    display: inline-block;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #ef4444;
    color: #fff;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 600;
    line-height: 18px;
    margin-left: 6px;
}

.notification-dot {
    position: absolute;
    top: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background: #ef4444;
    border-radius: 50%;
    border: 2px solid rgba(10, 10, 12, 0.95);
}

.notifications-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notification-item {
    padding: 16px;
    border-radius: var(--radius-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.notification-item.notification-unread {
    background: rgba(6, 182, 212, 0.1);
    border-left: 3px solid var(--accent-cyan);
}

.notification-message {
    font-size: 15px;
    color: var(--primary);
    margin-bottom: 4px;
}

.notification-time {
    font-size: 12px;
    color: var(--secondary);
}

.notification-link {
    padding: 8px 16px;
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-cyan);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.notification-link:hover {
    background: rgba(6, 182, 212, 0.2);
}

.comment-card {
    padding: 20px;
    border-radius: var(--radius-md);
}

.comment-card .comment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.comment-card .comment-header-left {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.comment-post-link {
    font-weight: 600;
    color: var(--accent-cyan);
}

.comment-card .comment-time {
    font-size: 13px;
    color: var(--secondary);
    white-space: nowrap;
}

.comment-footer {
    display: flex;
    gap: 16px;
    font-size: 14px;
    color: var(--secondary);
    margin-top: 16px;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.post-meta-line {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}