/* WT Waitlist - frontend form */

.wt-waitlist-form {
	margin: 1.5em 0;
	padding: 1.25em 1.5em;
	background: #fafafa;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	max-width: 540px;
}

.wt-waitlist-form[hidden] {
	display: none;
}

.wt-waitlist-heading {
	font-size: 1.15em;
	font-weight: 600;
	margin: 0 0 0.4em;
	color: #222;
}

.wt-waitlist-copy {
	font-size: 0.9em;
	color: #555;
	margin: 0 0 1em;
	line-height: 1.45;
}

.wt-waitlist-row {
	display: flex;
	gap: 8px;
	margin-bottom: 0.75em;
}

.wt-waitlist-row input[type="email"] {
	flex: 1;
	padding: 0.55em 0.75em;
	font-size: 0.95em;
	border: 1px solid #ccc;
	border-radius: 4px;
	background: #fff;
	color: #222;
	min-width: 0;
}

.wt-waitlist-row input[type="email"]:focus {
	outline: 2px solid #AB2844;
	outline-offset: 1px;
	border-color: #AB2844;
}

.wt-waitlist-button {
	padding: 0.55em 1.1em;
	font-size: 0.95em;
	font-weight: 600;
	background: #AB2844;
	color: #fff;
	border: 1px solid #8E1E35;
	border-radius: 4px;
	cursor: pointer;
	transition: background 0.15s ease;
}

.wt-waitlist-button:hover:not(:disabled),
.wt-waitlist-button:focus:not(:disabled) {
	background: #8E1E35;
}

.wt-waitlist-button:disabled {
	opacity: 0.6;
	cursor: default;
}

.wt-waitlist-consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 0.82em;
	color: #555;
	line-height: 1.4;
	cursor: pointer;
}

.wt-waitlist-consent input[type="checkbox"] {
	margin-top: 0.2em;
	flex-shrink: 0;
}

.wt-waitlist-consent a {
	color: #AB2844;
	text-decoration: underline;
}

.wt-waitlist-honeypot {
	position: absolute;
	left: -9999px;
	top: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.wt-waitlist-message {
	margin-top: 0.75em;
	padding: 0.6em 0.85em;
	font-size: 0.88em;
	border-radius: 4px;
	line-height: 1.4;
	display: none;
}

.wt-waitlist-message:not(:empty) {
	display: block;
}

.wt-waitlist-message--success {
	background: #e7f5ea;
	color: #1d6f3a;
	border: 1px solid #b8e0c4;
}

.wt-waitlist-message--error {
	background: #fbeaea;
	color: #8e1e1e;
	border: 1px solid #e7b2b2;
}

.wt-waitlist-form--done {
	background: #f2faf4;
	border-color: #c4e3cf;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

@media (max-width: 480px) {
	.wt-waitlist-row {
		flex-direction: column;
	}
}
