#privacy-consent-popup {
	position: fixed;
	bottom: 20px;
	right: 20px;
	width: 350px;
	max-width: calc(100% - 40px);
	background-color: #fff;
	border-radius: 12px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
	padding: 20px;
	z-index: 1000;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	color: #333;
	animation: fadeIn 0.5s ease-out;
}
#privacy-consent-popup p {
	margin-bottom: 15px;
	font-size: 14px;
	line-height: 1.6;
}
.privacy-consent-buttons {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.privacy-consent-btn {
	padding: 12px 18px;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	transition: background-color 0.3s ease, transform 0.2s ease;
}
.privacy-consent-btn.primary {
	background-color: #4CAF50;
	color: #fff;
}
.privacy-consent-btn.primary:hover {
	background-color: #45a049;
	transform: translateY(-1px);
}
.privacy-consent-btn.secondary {
	background-color: #f44336;
	color: #fff;
}
.privacy-consent-btn.secondary:hover {
	background-color: #da190b;
	transform: translateY(-1px);
}
.privacy-consent-btn.tertiary {
	background-color: #f0f0f0;
	color: #555;
	border: 1px solid #ddd;
}
.privacy-consent-btn.tertiary:hover {
	background-color: #e0e0e0;
	transform: translateY(-1px);
}

#privacy-consent-settings-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1001;
	animation: fadeInOverlay 0.3s ease-out;
}
#privacy-consent-settings-modal > div {
	background-color: #fff;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	width: 500px;
	max-width: 90%;
	max-height: 90%;
	display: flex;
	flex-direction: column;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	color: #333;
	transform: scale(0.95);
	animation: scaleIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
.privacy-consent-settings-header {
	padding: 20px 25px;
	border-bottom: 1px solid #eee;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.privacy-consent-settings-header h2 {
	margin: 0;
	font-size: 22px;
	color: #333;
}
.privacy-consent-close-btn {
	background: none;
	border: none;
	font-size: 28px;
	cursor: pointer;
	color: #888;
	transition: color 0.2s ease;
}
.privacy-consent-close-btn:hover {
	color: #333;
}
.privacy-consent-settings-body {
	padding: 20px 25px;
	overflow-y: auto;
	flex-grow: 1;
}
.privacy-consent-settings-body > p {
	margin-bottom: 20px;
	font-size: 14px;
	line-height: 1.6;
	color: #555;
}
.cookie-category {
	margin-bottom: 20px;
	padding: 15px;
	background-color: #f9f9f9;
	border-radius: 8px;
	border: 1px solid #eee;
}
.cookie-category-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
}
.cookie-category-header h3 {
	margin: 0;
	font-size: 16px;
	color: #333;
}
.cookie-category-description {
	font-size: 13px;
	line-height: 1.5;
	color: #777;
	margin-top: 5px;
}
.toggle-switch {
	position: relative;
	display: inline-block;
	width: 45px;
	height: 25px;
}
.toggle-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}
.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	transition: 0.4s;
}
.slider:before {
	position: absolute;
	content: "";
	height: 17px;
	width: 17px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	transition: 0.4s;
}
input:checked + .slider {
	background-color: #4CAF50;
}
input:focus + .slider {
	box-shadow: 0 0 1px #4CAF50;
}
input:checked + .slider:before {
	transform: translateX(20px);
}
.slider.round {
	border-radius: 25px;
}
.slider.round:before {
	border-radius: 50%;
}
input:disabled + .slider {
	background-color: #a0a0a0;
	cursor: not-allowed;
}
input:disabled + .slider:before {
	background-color: #f0f0f0;
}

.privacy-consent-settings-footer {
	padding: 15px 25px;
	border-top: 1px solid #eee;
	display: flex;
	justify-content: flex-end;
	gap: 10px;
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInOverlay {
	from { opacity: 0; }
	to { opacity: 1; }
}
@keyframes scaleIn {
	from { transform: scale(0.9); opacity: 0; }
	to { transform: scale(1); opacity: 1; }
}

@media (max-width: 768px) {
	#privacy-consent-popup {
		width: calc(100% - 40px);
		bottom: 10px;
		right: 10px;
		left: 10px;
	}
	.privacy-consent-buttons {
		flex-direction: column;
	}
	#privacy-consent-settings-modal > div {
		width: 95%;
		margin: 10px;
	}
	.privacy-consent-settings-header h2 {
		font-size: 20px;
	}
	.privacy-consent-settings-footer {
		flex-direction: column-reverse;
	}
	.privacy-consent-btn {
		width: 100%;
	}
}