#policy-popup {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	animation: fadeIn 0.3s ease-out;
}
.policy-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(4px);
}
.policy-content {
	background-color: #ffffff;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	width: 90%;
	max-width: 600px;
	padding: 30px;
	position: relative;
	z-index: 10000;
	max-height: 90vh;
	overflow-y: auto;
	color: #333;
	animation: slideUp 0.4s ease-out;
}
.policy-content h2 {
	font-size: 1.8em;
	margin-top: 0;
	margin-bottom: 20px;
	color: #2c3e50;
	text-align: center;
}
.policy-content p {
	font-size: 1em;
	line-height: 1.6;
	margin-bottom: 25px;
	color: #555;
}
.policy-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 25px;
	justify-content: center;
}
.policy-buttons button {
	padding: 12px 25px;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	font-size: 1em;
	font-weight: 600;
	transition: background-color 0.2s ease, transform 0.1s ease;
	flex-grow: 1;
	max-width: 180px;
}
.policy-accept-all {
	background-color: #4CAF50;
	color: white;
}
.policy-accept-all:hover {
	background-color: #45a049;
	transform: translateY(-2px);
}
.policy-reject-all {
	background-color: #f44336;
	color: white;
}
.policy-reject-all:hover {
	background-color: #da190b;
	transform: translateY(-2px);
}
.policy-customize, .policy-back {
	background-color: #007bff;
	color: white;
}
.policy-customize:hover, .policy-back:hover {
	background-color: #0056b3;
	transform: translateY(-2px);
}
.policy-save-settings {
	background-color: #28a745;
	color: white;
}
.policy-save-settings:hover {
	background-color: #218838;
	transform: translateY(-2px);
}
.policy-link {
	display: block;
	text-align: center;
	margin-top: 20px;
	color: #007bff;
	text-decoration: none;
	font-size: 0.9em;
	transition: color 0.2s ease;
}
.policy-link:hover {
	color: #0056b3;
	text-decoration: underline;
}
.policy-settings-view h2 {
	margin-bottom: 15px;
	font-size: 1.6em;
}
.policy-settings-view p {
	font-size: 0.9em;
	margin-bottom: 20px;
	color: #666;
}
.policy-cookie-category {
	display: flex;
	align-items: flex-start;
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 1px solid #eee;
}
.policy-cookie-category:last-of-type {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}
.policy-cookie-category h3 {
	margin-top: 0;
	margin-bottom: 5px;
	font-size: 1.2em;
	color: #333;
}
.policy-cookie-category p {
	font-size: 0.85em;
	line-height: 1.5;
	color: #777;
	margin-bottom: 0;
}
.policy-category-info {
	margin-left: 15px;
	flex-grow: 1;
}
.policy-switch {
	position: relative;
	display: inline-block;
	width: 48px;
	height: 26px;
	min-width: 48px;
}
.policy-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}
.policy-slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	transition: 0.4s;
	border-radius: 26px;
}
.policy-slider:before {
	position: absolute;
	content: "";
	height: 20px;
	width: 20px;
	left: 3px;
	bottom: 3px;
	background-color: white;
	transition: 0.4s;
	border-radius: 50%;
}
input:checked + .policy-slider {
	background-color: #2196F3;
}
input:focus + .policy-slider {
	box-shadow: 0 0 1px #2196F3;
}
input:checked + .policy-slider:before {
	transform: translateX(22px);
}
input:disabled + .policy-slider {
	background-color: #a0a0a0;
	cursor: not-allowed;
}
input:disabled + .policy-slider:before {
	background-color: #e0e0e0;
}
@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}
@keyframes slideUp {
	from { transform: translateY(50px); opacity: 0; }
	to { transform: translateY(0); opacity: 1; }
}
@media (max-width: 768px) {
	.policy-content {
		width: 95%;
		padding: 20px;
	}
	.policy-content h2 {
		font-size: 1.5em;
	}
	.policy-buttons button {
		flex-basis: 100%;
		max-width: 100%;
	}
	.policy-cookie-category {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	.policy-category-info {
		margin-left: 0;
		margin-top: 10px;
	}
}
@media (max-width: 480px) {
	.policy-content {
		padding: 15px;
	}
	.policy-content h2 {
		font-size: 1.3em;
	}
	.policy-content p {
		font-size: 0.9em;
	}
	.policy-buttons button {
		padding: 10px 20px;
		font-size: 0.95em;
	}
	.policy-cookie-category h3 {
		font-size: 1.1em;
	}
	.policy-cookie-category p {
		font-size: 0.8em;
	}
}