#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: 9999;
	justify-content: center;
	align-items: center;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.consent-banner-content {
	position: fixed;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	width: 90%;
	max-width: 650px;
	background-color: #ffffff;
	padding: 25px;
	border-radius: 12px;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
	display: flex;
	flex-direction: column;
	gap: 15px;
	animation: slideUp 0.5s ease-out forwards;
}

.consent-banner-content p {
	font-size: 15px;
	line-height: 1.6;
	color: #333;
	margin: 0;
}

.consent-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-end;
}

.consent-actions button,
.settings-footer button {
	padding: 10px 18px;
	border: none;
	border-radius: 8px;
	font-size: 14px;
	cursor: pointer;
	transition: background-color 0.3s ease, transform 0.2s ease;
	font-weight: 600;
}

.consent-actions .btn-accept-all,
.settings-footer .btn-save-prefs {
	background-color: #007bff;
	color: #ffffff;
}

.consent-actions .btn-accept-all:hover,
.settings-footer .btn-save-prefs:hover {
	background-color: #0056b3;
	transform: translateY(-2px);
}

.consent-actions .btn-reject-all {
	background-color: #dc3545;
	color: #ffffff;
}

.consent-actions .btn-reject-all:hover {
	background-color: #c82333;
	transform: translateY(-2px);
}

.consent-actions .btn-manage-prefs {
	background-color: #6c757d;
	color: #ffffff;
}

.consent-actions .btn-manage-prefs:hover {
	background-color: #5a6268;
	transform: translateY(-2px);
}

.cookie-settings-panel {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 90%;
	max-width: 700px;
	background-color: #ffffff;
	padding: 30px;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
	display: none;
	flex-direction: column;
	gap: 20px;
	animation: fadeInScale 0.4s ease-out forwards;
	max-height: 90vh;
	overflow-y: auto;
}

.settings-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid #e9ecef;
	padding-bottom: 15px;
	margin-bottom: 15px;
}

.settings-header h3 {
	margin: 0;
	font-size: 24px;
	color: #333;
}

.settings-header .btn-close-settings {
	background: none;
	border: none;
	font-size: 24px;
	color: #6c757d;
	cursor: pointer;
	transition: color 0.3s ease;
}

.settings-header .btn-close-settings:hover {
	color: #333;
}

.settings-body h4 {
	font-size: 18px;
	color: #007bff;
	margin-bottom: 10px;
}

.settings-body p {
	font-size: 14px;
	color: #555;
	line-height: 1.5;
	margin-bottom: 15px;
}

.cookie-category {
	background-color: #f8f9fa;
	border-radius: 8px;
	padding: 15px;
	margin-bottom: 15px;
	border: 1px solid #e9ecef;
}

.cookie-category .category-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
}

.cookie-category h5 {
	margin: 0;
	font-size: 16px;
	color: #333;
}

.cookie-category p {
	font-size: 13px;
	color: #666;
	margin: 0;
}

.toggle-switch {
	position: relative;
	display: inline-block;
	width: 45px;
	height: 25px;
}

.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;
}

.slider:before {
	position: absolute;
	content: "";
	height: 17px;
	width: 17px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	transition: 0.4s;
}

input:checked + .slider {
	background-color: #007bff;
}

input:focus + .slider {
	box-shadow: 0 0 1px #007bff;
}

input:checked + .slider:before {
	transform: translateX(20px);
}

.slider.round {
	border-radius: 25px;
}

.slider.round:before {
	border-radius: 50%;
}

input:disabled + .slider {
	opacity: 0.6;
	cursor: not-allowed;
}

.settings-footer {
	padding-top: 15px;
	border-top: 1px solid #e9ecef;
	display: flex;
	justify-content: flex-end;
}

@keyframes slideUp {
	from { transform: translateX(-50%) translateY(100%); opacity: 0; }
	to { transform: translateX(-50%) translateY(0); opacity: 1; }
}

@keyframes fadeInScale {
	from { opacity: 0; transform: translate(-50%, -50%) scale(0.9); }
	to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@media (max-width: 768px) {
	.consent-banner-content {
		width: 95%;
		padding: 20px;
		bottom: 15px;
	}
	.cookie-settings-panel {
		width: 95%;
		padding: 20px;
	}
	.consent-actions {
		flex-direction: column;
		align-items: stretch;
	}
	.consent-actions button {
		width: 100%;
	}
	.settings-header h3 {
		font-size: 20px;
	}
	.settings-header .btn-close-settings {
		font-size: 20px;
	}
}

@media (max-width: 480px) {
	.consent-banner-content p {
		font-size: 14px;
	}
	.consent-actions button {
		font-size: 13px;
		padding: 12px;
	}
	.cookie-settings-panel {
		padding: 15px;
	}
	.settings-body h4 {
		font-size: 16px;
	}
	.cookie-category h5 {
		font-size: 14px;
	}
	.cookie-category p {
		font-size: 12px;
	}
}