.cookie-consent-overlay {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	padding: 16px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0));
	pointer-events: none;
}

.cookie-consent-box {
	width: min(920px, 100%);
	margin: 0 auto;
	padding: 22px;
	border: 1px solid rgba(44, 110, 112, 0.4); /* Used var(--accent-color) equivalent for modern look */
	border-radius: 18px;
	background: rgba(27, 28, 26, 0.98); /* Blends with --bg-color */
	color: #ffffff;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
	pointer-events: auto;
	backdrop-filter: blur(12px);
}

.cookie-consent-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 10px;
}

.cookie-consent-header h2 {
	margin: 0;
	font-size: 22px;
	line-height: 1.25;
	color: var(--accent-color, #2c6e70);
	font-weight: 800;
}

.cookie-consent-close {
	width: 38px;
	height: 38px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 999px;
	background: transparent;
	color: #ffffff;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
}

.cookie-consent-close:hover {
	background: rgba(255, 255, 255, 0.08);
	transform: rotate(90deg);
}

.cookie-consent-text {
	margin: 0 0 14px 0;
	color: rgba(255, 255, 255, 0.86);
	font-size: 15px;
	line-height: 1.55;
}

.cookie-consent-settings {
	display: grid;
	gap: 10px;
	margin: 16px 0;
}

.cookie-consent-option {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 12px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.04);
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.cookie-consent-option:hover:not(.cookie-consent-option-disabled) {
	background: rgba(255, 255, 255, 0.08);
}

.cookie-consent-option input {
	margin-top: 4px;
	transform: scale(1.15);
	accent-color: var(--accent-color, #2c6e70);
}

.cookie-consent-option strong {
	display: block;
	margin-bottom: 3px;
	color: #ffffff;
	font-size: 15px;
}

.cookie-consent-option small {
	display: block;
	color: rgba(255, 255, 255, 0.72);
	font-size: 13px;
	line-height: 1.4;
}

.cookie-consent-option-disabled {
	opacity: 0.72;
	cursor: not-allowed;
}

.cookie-consent-links {
	margin: 12px 0 0 0;
}

.cookie-consent-links a {
	color: var(--accent-color, #2c6e70);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.cookie-consent-links a:hover {
	color: #ffffff;
}

.cookie-consent-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 16px;
}

.cookie-btn {
	border: 0;
	border-radius: 999px;
	padding: 10px 20px;
	font-weight: 700;
	cursor: pointer;
	transition: transform 0.15s ease, opacity 0.15s ease, background 0.15s ease;
}

.cookie-btn:hover {
	transform: translateY(-2px);
}

.cookie-btn-primary {
	background: var(--accent-color, #2c6e70);
	color: #ffffff;
}

.cookie-btn-primary:hover {
	background: #398e91;
}

.cookie-btn-secondary {
	background: rgba(255, 255, 255, 0.12);
	color: #ffffff;
}

.cookie-btn-secondary:hover {
	background: rgba(255, 255, 255, 0.2);
}

.cookie-btn-light {
	background: #ffffff;
	color: #111111;
}

.cookie-btn-light:hover {
	background: #e0e0e0;
}

.cookie-footer-button {
	border: 0;
	padding: 0;
	background: transparent;
	color: inherit;
	text-decoration: underline;
	cursor: pointer;
	font-size: inherit;
	font-family: inherit;
	transition: var(--transition, all 0.3s ease);
}

.cookie-footer-button:hover {
	color: var(--accent-color, #2c6e70);
}

@media (max-width: 576px) {
	.cookie-consent-overlay {
		padding: 10px;
	}

	.cookie-consent-box {
		padding: 18px;
		border-radius: 14px;
	}

	.cookie-consent-actions {
		display: grid;
		grid-template-columns: 1fr;
	}

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