.ims-contact-form {
	display: flex;
	flex-direction: column;
	gap: 14px;
	border-radius: 16px;
	padding: 36px;
}

.ims-contact-form input,
.ims-contact-form select,
.ims-contact-form textarea {
	display: block;
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
	padding: 13px 14px;
	border-radius: 8px;
	font-family: 'Inter', -apple-system, sans-serif;
	font-size: 14px;
}

.ims-contact-form select {
	appearance: none !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
	cursor: pointer;
	padding: 13px 42px 13px 14px;
	background-repeat: no-repeat !important;
	background-position: right 14px center !important;
	background-size: 14px 14px !important;
}

.ims-contact-form textarea {
	resize: vertical;
}

.ims-contact-form .ims-contact-form__submit {
	padding: 14px;
	border: none;
	border-radius: 8px;
	background: #c8a951;
	color: #1a2a4a;
	font-family: 'Montserrat', -apple-system, sans-serif;
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ims-contact-form .ims-contact-form__submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(200, 169, 81, 0.35);
}

/* On dark background */
.ims-contact-form.on-dark {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.ims-contact-form.on-dark input,
.ims-contact-form.on-dark select,
.ims-contact-form.on-dark textarea {
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.15);
	color: #ffffff;
}

.ims-contact-form.on-dark input::placeholder,
.ims-contact-form.on-dark textarea::placeholder {
	color: rgba(255, 255, 255, 0.4);
}

.ims-contact-form.on-dark select:invalid {
	color: rgba(255, 255, 255, 0.4);
}

.ims-contact-form.on-dark select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-opacity='0.4' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 14px center !important;
	background-size: 14px 14px !important;
}

.ims-contact-form.on-dark select option {
	background: #1a2a4a;
	color: #ffffff;
}

/* On light background */
.ims-contact-form.on-light {
	background: #f0f4f8;
	border: 1px solid #e0e6ef;
}

.ims-contact-form.on-light input,
.ims-contact-form.on-light select,
.ims-contact-form.on-light textarea {
	background: #ffffff;
	border: 1px solid #dbe2ea;
	color: #1a2a4a;
}

.ims-contact-form.on-light select:invalid {
	color: #607086;
}

.ims-contact-form.on-light select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23607086' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 14px center !important;
	background-size: 14px 14px !important;
}