.cookie-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
	opacity: 1;
	transition: opacity 0.3s ease;
}

.cookie-banner {
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
	max-width: 600px;
	/*width: 100%;*/
	overflow: hidden;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.cookie-banner--bottom {
	position: fixed;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	max-width: 700px;
}

.cookie-banner--top {
	position: fixed;
	top: 20px;
	left: 50%;
	transform: translateX(-50%);
	max-width: 800px;
}

.cookie-banner--center {
	position: static;
	transform: none;
}

.cookie-banner__content {
	padding: 24px;
}

.cookie-banner__header {
	margin-bottom: 16px;
}

.cookie-banner__title {
	margin: 0;
	font-size: 20px;
	font-weight: 600;
	color: #1a1a1a;
	line-height: 1.3;
}

.cookie-banner__text {
	margin: 0 0 20px;
	/*font-size: 15px;*/
	/*color: #4a4a4a;*/
	line-height: 1.4;
}

.cookie-banner__buttons {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.cookie-banner__settings {
	padding-top: 16px;
	border-top: 1px solid #e8e8e8;
}

.cookie-setting {
	margin-bottom: 20px;
}

.cookie-setting:last-of-type {
	margin-bottom: 24px;
}

.cookie-setting__label {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: default;
	margin-bottom: 6px;
}

.cookie-setting__label input[type="checkbox"] {
	width: 20px;
	height: 20px;
	accent-color: #0c4da2;
	cursor: pointer;
}

.cookie-setting__label input[type="checkbox"]:disabled {
	opacity: 0.8;
	cursor: not-allowed;
}

.cookie-setting__title {
	font-size: 18px;
	font-weight: 500;
	/*color: #1a1a1a;*/
}

.cookie-setting__desc {
	margin: 0 0 0 30px;
	font-size: 14px;
	color: #6c6c6c;
	line-height: 1.4;
}

.cookie-btn {
	padding: 12px 24px;
	/*font-size: 15px;*/
	font-weight: 500;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.2s ease;
	min-width: 140px;
}

.cookie-btn--primary {
	background: var(--color-mainaccent);
	color: #ffffff;
}

.cookie-btn--primary:hover {
	background: #3557e0;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(74, 108, 247, 0.3);
}

.cookie-btn--primary:active {
	transform: translateY(0);
}

.cookie-btn--secondary {
	background: #f0f0f5;
	color: #4a4a4a;
}

.cookie-btn--secondary:hover {
	background: #e4e4ec;
}

@media (max-width: 768px) {
	.cookie-overlay {
		padding: 12px;
	}

	.cookie-banner--bottom,
	.cookie-banner--top {
		left: 12px;
		right: 12px;
		transform: none;
		max-width: none;
		bottom: 12px;
		top: auto;
	}

	.cookie-banner__content {
		padding: 16px;
	}

	.cookie-banner__title {
		font-size: 18px;
	}

	.cookie-banner__buttons {
		flex-direction: column;
	}

	.cookie-btn {
		width: 100%;
		min-width: auto;
	}
}

@media (prefers-color-scheme: dark) {
	.cookie-banner {
		background: #1e1e1e;
	}

	.cookie-banner__title {
		color: #f0f0f0;
	}

	.cookie-banner__text {
		color: #b0b0b0;
	}

	.cookie-setting__title {
		color: #f0f0f0;
	}

	.cookie-setting__desc {
		color: #909090;
	}

	.cookie-banner__settings {
		border-top-color: #333333;
	}

	.cookie-btn--secondary {
		background: #2a2a2a;
		color: #d0d0d0;
	}

	.cookie-btn--secondary:hover {
		background: #353535;
	}
}
