.oat-cookie-notice,
.oat-cookie-notice *,
.oat-cookie-notice__reopen {
	box-sizing: border-box;
}

.oat-cookie-notice[hidden],
.oat-cookie-notice__reopen[hidden] {
	display: none;
}

.oat-cookie-notice {
	background: var(--oat-cookie-notice-background);
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 14px;
	box-shadow: 0 16px 45px rgba(0, 0, 0, .24);
	color: var(--oat-cookie-notice-text);
	font-family: var(--oat-cookie-notice-font, inherit);
	left: 16px;
	margin: 0 auto;
	max-width: 920px;
	position: fixed;
	right: 16px;
	z-index: 1000000;
}

.oat-cookie-notice--bottom {
	bottom: 16px;
}

.oat-cookie-notice--top {
	top: 16px;
}

.oat-cookie-notice__content {
	align-items: center;
	display: flex;
	gap: 24px;
	justify-content: space-between;
	padding: 18px 20px;
}

.oat-cookie-notice__message {
	font-size: 14px;
	line-height: 1.55;
}

.oat-cookie-notice__message p {
	margin: 0;
}

.oat-cookie-notice__policy {
	color: inherit;
	display: inline-block;
	font-weight: 700;
	margin-top: 4px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.oat-cookie-notice__actions {
	display: flex;
	flex: 0 0 auto;
	flex-wrap: wrap;
	gap: 8px;
}

#oat-cookie-notice .oat-cookie-notice__button,
#oat-cookie-notice-reopen.oat-cookie-notice__reopen {
	appearance: none;
	border: 1px solid transparent;
	border-radius: 7px;
	cursor: pointer;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	padding: 10px 14px;
}

#oat-cookie-notice .oat-cookie-notice__button--accept,
#oat-cookie-notice .oat-cookie-notice__button--accept:hover,
#oat-cookie-notice .oat-cookie-notice__button--accept:focus,
#oat-cookie-notice .oat-cookie-notice__button--accept:active {
	background: var(--oat-cookie-notice-button) !important;
	border-color: var(--oat-cookie-notice-button) !important;
	color: #fff !important;
}

#oat-cookie-notice .oat-cookie-notice__button--reject,
#oat-cookie-notice .oat-cookie-notice__button--reject:hover,
#oat-cookie-notice .oat-cookie-notice__button--reject:focus,
#oat-cookie-notice .oat-cookie-notice__button--reject:active {
	background: transparent !important;
	border-color: var(--oat-cookie-notice-text) !important;
	color: var(--oat-cookie-notice-text) !important;
}

#oat-cookie-notice .oat-cookie-notice__button:hover {
	filter: brightness(1.08);
}

#oat-cookie-notice .oat-cookie-notice__button:focus-visible,
#oat-cookie-notice .oat-cookie-notice__policy:focus-visible,
#oat-cookie-notice-reopen.oat-cookie-notice__reopen:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 3px;
}

#oat-cookie-notice-reopen.oat-cookie-notice__reopen,
#oat-cookie-notice-reopen.oat-cookie-notice__reopen:hover,
#oat-cookie-notice-reopen.oat-cookie-notice__reopen:focus,
#oat-cookie-notice-reopen.oat-cookie-notice__reopen:active {
	background: #1d2327 !important;
	bottom: 16px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
	color: #fff !important;
	font-family: var(--oat-cookie-notice-font, inherit);
	left: 16px;
	position: fixed;
	z-index: 1000000;
}

@media (max-width: 680px) {
	.oat-cookie-notice__content {
		align-items: stretch;
		flex-direction: column;
		gap: 14px;
	}

	.oat-cookie-notice__actions {
		width: 100%;
	}

	.oat-cookie-notice__button {
		flex: 1 1 140px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.oat-cookie-notice,
	.oat-cookie-notice__button,
	.oat-cookie-notice__reopen {
		transition: none;
	}
}
