/**
 * Vendor Waitlist - frontend styles.
 */

.vw-form {
	max-width: 480px;
	margin: 2em auto;
	padding: 1.5em;
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
	font-family: inherit;
}

.vw-form h2.vw-form-title {
	margin-top: 0;
	margin-bottom: 0.5em;
	font-size: 1.4em;
}

.vw-form .vw-field {
	margin-bottom: 1em;
}

.vw-form label {
	display: block;
	margin-bottom: 0.35em;
	font-weight: 600;
	font-size: 0.95em;
}

.vw-form input[type="text"],
.vw-form input[type="email"],
.vw-form input[type="tel"],
.vw-form textarea {
	width: 100%;
	padding: 0.6em 0.8em;
	border: 1px solid #c4c4c4;
	border-radius: 4px;
	box-sizing: border-box;
	font-size: 1em;
}

.vw-form textarea {
	min-height: 90px;
}

.vw-form .vw-consent {
	font-size: 0.9em;
	display: flex;
	gap: 0.5em;
	align-items: flex-start;
}

.vw-form .vw-consent input {
	margin-top: 0.25em;
}

.vw-form button.vw-submit,
.vw-form input[type="submit"].vw-submit {
	background: #2271b1;
	color: #fff;
	border: none;
	padding: 0.7em 1.4em;
	border-radius: 4px;
	cursor: pointer;
	font-size: 1em;
}

.vw-form button.vw-submit:hover,
.vw-form input[type="submit"].vw-submit:hover {
	background: #135e96;
}

.vw-form button.vw-submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.vw-form .vw-message {
	padding: 0.8em 1em;
	border-radius: 4px;
	margin: 0.5em 0 1em;
}

.vw-form .vw-message-success {
	background: #dff5e0;
	color: #1e6b1e;
	border: 1px solid #b6e2b8;
}

.vw-form .vw-message-error {
	background: #fde8e8;
	color: #8a1c1c;
	border: 1px solid #f3b8b8;
}

.vw-form .vw-website {
	position: absolute;
	left: -9999px;
	height: 0;
	width: 0;
	overflow: hidden;
}

.vw-closed {
	max-width: 480px;
	margin: 2em auto;
	padding: 1.5em;
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	text-align: center;
	font-style: italic;
	color: #50575e;
}
