.cr-consent {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	left: 1rem;
	z-index: 100000;
	max-width: 46rem;
	margin: 0 auto;
	padding: 1.25rem;
	color: #1f2937;
	background: #fff;
	border: 1px solid #d1d5db;
	border-radius: 0.75rem;
	box-shadow: 0 0.75rem 2.5rem rgb(17 24 39 / 24%);
}

.cr-consent[hidden],
.cr-consent-settings[hidden] {
	display: none;
}

.cr-consent__title {
	margin: 0 0 0.5rem;
	font-size: 1.125rem;
	line-height: 1.5;
}

.cr-consent__description,
.cr-consent__status {
	margin: 0 0 0.75rem;
	font-size: 0.9375rem;
	line-height: 1.7;
}

.cr-consent__status {
	font-weight: 600;
}

.cr-consent__privacy {
	display: inline-block;
	margin-bottom: 1rem;
}

.cr-consent__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: flex-end;
}

.cr-consent__button,
.cr-consent-settings {
	min-height: 2.75rem;
	padding: 0.625rem 1.125rem;
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	border: 2px solid #1f2937;
	border-radius: 0.5rem;
}

.cr-consent__button--reject {
	color: #1f2937;
	background: #fff;
}

.cr-consent__button--accept {
	color: #fff;
	background: #1f2937;
}

.cr-consent__button:focus-visible,
.cr-consent-settings:focus-visible,
.cr-consent__privacy:focus-visible {
	outline: 3px solid #2563eb;
	outline-offset: 3px;
}

.cr-consent-settings {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 99999;
	min-height: 2.5rem;
	padding: 0.5rem 0.75rem;
	color: #1f2937;
	font-size: 0.8125rem;
	background: #fff;
	box-shadow: 0 0.25rem 1rem rgb(17 24 39 / 18%);
}

@media (max-width: 37.5rem) {
	.cr-consent {
		right: 0.75rem;
		bottom: 0.75rem;
		left: 0.75rem;
		padding: 1rem;
	}

	.cr-consent__actions {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

	.cr-consent__button {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cr-consent,
	.cr-consent-settings {
		scroll-behavior: auto;
	}
}
