.form-container {
	max-width: 800px !important;
	margin: 2rem auto !important;
	padding: 2.5rem !important;
	background: rgb(255 255 255 / .95) !important;
	backdrop-filter: blur(20px) !important;
	border: 1px solid rgb(255 255 255 / .2) !important;
	border-radius: 24px !important;
	box-shadow: 0 20px 40px rgb(0 0 0 / .1), 0 8px 16px rgb(0 0 0 / .05), inset 0 1px 0 rgb(255 255 255 / .6) !important;
	position: relative !important;
	overflow: hidden !important
}

.form-container::before {
	content: '';
	position: absolute !important;
	top: 0;
	left: 0;
	right: 0;
	height: 4px !important;
	background: linear-gradient(90deg, #3498db, #e74c3c, #f39c12) !important;
	border-radius: 24px 24px 0 0 !important
}

.form-container .form {
	margin-top: 20px !important;
	padding: 0 !important;
	background-color: transparent !important;
	box-shadow: none !important
}

.form-container form {
	display: flex !important;
	flex-direction: column !important;
	gap: 1.5rem !important;
	margin-top: 20px !important;
	padding: 0 !important;
	background-color: transparent !important;
	box-shadow: none !important
}

.form-element-style {
	display: flex !important;
	flex-direction: column !important;
	position: relative !important
}

.form-element-style label {
	font-size: 1rem !important;
	font-weight: 600 !important;
	margin-bottom: 0.5rem !important;
	color: #2c3e50 !important;
	display: flex !important;
	align-items: center !important;
	gap: 0.25rem !important
}

.form-allowed-ext {
	font-size: 0.85rem !important;
	font-weight: 400 !important;
	color: #7f8c8d !important;
	font-style: italic !important
}

.form-required {
	color: #e74c3c !important;
	font-weight: 700 !important;
	font-size: 1.1rem !important
}

.form-container input:not([type="submit"]):not([type="reset"]):not([type="button"]),
.form-container textarea,
.form-container select,
.form-container .field {
	height: auto !important;
	padding: 1rem !important;
	font-size: 1rem !important;
	font-family: inherit !important;
	border: 2px solid #b0bec5 !important;
	border-radius: 12px !important;
	background: #f9f9f9 !important;
	color: #1a1a1a !important;
	transition: all 0.3s cubic-bezier(.4, 0, .2, 1) !important;
	position: relative !important;
	box-shadow: 0 1px 3px rgb(0 0 0 / .06) !important;
	resize: none !important;
	float: none !important;
	width: 100% !important
}

.form-container input:not([type="submit"]):not([type="reset"]):not([type="button"]):focus,
.form-container textarea:focus,
.form-container select:focus,
.form-container .field:focus {
	border-color: #1565c0 !important;
	box-shadow: 0 0 0 3px rgb(21 101 192 / .2), 0 2px 8px rgb(21 101 192 / .1) !important;
	outline: none !important;
	animation: focusGlow 0.3s ease-out !important
}

.form-container input:not([type="submit"]):not([type="reset"]):not([type="button"]):hover,
.form-container textarea:hover,
.form-container select:hover,
.form-container .field:hover {
	border-color: #bdc3c7 !important
}

.form-container select {
	appearance: none !important;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e") !important;
	background-position: right .75rem center !important;
	background-repeat: no-repeat !important;
	background-size: 1.5em 1.5em !important;
	padding-right: 2.5rem !important
}

.form-container select .category-header {
	text-align: center !important;
	font-weight: bold !important;
	color: #2196f3 !important
}

.form-container input[type="file"] {
	padding: 1rem !important;
	cursor: pointer !important;
	background: linear-gradient(135deg, #f8f9fa, #e9ecef) !important;
	border: 2px dashed #bdc3c7 !important;
	border-radius: 12px !important;
	text-align: center !important;
	position: relative !important;
	transition: all 0.3s ease !important;
	font-weight: 500 !important;
	height: auto !important
}

.form-container input[type="file"]:hover {
	background: linear-gradient(135deg, #e9ecef, #dee2e6) !important;
	border-color: #3498db !important;
	transform: translateY(-1px) !important
}

.form-container input[type="file"]:focus {
	border-color: #3498db !important;
	box-shadow: 0 0 0 4px rgb(52 152 219 / .15) !important
}

.form-error {
	color: #e74c3c !important;
	font-size: 0.875rem !important;
	margin-top: 0.5rem !important;
	font-weight: 500 !important;
	display: flex !important;
	align-items: center !important;
	gap: 0.5rem !important;
	opacity: 0 !important;
	transition: opacity 0.3s ease !important
}

.form-error:not(:empty) {
	opacity: 1 !important
}

.form-error:not(:empty)::before {
	content: 'âš ' !important;
	font-size: 1rem !important
}

.form-element-button-style {
	display: flex !important;
	gap: 1rem !important;
	justify-content: space-evenly !important;
	margin-top: 1.5rem !important
}

.form-container button,
.form-container .button {
	float: none !important;
	padding: 1rem 2rem !important;
	font-size: 1rem !important;
	font-weight: 600 !important;
	font-family: inherit !important;
	border: none !important;
	border-radius: 12px !important;
	cursor: pointer !important;
	transition: all 0.3s cubic-bezier(.4, 0, .2, 1) !important;
	position: relative !important;
	overflow: hidden !important;
	width: 100% !important;
	min-height: 50px !important;
	height: auto !important;
	line-height: normal !important;
	text-transform: none !important;
	box-shadow: none !important;
	animation: none !important
}

.form-container button[type="submit"],
.form-container button#submit {
	background: linear-gradient(135deg, #3498db, #2980b9) !important;
	color: white !important;
	box-shadow: 0 4px 12px rgb(52 152 219 / .3) !important
}

.form-container button[type="submit"]:hover,
.form-container button#submit:hover {
	background: linear-gradient(135deg, #2980b9, #1c5aa0) !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 8px 20px rgb(52 152 219 / .4) !important
}

.form-container button[type="reset"],
.form-container button#reset {
	background: linear-gradient(135deg, #95a5a6, #7f8c8d) !important;
	color: white !important;
	box-shadow: 0 4px 12px rgb(149 165 166 / .3) !important
}

.form-container button[type="reset"]:hover,
.form-container button#reset:hover {
	background: linear-gradient(135deg, #7f8c8d, #6c7b7d) !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 8px 20px rgb(149 165 166 / .4) !important
}

.form-container button:active {
	transform: translateY(0) !important
}

.form-container button.loading {
	pointer-events: none !important;
	opacity: 0.7 !important
}

.form-container button.loading::after {
	content: '' !important;
	position: absolute !important;
	width: 16px !important;
	height: 16px !important;
	margin: auto !important;
	border: 2px solid transparent !important;
	border-top-color: currentColor !important;
	border-radius: 50% !important;
	animation: loading-spin 1s linear infinite !important;
	top: 50% !important;
	left: 50% !important;
	transform: translate(-50%, -50%) !important
}

@keyframes loading-spin {
	0% {
		transform: translate(-50%, -50%) rotate(0deg)
	}

	100% {
		transform: translate(-50%, -50%) rotate(360deg)
	}
}

.form-success {
	background: linear-gradient(135deg, #27ae60, #2ecc71) !important;
	color: white !important;
	padding: 1.5rem !important;
	border-radius: 12px !important;
	text-align: center !important;
	margin: 1rem 0 !important;
	font-weight: 500 !important;
	box-shadow: 0 4px 12px rgb(39 174 96 / .3);
	animation: slideIn 0.5s ease-out
}

@keyframes slideIn {
	from {
		opacity: 0;
		transform: translateY(-20px)
	}

	to {
		opacity: 1;
		transform: translateY(0)
	}
}

.form-container input:focus,
.form-container textarea:focus,
.form-container select:focus {
	animation: focusGlow 0.3s ease-out !important
}

@keyframes focusGlow {
	0% {
		box-shadow: 0 0 0 0 rgb(52 152 219 / .3)
	}

	50% {
		box-shadow: 0 0 0 6px rgb(52 152 219 / .2)
	}

	100% {
		box-shadow: 0 0 0 4px rgb(52 152 219 / .15)
	}
}

@media (max-width:768px) {
	body::after {
		font-size: 1rem;
		padding: 0 15px
	}

	.form-container {
		margin: 1rem;
		padding: 2rem 1.5rem;
		border-radius: 16px
	}

	.form-element-button-style {
		flex-direction: column;
		gap: .75rem
	}
}

@media (max-width:400px) {
	.form-container {
		margin: .25rem auto;
		padding: 1.25rem 1rem
	}
}