/* Форма поддержки Элекснет на /about/charity/ */
.charity-elecsnet-form {
	max-width: 560px;
	margin: 0 auto 2rem;
	padding: 1.25rem 1.5rem;
}

.charity-elecsnet-form__logo {
	display: block;
	width: 160px;
	max-width: 100%;
	height: auto;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1rem;
}

.charity-elecsnet-form__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	margin-top: 0.5rem;
}

.charity-elecsnet-form__field {
	flex: 1 1 auto;
	min-width: 0;
}

.charity-elecsnet-form__field--phone {
	flex: 1 1 200px;
	max-width: 220px;
}

.charity-elecsnet-form__field--amount {
	flex: 0 1 140px;
	max-width: 160px;
}

.charity-elecsnet-form__field--submit {
	flex: 0 0 auto;
}

.charity-elecsnet-form input[type="tel"],
.charity-elecsnet-form input[type="text"],
.charity-elecsnet-form input[name="amount"] {
	display: block;
	width: 100%;
	height: 42px;
	padding: 0 12px;
	font-size: 16px;
	line-height: 1.25;
	color: #333;
	background: #fff;
	border: 1px solid #c8cdd2;
	border-radius: 6px;
	box-sizing: border-box;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.charity-elecsnet-form input::placeholder {
	color: #8b9299;
}

.charity-elecsnet-form input:focus {
	outline: none;
	border-color: #154f96;
	box-shadow: 0 0 0 2px rgba(21, 79, 150, 0.15);
}

.charity-elecsnet-form input.error {
	border-color: #c00;
}

.charity-elecsnet-form .charity-elecsnet-form__submit {
	height: 42px;
	padding: 0 1.25rem;
	font-size: 16px;
	font-weight: 600;
	color: #fff;
	background: #154f96;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.2s;
}

.charity-elecsnet-form .charity-elecsnet-form__submit:hover {
	background: #0f3a70;
}

.charity-elecsnet-form .charity-elecsnet-form__submit:focus {
	outline: none;
	box-shadow: 0 0 0 2px rgba(21, 79, 150, 0.35);
}

.charity-elecsnet-form .charity-elecsnet-form__error {
	margin-top: 0.5rem;
	font-size: 13px;
	color: #c00;
}

@media (max-width: 480px) {
	.charity-elecsnet-form__row {
		flex-direction: column;
		align-items: stretch;
	}
	.charity-elecsnet-form__field--phone,
	.charity-elecsnet-form__field--amount {
		max-width: none;
	}
}
