#cookie-policy-popup {
	display: none;
	position: fixed;
	bottom: 20px;
	right: 20px;
	max-width: 400px;
	background-color: #ffffff;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
	z-index: 9999;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	color: #333;
	padding: 25px;
	box-sizing: border-box;
	transition: all 0.3s ease-in-out;
}
#cookie-policy-popup.is-settings-open {
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	bottom: auto;
	right: auto;
	max-width: 600px;
	width: 90%;
}
.cookie-policy-popup__initial, .cookie-policy-popup__settings {
	display: flex;
	flex-direction: column;
}
.cookie-policy-popup__message {
	font-size: 1.1em;
	font-weight: 600;
	margin-bottom: 10px;
	color: #222;
}
.cookie-policy-popup__description {
	font-size: 0.9em;
	line-height: 1.5;
	margin-bottom: 20px;
	color: #555;
}
.cookie-policy-popup__description a {
	color: #007bff;
	text-decoration: none;
	font-weight: 500;
}
.cookie-policy-popup__description a:hover {
	text-decoration: underline;
}
.cookie-policy-popup__actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 15px;
}
.cookie-policy-popup__button {
	padding: 12px 20px;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	font-size: 0.95em;
	font-weight: 600;
	transition: background-color 0.2s ease, transform 0.2s ease;
	flex-grow: 1;
	min-width: 120px;
}
.cookie-policy-popup__button--primary {
	background-color: #007bff;
	color: #ffffff;
}
.cookie-policy-popup__button--primary:hover {
	background-color: #0056b3;
	transform: translateY(-2px);
}
.cookie-policy-popup__button--secondary {
	background-color: #e0e0e0;
	color: #333;
}
.cookie-policy-popup__button--secondary:hover {
	background-color: #c0c0c0;
	transform: translateY(-2px);
}
.cookie-policy-popup__settings-title {
	font-size: 1.3em;
	font-weight: 700;
	margin-bottom: 25px;
	color: #222;
	text-align: center;
}
.cookie-policy-popup__category {
	margin-bottom: 20px;
	padding: 15px;
	background-color: #f9f9f9;
	border-radius: 10px;
	border: 1px solid #eee;
}
.cookie-policy-popup__category-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
}
.cookie-policy-popup__category-header h4 {
	margin: 0;
	font-size: 1em;
	color: #333;
}
.cookie-policy-popup__category-description {
	font-size: 0.85em;
	color: #666;
	line-height: 1.4;
}
.cookie-policy-popup__toggle {
	position: relative;
	display: inline-block;
	width: 40px;
	height: 24px;
}
.cookie-policy-popup__toggle input {
	opacity: 0;
	width: 0;
	height: 0;
}
.cookie-policy-popup__slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	transition: 0.4s;
	border-radius: 24px;
}
.cookie-policy-popup__slider:before {
	position: absolute;
	content: "";
	height: 16px;
	width: 16px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	transition: 0.4s;
	border-radius: 50%;
}
.cookie-policy-popup__toggle input:checked + .cookie-policy-popup__slider {
	background-color: #007bff;
}
.cookie-policy-popup__toggle input:focus + .cookie-policy-popup__slider {
	box-shadow: 0 0 1px #007bff;
}
.cookie-policy-popup__toggle input:checked + .cookie-policy-popup__slider:before {
	transform: translateX(16px);
}
.cookie-policy-popup__toggle input:disabled + .cookie-policy-popup__slider {
	background-color: #a0a0a0;
	cursor: not-allowed;
}
.cookie-policy-popup__toggle input:disabled + .cookie-policy-popup__slider:before {
	background-color: #f0f0f0;
}

@media (max-width: 768px) {
	#cookie-policy-popup {
		bottom: 10px;
		right: 10px;
		left: 10px;
		max-width: calc(100% - 20px);
		width: auto;
		padding: 20px;
	}
	#cookie-policy-popup.is-settings-open {
		max-width: calc(100% - 20px);
		width: auto;
		top: 10px;
		left: 10px;
		transform: none;
		bottom: 10px;
		right: 10px;
		overflow-y: auto;
	}
	.cookie-policy-popup__actions {
		flex-direction: column;
	}
	.cookie-policy-popup__button {
		width: 100%;
		min-width: unset;
	}
}