.sat-widget {
	max-width: 640px;
	margin: 0 auto;
	font-family: inherit;
}

.sat-form,
.sat-email-form {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.sat-input {
	flex: 1 1 280px;
	padding: 14px 18px !important;
	font-size: 16px !important;
	border: 1px solid #d8d8d8 !important;
	border-radius: 8px !important;
	outline: none !important;
	background: #fff !important;
	color: #222 !important;
	box-shadow: none !important;
	transition: border-color 0.2s ease;
}

.sat-input:focus {
	border-color: #6b4fbb !important;
}

.sat-button {
	padding: 14px 28px !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	color: #fff !important;
	background: #6b4fbb !important;
	background-image: none !important;
	border: none !important;
	border-radius: 8px !important;
	box-shadow: none !important;
	text-shadow: none !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.1s ease;
}

.sat-button:hover {
	background: #5a3fa5 !important;
	color: #fff !important;
}

.sat-button:active {
	transform: scale(0.98);
}

.sat-loading {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 20px;
	font-size: 15px;
	color: #555;
}

.sat-spinner {
	width: 20px;
	height: 20px;
	border: 3px solid #ddd;
	border-top-color: #6b4fbb;
	border-radius: 50%;
	animation: sat-spin 0.8s linear infinite;
}

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

.sat-error {
	margin-top: 16px;
	padding: 12px 16px;
	background: #fdecea;
	color: #a02525;
	border-radius: 8px;
	font-size: 14px;
}

.sat-results {
	margin-top: 28px;
}

.sat-score-preview {
	text-align: center;
	padding: 28px;
	border-radius: 12px;
	background: #f7f5fc;
}

.sat-score-number {
	font-size: 56px;
	font-weight: 800;
	line-height: 1;
}

.sat-score-number.sat-good { color: #2a9d63; }
.sat-score-number.sat-ok   { color: #d69e2e; }
.sat-score-number.sat-bad  { color: #d64545; }

.sat-score-label {
	margin-top: 6px;
	font-size: 14px;
	color: #666;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.sat-email-gate {
	margin-top: 20px;
	padding: 20px;
	background: #fafafa;
	border-radius: 10px;
	text-align: center;
}

.sat-email-gate p {
	margin: 0 0 12px;
	font-weight: 600;
}

.sat-full-report {
	margin-top: 20px;
}

.sat-check-row {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 0;
	border-bottom: 1px solid #eee;
}

.sat-check-row:last-child {
	border-bottom: none;
}

.sat-check-icon {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
}

.sat-check-icon.sat-pass { background: #2a9d63; }
.sat-check-icon.sat-warn { background: #d69e2e; }
.sat-check-icon.sat-fail { background: #d64545; }

.sat-check-body strong {
	display: block;
	font-size: 15px;
	margin-bottom: 2px;
}

.sat-check-body span {
	font-size: 14px;
	color: #555;
}

/* Competitor toggle + field */
.sat-toggle-competitor {
	display: inline-block;
	margin-top: 12px !important;
	margin-bottom: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding: 0 !important;
	background: none !important;
	background-image: none !important;
	border: none !important;
	box-shadow: none !important;
	text-shadow: none !important;
	color: #6b4fbb !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	border-radius: 0 !important;
	cursor: pointer;
	text-decoration: underline;
	width: auto !important;
	height: auto !important;
	line-height: normal !important;
}

.sat-toggle-competitor:hover {
	background: none !important;
	color: #5a3fa5 !important;
}

.sat-competitor-field {
	margin-top: 10px;
}

/* Section titles (used by both competitor + page speed sections) */
.sat-section-title {
	margin: 28px 0 14px;
	font-size: 17px;
	font-weight: 700;
}

/* Competitor comparison bars */
.sat-compare-row {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}

.sat-compare-label {
	flex: 0 0 140px;
	font-size: 13px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sat-compare-bar-track {
	flex: 1;
	height: 14px;
	background: #eee;
	border-radius: 7px;
	overflow: hidden;
}

.sat-compare-bar {
	height: 100%;
	border-radius: 7px;
	transition: width 0.5s ease;
}

.sat-compare-bar-you {
	background: #6b4fbb;
}

.sat-compare-bar-them {
	background: #aaa;
}

.sat-compare-score {
	flex: 0 0 30px;
	text-align: right;
	font-weight: 700;
	font-size: 14px;
}

/* Outbound links (Option A) */
.sat-outbound-links {
	margin-top: 18px;
}

.sat-outbound-title {
	font-size: 13px;
	font-weight: 600;
	color: #555;
	margin: 0 0 8px;
}

.sat-outbound-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.sat-outbound-chip {
	display: inline-block;
	padding: 5px 12px;
	background: #f0edf7;
	color: #6b4fbb;
	border-radius: 999px;
	font-size: 12px;
	cursor: default;
}

/* Link mentions (Option B) */
.sat-mentions-note {
	font-size: 12px;
	color: #888;
	margin: -6px 0 14px;
}

.sat-mentions-subtitle {
	font-size: 14px;
	font-weight: 700;
	margin: 18px 0 10px;
}

.sat-mentions-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.sat-mention-card {
	display: block;
	padding: 12px 14px;
	border: 1px solid #eee;
	border-radius: 8px;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.2s ease;
}

.sat-mention-card:hover {
	border-color: #6b4fbb;
}

.sat-mention-title {
	font-size: 14px;
	font-weight: 600;
	color: #6b4fbb;
	margin-bottom: 4px;
}

.sat-mention-snippet {
	font-size: 13px;
	color: #555;
	margin-bottom: 4px;
}

.sat-mention-url {
	font-size: 11px;
	color: #999;
	word-break: break-all;
}

.sat-mentions-empty {
	font-size: 13px;
	color: #888;
}

/* Page Speed scores */
.sat-ps-scores {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	margin-bottom: 20px;
}

.sat-ps-score-card {
	text-align: center;
	padding: 16px 8px;
	background: #f7f5fc;
	border-radius: 10px;
}

.sat-ps-score-number {
	font-size: 28px;
	font-weight: 800;
	line-height: 1;
}

.sat-ps-score-number.sat-good { color: #2a9d63; }
.sat-ps-score-number.sat-ok   { color: #d69e2e; }
.sat-ps-score-number.sat-bad  { color: #d64545; }

.sat-ps-score-label {
	margin-top: 6px;
	font-size: 12px;
	color: #666;
}

/* Core Web Vitals */
.sat-ps-vitals {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.sat-ps-vital-card {
	text-align: center;
	padding: 14px 8px;
	border: 1px solid #eee;
	border-radius: 10px;
}

.sat-ps-vital-label {
	font-size: 13px;
	font-weight: 700;
	color: #6b4fbb;
}

.sat-ps-vital-value {
	font-size: 20px;
	font-weight: 700;
	margin: 4px 0;
}

.sat-ps-vital-name {
	font-size: 11px;
	color: #777;
}

@media (max-width: 480px) {
	.sat-ps-scores,
	.sat-ps-vitals {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Report action buttons */
.sat-report-actions {
	display: flex;
	gap: 10px;
	margin-top: 24px;
	flex-wrap: wrap;
}

.sat-action-btn {
	flex: 1 1 200px;
	padding: 12px 20px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	background: #fff !important;
	background-image: none !important;
	color: #6b4fbb !important;
	border: 1.5px solid #6b4fbb !important;
	border-radius: 8px !important;
	box-shadow: none !important;
	text-shadow: none !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	cursor: pointer;
	transition: background 0.2s ease;
}

.sat-action-btn:hover {
	background: #f7f5fc !important;
	color: #6b4fbb !important;
}

.sat-email-report-form {
	margin-top: 12px;
	padding: 16px;
	background: #fafafa;
	border-radius: 10px;
}

.sat-email-report-status {
	margin-top: 8px;
	font-size: 13px;
	color: #555;
}

/* Note: the printable PDF report is rendered in a separate browser
   window (see downloadPdf() / SAT_PRINT_CSS in seo-audit.js) with its
   own self-contained inline styles, so it isn't affected by this
   stylesheet or the site's theme/print CSS. No print-specific rules
   are needed here. */
