#privacy-consent-popup {
	position: fixed;
	bottom: 20px;
	right: 20px;
	width: 90%;
	max-width: 450px;
	background: linear-gradient(135deg, #f0f4f8, #e6e9ed);
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	color: #333;
	z-index: 100;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transition: all 0.3s ease-in-out;
}
.consent-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 18px 25px;
	border-bottom: 1px solid #e0e4e8;
	background-color: #fff;
	border-top-left-radius: 12px;
	border-top-right-radius: 12px;
}
.consent-header h2 {
	margin: 0;
	font-size: 1.4em;
	color: #2c3e50;
	font-weight: 600;
}
.close-btn {
	background: none;
	border: none;
	font-size: 1.5em;
	color: #888;
	cursor: pointer;
	padding: 0 5px;
	line-height: 1;
	transition: color 0.2s ease;
}
.close-btn:hover {
	color: #555;
}
.consent-body, .cookie-settings-panel {
	padding: 20px 25px;
}
.consent-body p {
	font-size: 0.95em;
	line-height: 1.6;
	margin-bottom: 20px;
	color: #555;
}
.consent-actions, .settings-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 15px;
}
.consent-actions button, .settings-actions button {
	flex: 1;
	padding: 12px 18px;
	border: none;
	border-radius: 8px;
	font-size: 1em;
	cursor: pointer;
	transition: background-color 0.2s ease, box-shadow 0.2s ease;
	font-weight: 500;
	min-width: 120px;
}
.accept-all-btn {
	background-color: #4CAF50;
	color: white;
}
.accept-all-btn:hover {
	background-color: #45a049;
	box-shadow: 0 4px 10px rgba(76, 175, 80, 0.3);
}
.reject-all-btn {
	background-color: #f44336;
	color: white;
}
.reject-all-btn:hover {
	background-color: #da3c30;
	box-shadow: 0 4px 10px rgba(244, 67, 54, 0.3);
}
.manage-btn, .save-preferences-btn {
	background-color: #2196F3;
	color: white;
}
.manage-btn:hover, .save-preferences-btn:hover {
	background-color: #1e88e5;
	box-shadow: 0 4px 10px rgba(33, 150, 243, 0.3);
}
.cookie-settings-panel h3 {
	margin-top: 0;
	font-size: 1.2em;
	color: #2c3e50;
	margin-bottom: 20px;
}
.cookie-category {
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 1px dashed #e0e4e8;
}
.cookie-category:last-of-type {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}
.category-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
}
.category-header label {
	font-weight: 600;
	font-size: 1em;
	color: #333;
}
.cookie-category p {
	font-size: 0.85em;
	color: #666;
	line-height: 1.5;
}
.toggle-switch {
	position: relative;
	display: inline-block;
	width: 48px;
	height: 28px;
}
.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;
	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: #4CAF50;
}
input:focus + .slider {
	box-shadow: 0 0 1px #4CAF50;
}
input:checked + .slider:before {
	transform: translateX(20px);
}
input:disabled + .slider {
	background-color: #a0a0a0;
	cursor: not-allowed;
}
input:disabled + .slider:before {
	background-color: #e0e0e0;
}
.consent-footer {
	padding: 15px 25px;
	border-top: 1px solid #e0e4e8;
	background-color: #fff;
	text-align: center;
	border-bottom-left-radius: 12px;
	border-bottom-right-radius: 12px;
}
.privacy-link {
	color: #2196F3;
	text-decoration: none;
	font-size: 0.9em;
	transition: color 0.2s ease;
}
.privacy-link:hover {
	color: #1e88e5;
	text-decoration: underline;
}

@media (max-width: 768px) {
	#privacy-consent-popup {
		bottom: 15px;
		right: 15px;
		left: 15px;
		max-width: none;
		width: auto;
	}
	.consent-header h2 {
		font-size: 1.2em;
	}
	.consent-actions button, .settings-actions button {
		flex: 1 1 100%;
		min-width: unset;
	}
}
@media (max-width: 480px) {
	#privacy-consent-popup {
		bottom: 10px;
		right: 10px;
		left: 10px;
	}
	.consent-header, .consent-body, .cookie-settings-panel, .consent-footer {
		padding: 15px 20px;
	}
	.consent-header h2 {
		font-size: 1.1em;
	}
	.consent-body p {
		font-size: 0.9em;
	}
	.consent-actions button, .settings-actions button {
		padding: 10px 15px;
		font-size: 0.95em;
	}
	.cookie-category p {
		font-size: 0.8em;
	}
}