

/* Start:/local/components/amslog/contact_form/templates/request/style.css?17683811104582*/
/* Стили для чекбокса согласия */
.consent-checkbox-wrapper {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 15px;
	background: linear-gradient(135deg, rgba(4, 137, 170, 0.08) 0%, rgba(4, 137, 170, 0.05) 100%);
	border-radius: 8px;
	border: 2px solid rgba(4, 137, 170, 0.2);
	margin: 15px 0;
	transition: all 0.3s ease;
	border-left: 4px solid #0489aa;
	cursor: pointer;
}

.consent-checkbox-wrapper:hover {
	background: linear-gradient(135deg, rgba(4, 137, 170, 0.12) 0%, rgba(4, 137, 170, 0.08) 100%);
	border-color: rgba(4, 137, 170, 0.3);
}

.consent-checkbox-custom {
	position: relative;
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	margin-top: 2px;
}

.consent-checkbox-custom input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	cursor: pointer;
}

.consent-checkbox-custom .checkmark {
	position: absolute;
	top: 0;
	left: 0;
	width: 22px;
	height: 22px;
	background-color: white;
	border: 2px solid #0489aa;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.consent-checkbox-custom .checkmark:after {
	content: "";
	position: absolute;
	display: none;
	left: 6px;
	top: 2px;
	width: 6px;
	height: 11px;
	border: solid white;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.consent-checkbox-custom input:checked ~ .checkmark {
	background-color: #0489aa;
	border-color: #0489aa;
}

.consent-checkbox-custom input:checked ~ .checkmark:after {
	display: block;
}

.consent-checkbox-custom input:focus ~ .checkmark {
	box-shadow: 0 0 0 3px rgba(4, 137, 170, 0.2);
}

.consent-checkbox-label {
	font-size: 14px;
	line-height: 1.5;
	color: #043c53;
	cursor: pointer;
	user-select: none;
	flex: 1;
	font-weight: 500;
}

.consent-checkbox-label a {
	color: #0489aa;
	text-decoration: none;
	font-weight: 600;
	border-bottom: 1px solid rgba(4, 137, 170, 0.3);
	padding-bottom: 1px;
	transition: all 0.3s;
}

.consent-checkbox-label a:hover {
	color: #03657e;
	border-bottom-color: #03657e;
}

.consent-checkbox-error {
	color: #dc3545;
	font-size: 13px;
	margin-top: 8px;
	padding-left: 34px;
	display: none;
	animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(-5px); }
	to { opacity: 1; transform: translateY(0); }
}

/* Анимация для ошибки чекбокса */
@keyframes shakeError {
	0%, 100% { transform: translateX(0); }
	25% { transform: translateX(-5px); }
	75% { transform: translateX(5px); }
}

@keyframes pulseError {
	0%, 100% {
		border-left-color: #dc3545;
		background-color: rgba(220, 53, 69, 0.08);
	}
	50% {
		border-left-color: #ff6b6b;
		background-color: rgba(220, 53, 69, 0.12);
	}
}

.consent-checkbox-wrapper.error {
	background: linear-gradient(135deg, rgba(220, 53, 69, 0.08) 0%, rgba(220, 53, 69, 0.05) 100%);
	border: 2px solid rgba(220, 53, 69, 0.2);
	border-left: 4px solid #dc3545;
	animation: shakeError 0.5s ease-in-out, pulseError 1.5s ease-in-out infinite;
}

/* Стиль для неактивной кнопки */
.tpl-form-button:disabled {
	background-color: #95a5a6 !important;
	cursor: not-allowed !important;
	opacity: 0.7 !important;
	transform: none !important;
	box-shadow: none !important;
}

.tpl-form-button:disabled:hover {
	background-color: #95a5a6 !important;
	transform: none !important;
	box-shadow: none !important;
}

/* Специфичные стили для формы заявки */
#request_form .consent-field {
	margin-bottom: 20px;
}

#request_form .consent-field .field-value {
	padding: 0;
}

/* Адаптивность для формы */
@media (max-width: 768px) {
	.consent-checkbox-wrapper {
		padding: 12px;
		flex-direction: row;
		align-items: flex-start;
	}

	.consent-checkbox-label {
		font-size: 13px;
		line-height: 1.4;
	}

	.consent-checkbox-custom {
		width: 20px;
		height: 20px;
	}

	.consent-checkbox-custom .checkmark {
		width: 20px;
		height: 20px;
	}

	.consent-checkbox-custom .checkmark:after {
		left: 5px;
		top: 1px;
		width: 5px;
		height: 10px;
	}

	.consent-checkbox-error {
		font-size: 12px;
		padding-left: 32px;
	}
}

/* Анимация активации кнопки */
@keyframes buttonActivate {
	0% { transform: scale(0.98); opacity: 0.8; }
	50% { transform: scale(1.02); }
	100% { transform: scale(1); opacity: 1; }
}

.tpl-form-button:not(:disabled) {
	animation: buttonActivate 0.3s ease-out;
}
/* End */
/* /local/components/amslog/contact_form/templates/request/style.css?17683811104582 */
