/* Форма анонимного сигнала «Мой выбор». */

.mv-form {
	--mv-yellow: #ffd200;
	--mv-ink: #101010;
	--mv-bg: #0e0e0e;
	--mv-field: #141414;
	--mv-line: #2a2a2a;
	--mv-muted: #7e7e7e;

	margin: 0;
	background: var(--mv-bg);
	border: 1px solid #232323;
	padding: 28px;
	color: #fff;
}

.mv-form__fields {
	display: grid;
	gap: 14px;
}

.mv-form__label {
	display: block;
	margin: 0;
}

.mv-form__input {
	display: block;
	width: 100%;
	min-height: 56px;
	padding: 0 18px;
	border: 1px solid var(--mv-line);
	border-radius: 0;
	background: var(--mv-field);
	color: #fff;
	font-size: 16px;
	font-family: inherit;
}

.mv-form__input::placeholder {
	color: #6f6f6f;
	opacity: 1;
}

.mv-form__input:focus {
	border-color: var(--mv-yellow);
	outline: none;
}

.mv-form__textarea {
	min-height: 150px;
	padding: 16px 18px;
	line-height: 1.55;
	resize: vertical;
}

.mv-form__input.is-invalid {
	border-color: #ff6b6b;
}

.mv-form__note {
	margin: 16px 0 20px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--mv-muted);
}

.mv-form__error {
	margin: 0 0 16px;
	padding: 12px 16px;
	background: #241414;
	border-left: 4px solid #ff6b6b;
	font-size: 15px;
	line-height: 1.55;
	color: #ffd7d7;
}

.mv-form__submit {
	display: block;
	width: 100%;
	min-height: 60px;
	padding: 0 20px;
	border: 0;
	border-radius: 0;
	background: var(--mv-yellow);
	color: var(--mv-ink);
	font-family: Oswald, "Roboto", system-ui, sans-serif;
	font-weight: 600;
	font-size: 16px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	cursor: pointer;
}

.mv-form__submit:hover,
.mv-form__submit:focus-visible {
	background: #fff;
}

.mv-form__submit[disabled] {
	cursor: default;
	opacity: 0.65;
}

.mv-form__success {
	margin: 20px 0 0;
	padding: 20px 22px;
	background: var(--mv-field);
	border-left: 4px solid var(--mv-yellow);
}

.mv-form__success-text {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: #c9c9c9;
}

.mv-form.is-sent .mv-form__fields,
.mv-form.is-sent .mv-form__note,
.mv-form.is-sent .mv-form__submit {
	display: none;
}

/* Ловушка для ботов. */
.mv-form__trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

@media (max-width: 600px) {
	.mv-form {
		padding: 20px 18px;
	}

	.mv-form__submit {
		font-size: 14px;
		letter-spacing: 0.1em;
	}
}
