/* DNS MEBEL — modal forms (arcticModal-style) */

body.dns-modal-open {
	overflow: hidden;
}

.dns-modal {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.dns-modal--hidden {
	display: none;
}

.dns-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(38, 38, 38, 0.55);
}

.dns-modal__box {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 480px;
	background: #f4f0ea;
	border-radius: 16px;
	padding: 32px 28px 28px;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
}

.dns-modal__close {
	position: absolute;
	top: 12px;
	right: 16px;
	border: 0;
	background: transparent;
	font-size: 28px;
	line-height: 1;
	color: #262626;
	cursor: pointer;
	padding: 4px 8px;
}

.dns-modal__title {
	margin: 0 0 20px;
	font-size: 24px;
	font-weight: 600;
	color: #262626;
	padding-right: 32px;
}

.dns-form__field {
	margin-bottom: 14px;
}

.dns-form__label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	color: #262626;
}

.dns-form__input {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #d8cfc3;
	border-radius: 8px;
	padding: 12px 14px;
	font-size: 16px;
	background: #fff;
	color: #262626;
}

.dns-form__input:focus {
	outline: none;
	border-color: #262626;
}

.dns-form__hp {
	position: absolute;
	left: -9999px;
	height: 0;
	width: 0;
	opacity: 0;
	pointer-events: none;
}

.dns-form__submit {
	width: 100%;
	margin-top: 8px;
	cursor: pointer;
	border: 0;
}

.dns-form__message {
	min-height: 20px;
	margin: 8px 0;
	font-size: 14px;
}

.dns-form__message--success {
	color: #1a6b3c;
}

.dns-form__message--error {
	color: #b42318;
}

.dns-form__privacy {
	margin: 12px 0 0;
	font-size: 12px;
	line-height: 1.4;
	color: #666;
}

.dns-form__consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 12px 0 0;
	cursor: pointer;
}

.dns-form__consent-input {
	margin-top: 3px;
	flex-shrink: 0;
}

.dns-form__consent-text {
	font-size: 12px;
	line-height: 1.45;
	color: #666;
}

.dns-form__consent-text a {
	color: inherit;
	text-decoration: underline;
}
