/* Стили остаются без изменений */
:root {
	--primary: #27376d;
	--primary-light: #4a7bc8;
	--secondary: #f8f9fa;
	--accent: #ff6b35;
	--text: #333;
	--text-light: #666;
	--border: #dee2e6;
	--success: #28a745;
	--error: #dc3545;
	--telegram: #0088cc;
	--whatsapp: #25D366;
	--shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ol-container {
	margin: 30px auto;
	background: white;
	border-radius: 12px;
	box-shadow: var(--shadow);
	overflow: hidden;
	background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
	color: var(--text);
	line-height: 1.6;
	padding: 0;
	min-height: 50vh;
}

.ol-header {
	background: var(--primary);
	color: white;
	padding: 25px 30px;
	text-align: center;
	position: relative;
}

.ol-header h1 {
	font-size: 24px;
	font-weight: 600;
	margin-bottom: 5px;
	color: #fff;
}

.ol-header p {
	opacity: 0.9;
	font-size: 15px;
}

.form-container {
	padding: 30px;
}

.form-section {
	margin-bottom: 35px;
	padding: 25px;
	background: var(--secondary);
	border-radius: 10px;
	border-left: 4px solid var(--primary);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-section:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.section-header {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
}

.section-icon {
	background: var(--primary);
	color: white;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 15px;
	font-size: 18px;
}

.section-title-questionare {
	font-size: 18px;
	font-weight: 600;
	color: var(--primary);
}

.form-row {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-bottom: 20px;
}

.form-group {
	flex: 1;
	min-width: 250px;
	position: relative;
}

.form-group.full-width {
	flex: 1 0 100%;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 500;
	color: var(--text);
	font-size: 14px;
}

.form-group label.required::after {
	content: " *";
	color: var(--accent);
}

.form-control.error {
	border-color: var(--error);
	box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.error-message {
	color: var(--error);
	font-size: 12px;
	margin-top: 5px;
	display: none;
	align-items: center;
	gap: 5px;
}

.error-message.show {
	display: flex;
}

.checkbox-group {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	margin-top: 10px;
}

.checkbox-item {
	display: flex;
	align-items: center;
	background: white;
	padding: 12px 15px;
	border-radius: 8px;
	border: 1px solid var(--border);
	transition: all 0.3s ease;
	cursor: pointer;
	flex: 1;
	min-width: 180px;
}

.checkbox-item.error {
	border-color: var(--error);
	box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.1);
}

.checkbox-item:hover {
	border-color: var(--primary-light);
	transform: translateY(-2px);
}

.checkbox-item input[type="radio"],
.checkbox-item input[type="checkbox"] {
	width: 20px;
	height: 20px;
	margin-right: 10px;
	margin-top: 0;
	accent-color: var(--primary);
}

.checkbox-item label {
	margin-bottom: 0;
	cursor: pointer;
	font-weight: normal;
	flex: 1;
}

.privacy-policy-container {
	width: 100%;
	margin-top: 20px;
}

.privacy-policy-container .checkbox-item {
	min-width: 100%;
	background: #f8f9fa;
	border: 1px solid #e9ecef;
}

.privacy-policy-container a {
	color: var(--primary);
	text-decoration: underline;
}

.privacy-policy-container a:hover {
	color: var(--primary-light);
}

.inline-input-group {
	display: flex;
	align-items: center;
	gap: 10px;
}

.inline-input-group .form-control {
	flex: 1;
}

.help-text {
	font-size: 13px;
	color: var(--text-light);
	margin-top: 5px;
	display: flex;
	align-items: center;
}

.help-text i {
	margin-right: 5px;
	color: var(--primary-light);
}

.form-actions {
	display: flex;
	justify-content: center;
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid var(--border);
}

.btn {
	padding: 12px 25px;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.btn-primary {
	background: var(--primary);
	color: white;
}

.btn-primary:hover {
	background: var(--primary-light);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(44, 90, 160, 0.3);
}

.btn-secondary {
	background: white;
	color: var(--primary);
	border: 1px solid var(--primary);
}

.btn-secondary:hover {
	background: var(--secondary);
}

.btn-success {
	background: var(--blue);
	color: white;
}

.btn-success:hover {
	background: #218838;
	transform: translateY(-2px);
}

.btn-warning {
	background: #f7a828;
	color: white;
}

.btn-warning:hover {
	background: #e55a2b;
	transform: translateY(-2px);
}

.btn-telegram {
	background: var(--telegram);
	color: white;
}

.btn-telegram:hover {
	background: #0077b5;
	transform: translateY(-2px);
}

.btn-whatsapp {
	background: var(--whatsapp);
	color: white;
}

.btn-whatsapp:hover {
	background: #20c853;
	transform: translateY(-2px);
}

.btn-max {
	background: #471AFF;
	color: white;
}

.btn-max:hover {
	background: #9500FF;
	transform: translateY(-2px);
}

.btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none !important;
	box-shadow: none !important;
}

.hotline {
	text-align: center;
	margin-top: 30px;
	padding: 15px;
	background: var(--secondary);
	border-radius: 8px;
	font-weight: 600;
	color: var(--primary);
}

.messenger-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.success-message {
	display: none;
	text-align: center;
	padding: 40px 20px;
	background: var(--secondary);
	border-radius: 10px;
	margin-bottom: 20px;
}

.success-message.active {
	display: block;
}

.success-message i {
	font-size: 30px;
}

.success-message h2 {
	color: var(--success);
	margin-bottom: 15px;
}

.success-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin-top: 25px;
}

.success-actions .btn {
	min-width: 200px;
}

.error-message.active {
	display: block;
	text-align: center;
	padding: 40px 20px;
	background: var(--secondary);
	border-radius: 10px;
	margin-bottom: 20px;
	border-left: 4px solid var(--error);
}

.error-message i {
	font-size: 60px;
	color: var(--error);
	margin-bottom: 20px;
}

.error-message h2 {
	color: var(--error);
	margin-bottom: 15px;
}

/* Стили для печати */
@media print {
	body * {
		visibility: hidden;
	}

	#print-content,
	#print-content * {
		visibility: visible;
	}

	#print-content {
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		display: block !important;
	}

	.print-header {
		text-align: center;
		margin-bottom: 30px;
		border-bottom: 2px solid #333;
		padding-bottom: 20px;
	}

	.print-header h1 {
		font-size: 24px;
		margin-bottom: 10px;
	}

	.print-section {
		margin-bottom: 25px;
		page-break-inside: avoid;
	}

	.print-section h3 {
		background: #f5f5f5;
		padding: 10px;
		border-left: 4px solid #27376d;
		margin-bottom: 15px;
	}

	.print-row {
		display: flex;
		margin-bottom: 10px;
		border-bottom: 1px solid #eee;
		padding-bottom: 10px;
	}

	.print-label {
		font-weight: bold;
		width: 40%;
		min-width: 200px;
	}

	.print-value {
		width: 60%;
	}

	.btn {
		display: none !important;
	}
}

@media (max-width: 768px) {
	.ol-container {
		width: 100%;
	}

	.form-row {
		flex-direction: column;
		gap: 15px;
	}

	.form-container {
		padding: 20px 15px;
	}

	.checkbox-item {
		min-width: 100%;
	}

	.form-actions {
		flex-direction: column;
		gap: 15px;
	}

	.btn {
		width: 100%;
	}

	.messenger-actions {
		flex-direction: column;
	}

	.success-actions .btn {
		min-width: 100%;
	}

	.form-group {
		min-width: 100%;
	}
}