#user-consent-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 100;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.user-consent-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(4px);
}
.user-consent-content {
	background: linear-gradient(145deg, #ffffff, #f0f2f5);
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
	padding: 30px;
	max-width: 500px;
	width: 90%;
	position: relative;
	z-index: 101;
	color: #333;
	animation: fadeIn 0.3s ease-out;
	display: flex;
	flex-direction: column;
}
@keyframes fadeIn {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}
.user-consent-content h2 {
	font-size: 24px;
	color: #2c3e50;
	margin-bottom: 15px;
	text-align: center;
}
.user-consent-content h3 {
	font-size: 20px;
	color: #2c3e50;
	margin-bottom: 15px;
	text-align: center;
}
.user-consent-content p {
	font-size: 15px;
	line-height: 1.6;
	margin-bottom: 20px;
	text-align: center;
}
.user-consent-main-panel p {
	text-align: left;
}
.user-consent-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin-bottom: 20px;
}
.user-consent-btn {
	padding: 12px 25px;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	font-size: 15px;
	font-weight: 600;
	transition: all 0.2s ease-in-out;
	flex-grow: 1;
	max-width: 160px;
}
.user-consent-accept {
	background-color: #4CAF50;
	color: white;
}
.user-consent-accept:hover {
	background-color: #45a049;
	transform: translateY(-2px);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.user-consent-reject {
	background-color: #f44336;
	color: white;
}
.user-consent-reject:hover {
	background-color: #da190b;
	transform: translateY(-2px);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.user-consent-settings, .user-consent-back {
	background-color: #007bff;
	color: white;
}
.user-consent-settings:hover, .user-consent-back:hover {
	background-color: #0056b3;
	transform: translateY(-2px);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.user-consent-save-settings {
	background-color: #6c757d;
	color: white;
}
.user-consent-save-settings:hover {
	background-color: #5a6268;
	transform: translateY(-2px);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.user-consent-policy-link {
	display: block;
	text-align: center;
	color: #007bff;
	text-decoration: none;
	font-size: 14px;
	margin-top: 10px;
}
.user-consent-policy-link:hover {
	text-decoration: underline;
}
.user-consent-settings-panel {
	text-align: left;
}
.user-consent-settings-panel h3 {
	text-align: left;
	margin-top: 0;
	margin-bottom: 10px;
}
.user-consent-settings-panel > p {
	font-size: 14px;
	color: #666;
	margin-bottom: 20px;
	text-align: left;
}
.user-consent-category {
	background-color: #f9f9f9;
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	padding: 15px;
	margin-bottom: 15px;
}
.user-consent-category-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
}
.user-consent-category-header h4 {
	margin: 0;
	font-size: 16px;
	color: #333;
}
.user-consent-category p {
	font-size: 13px;
	color: #555;
	margin-bottom: 0;
	text-align: left;
}
.user-consent-switch {
	position: relative;
	display: inline-block;
	width: 45px;
	height: 25px;
}
.user-consent-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}
.user-consent-slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	transition: 0.4s;
	border-radius: 25px;
}
.user-consent-slider:before {
	position: absolute;
	content: "";
	height: 19px;
	width: 19px;
	left: 3px;
	bottom: 3px;
	background-color: white;
	transition: 0.4s;
	border-radius: 50%;
}
input:checked + .user-consent-slider {
	background-color: #4CAF50;
}
input:focus + .user-consent-slider {
	box-shadow: 0 0 1px #4CAF50;
}
input:checked + .user-consent-slider:before {
	transform: translateX(20px);
}
input:disabled + .user-consent-slider {
	background-color: #a0a0a0;
	cursor: not-allowed;
}
input:disabled + .user-consent-slider:before {
	background-color: #e0e0e0;
}
.user-consent-actions-settings {
	display: flex;
	gap: 10px;
	justify-content: center;
	margin-top: 20px;
}
.user-consent-actions-settings .user-consent-btn {
	max-width: 180px;
}
@media (max-width: 768px) {
	.user-consent-content {
		padding: 20px;
		max-width: 95%;
	}
	.user-consent-content h2 {
		font-size: 20px;
	}
	.user-consent-content h3 {
		font-size: 18px;
	}
	.user-consent-content p {
		font-size: 14px;
	}
	.user-consent-actions {
		flex-direction: column;
		gap: 8px;
	}
	.user-consent-btn {
		width: 100%;
		max-width: none;
		padding: 10px 15px;
	}
	.user-consent-actions-settings {
		flex-direction: column;
		gap: 8px;
	}
	.user-consent-actions-settings .user-consent-btn {
		max-width: none;
		width: 100%;
	}
}
@media (min-width: 769px) and (max-width: 1024px) {
	.user-consent-content {
		max-width: 600px;
		padding: 25px;
	}
	.user-consent-actions {
		gap: 15px;
	}
	.user-consent-btn {
		max-width: 180px;
	}
	.user-consent-actions-settings .user-consent-btn {
		max-width: 200px;
	}
}