#user-consent-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	color: #333;
}
.user-consent-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(4px);
}
.user-consent-content {
	background-color: #ffffff;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	width: 90%;
	max-width: 500px;
	position: relative;
	z-index: 10000;
	padding: 25px;
	box-sizing: border-box;
	max-height: 90vh;
	overflow-y: auto;
}
.user-consent-header h3 {
	margin-top: 0;
	margin-bottom: 15px;
	font-size: 1.6em;
	color: #2c3e50;
	text-align: center;
}
.user-consent-body p {
	font-size: 0.95em;
	line-height: 1.6;
	margin-bottom: 20px;
	color: #555;
}
.user-consent-actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 20px;
}
.user-consent-button {
	padding: 12px 20px;
	border: none;
	border-radius: 8px;
	font-size: 1em;
	cursor: pointer;
	transition: background-color 0.3s ease, transform 0.2s ease;
	text-align: center;
}
.user-consent-button-primary {
	background-color: #007bff;
	color: #ffffff;
}
.user-consent-button-primary:hover {
	background-color: #0056b3;
	transform: translateY(-1px);
}
.user-consent-button-secondary {
	background-color: #e0e0e0;
	color: #333;
}
.user-consent-button-secondary:hover {
	background-color: #d0d0d0;
	transform: translateY(-1px);
}
.user-consent-toggle-group {
	margin-bottom: 20px;
	padding: 15px;
	background-color: #f9f9f9;
	border-radius: 8px;
	border: 1px solid #eee;
}
.user-consent-toggle-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
}
.user-consent-toggle-label {
	font-weight: bold;
	color: #333;
	flex-grow: 1;
	font-size: 1.05em;
}
.user-consent-always-on {
	font-size: 0.85em;
	color: #6c757d;
	background-color: #e9ecef;
	padding: 4px 8px;
	border-radius: 5px;
}
.user-consent-description {
	font-size: 0.85em;
	color: #666;
	margin-top: 5px;
	margin-bottom: 0;
}
.user-consent-toggle-switch {
	position: relative;
	display: inline-block;
	width: 45px;
	height: 25px;
	flex-shrink: 0;
}
.user-consent-toggle-switch 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%;
}
input:checked + .user-consent-slider {
	background-color: #007bff;
}
input:focus + .user-consent-slider {
	box-shadow: 0 0 1px #007bff;
}
input:checked + .user-consent-slider:before {
	transform: translateX(20px);
}
.user-consent-settings-actions {
	margin-top: 30px;
}
.user-consent-footer {
	margin-top: 25px;
	text-align: center;
	border-top: 1px solid #eee;
	padding-top: 15px;
}
.user-consent-policy-link {
	color: #007bff;
	text-decoration: none;
	font-size: 0.9em;
	transition: color 0.3s ease;
}
.user-consent-policy-link:hover {
	color: #0056b3;
	text-decoration: underline;
}
@media (min-width: 768px) {
	.user-consent-actions {
		flex-direction: row;
		justify-content: center;
	}
	.user-consent-button {
		flex: 1;
		max-width: 200px;
	}
	.user-consent-settings-actions .user-consent-button {
		max-width: 180px;
	}
}
@media (max-width: 480px) {
	.user-consent-content {
		width: 95%;
		padding: 20px;
	}
	.user-consent-header h3 {
		font-size: 1.4em;
	}
	.user-consent-body p {
		font-size: 0.9em;
	}
	.user-consent-button {
		padding: 10px 15px;
		font-size: 0.9em;
	}
	.user-consent-toggle-label {
		font-size: 0.95em;
	}
	.user-consent-description {
		font-size: 0.8em;
	}
	.user-consent-toggle-switch {
		width: 40px;
		height: 22px;
	}
	.user-consent-slider:before {
		height: 16px;
		width: 16px;
		left: 3px;
		bottom: 3px;
	}
	input:checked + .user-consent-slider:before {
		transform: translateX(18px);
	}
}