/**
 * SOLO Serial Lookup styles.
 *
 * Deliberately minimal so the active theme controls typography and color.
 * Every rule is scoped under .solo-sl to avoid leaking into the theme.
 */

.solo-sl {
	max-width: 32rem;
	margin: 0 auto;
	text-align: center;
}

.solo-sl__title {
	margin: 0 0 0.75rem;
}

.solo-sl__form {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
}

.solo-sl__input {
	width: 100%;
	padding: 0.65rem 0.85rem;
	font-size: 1.05rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border: 1px solid #ccc;
	border-radius: 3px;
	box-sizing: border-box;
}

.solo-sl__button {
	cursor: pointer;
	padding: 0.6rem 1.4rem;
	font-size: 1rem;
}

.solo-sl__button[disabled] {
	opacity: 0.6;
	cursor: progress;
}

/* Honeypot: hidden from humans without using display:none, which some bots detect. */
.solo-sl__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.solo-sl__result {
	margin-top: 1rem;
	padding: 0.85rem 1rem;
	border: 1px solid #ddd;
	border-radius: 3px;
	background: #fff;
	color: #222;
	min-height: 1.5rem;
	word-break: break-word;
}

.solo-sl__result--error {
	border-color: #d9534f;
	color: #a12622;
}

.solo-sl__result--success {
	border-color: #3c9a3c;
}

.solo-sl__code {
	display: block;
	margin-top: 0.5rem;
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	background: none;
	padding: 0;
	user-select: all;
}

.solo-sl__copy {
	margin-top: 0.6rem;
	padding: 0.3rem 0.8rem;
	font-size: 0.85rem;
	cursor: pointer;
}

.solo-sl__help {
	margin-top: 1rem;
	font-size: 0.9rem;
	opacity: 0.85;
}

/* Fallback in case the theme does not define WordPress's screen reader class. */
.solo-sl .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
