:root {
	--primary-color: #6a0dad;
	--secondary-color: #e0b0ff;
	--text-color: #333;
	--bg-color: #fff;
	--border-radius: 12px;
	--shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
	--transition-speed: 0.3s ease;
}
#privacy-consent-popup {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 10001;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.privacy-consent-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(5px);
}
.privacy-consent-box {
	background-color: var(--bg-color);
	border-radius: var(--border-radius);
	box-shadow: var(--shadow);
	padding: 30px;
	max-width: 550px;
	width: 90%;
	position: relative;
	z-index: 10002;
	color: var(--text-color);
	animation: fadeIn 0.4s ease-out;
	max-height: 90vh;
	overflow-y: auto;
}
@keyframes fadeIn {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}
.privacy-consent-title {
	font-size: 1.8em;
	color: var(--primary-color);
	margin-bottom: 15px;
	text-align: center;
}
.privacy-consent-text {
	font-size: 0.95em;
	line-height: 1.6;
	margin-bottom: 25px;
	text-align: center;
}
.privacy-consent-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 15px;
	margin-top: 20px;
}
.privacy-consent-btn {
	background-color: var(--primary-color);
	color: #fff;
	border: none;
	padding: 12px 25px;
	border-radius: 8px;
	cursor: pointer;
	font-size: 1em;
	font-weight: 600;
	transition: background-color var(--transition-speed), transform var(--transition-speed);
	flex-grow: 1;
	max-width: 180px;
}
.privacy-consent-btn:hover {
	background-color: #5a0a9a;
	transform: translateY(-2px);
}
.privacy-consent-reject {
	background-color: #dc3545;
}
.privacy-consent-reject:hover {
	background-color: #c82333;
}
.privacy-consent-settings-btn, .privacy-consent-close-settings {
	background-color: #6c757d;
}
.privacy-consent-settings-btn:hover, .privacy-consent-close-settings:hover {
	background-color: #5a6268;
}
.privacy-consent-category {
	background-color: #f9f9f9;
	border: 1px solid #eee;
	border-radius: 10px;
	padding: 15px 20px;
	margin-bottom: 15px;
	transition: box-shadow var(--transition-speed);
}
.privacy-consent-category:hover {
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}
.privacy-consent-category-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
}
.privacy-consent-category-header h3 {
	margin: 0;
	font-size: 1.1em;
	color: var(--primary-color);
}
.privacy-consent-category-desc {
	font-size: 0.85em;
	color: #666;
	line-height: 1.5;
}
.privacy-consent-toggle {
	position: relative;
	display: inline-block;
	width: 45px;
	height: 25px;
}
.privacy-consent-toggle input {
	opacity: 0;
	width: 0;
	height: 0;
}
.privacy-consent-slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	transition: var(--transition-speed);
	border-radius: 25px;
}
.privacy-consent-slider:before {
	position: absolute;
	content: "";
	height: 19px;
	width: 19px;
	left: 3px;
	bottom: 3px;
	background-color: white;
	transition: var(--transition-speed);
	border-radius: 50%;
}
.privacy-consent-toggle input:checked + .privacy-consent-slider {
	background-color: var(--primary-color);
}
.privacy-consent-toggle input:focus + .privacy-consent-slider {
	box-shadow: 0 0 1px var(--primary-color);
}
.privacy-consent-toggle input:checked + .privacy-consent-slider:before {
	transform: translateX(20px);
}
.privacy-consent-toggle input:disabled + .privacy-consent-slider {
	background-color: #a0a0a0;
	cursor: not-allowed;
}
.privacy-consent-toggle input:disabled + .privacy-consent-slider:before {
	background-color: #e0e0e0;
}
@media (max-width: 768px) {
	.privacy-consent-box {
		padding: 20px;
		width: 95%;
	}
	.privacy-consent-title {
		font-size: 1.5em;
	}
	.privacy-consent-text {
		font-size: 0.9em;
	}
	.privacy-consent-actions {
		flex-direction: column;
		gap: 10px;
	}
	.privacy-consent-btn {
		max-width: 100%;
		padding: 10px 20px;
		font-size: 0.95em;
	}
	.privacy-consent-category {
		padding: 12px 15px;
	}
	.privacy-consent-category-header h3 {
		font-size: 1em;
	}
	.privacy-consent-category-desc {
		font-size: 0.8em;
	}
}
@media (max-width: 480px) {
	.privacy-consent-box {
		border-radius: 8px;
	}
	.privacy-consent-title {
		font-size: 1.3em;
	}
	.privacy-consent-text {
		font-size: 0.85em;
	}
}