.privacy-consent-popup {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	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%;
	background-color: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(4px);
}
.privacy-consent-modal {
	position: fixed;
	bottom: 20px;
	right: 20px;
	width: 380px;
	max-width: calc(100% - 40px);
	background-color: #ffffff;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	z-index: 10000;
	transform: translateY(100%);
	opacity: 0;
	transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}
.privacy-consent-popup.active .privacy-consent-modal {
	transform: translateY(0);
	opacity: 1;
}
.privacy-consent-header {
	padding: 20px 25px 15px;
	background-color: #f7f9fc;
	border-bottom: 1px solid #e0e6ed;
}
.privacy-consent-header h2 {
	margin: 0;
	font-size: 1.3em;
	color: #333;
	font-weight: 600;
}
.privacy-consent-body {
	padding: 20px 25px;
	font-size: 0.95em;
	line-height: 1.5;
	color: #555;
	flex-grow: 1;
	overflow-y: auto;
}
.privacy-consent-body p {
	margin-top: 0;
	margin-bottom: 15px;
}
.privacy-consent-actions {
	padding: 15px 25px 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	border-top: 1px solid #e0e6ed;
	background-color: #f7f9fc;
}
.btn {
	padding: 12px 20px;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	font-size: 1em;
	font-weight: 600;
	transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary {
	background-color: #007bff;
	color: #fff;
}
.btn-primary:hover {
	background-color: #0056b3;
	box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}
.btn-secondary {
	background-color: #6c757d;
	color: #fff;
}
.btn-secondary:hover {
	background-color: #5a6268;
	box-shadow: 0 4px 12px rgba(108, 117, 125, 0.2);
}
.btn-tertiary {
	background-color: #e9ecef;
	color: #333;
}
.btn-tertiary:hover {
	background-color: #d6d9dc;
	box-shadow: 0 4px 12px rgba(233, 236, 239, 0.2);
}
.privacy-consent-footer {
	padding: 10px 25px;
	text-align: center;
	font-size: 0.85em;
	background-color: #f7f9fc;
	border-top: 1px solid #e0e6ed;
}
.privacy-policy-link {
	color: #007bff;
	text-decoration: none;
	transition: color 0.2s ease;
}
.privacy-policy-link:hover {
	color: #0056b3;
	text-decoration: underline;
}
.privacy-consent-settings-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0.9);
	width: 550px;
	max-width: 90%;
	max-height: 90%;
	bottom: auto;
	right: auto;
	transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}
.privacy-consent-popup.active .privacy-consent-settings-modal {
	transform: translate(-50%, -50%) scale(1);
	opacity: 1;
}
.privacy-consent-settings-modal .privacy-consent-body {
	padding: 25px;
	max-height: calc(90vh - 200px);
}
.cookie-category {
	margin-bottom: 25px;
	padding-bottom: 15px;
	border-bottom: 1px dashed #e0e6ed;
}
.cookie-category:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}
.category-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
}
.category-header h3 {
	margin: 0;
	font-size: 1.1em;
	color: #333;
	font-weight: 600;
}
.always-active {
	font-size: 0.85em;
	color: #6c757d;
	background-color: #e9ecef;
	padding: 4px 8px;
	border-radius: 5px;
}
.cookie-category p {
	font-size: 0.85em;
	color: #666;
	margin-top: 5px;
}
.switch {
	position: relative;
	display: inline-block;
	width: 48px;
	height: 28px;
}
.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;
	border-radius: 28px;
}
.slider:before {
	position: absolute;
	content: "";
	height: 20px;
	width: 20px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	transition: 0.4s;
	border-radius: 50%;
}
input:checked + .slider {
	background-color: #007bff;
}
input:focus + .slider {
	box-shadow: 0 0 1px #007bff;
}
input:checked + .slider:before {
	transform: translateX(20px);
}
@media (max-width: 768px) {
	.privacy-consent-modal {
		bottom: 0;
		right: 0;
		left: 0;
		width: 100%;
		border-radius: 12px 12px 0 0;
		box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
	}
	.privacy-consent-settings-modal {
		width: 95%;
		max-width: 95%;
		max-height: 95%;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%) scale(0.9);
		border-radius: 12px;
	}
	.privacy-consent-popup.active .privacy-consent-settings-modal {
		transform: translate(-50%, -50%) scale(1);
	}
	.privacy-consent-actions {
		flex-direction: column;
	}
}
@media (max-width: 480px) {
	.privacy-consent-header, .privacy-consent-body, .privacy-consent-actions, .privacy-consent-footer {
		padding-left: 15px;
		padding-right: 15px;
	}
	.privacy-consent-modal {
		bottom: 0;
		right: 0;
		left: 0;
		width: 100%;
		max-width: 100%;
		border-radius: 0;
	}
	.privacy-consent-settings-modal {
		max-height: 100vh;
		border-radius: 0;
	}
	.privacy-consent-settings-modal .privacy-consent-body {
		max-height: calc(100vh - 180px);
	}
}