/* Admin bar Page overview panel */

.winbox.sb-page-overview-winbox .wb-body {
	padding: 0;
	background: #f0f0f1;
	color: #1d2327;
}

.sb-page-overview {
	padding: 16px 18px 24px;
	font-size: 13px;
	line-height: 1.5;
}

.sb-page-overview-root .sb-loading {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 160px;
	color: #50575e;
}

.sb-spinner {
	width: 22px;
	height: 22px;
	border: 3px solid #c3c4c7;
	border-top-color: #2271b1;
	border-radius: 50%;
	animation: sb-adminbar-spin 0.7s linear infinite;
}

@keyframes sb-adminbar-spin {
	to {
		transform: rotate(360deg);
	}
}

.sb-overview-section {
	margin: 0 0 18px;
	padding: 14px 16px;
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
}

.sb-overview-section h3 {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 600;
	color: #1d2327;
}

.sb-overview-section h3 + h3,
.sb-overview-section .sb-overview-list + h3,
.sb-overview-section .sb-overview-empty-inline + h3,
.sb-overview-section .sb-overview-meta + h3 {
	margin-top: 16px;
}

.sb-overview-section h4 {
	margin: 0 0 8px;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: #646970;
}

.sb-overview-score-row {
	display: flex;
	align-items: center;
	gap: 14px;
}

.sb-overview-score-value {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #2271b1;
	color: #fff;
	font-size: 20px;
	font-weight: 700;
}

.sb-overview-score-label {
	font-weight: 600;
	font-size: 14px;
}

.sb-overview-analyzed {
	font-size: 12px;
	color: #646970;
}

.sb-overview-stale {
	margin: 12px 0 0;
	padding: 8px 10px;
	background: #fcf9e8;
	border-left: 3px solid #dba617;
	color: #50575e;
}

.sb-overview-meta {
	margin: 0 0 4px;
	padding: 8px 10px;
	background: #f6f7f7;
	border-radius: 3px;
	word-break: break-word;
}

.sb-overview-empty,
.sb-overview-empty-inline,
.sb-overview-error {
	margin: 0;
	color: #646970;
}

.sb-overview-error {
	padding: 16px;
	color: #b32d2e;
}

.sb-overview-cta {
	margin: 10px 0 0;
}

.sb-overview-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sb-overview-list-item {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 8px 0;
	border-bottom: 1px solid #f0f0f1;
}

.sb-overview-list-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.sb-overview-severity {
	flex-shrink: 0;
	display: inline-block;
	padding: 1px 6px;
	border-radius: 3px;
	background: #dcdcde;
	color: #2c3338;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	line-height: 1.6;
}

.sb-overview-severity--critical,
.sb-overview-severity--error,
.sb-overview-severity--high {
	background: #fcf0f1;
	color: #b32d2e;
}

.sb-overview-severity--warning,
.sb-overview-severity--medium {
	background: #fcf9e8;
	color: #996800;
}

.sb-overview-severity--opportunity,
.sb-overview-severity--low {
	background: #f0f6fc;
	color: #135e96;
}

.sb-overview-message {
	flex: 1;
	min-width: 0;
}

.sb-overview-suggestions {
	margin: 0 0 12px;
	padding: 0;
	list-style: none;
}

.sb-overview-suggestions li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 6px 0;
	border-bottom: 1px solid #f0f0f1;
}

.sb-overview-suggestions li:last-child {
	border-bottom: none;
}

.sb-overview-suggestion-text {
	flex: 1;
	min-width: 0;
}

.sb-overview-copy {
	flex-shrink: 0;
	white-space: nowrap;
}

.sb-overview-keywords-wrap {
	overflow-x: auto;
}

.sb-overview-keywords {
	width: 100%;
	border-collapse: collapse;
	font-size: 12px;
}

.sb-overview-keywords th,
.sb-overview-keywords td {
	padding: 6px 8px;
	text-align: left;
	border-bottom: 1px solid #dcdcde;
	vertical-align: top;
}

.sb-overview-keywords th {
	font-weight: 600;
	color: #50575e;
	background: #f6f7f7;
}

.sb-overview-keywords td:nth-child(2),
.sb-overview-keywords td:nth-child(3),
.sb-overview-keywords td:nth-child(4),
.sb-overview-keywords td:nth-child(5),
.sb-overview-keywords th:nth-child(2),
.sb-overview-keywords th:nth-child(3),
.sb-overview-keywords th:nth-child(4),
.sb-overview-keywords th:nth-child(5) {
	text-align: right;
	white-space: nowrap;
}

.sb-overview-keywords-more {
	margin: 8px 0 0;
	font-size: 12px;
	color: #646970;
}
