/**
 * plugins/blocks/googleScholarStats/css/block.css
 *
 * Copyright (c) 2026-Paradise Muhammad Achya
 * Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
 *
 * Styles for the Google Scholar citation stats sidebar block.
 */
#gsBlock {
	margin-bottom: 1em;
	overflow: hidden;
	background: #fff;
}
#gsBlock .gs_header {
	background: #180a5c; /* fallback; overridden at runtime to match the theme header colour */
	color: #fff;
	text-align: center;
	padding: 12px 10px;
	font-weight: 700;
	font-size: 1.05em;
}
#gsBlock .gs_profile_row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 12px 0;
}
#gsBlock .gs_profile_photo {
	width: 56px;
	height: 56px;
	border-radius: 4px;
	object-fit: cover;
	flex: 0 0 auto;
}
#gsBlock .gs_profile_info {
	min-width: 0;
}
#gsBlock .gs_profile_name {
	font-weight: 700;
	font-size: 0.95em;
	line-height: 1.25;
}
#gsBlock .gs_profile_name a {
	color: inherit;
	text-decoration: none;
}
#gsBlock .gs_profile_name a:hover {
	text-decoration: underline;
}
#gsBlock .gs_profile_affiliation {
	font-size: 0.78em;
	color: #777;
	line-height: 1.3;
	margin-top: 2px;
}
#gsBlock .gs_updated_row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 8px 12px;
	font-size: 0.78em;
	color: #888;
	border-bottom: 1px solid #eee;
}
#gsBlock .gs_badge {
	display: inline-flex;
	align-items: center;
}
#gsBlock a.gs_badge {
	text-decoration: none;
}
#gsBlock .gs_badge_logo {
	height: 16px;
	width: auto;
	display: block;
}
#gsBlock .gs_stats_table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9em;
}
#gsBlock .gs_stats_table th,
#gsBlock .gs_stats_table td {
	padding: 8px 10px;
	text-align: center;
}
#gsBlock .gs_stats_table thead th {
	font-weight: 700;
	border-bottom: 2px solid #eee;
}
#gsBlock .gs_stats_table thead th:first-child {
	width: 34%;
}
#gsBlock .gs_stats_table tbody td.gs_row_label {
	text-align: left;
	color: #555;
	font-weight: 600;
}
#gsBlock .gs_stats_table tbody tr:not(:last-child) td {
	border-bottom: 1px solid #f2f2f2;
}
#gsBlock .gs_chart_wrap {
	padding: 14px 14px 6px;
}
#gsBlock .gs_chart_plot {
	position: relative;
	height: 160px;
	margin-right: 30px;
}
#gsBlock .gs_gridline {
	position: absolute;
	left: 0;
	right: 0;
	border-top: 1px solid #eee;
}
#gsBlock .gs_gridline_label {
	position: absolute;
	right: -30px;
	top: -7px;
	font-size: 0.72em;
	color: #7fb3b0;
	width: 26px;
	text-align: left;
}
#gsBlock .gs_bars {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	gap: 6px;
}
#gsBlock .gs_bar_col {
	flex: 1 1 0;
	height: 100%;
	display: flex;
	align-items: flex-end;
}
#gsBlock .gs_bar {
	width: 100%;
	min-height: 2px;
	background: linear-gradient(180deg, #8ea0d4 0%, #445285 100%); /* fallback; overridden at runtime */
	border-radius: 2px 2px 0 0;
}
#gsBlock .gs_year_labels {
	display: flex;
	gap: 6px;
	margin-right: 30px;
	margin-top: 6px;
}
#gsBlock .gs_year_label {
	flex: 1 1 0;
	text-align: center;
	font-size: 0.72em;
	color: #999;
}
#gsBlock .gs_body_pad {
	padding: 12px 14px;
}
#gsBlock .gs_no_data {
	margin: 0;
}
#gsBlock .gs_debug {
	margin: 8px 0 0;
	font-size: 0.72em;
	color: #999;
	word-break: break-word;
}
