#user-consent-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 10000;
	opacity: 0;
	transform: scale(0.9);
	transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}
.user-consent-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(5px);
}
.user-consent-content {
	position: relative;
	background: linear-gradient(135deg, #ffffff, #f0f2f5);
	padding: 25px;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	max-width: 90%;
	width: 550px;
	box-sizing: border-box;
	text-align: center;
	color: #333;
}
.user-consent-title {
	font-size: 26px;
	font-weight: 700;
	margin-bottom: 15px;
	color: #2c3e50;
}
.user-consent-description {
	font-size: 15px;
	line-height: 1.6;
	margin-bottom: 25px;
	color: #555;
}
.user-consent-actions, .user-consent-settings-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}
.user-consent-btn {
	padding: 12px 25px;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	cursor: pointer;
	transition: background-color 0.3s ease, transform 0.2s ease;
	font-weight: 600;
}
.user-consent-btn:hover {
	transform: translateY(-2px);
}
.user-consent-accept-all {
	background-color: #4CAF50;
	color: white;
}
.user-consent-accept-all:hover {
	background-color: #45a049;
}
.user-consent-reject-all {
	background-color: #f44336;
	color: white;
}
.user-consent-reject-all:hover {
	background-color: #da190b;
}
.user-consent-customize, .user-consent-save-prefs {
	background-color: #007bff;
	color: white;
}
.user-consent-customize:hover, .user-consent-save-prefs:hover {
	background-color: #0056b3;
}
.user-consent-back {
	background-color: #6c757d;
	color: white;
}
.user-consent-back:hover {
	background-color: #5a6268;
}
.user-consent-settings {
	text-align: left;
	margin-top: 20px;
}
.user-consent-setting-item {
	background-color: #e9ecef;
	padding: 15px 20px;
	border-radius: 10px;
	margin-bottom: 15px;
	box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}
.user-consent-setting-item h3 {
	margin-top: 0;
	margin-bottom: 8px;
	font-size: 18px;
	color: #333;
}
.user-consent-setting-item p {
	font-size: 13px;
	line-height: 1.5;
	color: #666;
	margin-bottom: 10px;
}
.user-consent-setting-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
}
.user-consent-always-active {
	font-size: 12px;
	color: #888;
	font-style: italic;
	display: block;
	margin-top: 5px;
}
/* Toggle Switch Styles */
.user-consent-toggle {
	position: relative;
	display: inline-block;
	width: 45px;
	height: 25px;
}
.user-consent-toggle input {
	opacity: 0;
	width: 0;
	height: 0;
}
.user-consent-slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	transition: 0.4s;
	border-radius: 25px;
}
.user-consent-slider:before {
	position: absolute;
	content: "";
	height: 19px;
	width: 19px;
	left: 3px;
	bottom: 3px;
	background-color: white;
	transition: 0.4s;
	border-radius: 50%;
}
.user-consent-toggle input:checked + .user-consent-slider {
	background-color: #2196F3;
}
.user-consent-toggle input:focus + .user-consent-slider {
	box-shadow: 0 0 1px #2196F3;
}
.user-consent-toggle input:checked + .user-consent-slider:before {
	transform: translateX(20px);
}
.user-consent-toggle input:disabled + .user-consent-slider {
	background-color: #a0a0a0;
	cursor: not-allowed;
}
.user-consent-toggle input:disabled + .user-consent-slider:before {
	background-color: #e0e0e0;
}
/* Responsive adjustments */
@media (max-width: 768px) {
	.user-consent-content {
		padding: 20px;
		width: 95%;
	}
	.user-consent-title {
		font-size: 22px;
	}
	.user-consent-description {
		font-size: 14px;
	}
	.user-consent-btn {
		width: 100%;
		padding: 10px 20px;
		font-size: 15px;
	}
	.user-consent-actions, .user-consent-settings-actions {
		flex-direction: column;
	}
	.user-consent-setting-item {
		padding: 12px 15px;
	}
	.user-consent-setting-item h3 {
		font-size: 16px;
	}
	.user-consent-setting-item p {
		font-size: 12px;
	}
}
@media (max-width: 480px) {
	.user-consent-content {
		padding: 15px;
	}
	.user-consent-title {
		font-size: 20px;
	}
	.user-consent-description {
		font-size: 13px;
	}
	.user-consent-btn {
		font-size: 14px;
	}
}