/**
 * plugins/generic/viewCount/css/viewCount.css
 *
 * Copyright (c) 2014-2024 Simon Fraser University
 * Copyright (c) 2003-2024 John Willinsky
 * Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
 *
 * View Count plugin styles
 */

.view-count {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	font-size: 0.875rem;
	color: #666;
	margin: 0.5rem 0;
}

.view-count-number {
	font-weight: 600;
	color: #333;
}

.view-count-label {
	color: #666;
}

/* Article page view count */
.article-view-count {
	display: inline-flex;
	margin: 1rem 0;
	padding: 0.375rem 0.75rem;
	background-color: #f0f0f0;
	border-radius: 20px;
	font-size: 0.875rem;
}

/* When inside entry_details sidebar */
.entry_details .article-view-count {
	display: flex;
	justify-content: center;
	margin: 1rem auto;
}

/* Article list view count */
.article-list-view-count {
	font-size: 0.75rem;
	margin: 0.25rem 0;
}


/* Issue view count */
.issue-view-count {
	margin: 1rem 0;
	font-size: 1rem;
}

/* Issue archive view count */
.issue-archive-view-count {
	font-size: 0.875rem;
	margin-top: 0.5rem;
	color: #666;
}

/* Journal view count sidebar block */
.block_view_count .content {
	text-align: center;
}

.block_view_count .journal-view-count {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	padding: 1rem;
}

.block_view_count .view-count-number {
	font-size: 1.5rem;
	font-weight: bold;
	color: #007ab2;
}

.block_view_count .view-count-label {
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.view-count {
		font-size: 0.8125rem;
	}
	
	.journal-view-count {
		font-size: 1rem;
	}
	
	.journal-view-count .view-count-number {
		font-size: 1.125rem;
	}
}