.zr-cookie-consent {
	position: fixed;
	left: 0;
	right: 0;
	z-index: 999999;
	padding: 16px 20px;
	background: #1a1a1a;
	color: #eee;
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
	font-size: 14px;
	line-height: 1.5;
	width: fit-content;
	margin: 0 auto;
	border-radius: .5rem;
}

.zr-cookie-consent--bottom {
	bottom: 1rem;
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
}

.zr-cookie-consent--top {
	top: 0;
	bottom: auto;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.zr-cookie-consent--center {
	bottom: auto;
	top: 0;
	left: 0;
	right: 0;
	height: 100%;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	box-shadow: none;
}

.zr-cookie-consent--center .zr-cookie-consent__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
}

.zr-cookie-consent--center .zr-cookie-consent__inner {
	max-width: 480px;
	margin: 20px;
	padding: 24px;
	background: #1a1a1a;
	color: #eee;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
	border-radius: 8px;
	flex-direction: column;
	align-items: stretch;
	position: relative;
	z-index: 1;
}

.zr-cookie-consent[hidden] {
	display: none !important;
}

.zr-cookie-consent__inner {
	position: relative;
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
}

.zr-cookie-consent--accept-close .zr-cookie-consent__inner {
	padding-right: 40px;
}

.zr-cookie-consent--accept-close.zr-cookie-consent--center .zr-cookie-consent__inner {
	padding-right: 44px;
	padding-top: 12px;
}

.zr-cookie-consent__close {
	position: absolute;
	top: -5px;
	right: -5px;
	z-index: 2;
	width: 32px;
	height: 32px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: #ccc;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.2s, background 0.2s;
}

.zr-cookie-consent__close:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.08);
}

.zr-cookie-consent__close-icon {
	position: relative;
	width: 16px;
	height: 16px;
	display: block;
}

.zr-cookie-consent__close-icon::before,
.zr-cookie-consent__close-icon::after {
	content: '';
	position: absolute;
	left: 50%;
	top: 50%;
	width: 2px;
	height: 16px;
	margin-left: -1px;
	margin-top: -8px;
	background: currentColor;
	border-radius: 1px;
}

.zr-cookie-consent__close-icon::before {
	transform: rotate(45deg);
}

.zr-cookie-consent__close-icon::after {
	transform: rotate(-45deg);
}

.zr-cookie-consent__text {
	margin: 0;
	flex: 1 1 280px;
}

.zr-cookie-consent__inline-link {
	color: var(--zcc-accept-bg);
	text-decoration: underline;
    transition: opacity .3s ease;
}

.zr-cookie-consent__inline-link:hover {
	opacity: .8;
}

.zr-cookie-consent__actions {
	display: flex;
	gap: 10px;
	flex-shrink: 0;
}

.zr-cookie-consent__btn {
	padding: 10px 20px;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	transition: opacity 0.2s;
}

.zr-cookie-consent__btn:hover {
	opacity: 0.9;
}

.zr-cookie-consent__btn--accept[type=button] {
	background-color: var(--zcc-accept-bg);
	color: var(--zcc-accept-text);
	transition: all .3s ease;
	border-color: var(--zcc-accept-bg);
}

.zr-cookie-consent__btn--accept[type=button]:hover {
	opacity: .9;
	background-color: var(--zcc-accept-bg);
	border-color: var(--zcc-accept-bg);
}

.zr-cookie-consent__btn--decline[type=button] {
	background: var(--zcc-decline-bg);
	color: var(--zcc-decline-text);
	border: 1px solid var(--zcc-decline-border);
	transition: all .3s ease;
}

.zr-cookie-consent__btn--decline[type=button]:hover {
	opacity: .9;
	background: var(--zcc-decline-bg);
}


@media (max-width: 768px) {
	.zr-cookie-consent__text {
		flex: auto;
	}
	.zr-cookie-consent--bottom {
		bottom: 0;
	}
}

@media (max-width: 480px) {
	.zr-cookie-consent__inner {
		flex-direction: column;
		align-items: stretch;
	}
	.zr-cookie-consent__actions {
		justify-content: flex-end;
	}
	.zr-cookie-consent--accept-close .zr-cookie-consent__inner {
		padding-right: 36px;
	}
	.zr-cookie-consent--accept-close.zr-cookie-consent--center .zr-cookie-consent__inner {
		padding-right: 40px;
	}
	.zr-cookie-consent__close {
		width: 28px;
		height: 28px;
	}
}
