body.privacy-policy #cookie-dialog {
  display: none;
}

body.privacy-policy #cookie-backdrop {
  display: none;
}

#cookie-dialog {
	position: fixed;
	visibility: hidden;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	max-width: 550px;
	font-family: 'Metropolis';
	padding: 25px 20px;
	text-align: center;
	z-index: 1000;
	transition: opacity 0.5s, transform 0.5s;
	background: white;
	border: none;
	border-radius: 10px;
	box-shadow: 0 12px 12px -8px rgba(0, 0, 0, 0.15), 0 0 4px rgba(0, 0, 0, 0.15);
	opacity: 0;
}

#cookie-dialog.open {
	visibility: visible;
	opacity: 1;
	transform: translate(-50%, -50%);
}

#cookie-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.5); /* semi-transparent black */
	z-index: 999;
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.3s;
}

#cookie-backdrop.open {
	visibility: visible;
	opacity: 1;
}

#cookie-dialog button {
	background: transparent;
	padding: 9px 13px;
    cursor: pointer;
  	font-family: 'Metropolis';
    border-radius: 10px;
  	font-weight: 500;
  	font-size: 13px;
    box-shadow: none;
    border: none;
}

#cookie-dialog button.is-primary {
	background: #095b73;
	color: white;
}

#cookie-dialog button:active {
	background-color: rgba(1,68,86,0.1);
}

#cookie-dialog .buttons {
	margin-top: 15px;
	margin-bottom: 0;
}

#cookie-dialog a {
	color: #022550!important;
	font-weight: 600;
}

#cookie-dialog p {
	margin-top: 5px;
	margin-bottom: 5px;
  	font-size: 14px;
}

#cookie-dialog .preferences {
	display: none;
	flex-direction: column;
	align-items: start;
	justify-content: flex-start;
	margin-left: auto;
	margin-right: auto;
	width: fit-content;
}

@media(max-width: 991px) {
	#cookie-dialog p {
		font-size: 14px;
	}
}