#cookie-consent-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1000;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.cookie-consent-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
}
.consent-box {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	background-color: #ffffff;
	border-radius: 12px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
	padding: 25px;
	max-width: 90%;
	width: 450px;
	box-sizing: border-box;
	color: #2c3e50;
	animation: slideUp 0.5s ease-out forwards;
	max-height: 80vh;
	overflow-y: auto;
}
@keyframes slideUp {
	from {
		transform: translateX(-50%) translateY(100%);
		opacity: 0;
	}
	to {
		transform: translateX(-50%) translateY(0);
	opacity: 1;
	}
}
.consent-title, .settings-title {
	font-size: 1.6em;
	margin-top: 0;
	margin-bottom: 15px;
	color: #1a4d6d;
	text-align: center;
}
.consent-description {
	font-size: 0.95em;
	line-height: 1.6;
	margin-bottom: 20px;
	color: #4a6572;
}
.consent-actions, .settings-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
	justify-content: center;
}
.consent-btn {
	padding: 12px 20px;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	font-size: 1em;
	font-weight: 600;
	transition: background-color 0.3s ease, transform 0.2s ease;
	flex-grow: 1;
	max-width: 100%;
}
.consent-btn:hover {
	transform: translateY(-2px);
}
.consent-btn.accept-all {
	background-color: #28a745;
	color: #ffffff;
}
.consent-btn.accept-all:hover {
	background-color: #218838;
}
.consent-btn.customize-settings {
	background-color: #007bff;
	color: #ffffff;
}
.consent-btn.customize-settings:hover {
	background-color: #0056b3;
}
.consent-btn.reject-all {
	background-color: #dc3545;
	color: #ffffff;
}
.consent-btn.reject-all:hover {
	background-color: #c82333;
}
.consent-btn.save-preferences {
	background-color: #17a2b8;
	color: #ffffff;
}
.consent-btn.save-preferences:hover {
	background-color: #138496;
}
.settings-panel {
	margin-top: 20px;
	border-top: 1px solid #e0e0e0;
	padding-top: 20px;
}
.cookie-category {
	margin-bottom: 20px;
	padding: 15px;
	background-color: #f8fcfd;
	border-radius: 8px;
	border: 1px solid #e0f2f7;
}
.category-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
}
.category-name {
	font-weight: 600;
	font-size: 1.1em;
	color: #1a4d6d;
}
.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: .4s;
}
.slider:before {
	position: absolute;
	content: "";
	height: 19px;
	width: 19px;
	left: 3px;
	bottom: 3px;
	background-color: white;
	transition: .4s;
}
input:checked + .slider {
	background-color: #28a745;
}
input:focus + .slider {
	box-shadow: 0 0 1px #28a745;
}
input:checked + .slider:before {
	transform: translateX(20px);
}
.slider.round {
	border-radius: 25px;
}
.slider.round:before {
	border-radius: 50%;
}
input:disabled + .slider {
	background-color: #a0a0a0;
	cursor: not-allowed;
}
input:disabled + .slider:before {
	background-color: #e0e0e0;
}
.category-description {
	font-size: 0.85em;
	color: #6c757d;
	line-height: 1.5;
}
.privacy-policy-link {
	display: block;
	text-align: center;
	margin-top: 20px;
	color: #007bff;
	text-decoration: none;
	font-size: 0.9em;
	transition: color 0.3s ease;
}
.privacy-policy-link:hover {
	color: #0056b3;
	text-decoration: underline;
}
@media (min-width: 768px) {
	.consent-box {
		bottom: 50%;
		transform: translate(-50%, 50%);
		max-width: 550px;
	}
	.consent-actions {
		flex-wrap: nowrap;
	}
	.consent-btn {
		max-width: unset;
	}
}
@media (max-width: 480px) {
	.consent-box {
		width: calc(100% - 20px);
		left: 10px;
		transform: translateX(0);
		bottom: 10px;
		padding: 15px;
	}
	.consent-title, .settings-title {
		font-size: 1.4em;
	}
	.consent-description {
		font-size: 0.9em;
	}
	.consent-btn {
		font-size: 0.9em;
		padding: 10px 15px;
	}
	.category-name {
		font-size: 1em;
	}
	.category-description {
		font-size: 0.8em;
	}
}
