.cookie-consent-overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(22, 22, 22, 0.65);
	backdrop-filter: blur(4px);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.cookie-consent-overlay.is-visible {
	opacity: 1;
	visibility: visible;
}

.cookie-consent {
	max-width: 560px;
	width: 100%;
	background: #fff;
	border-radius: 16px;
	padding: 36px 40px 32px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
	font-family: inherit;
}

.cookie-consent__logo {
	text-align: center;
	margin-bottom: 20px;
}

.cookie-consent__logo img {
	height: 48px;
	width: auto;
}

.cookie-consent__title {
	font-size: 22px;
	font-weight: 500;
	color: #161616;
	text-align: center;
	margin: 0 0 16px;
	line-height: 1.3;
}

.cookie-consent__text {
	font-size: 15px;
	line-height: 1.5;
	color: #555;
	margin: 0 0 20px;
}

.cookie-consent__text a {
	color: #161616;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.cookie-consent__text a:hover {
	opacity: 0.75;
}

.cookie-consent__checkbox-wrap {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 24px;
	cursor: pointer;
}

.cookie-consent__checkbox {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	margin-top: 2px;
	accent-color: #161616;
	cursor: pointer;
}

.cookie-consent__checkbox-label {
	font-size: 14px;
	line-height: 1.45;
	color: #333;
	cursor: pointer;
}

.cookie-consent__checkbox-label a {
	color: #161616;
	text-decoration: underline;
}

.cookie-consent__actions {
	display: flex;
	gap: 12px;
}

.cookie-consent__btn {
	flex: 1;
	padding: 14px 20px;
	border: none;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
	transition: opacity 0.2s ease;
	font-family: inherit;
}

.cookie-consent__btn:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.cookie-consent__btn--accept {
	background: #161616;
	color: #fff;
}

.cookie-consent__btn--accept:not(:disabled):hover {
	opacity: 0.85;
}

.cookie-consent__btn--decline {
	background: #f0f0f0;
	color: #555;
}

.cookie-consent__btn--decline:hover {
	background: #e4e4e4;
}

html.consent-pending input:not([type="hidden"]):not(.cookie-consent__checkbox),
html.consent-pending textarea,
html.consent-pending select {
	pointer-events: none;
	caret-color: transparent;
}

html.consent-pending input[type="file"] {
	opacity: 0.5;
}

@media (max-width: 480px) {
	.cookie-consent {
		padding: 28px 20px 24px;
	}

	.cookie-consent__title {
		font-size: 18px;
	}

	.cookie-consent__actions {
		flex-direction: column;
	}
}
