.seocast-scan-wrapper {
	max-width: 100%;
	margin: 1em 0;
	font-family: inherit;
	color: inherit;
}

.seocast-scan-admin-notice {
	margin-bottom: 1em;
	padding: 0.75em 1em;
	border: 1px solid #d63638;
	border-radius: 4px;
	background: #fcf0f1;
	color: #d63638;
	font-size: 0.9em;
}

.seocast-scan-field {
	margin-bottom: 1em;
}

.seocast-scan-field label {
	display: block;
	margin-bottom: 0.35em;
	font-weight: 600;
}

.seocast-scan-field-checkbox label {
	display: flex;
	align-items: flex-start;
	gap: 0.5em;
	font-weight: normal;
}

.seocast-scan-field input[type='text'],
.seocast-scan-field input[type='email'] {
	width: 100%;
	box-sizing: border-box;
	padding: 0.6em 0.75em;
	font-size: 1em;
	font-family: inherit;
	border: 1px solid currentColor;
	border-radius: 4px;
	background: transparent;
	color: inherit;
}

.seocast-scan-field input:focus,
.seocast-scan-submit:focus,
.seocast-scan-copy:focus,
.seocast-scan-cta:focus {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.seocast-scan-errors {
	min-height: 1.2em;
	margin-bottom: 1em;
	color: #b32d2e;
	font-size: 0.9em;
}

.seocast-scan-submit {
	padding: 0.7em 1.5em;
	font-size: 1em;
	font-family: inherit;
	border: 1px solid currentColor;
	border-radius: 4px;
	background: transparent;
	color: inherit;
	cursor: pointer;
}

.seocast-scan-submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.seocast-scan-progress {
	margin-top: 1em;
}

.seocast-scan-progress-bar {
	height: 0.6em;
	border-radius: 999px;
	background: rgba(127, 127, 127, 0.25);
	overflow: hidden;
}

.seocast-scan-progress-bar-fill {
	height: 100%;
	width: 0%;
	background: currentColor;
	transition: width 0.3s ease;
}

.seocast-scan-proposal {
	margin-top: 1.5em;
	padding: 1em;
	border: 1px solid rgba(127, 127, 127, 0.35);
	border-radius: 6px;
}

.seocast-scan-rationale {
	margin-top: 0.4em;
	font-size: 0.85em;
	font-style: italic;
	opacity: 0.8;
}

.seocast-scan-single-run-note,
.seocast-scan-progress-email-note {
	font-size: 0.85em;
	font-style: italic;
	opacity: 0.8;
	margin: 1em 0;
}

.seocast-scan-field textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 0.6em 0.75em;
	font-size: 1em;
	font-family: inherit;
	border: 1px solid currentColor;
	border-radius: 4px;
	background: transparent;
	color: inherit;
	resize: vertical;
}

.seocast-scan-results {
	margin-top: 1.5em;
}

.seocast-scan-score {
	font-size: 1.3em;
	font-weight: 700;
}

.seocast-scan-fixes {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1em;
	margin: 1em 0;
}

.seocast-scan-fix-card {
	border: 1px solid rgba(127, 127, 127, 0.35);
	border-radius: 6px;
	padding: 1em;
}

.seocast-scan-fix-card pre {
	white-space: pre-wrap;
	word-break: break-word;
	font-size: 0.85em;
	max-height: 12em;
	overflow: auto;
	background: rgba(127, 127, 127, 0.08);
	padding: 0.75em;
	border-radius: 4px;
}

.seocast-scan-copy {
	padding: 0.4em 0.9em;
	font-size: 0.85em;
	font-family: inherit;
	border: 1px solid currentColor;
	border-radius: 4px;
	background: transparent;
	color: inherit;
	cursor: pointer;
}

.seocast-scan-unsolved {
	padding-left: 1.2em;
}

.seocast-scan-cta {
	display: inline-block;
	margin-top: 1em;
	padding: 0.7em 1.5em;
	border: 1px solid currentColor;
	border-radius: 4px;
	text-decoration: none;
	color: inherit;
}

@media (min-width: 40rem) {
	.seocast-scan-fixes {
		grid-template-columns: 1fr 1fr;
	}
}
