.wte-form-wrap {
	width: 100%;
	max-width: 100%;
	margin: 2em 0;
	padding: 2em 2.25em;
	background: #fff;
	border: 1px solid #e2dcd5;
	border-radius: 10px;
	box-shadow: 0 4px 20px rgba(20, 14, 10, 0.06);
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #2b2420;
	box-sizing: border-box;
}

.wte-form-wrap *,
.wte-form-wrap *::before,
.wte-form-wrap *::after {
	box-sizing: border-box;
}

.wte-form-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25em;
}

@media (min-width: 600px) {
	.wte-form-grid {
		grid-template-columns: 1fr 1fr;
	}

	.wte-field--full {
		grid-column: 1 / -1;
	}
}

.wte-field label {
	display: block;
	font-size: 0.8em;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #7c6f60;
	margin-bottom: 0.45em;
}

.wte-form input[type="text"],
.wte-form input[type="email"],
.wte-form input[type="tel"],
.wte-form input[type="number"],
.wte-form textarea {
	width: 100%;
	padding: 0.7em 0.85em;
	font-size: 1em;
	font-family: inherit;
	color: #2b2420;
	background-color: #fbfaf8;
	border: 1px solid #d8d1c8;
	border-radius: 6px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.wte-form input[type="text"],
.wte-form input[type="email"],
.wte-form input[type="tel"],
.wte-form input[type="number"] {
	resize: none;
}

.wte-form textarea {
	resize: vertical;
}

.wte-form input[type="text"]:focus,
.wte-form input[type="email"]:focus,
.wte-form input[type="tel"]:focus,
.wte-form input[type="number"]:focus,
.wte-form textarea:focus {
	outline: none;
	background-color: #fff;
	border-color: #7c2d3a;
	box-shadow: 0 0 0 3px rgba(124, 45, 58, 0.14);
}

.wte-event-options {
	display: flex;
	flex-direction: column;
	gap: 0.75em;
}

.wte-event-option {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 0.75em;
	padding: 0.85em 1em;
	background-color: #fbfaf8;
	border: 1px solid #d8d1c8;
	border-radius: 8px;
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.wte-event-option:hover {
	border-color: #c2392f44;
}

.wte-event-option:has(input:checked) {
	background-color: #fbf2f0;
	border-color: #7c2d3a;
	box-shadow: 0 0 0 3px rgba(124, 45, 58, 0.12);
}

.wte-event-option input[type="radio"] {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	flex: 0 0 auto;
	width: 1.2em;
	height: 1.2em;
	margin: 0.15em 0 0;
	border: 2px solid #c7bdb0;
	border-radius: 50%;
	cursor: pointer;
	position: relative;
	transition: border-color 0.15s ease;
}

.wte-event-option input[type="radio"]:checked {
	border-color: #7c2d3a;
}

.wte-event-option input[type="radio"]:checked::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0.55em;
	height: 0.55em;
	background-color: #7c2d3a;
	border-radius: 50%;
	transform: translate(-50%, -50%);
}

.wte-event-option input[type="radio"]:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px rgba(124, 45, 58, 0.3);
}

.wte-event-option__content {
	display: flex;
	flex-direction: column;
	gap: 0.25em;
}

.wte-event-option__name {
	font-weight: 600;
	color: #2b2420;
}

.wte-event-option__meta {
	font-size: 0.85em;
	color: #6b5d4f;
}

.wte-event-option__status {
	font-size: 0.78em;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #3f9142;
}

.wte-event-option.is-full {
	cursor: not-allowed;
	background-color: #f1efec;
	opacity: 0.65;
}

.wte-event-option.is-full input[type="radio"] {
	cursor: not-allowed;
}

.wte-event-option.is-full .wte-event-option__status {
	color: #b3392f;
}

.wte-form-actions {
	margin-top: 1.75em;
	text-align: right;
}

.wte-submit {
	display: inline-block;
	padding: 0.75em 2em;
	font-size: 1em;
	font-weight: 600;
	font-family: inherit;
	color: #fff;
	background-color: #7c2d3a;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: background-color 0.15s ease, transform 0.05s ease, box-shadow 0.15s ease;
}

.wte-submit:hover {
	background-color: #66242f;
}

.wte-submit:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px rgba(124, 45, 58, 0.3);
}

.wte-submit:active {
	transform: translateY(1px);
}

.wte-notice {
	display: flex;
	align-items: flex-start;
	gap: 0.6em;
	padding: 0.85em 1em;
	margin-bottom: 1.5em;
	border-radius: 6px;
	border-left: 4px solid;
	font-size: 0.95em;
	line-height: 1.4;
}

.wte-notice::before {
	flex: 0 0 auto;
	font-weight: 700;
}

.wte-notice-success {
	background-color: #eef7ee;
	border-color: #3f9142;
	color: #234d26;
}

.wte-notice-success::before {
	content: "\2713";
}

.wte-notice-error {
	background-color: #fbeceb;
	border-color: #b3392f;
	color: #7a231b;
}

.wte-notice-error::before {
	content: "!";
}

@media (max-width: 599px) {
	.wte-form-wrap {
		margin: 1em;
		padding: 1.5em;
	}

	.wte-form-actions {
		text-align: stretch;
	}

	.wte-submit {
		width: 100%;
	}
}
