.cookie-consent-modal[hidden] {
	display: none;
}

.cookie-consent-modal {
	align-items: center;
	background: rgba(0, 0, 0, 0.55);
	bottom: 0;
	display: flex;
	justify-content: center;
	left: 0;
	overflow-y: auto;
	padding: 24px;
	position: fixed;
	right: 0;
	top: 0;
	z-index: 100000;
}

.cookie-consent-modal__panel {
	background: #fff;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.24);
	color: #646464;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	margin: auto;
	max-width: 900px;
	padding: 24px 26px 30px;
	width: 72vw;
}

.cookie-consent-modal__text {
	font-size: 16px;
	line-height: 1.45;
	margin: 0;
}

.cookie-consent-modal__legal {
	border-bottom: 2px solid #d3e0e7;
	display: flex;
	gap: 38px;
	justify-content: flex-end;
	margin-top: 14px;
	padding: 0 8px 24px;
}

.cookie-consent-modal__legal a {
	color: #c4271b;
	font-size: 16px;
	text-decoration: none;
}

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

.cookie-consent-modal__actions {
	display: flex;
	gap: 14px;
	justify-content: center;
	padding-top: 30px;
}

.cookie-consent-modal__button {
	border: 0;
	border-radius: 0;
	cursor: pointer;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 22px;
	min-height: 0;
	padding: 7px 16px;
}

.cookie-consent-modal__button--accept {
	background: #c4271b;
	color: #fff;
}

.cookie-consent-modal__button--reject {
	background: #ededed;
	color: #c4271b;
}

.cookie-consent-modal__button:hover {
	filter: brightness(0.94);
}

.cookie-consent-modal__button:focus-visible,
.cookie-consent-modal__legal a:focus-visible {
	outline: 3px solid #174a75;
	outline-offset: 3px;
}

body.cookie-consent-modal-open {
	overflow: hidden;
}

@media (max-width: 700px) {
	.cookie-consent-modal {
		align-items: flex-start;
		padding: 12px;
	}

	.cookie-consent-modal__panel {
		padding: 22px 20px 26px;
		width: 100%;
	}

	.cookie-consent-modal__legal {
		align-items: flex-end;
		flex-direction: column;
		gap: 12px;
	}

	.cookie-consent-modal__actions {
		flex-direction: column;
	}

	.cookie-consent-modal__button {
		min-height: 0;
		width: 100%;
	}
}
