.jc-cookie-consent,
.jc-cookie-modal__dialog{
	background: linear-gradient(135deg, rgba(7, 16, 13, .98), rgba(17, 17, 17, .98));
	border: 1px solid rgba(0, 241, 169, .22);
	box-shadow: 0 24px 80px rgba(0, 0, 0, .45), 0 0 24px rgba(0, 241, 169, .08);
	color: #f2f0eb;
}

.jc-cookie-consent{
	align-items: center;
	border-radius: 16px;
	bottom: 24px;
	display: grid;
	gap: 24px;
	grid-template-columns: minmax(0, 1fr) auto;
	left: 50%;
	max-width: min(1120px, calc(100vw - 32px));
	padding: 24px;
	position: fixed;
	transform: translateX(-50%);
	width: 100%;
	z-index: 99998;
}

.jc-cookie-consent__content{
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.jc-cookie-consent__eyebrow,
.jc-cookie-modal__eyebrow{
	color: #00f1a9;
	font-family: "JetBrains Mono", Monaco, Consolas, "Andale Mono", monospace;
	font-size: 13px;
	margin: 0;
	text-transform: uppercase;
}

.jc-cookie-consent h2,
.jc-cookie-modal h2{
	color: #f2f0eb;
	font-size: 24px;
	line-height: 1.15;
	margin: 0;
}

.jc-cookie-consent p,
.jc-cookie-modal p{
	color: rgba(242, 240, 235, .68);
	font-size: 15px;
	line-height: 1.45;
	margin: 0;
}

.jc-cookie-consent__links{
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.jc-cookie-consent a{
	color: #00f1a9;
	text-decoration: none;
}

.jc-cookie-consent a:hover,
.jc-cookie-consent a:focus{
	text-decoration: underline;
}

.jc-cookie-consent__actions,
.jc-cookie-modal__actions{
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-end;
}

.jc-cookie-consent__button{
	background: rgba(242, 240, 235, .04);
	border: 1px solid rgba(242, 240, 235, .22);
	border-radius: 8px;
	color: #f2f0eb;
	cursor: pointer;
	font-size: 14px;
	font-weight: 700;
	min-height: 44px;
	padding: 10px 16px;
	transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease, transform .2s ease;
}

.jc-cookie-consent__button:hover,
.jc-cookie-consent__button:focus{
	border-color: rgba(0, 241, 169, .68);
	box-shadow: 0 0 18px rgba(0, 241, 169, .14);
	color: #fff;
	transform: translateY(-1px);
}

.jc-cookie-consent__button--primary{
	background: linear-gradient(77deg, rgba(0, 139, 97, .26), rgba(0, 241, 169, .18));
	border-color: rgba(0, 241, 169, .5);
	color: #fff;
}

.jc-cookie-consent__button--ghost{
	background: transparent;
}

.jc-cookie-modal{
	align-items: center;
	background: rgba(0, 0, 0, .72);
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 20px;
	position: fixed;
	z-index: 99999;
}

.jc-cookie-modal__dialog{
	border-radius: 16px;
	display: flex;
	flex-direction: column;
	gap: 18px;
	max-width: 680px;
	padding: 28px;
	position: relative;
	width: 100%;
}

.jc-cookie-modal__close{
	align-items: center;
	appearance: none;
	background: rgba(242, 240, 235, .055);
	border: 1px solid rgba(242, 240, 235, .22);
	border-radius: 999px;
	cursor: pointer;
	display: inline-flex;
	height: 48px;
	justify-content: center;
	outline: 0;
	padding: 0;
	position: absolute;
	right: 18px;
	top: 18px;
	transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
	width: 48px;
}

.jc-cookie-modal__close::before,
.jc-cookie-modal__close::after{
	background: #f2f0eb;
	border-radius: 999px;
	content: "";
	height: 2px;
	position: absolute;
	width: 18px;
}

.jc-cookie-modal__close::before{
	transform: rotate(45deg);
}

.jc-cookie-modal__close::after{
	transform: rotate(-45deg);
}

.jc-cookie-modal__close:hover{
	background: rgba(0, 241, 169, .12);
	border-color: rgba(0, 241, 169, .46);
	transform: translateY(-1px);
}

.jc-cookie-modal__close:focus-visible{
	border-color: rgba(0, 241, 169, .78);
	box-shadow: 0 0 0 3px rgba(0, 241, 169, .16), 0 0 18px rgba(0, 241, 169, .16);
}

.jc-cookie-modal__toggles{
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.jc-cookie-modal__toggle{
	align-items: center;
	background: rgba(242, 240, 235, .035);
	border: 1px solid rgba(242, 240, 235, .12);
	border-radius: 10px;
	cursor: pointer;
	display: grid;
	gap: 18px;
	grid-template-columns: minmax(0, 1fr) 48px;
	padding: 16px;
}

.jc-cookie-modal__toggle strong,
.jc-cookie-modal__toggle small{
	display: block;
}

.jc-cookie-modal__toggle strong{
	color: #f2f0eb;
	font-size: 16px;
	margin-bottom: 4px;
}

.jc-cookie-modal__toggle small{
	color: rgba(242, 240, 235, .62);
	font-size: 13px;
	line-height: 1.4;
}

.jc-cookie-modal__toggle input{
	opacity: 0;
	position: absolute;
}

.jc-cookie-modal__toggle i{
	background: rgba(242, 240, 235, .18);
	border-radius: 999px;
	height: 26px;
	position: relative;
	width: 48px;
}

.jc-cookie-modal__toggle i::before{
	background: #f2f0eb;
	border-radius: 999px;
	content: "";
	height: 20px;
	left: 3px;
	position: absolute;
	top: 3px;
	transition: transform .2s ease, background-color .2s ease;
	width: 20px;
}

.jc-cookie-modal__toggle input:checked + i{
	background: rgba(0, 241, 169, .35);
}

.jc-cookie-modal__toggle input:checked + i::before{
	background: #00f1a9;
	transform: translateX(22px);
}

.jc-cookie-preferences-button{
	align-items: center;
	background: linear-gradient(77deg, rgba(0, 139, 97, .3), rgba(0, 241, 169, .18));
	border: 1px solid rgba(0, 241, 169, .5);
	border-radius: 8px;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font-size: 16px;
	font-weight: 700;
	justify-content: center;
	min-height: 48px;
	padding: 12px 20px;
	transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.jc-cookie-preferences-button:hover,
.jc-cookie-preferences-button:focus{
	border-color: rgba(0, 241, 169, .78);
	box-shadow: 0 0 18px rgba(0, 241, 169, .16);
	color: #fff;
	transform: translateY(-1px);
}

@media (max-width: 720px){
	.jc-cookie-consent{
		bottom: 12px;
		grid-template-columns: 1fr;
		padding: 18px;
	}

	.jc-cookie-consent__actions,
	.jc-cookie-modal__actions{
		display: grid;
		grid-template-columns: 1fr;
		width: 100%;
	}

	.jc-cookie-consent__button{
		width: 100%;
	}

	.jc-cookie-modal{
		align-items: flex-end;
		padding: 12px;
	}

	.jc-cookie-modal__dialog{
		max-height: calc(100vh - 24px);
		overflow-y: auto;
		padding: 22px;
	}
}
