#policy-popup {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1000;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.policy-popup-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(4px);
}
.policy-popup-content {
	background-color: #ffffff;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	padding: 30px;
	max-width: 500px;
	width: 90%;
	position: relative;
	z-index: 1001;
	color: #333;
	max-height: 90vh;
	overflow-y: auto;
}
.policy-popup-title {
	font-size: 1.8em;
	color: #2c3e50;
	margin-bottom: 15px;
	text-align: center;
}
.policy-popup-description {
	font-size: 0.95em;
	line-height: 1.6;
	color: #555;
	margin-bottom: 25px;
	text-align: center;
}
.policy-popup-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 20px;
}
.policy-popup-button {
	padding: 12px 25px;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	font-size: 1em;
	font-weight: 600;
	transition: background-color 0.3s ease, transform 0.2s ease;
	min-width: 140px;
	text-align: center;
}
.policy-popup-accept-all {
	background-color: #4CAF50;
	color: #ffffff;
}
.policy-popup-accept-all:hover {
	background-color: #45a049;
	transform: translateY(-2px);
}
.policy-popup-reject-all {
	background-color: #f44336;
	color: #ffffff;
}
.policy-popup-reject-all:hover {
	background-color: #da190b;
	transform: translateY(-2px);
}
.policy-popup-settings-btn, .policy-popup-save-preferences {
	background-color: #007bff;
	color: #ffffff;
}
.policy-popup-settings-btn:hover, .policy-popup-save-preferences:hover {
	background-color: #0056b3;
	transform: translateY(-2px);
}
.policy-popup-category {
	background-color: #f9f9f9;
	border-radius: 10px;
	padding: 15px 20px;
	margin-bottom: 15px;
	border: 1px solid #eee;
}
.policy-popup-category-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
}
.policy-popup-category-header h4 {
	margin: 0;
	font-size: 1.1em;
	color: #333;
}
.policy-popup-category p {
	font-size: 0.85em;
	color: #666;
	line-height: 1.5;
}
.policy-popup-always-active {
	font-style: italic;
	color: #888;
	font-size: 0.8em;
}
/* Toggle Switch Styles */
.policy-popup-switch {
	position: relative;
	display: inline-block;
	width: 48px;
	height: 28px;
}
.policy-popup-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}
.policy-popup-slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	transition: .4s;
	border-radius: 28px;
}
.policy-popup-slider:before {
	position: absolute;
	content: "";
	height: 20px;
	width: 20px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	transition: .4s;
	border-radius: 50%;
}
input:checked + .policy-popup-slider {
	background-color: #007bff;
}
input:focus + .policy-popup-slider {
	box-shadow: 0 0 1px #007bff;
}
input:checked + .policy-popup-slider:before {
	transform: translateX(20px);
}
input:disabled + .policy-popup-slider {
	background-color: #a0a0a0;
	cursor: not-allowed;
}
input:disabled + .policy-popup-slider:before {
	background-color: #e0e0e0;
}
/* Responsive adjustments */
@media (max-width: 768px) {
	.policy-popup-content {
		padding: 20px;
		max-width: 95%;
	}
	.policy-popup-title {
		font-size: 1.5em;
	}
	.policy-popup-description {
		font-size: 0.9em;
	}
	.policy-popup-button {
		width: 100%;
		min-width: unset;
	}
	.policy-popup-actions {
		flex-direction: column;
	}
}
@media (max-width: 480px) {
	.policy-popup-content {
		padding: 15px;
	}
	.policy-popup-title {
		font-size: 1.3em;
	}
	.policy-popup-description {
		font-size: 0.85em;
	}
	.policy-popup-category-header h4 {
		font-size: 1em;
	}
	.policy-popup-category p {
		font-size: 0.8em;
	}
}