/* Локальная форма в модалке — визуал как на макете (имя + e-mail) */

.leadbox_window {
	border-radius: 10px;
	box-shadow:
		0 10px 40px rgba(0, 0, 0, 0.12),
		0 0 0 1px rgba(0, 0, 0, 0.06);
}

.leadbox_window .ld_content .ld_header {
	white-space: normal;
	color: #555555;
	font-size: 15px;
	line-height: 1.45;
	font-weight: 600;
	text-align: center;
	margin-bottom: 16px;
	font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.leadbox_window .local-lead-form.ir_fm {
	text-align: center;
	background-color: #f2f2f2;
	border: 1px solid #dedede;
	border-radius: 8px;
	padding: 22px 20px 20px;
	margin-top: 4px;
	margin-bottom: 0;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.leadbox_window .local-lead-form .ir_fm_input {
	display: block;
	width: 100%;
	height: 50px;
	padding: 0 16px;
	margin: 0 0 10px 0;
	border: 1px solid #c8c8c8;
	border-radius: 4px;
	background-color: #ffffff;
	text-align: center;
	font-size: 16px;
	font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: #333333;
	box-sizing: border-box;
	outline: none;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

.leadbox_window .local-lead-form .ir_fm_input::placeholder {
	color: #a8a8a8;
	text-align: center;
}

.leadbox_window .local-lead-form .ir_fm_input:focus {
	border-color: #8dc63f;
	box-shadow: 0 0 0 2px rgba(141, 198, 63, 0.28);
}

.leadbox_window .local-lead-form .ir_fm_button {
	display: block;
	width: 100%;
	margin: 16px 0 0 0;
	padding: 14px 20px;
	min-height: 52px;
	height: auto;
	border: none;
	border-radius: 999px;
	cursor: pointer;
	box-sizing: border-box;
	font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.25;
	color: #ffffff;
	text-transform: none;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
	background: linear-gradient(to bottom, #8dc63f 0%, #71a92c 100%);
	box-shadow:
		0 4px 0 #5a8624,
		0 6px 14px rgba(0, 0, 0, 0.12);
	transition: filter 0.15s ease, transform 0.1s ease;
}

.leadbox_window .local-lead-form .ir_fm_button:hover {
	filter: brightness(1.06);
	color: #ffffff;
}

.leadbox_window .local-lead-form .ir_fm_button:active {
	transform: translateY(2px);
	box-shadow:
		0 2px 0 #5a8624,
		0 3px 8px rgba(0, 0, 0, 0.1);
}

.leadbox_window .local-lead-form .privacy_agreement_block {
	margin-top: 14px;
	margin-bottom: 0;
}

.leadbox_window .local-lead-form .privacy_agreement_block label {
	display: block;
	padding-left: 0;
	text-indent: 0;
	white-space: normal;
	line-height: 1.4;
	font-size: 12px;
	font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: #777777;
	text-align: center;
	max-width: 100%;
}

.leadbox_window .local-lead-form .privacy_agreement_block label a {
	color: #007bff;
	text-decoration: underline;
	border-bottom: none;
}

.leadbox_window .local-lead-form .privacy_agreement_block label a:hover {
	text-decoration: underline;
	opacity: 0.9;
}

.leadbox_window .local-lead-form .privacy_agreement_block input[type="checkbox"] {
	width: auto;
	height: auto;
	margin-right: 6px !important;
	vertical-align: middle;
	position: relative;
	top: -1px;
}
