.xenios-consent,
.xenios-consent * {
	box-sizing: border-box;
}

.xenios-consent[hidden],
.xenios-consent [hidden] {
	display: none !important;
}

.xenios-consent__banner {
	position: fixed;
	z-index: 999990;
	left: 1rem;
	right: 1rem;
	bottom: 1rem;
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 1.5rem;
	max-width: 1180px;
	margin: 0 auto;
	padding: 1.25rem;
	background: #fff;
	color: #1d2327;
	border: 1px solid rgba(0, 0, 0, 0.14);
	border-radius: 12px;
	box-shadow: 0 12px 45px rgba(0, 0, 0, 0.2);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.5;
}

.xenios-consent__content {
	max-width: 640px;
}

.xenios-consent__content h2,
.xenios-consent__dialog h2 {
	margin: 0 0 0.45rem;
	font-family: inherit;
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.3;
	color: inherit;
}

.xenios-consent__content p,
.xenios-consent__dialog p {
	margin: 0;
}

.xenios-consent__content a {
	color: inherit;
	text-decoration: underline;
}

.xenios-consent__actions,
.xenios-consent__dialog-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 0.65rem;
}

.xenios-consent__button,
.xenios-consent__reopen,
.xenios-consent-preferences-link {
	appearance: none;
	border: 1px solid #1d2327;
	border-radius: 6px;
	padding: 0.7rem 1rem;
	font-family: inherit;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
}

.xenios-consent__button--primary {
	background: #1d2327;
	color: #fff;
}

.xenios-consent__button--secondary,
.xenios-consent-preferences-link {
	background: #fff;
	color: #1d2327;
}

.xenios-consent__button:focus-visible,
.xenios-consent__close:focus-visible,
.xenios-consent__reopen:focus-visible,
.xenios-consent-preferences-link:focus-visible {
	outline: 3px solid #2271b1;
	outline-offset: 2px;
}

.xenios-consent__backdrop {
	position: fixed;
	z-index: 999991;
	inset: 0;
	background: rgba(0, 0, 0, 0.58);
}

.xenios-consent__dialog {
	position: fixed;
	z-index: 999992;
	top: 50%;
	left: 50%;
	width: min(620px, calc(100% - 2rem));
	max-height: calc(100vh - 2rem);
	overflow-y: auto;
	transform: translate(-50%, -50%);
	padding: 1.5rem;
	background: #fff;
	color: #1d2327;
	border-radius: 12px;
	box-shadow: 0 16px 55px rgba(0, 0, 0, 0.35);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.5;
}

.xenios-consent__dialog-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
}

.xenios-consent__close {
	appearance: none;
	border: 0;
	background: transparent;
	color: inherit;
	font-family: inherit;
	font-size: 1.8rem;
	line-height: 1;
	cursor: pointer;
}

.xenios-consent__categories {
	display: grid;
	gap: 0;
	margin: 1.25rem 0;
	border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.xenios-consent__category {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.12);
	cursor: pointer;
}

.xenios-consent__category span {
	display: grid;
	gap: 0.2rem;
}

.xenios-consent__category small {
	font-size: 0.85rem;
	color: #50575e;
}

.xenios-consent__category input {
	flex: 0 0 auto;
	width: 1.25rem;
	height: 1.25rem;
}

.xenios-consent__reopen {
	position: fixed;
	z-index: 999989;
	left: 1rem;
	bottom: 1rem;
	padding: 0.55rem 0.75rem;
	background: #1d2327;
	color: #fff;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.xenios-consent-is-open {
	overflow: hidden;
}

@media (max-width: 760px) {
	.xenios-consent__banner {
		align-items: stretch;
		flex-direction: column;
	}

	.xenios-consent__actions,
	.xenios-consent__dialog-actions {
		justify-content: stretch;
	}

	.xenios-consent__button {
		flex: 1 1 100%;
	}
}
