#cookie-consent-modal, #cookie-settings-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 100;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
}
#cookie-consent-modal.show, #cookie-settings-modal.show {
	display: flex;
	opacity: 1;
	pointer-events: auto;
}
.cookie-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	z-index: 1;
}
.cookie-content, .cookie-settings-content {
	background-color: #ffffff;
	border-radius: 12px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
	padding: 30px;
	max-width: 90%;
	width: 450px;
	position: relative;
	z-index: 2;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	color: #333;
	box-sizing: border-box;
	transform: translateY(20px);
	transition: transform 0.3s ease-in-out;
}
#cookie-consent-modal.show .cookie-content, #cookie-settings-modal.show .cookie-settings-content {
	transform: translateY(0);
}
.cookie-content {
	text-align: center;
}
.cookie-message, .settings-description {
	font-size: 15px;
	line-height: 1.6;
	margin-bottom: 25px;
}
.settings-title {
	font-size: 24px;
	margin-bottom: 20px;
	color: #2c3e50;
}
.cookie-buttons, .settings-buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-bottom: 20px;
}
.cookie-btn {
	background-color: #4CAF50;
	color: white;
	padding: 12px 25px;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	font-size: 16px;
	font-weight: 600;
	transition: background-color 0.2s ease, transform 0.1s ease;
	flex-grow: 1;
	max-width: 180px;
}
.cookie-btn:hover {
	background-color: #45a049;
	transform: translateY(-2px);
}
.cookie-btn.cookie-reject-all {
	background-color: #f44336;
}
.cookie-btn.cookie-reject-all:hover {
	background-color: #da190b;
}
.cookie-btn.cookie-customize, .cookie-btn.cookie-back {
	background-color: #007bff;
}
.cookie-btn.cookie-customize:hover, .cookie-btn.cookie-back:hover {
	background-color: #0056b3;
}
.cookie-privacy-link {
	display: block;
	margin-top: 15px;
	color: #007bff;
	text-decoration: none;
	font-size: 14px;
	transition: color 0.2s ease;
}
.cookie-privacy-link:hover {
	color: #0056b3;
	text-decoration: underline;
}
.cookie-category {
	background-color: #f8f9fa;
	border-radius: 8px;
	padding: 15px 20px;
	margin-bottom: 15px;
	border: 1px solid #e0e0e0;
}
.category-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
}
.category-title {
	font-weight: 600;
	color: #2c3e50;
	font-size: 16px;
}
.category-description {
	font-size: 13px;
	color: #666;
	line-height: 1.5;
	margin-top: 5px;
}
.always-on-label {
	font-size: 12px;
	color: #888;
	background-color: #e9ecef;
	padding: 3px 8px;
	border-radius: 4px;
	display: inline-block;
	margin-top: 8px;
}
.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;
	border-radius: 25px;
}
.slider:before {
	position: absolute;
	content: "";
	height: 17px;
	width: 17px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	transition: .4s;
	border-radius: 50%;
}
input:checked + .slider {
	background-color: #4CAF50;
}
input:focus + .slider {
	box-shadow: 0 0 1px #4CAF50;
}
input:checked + .slider:before {
	transform: translateX(20px);
}
input:disabled + .slider {
	background-color: #a0a0a0;
	cursor: not-allowed;
}
input:disabled + .slider:before {
	background-color: #f0f0f0;
}
@media (max-width: 768px) {
	.cookie-content, .cookie-settings-content {
		width: 95%;
		padding: 20px;
	}
	.cookie-buttons, .settings-buttons {
		flex-direction: column;
		gap: 10px;
	}
	.cookie-btn {
		max-width: 100%;
	}
	.settings-title {
		font-size: 20px;
	}
	.cookie-message, .settings-description {
		font-size: 14px;
	}
}