/**
 * FRL SEO Scan – front-end form styles.
 * Kept minimal and theme-neutral; override via .frl-seo-scan in your theme.
 *
 * @since 0.1.0
 */
.frl-seo-scan {
	/* Follows the theme's variables when present, otherwise the FRL house style. */
	--frl-scan-accent: var(--accent, var(--karmijn, #2563EB));
	--frl-scan-ink: var(--ink, #16232C);
	--frl-scan-radius: 10px;
	position: relative;
	max-width: 560px;
	margin: 0 auto;
	font-family: inherit;
	color: var(--frl-scan-ink);
}
.frl-seo-scan__row { margin-bottom: 14px; }
.frl-seo-scan__label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 6px;
}
.frl-seo-scan__input {
	width: 100%;
	box-sizing: border-box;
	padding: 14px 16px;
	font-size: 16px; /* prevents iOS zoom */
	border: 1px solid #d5d9e0;
	border-radius: var(--frl-scan-radius);
	background: #fff;
	color: var(--frl-scan-ink);
}
.frl-seo-scan__input:focus {
	outline: 2px solid var(--frl-scan-accent);
	outline-offset: 1px;
	border-color: var(--frl-scan-accent);
}
.frl-seo-scan__consent label {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 13px;
	line-height: 1.45;
	color: #4a5660;
}
.frl-seo-scan__consent input { margin-top: 3px; flex: 0 0 auto; }
.frl-seo-scan__consent a { color: var(--frl-scan-accent); }

/* Honeypot: visually gone, still in the DOM for bots. */
.frl-seo-scan__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px; height: 1px; overflow: hidden;
}

.frl-seo-scan__button {
	display: block;
	width: 100%;
	padding: 16px 20px;
	font-size: 17px;
	font-weight: 700;
	color: #fff;
	background: var(--frl-scan-accent);
	border: 0;
	border-radius: var(--frl-scan-radius);
	cursor: pointer;
	transition: filter .15s ease, transform .05s ease;
}
.frl-seo-scan__button:hover { filter: brightness(.92); }
.frl-seo-scan__button:active { transform: translateY(1px); }
.frl-seo-scan__button:disabled { opacity: .6; cursor: wait; }

.frl-seo-scan__message {
	margin-top: 12px;
	font-size: 14px;
	line-height: 1.5;
	min-height: 1.5em;
}
.frl-seo-scan__message.is-error   { color: #b3261e; }
.frl-seo-scan__message.is-success { color: #1e9e5a; }
.frl-seo-scan.is-done .frl-seo-scan__row,
.frl-seo-scan.is-done .frl-seo-scan__button { display: none; }
.frl-seo-scan.is-done .frl-seo-scan__message { font-size: 16px; }
