.ezze-beta-apply {
	max-width: 36rem;
	margin: 0 auto;
	--ezze-beta-brand: #0062D2;
	--ezze-beta-brand-hover: #160647;
	--ezze-beta-brand-dark: #004DA8;
}

.ezze-beta-apply__notice {
	padding: 0.75rem 1rem;
	border-radius: 6px;
	margin-bottom: 1.25rem;
}

.ezze-beta-apply__notice--success {
	background: #ecfdf5;
	border: 1px solid #6ee7b7;
	color: #065f46;
}

.ezze-beta-apply__notice--error {
	background: #fef2f2;
	border: 1px solid #fca5a5;
	color: #991b1b;
}

.ezze-beta-apply__notice--info {
	background: #eff6ff;
	border: 1px solid #93c5fd;
	color: #1e40af;
}

.ezze-beta-apply__name-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin-bottom: 0;
}

@media (max-width: 540px) {
	.ezze-beta-apply__name-row {
		grid-template-columns: 1fr;
	}
}

.ezze-beta-apply__name-row .ezze-beta-apply__field {
	margin-bottom: 0;
}

.ezze-beta-apply__name-row + .ezze-beta-apply__field,
.ezze-beta-apply__name-row + p.ezze-beta-apply__field {
	margin-top: 1rem;
}

.ezze-beta-apply__field {
	margin-bottom: 1rem;
}

.ezze-beta-apply__field label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.35rem;
}

.ezze-beta-apply__field .required {
	color: #b91c1c;
}

.ezze-beta-apply__field input[type="text"],
.ezze-beta-apply__field input[type="email"],
.ezze-beta-apply__field input[type="url"],
.ezze-beta-apply__field textarea {
	width: 100%;
	padding: 0.5rem 0.65rem;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	box-sizing: border-box;
}

.ezze-beta-apply__field .description {
	display: block;
	margin-top: 0.35rem;
	font-size: 0.875rem;
	color: #64748b;
}

.ezze-beta-apply__checkbox label {
	font-weight: 400;
	display: flex;
	gap: 0.5rem;
	align-items: flex-start;
}

.ezze-beta-apply__checkbox input[type="checkbox"] {
	margin-top: 0.2rem;
	flex-shrink: 0;
}

.ezze-beta-apply__checkbox-text {
	flex: 1;
	min-width: 0;
	line-height: 1.55;
	color: #334155;
}

.ezze-beta-apply .ezze-beta-apply__legal-link,
.ezze-beta-apply__checkbox-text a {
	display: inline;
	color: var(--ezze-beta-brand);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
	text-decoration-color: var(--ezze-beta-brand);
	transition: color 0.15s ease, text-decoration-color 0.15s ease, box-shadow 0.15s ease;
}

.ezze-beta-apply .ezze-beta-apply__legal-link:hover,
.ezze-beta-apply__checkbox-text a:hover {
	color: #004078;
	text-decoration-thickness: 2px;
	text-decoration-color: #004078;
}

.ezze-beta-apply .ezze-beta-apply__legal-link:focus,
.ezze-beta-apply__checkbox-text a:focus {
	outline: none;
}

.ezze-beta-apply .ezze-beta-apply__legal-link:focus-visible,
.ezze-beta-apply__checkbox-text a:focus-visible {
	color: #004078;
	outline: 2px solid var(--ezze-beta-brand);
	outline-offset: 3px;
	border-radius: 2px;
	text-decoration-thickness: 2px;
}

.ezze-beta-apply .ezze-beta-apply__legal-link:visited,
.ezze-beta-apply__checkbox-text a:visited {
	color: #004DA8;
	text-decoration-color: #004DA8;
}

.ezze-beta-apply__submit {
	background: var(--ezze-beta-brand);
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 0.65rem 1.25rem;
	font-weight: 600;
	cursor: pointer;
}

.ezze-beta-apply__submit:hover,
.ezze-beta-apply__submit:focus {
	background: var(--ezze-beta-brand-hover);
}

.ezze-beta-apply__hp {
	position: absolute;
	left: -9999px;
	height: 0;
	overflow: hidden;
}

.ezze-beta-apply__field--turnstile {
	margin-top: 0.5rem;
	margin-bottom: 1rem;
}
