#privacy-consent-popup {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	z-index: 1000;
	justify-content: center;
	align-items: center;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.privacy-consent-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.privacy-consent-box {
	background-color: #ffffff;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	width: 90%;
	max-width: 500px;
	padding: 25px;
	box-sizing: border-box;
	position: relative;
	max-height: 90vh;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	transform: scale(0.95);
	opacity: 0;
	transition: all 0.3s ease-out;
}
#privacy-consent-popup.active .privacy-consent-box {
	transform: scale(1);
	opacity: 1;
}
.privacy-consent-header {
	font-size: 1.8em;
	color: #333;
	margin-bottom: 15px;
	font-weight: 600;
	text-align: center;
}
.privacy-consent-description {
	font-size: 0.95em;
	color: #555;
	line-height: 1.5;
	margin-bottom: 20px;
	text-align: justify;
}
.privacy-consent-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}
.privacy-consent-actions button {
	flex: 1;
	padding: 12px 18px;
	border: none;
	border-radius: 8px;
	font-size: 1em;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
	font-weight: 500;
}
.privacy-consent-actions .accept-all {
	background-color: #007bff;
	color: #fff;
}
.privacy-consent-actions .accept-all:hover {
	background-color: #0056b3;
	box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}
.privacy-consent-actions .decline-all {
	background-color: #f0f0f0;
	color: #333;
	border: 1px solid #ddd;
}
.privacy-consent-actions .decline-all:hover {
	background-color: #e0e0e0;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}
.privacy-consent-actions .manage-preferences {
	background-color: #6c757d;
	color: #fff;
}
.privacy-consent-actions .manage-preferences:hover {
	background-color: #5a6268;
	box-shadow: 0 4px 10px rgba(108, 117, 125, 0.3);
}
.privacy-consent-settings-panel {
	display: none;
	margin-top: 20px;
	border-top: 1px solid #eee;
	padding-top: 20px;
}
.privacy-consent-settings-panel.active {
	display: block;
}
.privacy-consent-settings-header {
	font-size: 1.5em;
	color: #333;
	margin-bottom: 15px;
	font-weight: 600;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.privacy-consent-settings-header .close-settings {
	background: none;
	border: none;
	font-size: 1.5em;
	color: #888;
	cursor: pointer;
	padding: 0;
	line-height: 1;
	transition: color 0.2s;
}
.privacy-consent-settings-header .close-settings:hover {
	color: #333;
}
.privacy-consent-category {
	margin-bottom: 15px;
	padding-bottom: 15px;
	border-bottom: 1px solid #f5f5f5;
}
.privacy-consent-category:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}
.privacy-consent-category-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
	cursor: pointer;
}
.privacy-consent-category-title {
	font-size: 1.1em;
	color: #333;
	font-weight: 600;
}
.privacy-consent-category-toggle {
	position: relative;
	display: inline-block;
	width: 45px;
	height: 25px;
}
.privacy-consent-category-toggle input {
	opacity: 0;
	width: 0;
	height: 0;
}
.privacy-consent-category-slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	transition: 0.4s;
	border-radius: 25px;
}
.privacy-consent-category-slider:before {
	position: absolute;
	content: "";
	height: 19px;
	width: 19px;
	left: 3px;
	bottom: 3px;
	background-color: white;
	transition: 0.4s;
	border-radius: 50%;
}
.privacy-consent-category-toggle input:checked + .privacy-consent-category-slider {
	background-color: #007bff;
}
.privacy-consent-category-toggle input:focus + .privacy-consent-category-slider {
	box-shadow: 0 0 1px #007bff;
}
.privacy-consent-category-toggle input:checked + .privacy-consent-category-slider:before {
	transform: translateX(20px);
}
.privacy-consent-category-description {
	font-size: 0.85em;
	color: #666;
	line-height: 1.4;
	padding-left: 5px;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}
.privacy-consent-category-description.expanded {
	max-height: 100px; 
	padding-top: 8px;
}
.privacy-consent-category-always-active {
	font-size: 0.8em;
	color: #888;
	margin-left: 10px;
	font-weight: normal;
}
.privacy-consent-settings-actions {
	margin-top: 20px;
	display: flex;
	justify-content: flex-end;
}
.privacy-consent-settings-actions .save-settings {
	background-color: #28a745;
	color: #fff;
	padding: 12px 25px;
	border-radius: 8px;
	border: none;
	font-size: 1em;
	cursor: pointer;
	transition: background-color 0.2s, box-shadow 0.2s;
}
.privacy-consent-settings-actions .save-settings:hover {
	background-color: #218838;
	box-shadow: 0 4px 10px rgba(40, 167, 69, 0.3);
}

@media (max-width: 768px) {
	.privacy-consent-box {
		width: 95%;
		margin: 20px;
		padding: 20px;
	}
	.privacy-consent-header {
		font-size: 1.5em;
	}
	.privacy-consent-description {
		font-size: 0.9em;
	}
	.privacy-consent-actions button {
		padding: 10px 15px;
		font-size: 0.95em;
	}
	.privacy-consent-actions {
		flex-direction: column;
	}
	.privacy-consent-settings-header {
		font-size: 1.3em;
	}
	.privacy-consent-category-title {
		font-size: 1em;
	}
	.privacy-consent-category-description {
		font-size: 0.8em;
	}
}
@media (min-width: 769px) and (max-width: 1024px) {
	.privacy-consent-box {
		max-width: 600px;
		padding: 30px;
	}
	.privacy-consent-header {
		font-size: 2em;
	}
}