.cookie-consent-modal {
	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;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.consent-box {
	background: linear-gradient(135deg, #ffffff, #f0f8ff);
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	width: 90%;
	max-width: 500px;
	padding: 25px;
	box-sizing: border-box;
	color: #333;
	position: relative;
	transform: scale(0.95);
	opacity: 0;
	transition: all 0.3s ease-out;
}
.cookie-consent-modal.show .consent-box {
	transform: scale(1);
	opacity: 1;
}
.consent-box h2 {
	font-size: 1.8em;
	color: #2c3e50;
	margin-bottom: 15px;
	text-align: center;
}
.consent-box p {
	font-size: 0.95em;
	line-height: 1.6;
	margin-bottom: 20px;
	color: #555;
}
.consent-buttons {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.consent-buttons button {
	padding: 12px 20px;
	border: none;
	border-radius: 8px;
	font-size: 1em;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.1s ease;
	font-weight: 600;
	letter-spacing: 0.5px;
}
.consent-buttons button:hover {
	transform: translateY(-1px);
}
.consent-buttons .btn-primary {
	background-color: #4CAF50;
	color: white;
}
.consent-buttons .btn-primary:hover {
	background-color: #45a049;
}
.consent-buttons .btn-secondary {
	background-color: #007bff;
	color: white;
}
.consent-buttons .btn-secondary:hover {
	background-color: #0069d9;
}
.consent-buttons .btn-tertiary {
	background-color: #f0f0f0;
	color: #333;
	border: 1px solid #ddd;
}
.consent-buttons .btn-tertiary:hover {
	background-color: #e0e0e0;
}
.cookie-settings-panel {
	display: none;
	margin-top: 20px;
}
.cookie-settings-panel h3 {
	font-size: 1.4em;
	color: #2c3e50;
	margin-bottom: 15px;
	text-align: center;
}
.cookie-category {
	margin-bottom: 18px;
	padding: 15px;
	background-color: #f9f9f9;
	border-radius: 8px;
	border: 1px solid #eee;
}
.cookie-category-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
	cursor: pointer;
}
.cookie-category-header h4 {
	font-size: 1.1em;
	color: #333;
	margin: 0;
}
.cookie-category-header .toggle-switch {
	position: relative;
	display: inline-block;
	width: 48px;
	height: 28px;
}
.toggle-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}
.toggle-switch .slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	transition: .4s;
	border-radius: 28px;
}
.toggle-switch .slider:before {
	position: absolute;
	content: "";
	height: 20px;
	width: 20px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	transition: .4s;
	border-radius: 50%;
}
.toggle-switch input:checked + .slider {
	background-color: #4CAF50;
}
.toggle-switch input:focus + .slider {
	box-shadow: 0 0 1px #4CAF50;
}
.toggle-switch input:checked + .slider:before {
	transform: translateX(20px);
}
.cookie-category-description {
	font-size: 0.85em;
	color: #666;
	line-height: 1.5;
	margin-top: 10px;
	display: none;
}
.cookie-category-description.show {
	display: block;
}
.cookie-category.essential .toggle-switch {
	opacity: 0.6;
	pointer-events: none;
}
.cookie-category.essential input:checked + .slider {
	background-color: #888;
}
.cookie-category.essential input:checked + .slider:before {
	background-color: #ccc;
}
.policy-link {
	display: block;
	text-align: center;
	margin-top: 20px;
	font-size: 0.9em;
	color: #007bff;
	text-decoration: none;
}
.policy-link:hover {
	text-decoration: underline;
}
@media (max-width: 768px) {
	.consent-box {
		width: 95%;
		padding: 20px;
	}
	.consent-box h2 {
		font-size: 1.6em;
	}
	.consent-box p {
		font-size: 0.9em;
	}
	.consent-buttons button {
		font-size: 0.95em;
		padding: 10px 15px;
	}
	.cookie-settings-panel h3 {
		font-size: 1.2em;
	}
	.cookie-category-header h4 {
		font-size: 1em;
	}
	.cookie-category-description {
		font-size: 0.8em;
	}
}
@media (max-width: 480px) {
	.consent-box {
		border-radius: 0;
		min-height: 100vh;
		width: 100%;
		max-width: none;
		padding: 15px;
		box-shadow: none;
	}
	.cookie-consent-modal {
		align-items: flex-start;
		padding-top: 20px;
		background-color: #f0f8ff;
	}
	.consent-box h2 {
		font-size: 1.4em;
	}
	.consent-buttons {
		gap: 10px;
	}
	.consent-buttons button {
		font-size: 0.9em;
		padding: 10px;
	}
}
