.form-wrapper {
	width: 100%;
	background-color: rgb(85, 42, 42);
	padding: 45px 0;
	box-sizing: border-box;
	font-family: var(--font-en-1-medium);
	background-image: url(../../img/flag/bg_form.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 50%;
	color: white;
}

.form-wrapper h2,
h3 {
	font-size: 26px;
	color: rgb(41, 41, 41);
	text-transform: uppercase;
	text-align: center;
}

.form-wrapper h2 {
	margin: 10px auto 20px;
	line-height: 1.4em;
}

#errorMessage {
	color: red;
	margin: 20px 0 10px 20px;
}

.form-wrapper p {
	font-family: var(--font-en-1-light);
	max-width: 400px;
	margin-left: 20px;
	line-height: 1.4em;
	text-shadow: 0px 0px 4px rgb(32, 32, 32);
}

.form-wrapper h3 {
	font-size: 16px;
}

form[name="formRequest"] {
	max-width: 1400px;
	margin: 0 auto;
}

form[name="formRequest"] > div {
	display: flex;
	flex-direction: row;
	justify-content: center;
}

.shipreg-post button,
.shipreg-post input {
	box-sizing: border-box;
	width: 400px;
	margin: 15px;
	padding: 10px;
	border-radius: 5px;
}

.shipreg-post input {
	display: block;
	background-color: rgba(39, 39, 39, 0.4);
	border: none;
	border-bottom: 2px solid white;
	backdrop-filter: blur(4px);
	color: white;
	outline-color: white;
}

.shipreg-post input::placeholder {
	color: rgb(216, 216, 216);
	font-family: var(--font-en-1-light);
	transition: transform 0.5s;
}

.shipreg-post input:focus::placeholder {
	transform: translateX(-100%);
}

.shipreg-post button {
	border: none;
	border-radius: 3px;
	cursor: pointer;
	transition: background-color 0.3s, color 0.3s;
}
.shipreg-post button:hover {
	color: white;
	background-color: rgba(39, 39, 39, 0.8);
}

.input-valid {
	border-bottom-color: green !important;
}

.input-invalid {
	border-bottom-color: red !important;
}

#successMessage {
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 9999;
	font-family: var(--font-en-1-medium);
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(91, 241, 136, 0.945);
	border-radius: 50px;
	box-shadow: 0px 0px 8px 3px rgba(243, 243, 243, 0.2);
	backdrop-filter: blur(4px);
	color: rgb(67 62 62);
	border: 1px solid white;
	padding: 12px 18px;
	font-size: 1em;
	transition: opacity 1s;
	opacity: 1;
	display: none;
}
@media screen and (max-width: 1045px) {
	form[name="formRequest"] > div {
		flex-direction: column;
		align-items: center;
	}
	.form-wrapper h2 {
		font-size: 22px;
		max-width: 400px;
	}
}

@media screen and (max-width: 431px) {
	.shipreg-post input,
	.shipreg-post button {
		width: 290px;
		margin: 15px auto;
	}

	.shipreg-post input::placeholder {
		font-size: 10px;
	}

	.form-wrapper {
		padding: 15px 0;
	}

	.form-wrapper h2 {
		font-size: 16px;
		max-width: 290px;
	}

	.form-wrapper h3 {
		font-size: 14px;
	}

	.form-wrapper p {
		font-size: 12px;
		max-width: 280px;
		margin: 0 auto;
	}

	#errorMessage {
		font-size: 14px;
		margin: 10px 0 14px 20px;
	}
}
