.dse-form {
	margin: 0;
	font-family: var(--dse-font-sans);
}

.dse-form__row {
	display: flex;
	gap: 20px;
}

.dse-form__col {
	flex: 1 1 0;
	min-width: 0;
}

.dse-form__field {
	padding: 15px 0;
}

.dse-form .dse-form__label {
	display: block;
	margin: 0 0 10px;
	color: var(--dse-ink);
	font-size: 16px;
	line-height: 24px;
	font-weight: 700;
}

.dse-form__required {
	color: var(--dse-danger);
	font-weight: 400;
}

.dse-form .dse-form__control {
	display: block;
	width: 100%;
	height: var(--dse-control-height);
	margin: 0;
	padding: 11px 14px;
	border: 1px solid var(--dse-line-strong);
	border-radius: var(--dse-radius-sm);
	background-color: var(--dse-surface-raised);
	box-shadow: none;
	color: var(--dse-ink);
	font: 400 17px/24px var(--dse-font-sans);
}

.dse-form .dse-form__control::placeholder {
	color: var(--dse-ink);
	opacity: 0.5;
}

.dse-form .dse-form__control:focus {
	border-color: var(--dse-primary);
	box-shadow: 0 0 0 1px var(--dse-primary);
}

.dse-form .dse-form__control--area {
	height: 134px;
	min-height: 80px;
	padding: 14px;
	line-height: 1.3;
	resize: vertical;
}

.dse-form .dse-form__control--select {
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 18px 18px;
	appearance: none;
	cursor: pointer;
}

.dse-form .dse-form__control[aria-invalid="true"] {
	border-color: var(--dse-danger);
}

.dse-form .dse-form__control[aria-invalid="true"]:focus {
	box-shadow: 0 0 0 1px var(--dse-danger);
}

.dse-form__extra {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.dse-form__check {
	padding: 15px 0 5px;
}

.dse-form__help,
.dse-form__limit {
	margin: 5px 0 0;
	color: var(--dse-ink-muted);
	font-size: 14px;
	line-height: 22px;
}

.dse-form__limit {
	min-height: 22px;
}

.dse-form .dse-form__msg {
	display: block;
	margin: 5px 0 0;
	color: var(--dse-danger);
	font-size: 14px;
	line-height: 22px;
	font-style: normal;
	font-weight: 400;
}

.dse-form__error {
	margin: 15px 0 0;
	padding: 14px 20px;
	border: 1px solid #efb4ae;
	border-radius: var(--dse-radius-md);
	background: var(--dse-danger-soft);
	color: var(--dse-ink);
	font-size: 16px;
	line-height: 26px;
	overflow-wrap: anywhere;
}

.dse-form__error[hidden] {
	display: none;
}

.dse-form .dse-form__error a {
	color: var(--dse-ink);
	font-weight: 700;
	text-decoration: underline;
}

.dse-form-sent {
	margin: 15px 0 0;
	padding: 20px var(--dse-space-5);
	border: 1px solid #9fd1cb;
	border-radius: var(--dse-radius-md);
	background: var(--dse-success-soft);
	color: var(--dse-ink);
	font-size: 17px;
	line-height: 28px;
}

.dse-form-sent p {
	margin: 0 0 15px;
}

.dse-form-sent p:last-child {
	margin-bottom: 0;
}

.dse-form__submit {
	margin-top: var(--dse-space-2);
}

:root .dse-form .dse-form__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 56px;
	padding: 0 28px;
	border: 0;
	border-radius: var(--dse-radius-md);
	background: var(--dse-primary);
	color: var(--dse-on-primary);
	font: 700 17px/1 var(--dse-font-sans);
	letter-spacing: 0;
	cursor: pointer;
	transition: background-color 0.2s;
}

:root .dse-form .dse-form__button:hover,
:root .dse-form .dse-form__button:active {
	background: var(--dse-primary-hover);
	color: var(--dse-on-primary);
}

:root .dse-form .dse-form__button:disabled {
	opacity: 0.6;
	cursor: default;
}

.dse-contact:not([open]):has(.dse-form-state) {
	position: static;
	display: block;
	margin: var(--dse-space-7) auto;
}

.dse-contact .dse-form-sent {
	margin-top: 0;
}

@media (max-width: 600px) {
	.dse-form__row {
		display: block;
	}

	.dse-form__col:empty {
		display: none;
	}
}

@media (max-width: 720px) {
	:root .dse-support-ticket .dse-form .dse-form__button {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	:root .dse-form .dse-form__button {
		transition: none;
	}
}
