/* Публичные формы: запрос о данных и отзыв согласия. */

.l195-form-wrap {
	max-width: 640px;
}

.l195-form p {
	margin: 0 0 18px;
}

.l195-form label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
}

.l195-form input[type="text"],
.l195-form input[type="email"],
.l195-form select,
.l195-form textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #8c8f94;
	border-radius: 4px;
	font-size: 15px;
	background: #fff;
}

.l195-form small {
	display: block;
	margin-top: 6px;
	color: #50575e;
}

.l195-form button {
	appearance: none;
	border: 0;
	border-radius: 4px;
	background: #1d2327;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	padding: 12px 26px;
	cursor: pointer;
}

.l195-form button:hover {
	background: #000;
}

.l195-ok,
.l195-err {
	padding: 14px 16px;
	border-radius: 4px;
	margin: 0 0 20px;
	border-left: 4px solid;
}

.l195-ok {
	background: #edfaef;
	border-color: #2b7a3d;
}

.l195-err {
	background: #fcf0f1;
	border-color: #b32d2e;
}

/* Согласия на чекауте и в регистрации. */
.l195-checkout-notice {
	background: #f6f7f7;
	border-left: 3px solid #8c8f94;
	padding: 12px 14px;
	margin: 0 0 14px;
	font-size: 13px;
	line-height: 1.5;
}

.l195-checkout-notice p {
	margin: 0 0 6px;
}

.l195-consent label {
	font-weight: 400;
	display: flex;
	gap: 8px;
	align-items: flex-start;
	line-height: 1.4;
}

/* ---------- Галка согласия в чужих формах ---------- */

/*
 * Блок ставится сразу под полем ввода в форме подписки. Без отступа текст
 * прилипает к полю и читается как часть кнопки — а согласие по ст. 7(2)
 * должно быть визуально отделено от остального.
 *
 * Селекторы намеренно длинные, а кое-где стоит !important: блоки живут
 * внутри чужой темы, и её правила для виджетов подвала весят больше наших.
 */
.widget .l195-consent-field,
.l195-consent-field {
	margin-top: 20px !important;
	font-size: 13px !important;
	line-height: 1.55 !important;
	opacity: 0.8;
}

.l195-consent-field .wpcf7-list-item {
	margin: 0 !important;
	display: block;
}

.l195-consent-field label {
	display: flex !important;
	gap: 9px;
	align-items: flex-start;
	font-weight: 400 !important;
	margin: 0;
	cursor: pointer;
}

.l195-consent-field input[type="checkbox"] {
	flex: 0 0 auto;
	margin: 3px 0 0 !important;
	width: auto;
}

.l195-consent-field a {
	text-decoration: underline;
}

/* Сообщение об ошибке, когда галку не поставили. */
.l195-consent-field .wpcf7-not-valid-tip {
	display: block;
	margin-top: 6px;
	font-size: 12px;
}

/* ---------- Юридические ссылки в подвале ---------- */

/*
 * Столбиком, по одной ссылке в строку.
 * Блок делает подвал выше — если у темы подвал фиксированный, проверьте,
 * что он показывается целиком.
 */
.widget .l195-legal-links ul,
.l195-legal-links ul {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: block !important;
	font-size: 13px !important;
	line-height: 1.5;
}

.widget .l195-legal-links li,
.l195-legal-links li {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	list-style: none !important;
	float: none !important;
	width: auto !important;
	display: block;
}

.widget .l195-legal-links li + li,
.l195-legal-links li + li {
	margin-top: 7px !important;
}

.l195-legal-links li::before,
.l195-legal-links li::after,
.l195-legal-links li::marker {
	content: none !important;
	display: none !important;
}

.widget .l195-legal-links a,
.l195-legal-links a {
	opacity: 0.7;
	text-decoration: none;
	padding: 0 !important;
	border: 0 !important;
}

.l195-legal-links a:hover {
	opacity: 1;
	text-decoration: underline;
}

@media ( max-width: 767px ) {
	.l195-legal-links li + li {
		margin-top: 9px !important;
	}
}
