/* AnyWareX native contact form */
.awx-native-contact .awx-contact-field {
	margin-bottom: 18px;
}

.awx-native-contact label {
	display: block;
	margin-bottom: 7px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
}

/* All native form fields share the same editable background color. */
.awx-native-contact input[type="text"],
.awx-native-contact input[type="email"],
.awx-native-contact select,
.awx-native-contact textarea {
	width: 100%;
	border: 1px solid #ddd;
	background-color: var(--awx-contact-field-bg, #fff) !important;
	color: #333;
	box-sizing: border-box;
	padding: 10px 12px;
}

/* Keep the configured background also while typing/focusing. */
.awx-native-contact input[type="text"]:focus,
.awx-native-contact input[type="email"]:focus,
.awx-native-contact select:focus,
.awx-native-contact textarea:focus {
	background-color: var(--awx-contact-field-bg, #fff) !important;
}

/* Custom select arrow only for actual dropdowns. */
.awx-native-contact select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23555' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 12px 8px;
}

.awx-native-contact select::-ms-expand {
	display: none;
}

.awx-native-contact textarea {
	min-height: 210px;
	resize: vertical;
}

.awx-contact-name-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.awx-contact-submit {
	width: 100%;
	border: 0;
	background: #ff6c00;
	color: #fff;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	padding: 13px 20px;
	cursor: pointer;
}

.awx-contact-submit:hover,
.awx-contact-submit:focus {
	filter: brightness(.95);
}

.awx-contact-hp {
	position: absolute !important;
	left: -10000px !important;
	top: auto !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.awx-contact-notice {
	margin-bottom: 18px;
	padding: 12px 14px;
	border-left: 4px solid currentColor;
	background: rgba(0,0,0,.035);
}

.awx-contact-notice--success { color: #237a3b; }
.awx-contact-notice--error { color: #a02828; }

@media (max-width: 600px) {
	.awx-contact-name-grid {
		grid-template-columns: 1fr;
		gap: 0;
	}
}
