/* Wachtlijst — Karaoke page (section#wachtlijst). */
.kantan-wachtlijst {
	display: flex;
	flex-direction: column;
	gap: 22px;
	max-width: 972px; /* design: 860px content + 2 × 56px padding (content-box) */
	margin: 0 auto;
	padding: clamp(28px, 5vw, 56px);
	border-radius: var(--kantan-radius-lg);
	background: var(--kantan-pink);
	color: var(--kantan-night);
	transform: rotate(-1deg);
}

.kantan-wachtlijst__title {
	margin: 0;
	color: var(--kantan-night);
	font-family: var(--kantan-font-display);
	font-size: clamp(32px, 4.5vw, 56px);
	font-weight: 400;
	line-height: 1;
}

.kantan-wachtlijst__text {
	margin: 0;
	color: #22302a;
	font-size: 17px;
	line-height: 1.6;
}

/* Contact Form 7: the form inside the card. Styles CF7's own classes, so it keeps working
   when fields are added or the layout markup in the form template changes. */
.kantan-wachtlijst .wpcf7 form {
	display: flex;
	flex-direction: column;
	gap: 22px;
	margin: 0;
}

.kantan-wachtlijst .wpcf7 form > p {
	margin: 0;
}

.kantan-wachtlijst__fields {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.kantan-wachtlijst__field {
	display: flex;
	flex: 1 1 260px;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
	font-size: 14px;
	font-weight: 700;
}

.kantan-wachtlijst__field--email {
	flex: 2 1 320px;
}

.kantan-wachtlijst .wpcf7-form-control-wrap {
	display: block;
}

.kantan-wachtlijst .wpcf7-text,
.kantan-wachtlijst .wpcf7-email,
.kantan-wachtlijst .wpcf7-tel,
.kantan-wachtlijst .wpcf7-number,
.kantan-wachtlijst .wpcf7-select {
	width: 100%;
	height: 58px;
	padding: 0 22px;
	border: 2px solid var(--kantan-night);
	border-radius: var(--kantan-radius-pill);
	background: var(--kantan-rice);
	color: var(--kantan-night);
	font: inherit;
	font-size: 16px;
	font-weight: 400;
}

.kantan-wachtlijst .wpcf7-textarea {
	width: 100%;
	padding: 16px 22px;
	border: 2px solid var(--kantan-night);
	border-radius: var(--kantan-radius-md);
	background: var(--kantan-rice);
	color: var(--kantan-night);
	font: inherit;
	font-size: 16px;
	font-weight: 400;
}

.kantan-wachtlijst .wpcf7-form-control:focus {
	outline: 3px solid var(--kantan-night);
	outline-offset: 2px;
}

.kantan-wachtlijst .wpcf7-checkbox,
.kantan-wachtlijst .wpcf7-acceptance {
	display: block;
}

.kantan-wachtlijst .wpcf7-list-item {
	display: block;
	margin: 0;
}

.kantan-wachtlijst .wpcf7-list-item + .wpcf7-list-item {
	margin-top: 8px;
}

.kantan-wachtlijst .wpcf7-list-item label {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 15px;
	cursor: pointer;
}

.kantan-wachtlijst .wpcf7-list-item-label::before,
.kantan-wachtlijst .wpcf7-list-item-label::after {
	content: none;
}

.kantan-wachtlijst .wpcf7-list-item input {
	flex: none;
	width: 22px;
	height: 22px;
	margin: 0;
	accent-color: var(--kantan-night);
}

.kantan-wachtlijst__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.kantan-wachtlijst .wpcf7-submit {
	align-self: flex-start;
	height: 60px;
	padding: 0 36px;
	border: 0;
	border-radius: var(--kantan-radius-pill);
	background: var(--kantan-night);
	color: var(--kantan-cream);
	font-family: var(--kantan-font-display);
	font-size: 18px;
	font-weight: 400;
	line-height: 1;
	cursor: pointer;
}

.kantan-wachtlijst .wpcf7-submit:hover,
.kantan-wachtlijst .wpcf7-submit:focus-visible {
	background: var(--kantan-night-card);
	color: var(--kantan-cream);
}

.kantan-wachtlijst .wpcf7-submit:disabled {
	opacity: 0.6;
	cursor: wait;
}

.kantan-wachtlijst .wpcf7-spinner {
	flex: none;
	margin: 0 16px;
	background-color: var(--kantan-night);
}

.kantan-wachtlijst .wpcf7-not-valid-tip {
	margin-top: 6px;
	padding-left: 22px;
	color: var(--kantan-alert);
	font-size: 14px;
	font-weight: 700;
}

.kantan-wachtlijst .wpcf7 form .wpcf7-response-output {
	margin: 0;
	padding: 14px 18px;
	border: 0;
	border-radius: 16px;
	background: var(--kantan-rice);
	color: var(--kantan-night);
	font-weight: 700;
}

.kantan-wachtlijst .wpcf7 form.sent .wpcf7-response-output {
	background: var(--kantan-matcha);
}

.kantan-wachtlijst__privacy {
	margin: 0;
	color: #22302a;
	font-size: 13px;
}

.kantan-wachtlijst__privacy a {
	color: inherit;
}

.kantan-wachtlijst__notice {
	margin: 0;
	padding: 14px 18px;
	border: 2px dashed var(--kantan-night);
	border-radius: 16px;
}

.kantan-wachtlijst__hp {
	position: absolute;
	left: -9999px;
}

@media (max-width: 767px) {
	.kantan-wachtlijst {
		transform: none;
	}

	/* Full-width button; the spinner sits inside it instead of taking a row of its own. */
	.kantan-wachtlijst__actions {
		position: relative;
	}

	.kantan-wachtlijst .wpcf7-submit {
		flex: 1 1 100%;
	}

	.kantan-wachtlijst .wpcf7-spinner {
		position: absolute;
		top: 50%;
		right: 18px;
		margin: -12px 0 0;
		background-color: var(--kantan-cream);
	}

	.kantan-wachtlijst .wpcf7-spinner::before {
		background-color: var(--kantan-night);
	}
}

/* Motion: the result message pops in. */
@media (prefers-reduced-motion: no-preference) {
	.kantan-wachtlijst .wpcf7 form:is(.sent, .invalid, .failed, .spam, .aborted) .wpcf7-response-output {
		animation: kantan-pop 0.35s ease;
	}
}
