.form-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	color: white;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 20;
	background-color: #f2f2f2
}

.form-container {
	position: fixed;
	width: 50%;
	max-width: 580px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	padding: 48px;
	background-color: #ffffff;
	border: 1px solid #dcdfdf;
	border-radius: 12px;
	display: none;
	flex-direction: column;
	justify-content: center;
}

.header {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 12px; /* Adds space between header and subheader */
}

form {
	margin-top: 24px;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	text-align: left;
    margin-bottom: 12px;
}
label {
	margin-bottom: 8px;
	font-family: "Outfit", sans-serif;
	font-size: 14px;
	color: #414346;
}

input {
	margin-bottom: 24px;
	border: 1px solid #f1f1f1;
	border-radius: 4px;
	padding: 16px;
	font-family: "Outfit", sans-serif;
	font-size: 16px;
	color: #666666;
}
input.error {
	border: 1px solid #C80000;
}
button {
	padding: 10px 24px;
	background-color: #414346;
	color: #fcfdfd;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	font-family: "Outfit", sans-serif;
	font-size: 16px;
	font-style: normal;
}
button:hover {
	background-color: #292a2c;
}
.checkbox-input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}

.checkbox-input + label {
	position: relative;
	padding-left: 28px;
	cursor: pointer;
	display: inline-block;
	line-height: 20px;
}

.checkbox-input + label:before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 18px;
	height: 18px;
	border: 1px solid #b0b0b0;
	background-color: transparent;
	border-radius: 6px;
}

.checkbox-input:checked + label:after {
	content: "\2713";
	position: absolute;
	left: 5px;
	top: -1px;
	color: #414346;
}

.checkbox-input.error + label:before {
	border-color: #C80000;
}

#form-header, #form-subhead {
    margin: 0;
    padding: 0;
}

.header {
    margin-bottom: 24px;
}
