/**
 * Styles for the WordPress dashboard widget.
 * Enqueued only on the wp-admin/index.php page.
 */

#asmith_so_speed_widget .inside {
	padding: 0 !important;
}

.asmith-so-widget {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.asmith-so-widget-top {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px;
}

.asmith-so-widget-score {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.asmith-so-widget-score-num {
	font-size: 22px;
	font-weight: 800;
	color: #fff;
	line-height: 1;
}

.asmith-so-widget-score-grade {
	font-size: 10px;
	font-weight: 600;
	color: rgba( 255, 255, 255, 0.8 );
	text-transform: uppercase;
}

.asmith-so-widget-info {
	flex: 1;
}

.asmith-so-widget-info h3 {
	margin: 0 0 4px;
	font-size: 14px;
	font-weight: 600;
}

.asmith-so-widget-stats {
	display: flex;
	gap: 12px;
	font-size: 12px;
	color: #666;
}

.asmith-so-widget-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 16px;
	border-top: 1px solid #f0f0f1;
	background: #fafafa;
}

.asmith-so-widget-footer a {
	font-size: 13px;
	text-decoration: none;
	font-weight: 500;
}

.asmith-so-widget-time {
	font-size: 11px;
	color: #999;
}

.asmith-so-widget-pro {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 10px 16px;
	background: linear-gradient( 135deg, #f8f0ff 0%, #fff5eb 100% );
	border-top: 1px solid #f0f0f1;
}

.asmith-so-widget-pro-badge {
	background: linear-gradient( 135deg, #f59e0b, #f97316 );
	color: #fff;
	padding: 2px 8px;
	border-radius: 10px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
}

.asmith-so-widget-pro span:last-child {
	font-size: 12px;
	color: #666;
}

.asmith-so-widget-pro a {
	font-size: 12px;
	margin-left: auto;
	font-weight: 600;
	text-decoration: none;
}
