/**
 * Google Search Console â€” layout and GSC-only widgets.
 * Shared chrome: global.css (.moseo_sitemap-header, .moseo_page-title, .moseo_check-btn, .moseo_page-description),
 * moseo_find_broken_links.css (.moseo_reportText for section h2s).
 */

.moseo-gsc-report-cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(140px, 1fr));
	gap: 12px;
	margin-bottom: 14px;
}
 a:hover {
    color: rgb(255 255 255);
}
.moseo-gsc-metric-card {
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	margin: 0;
}

.moseo-gsc-metric-card input[type="checkbox"] {
	width: 14px;
	height: 14px;
	accent-color: #0052cc;
}

.moseo-gsc-report-card {
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 10px;
	padding: 12px 14px;
}

.moseo-gsc-metric-label {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.95);
}

.moseo-gsc-report-card strong.moseo-gsc-metric-value {
	font-size: 28px;
	line-height: 1.1;
	font-weight: 600;
}

.moseo-gsc-report-card-clicks {
	background: #f3a300;
	border-color: #f3a300;
}

.moseo-gsc-report-card-clicks .moseo-gsc-metric-value {
	color: #fff;
}

.moseo-gsc-report-card-impressions {
	background: #6a4cf4;
	border-color: #6a4cf4;
}

.moseo-gsc-report-card-impressions .moseo-gsc-metric-value {
	color: #fff;
}

.moseo-gsc-report-card-ctr {
	background: #10b981;
	border-color: #10b981;
}

.moseo-gsc-report-card-ctr .moseo-gsc-metric-value {
	color: #fff;
}

.moseo-gsc-report-card-clicks .moseo-gsc-metric-toggle,
.moseo-gsc-report-card-impressions .moseo-gsc-metric-toggle,
.moseo-gsc-report-card-ctr .moseo-gsc-metric-toggle,
.moseo-gsc-report-card-position .moseo-gsc-metric-toggle {
	accent-color: #fff;
}

.moseo-gsc-report-card-position {
	background: #3b82f6;
	border-color: #3b82f6;
}

.moseo-gsc-report-card-position .moseo-gsc-metric-value {
	color: #fff;
}

.moseo-gsc-metric-card:not(:has(.moseo-gsc-metric-toggle:checked)) {
	background: #fff;
	border-color: #e8e8e8;
}

.moseo-gsc-metric-card:not(:has(.moseo-gsc-metric-toggle:checked)) .moseo-gsc-metric-label {
	color: #6b7280;
}

.moseo-gsc-metric-card:not(:has(.moseo-gsc-metric-toggle:checked)) .moseo-gsc-metric-value {
	color: #1e1e1e;
}

.moseo-gsc-metric-card:not(:has(.moseo-gsc-metric-toggle:checked)) .moseo-gsc-metric-toggle {
	accent-color: #0052cc;
}

.moseo-gsc-chart-card {
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 10px;
	padding: 12px;
	margin-bottom: 16px;
	min-height: 200px;
}

.moseo-gsc-chart-canvas {
	width: 100%;
	height: auto;
	display: block;
}

/* Light-gray PNG needs contrast vs .moseo_empty-state #f0f0f0 background */
.moseo-gsc-empty-state .moseo_empty-state-icon {
	border-radius: 12px;
	padding: 16px 24px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.moseo-gsc-empty-state .moseo_empty-state-icon img {
	max-width: 244px;
	width: 100%;
	height: auto;
	display: block;
}

.moseo-gsc-chart-card > .moseo-gsc-empty-state {
	margin-bottom: 0;
}

@media (max-width: 1100px) {
	.moseo-gsc-report-cards {
		grid-template-columns: repeat(2, minmax(140px, 1fr));
	}
}

.moseo-gsc-report-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 4px;
}

.moseo-gsc-report-head {
	flex: 1;
	min-width: 0;
}

.moseo-gsc-report-head .moseo_reportText {
	margin-bottom: 6px;
}

.moseo-gsc-report-subtitle {
	margin: 0;
	font-size: 14px;
	color: #757575;
}

.moseo-gsc-export-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	background: #fff;
	border: 1px solid #0052cc;
	color: #0052cc;
	border-radius: 8px;
	font-size: 14px;
	cursor: pointer;
	font-family: inherit;
}

.moseo-gsc-export-btn:hover {
	background: #f0f6ff;
}

.moseo-gsc-report-divider {
	height: 1px;
	background: #e8e8e8;
	margin: 16px 0;
}

.moseo-gsc-report-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 16px;
}

.moseo-gsc-range-pills {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0;
	padding: 4px;
	background: #f4f5f7;
	border-radius: 10px;
	border: 1px solid #e8e8e8;
}

.moseo-gsc-pill {
	display: inline-block;
	padding: 8px 14px;
	font-size: 13px;
	color: #374151;
	text-decoration: none;
	border-radius: 8px;
	line-height: 1.2;
}

.moseo-gsc-pill:hover {
	color: #111;
	background: rgba(0, 0, 0, 0.04);
}

.moseo-gsc-pill.is-active {
	background: #fff;
	color: #111;
	font-weight: 500;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.moseo-gsc-last-update {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: #9ca3af;
}

.moseo-gsc-search-form {
	margin-bottom: 16px;
}

.moseo-gsc-tab-search-form {
	margin: 0 0 14px;
}

.moseo-gsc-section {
	border-radius: 12px;
	margin-top: 17px;
}

.moseo-gsc-search-row {
	margin-bottom: 0;
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.moseo-gsc-tab-nav {
	margin-top: 12px;
	justify-content: space-between;
}

.moseo-gsc-domain-table,
.moseo-gsc-analytics-table {
	width: 100%;
	table-layout: auto;
}

.moseo-gsc-domain-table {
	margin-top: 8px;
}

.moseo-gsc-domain-table th,
.moseo-gsc-domain-table td,
.moseo-gsc-analytics-table th,
.moseo-gsc-analytics-table td {
	padding: 10px 12px;
	width: auto !important;
	margin: 0 !important;
	text-align: left !important;
}

.moseo-gsc-field-label {
	display: block;
	margin-bottom: 0;
}

.moseo-gsc-search-input {
	width: 400px;
	max-width: 100%;
}

.moseo-gsc-report-tabs-pair {
	display: flex;
	width: 100%;
	gap: 0;
	border-bottom: 2px solid #e8e8e8;
	padding-bottom: 0;
	margin-top: 14px;
	margin-bottom: 12px;
}

.moseo-gsc-report-tabs-pair .moseo-gsc-report-tab {
	flex: 1;
	text-align: center;
	border: none;
	border-radius: 0;
	padding: 10px 12px;
	background: transparent;
	color: #6b7280;
	font-size: 14px;
	border-bottom: 2px solid transparent;
	margin-bottom: -2px;
	text-decoration: none;
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
}

.moseo-gsc-report-tabs-pair .moseo-gsc-report-tab:focus:not(:focus-visible),
.moseo-gsc-report-tabs-pair .moseo-gsc-report-tab:active {
	outline: none;
	box-shadow: none;
}

.moseo-gsc-report-tabs-pair .moseo-gsc-report-tab.is-active {
	color: #0052cc;
	border-bottom-color: #0052cc;
	font-weight: 500;
}

.moseo-gsc-permission-pill {
	background: #e9fdf0;
	color: #0f8a5b;
	border-radius: 8px;
	padding: 2px 8px;
	font-size: 12px;
}

.moseo-gsc-view-btn {
	border: 1px solid #2f66ff !important;
	color: #2f66ff !important;
	background: #fff !important;
	padding: 2px 10px !important;
}