.csa-contact-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
	background-color: #F1F1F1;
	padding: 32px;
	border-radius: 0;
	width: 100%;
}

.csa-contact-form__heading {
	margin: 0;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.3;
	color: #1B2A56;
}

.csa-contact-form__subheading {
	margin: 0 0 8px;
	font-size: 14px;
	line-height: 1.5;
	color: #6E6E6E;
}

.csa-contact-form__honeypot {
	position: absolute;
	left: -10000px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.csa-contact-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.csa-contact-form__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.csa-contact-form__label {
	font-size: 14px;
	font-weight: 500;
	color: #1B2A56;
}

.csa-contact-form__required {
	margin-left: 2px;
	color: #1B2A56;
}

.csa-contact-form__input {
	width: 100%;
	padding: 10px 14px;
	background-color: #FFFFFF;
	border: 1px solid #D7D7D7;
	border-radius: 4px;
	font-size: 14px;
	line-height: 1.4;
	color: #1B2A56;
	font-family: inherit;
	box-sizing: border-box;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.csa-contact-form__input::placeholder {
	color: #B8B8B8;
}

.csa-contact-form__input:focus {
	outline: none;
	border-color: #1B2A56;
	box-shadow: 0 0 0 3px rgba(27, 42, 86, 0.12);
}

.csa-contact-form__input--textarea {
	resize: vertical;
	min-height: 120px;
}

/* Custom combobox (replaces the native select dropdown panel on macOS/Windows). */
.csa-contact-form__combobox {
	position: relative;
}

.csa-contact-form__combobox-native {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	pointer-events: none;
	z-index: -1;
}

.csa-contact-form__combobox-trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	padding: 10px 16px;
	background-color: #FFFFFF;
	border: 1px solid #D7D7D7;
	border-radius: 4px;
	font-family: inherit;
	font-size: 14px;
	line-height: 1.4;
	color: #1B2A56;
	cursor: pointer;
	text-align: left;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.csa-contact-form__combobox-trigger:hover {
	border-color: #1B2A56;
}

.csa-contact-form__combobox-trigger:focus-visible {
	outline: none;
	border-color: #1B2A56;
	box-shadow: 0 0 0 3px rgba(27, 42, 86, 0.12);
}

.csa-contact-form__combobox.is-empty .csa-contact-form__combobox-value {
	color: #B8B8B8;
}

.csa-contact-form__combobox-chevron {
	flex: none;
	width: 14px;
	height: 10px;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%231B2A56' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	transition: transform 0.2s ease;
}

.csa-contact-form__combobox.is-open .csa-contact-form__combobox-chevron {
	transform: rotate(180deg);
}

.csa-contact-form__combobox-list {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	max-height: 240px;
	overflow-y: auto;
	margin: 0;
	padding: 6px 0;
	list-style: none;
	background-color: #FFFFFF;
	border: 1px solid #D7D7D7;
	border-radius: 6px;
	box-shadow: 0 12px 32px rgba(27, 42, 86, 0.12);
	z-index: 20;
}

.csa-contact-form__combobox-list[hidden] {
	display: none;
}

.csa-contact-form__combobox-option {
	padding: 10px 16px;
	font-size: 14px;
	line-height: 1.4;
	color: #1B2A56;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.csa-contact-form__combobox-option:hover,
.csa-contact-form__combobox-option.is-active {
	background-color: rgba(27, 42, 86, 0.08);
}

.csa-contact-form__combobox-option[aria-selected="true"] {
	font-weight: 600;
}

.csa-contact-form__field.has-error .csa-contact-form__combobox-trigger {
	border-color: #C0392B;
}

.csa-contact-form__field.has-error .csa-contact-form__input {
	border-color: #C0392B;
}

.csa-contact-form__error {
	margin: 0;
	font-size: 12px;
	line-height: 1.4;
	color: #C0392B;
	min-height: 14px;
}

.csa-contact-form__footer {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	margin-top: 8px;
}

.csa-contact-form__submit {
	background-color: #1B2A56;
	color: #FFFFFF;
	border: 0;
	padding: 12px 28px;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s ease, opacity 0.2s ease;
}

.csa-contact-form__submit:hover {
	background-color: #152144;
}

.csa-contact-form__submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.csa-contact-form__privacy {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex: 1 1 auto;
	font-size: 13px;
	color: #6E6E6E;
	line-height: 1.4;
}

.csa-contact-form__privacy a {
	color: inherit;
	text-decoration: underline;
}

.csa-contact-form__privacy input[type="checkbox"] {
	accent-color: #1B2A56;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.csa-contact-form__status {
	margin-top: 8px;
	font-size: 14px;
	line-height: 1.5;
}

.csa-contact-form__status.is-success {
	color: #1B7A3F;
}

.csa-contact-form__status.is-error {
	color: #C0392B;
}

.csa-contact-form.is-sent .csa-contact-form__field,
.csa-contact-form.is-sent .csa-contact-form__footer,
.csa-contact-form.is-sent .csa-contact-form__row {
	display: none;
}

@media (max-width: 540px) {
	.csa-contact-form__row {
		grid-template-columns: 1fr;
	}
}
