.openconsent {
	color: var(--openconsent-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	position: fixed;
	z-index: 2147483647;
}

.openconsent--bottom {
	background: transparent;
	inset: auto 0 0;
	padding: 0;
}

.openconsent--center {
	align-items: center;
	background: rgba(17, 24, 39, 0.42);
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 16px;
}

.openconsent__panel {
	background: var(--openconsent-background);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 8px;
	box-shadow: 0 20px 60px rgba(17, 24, 39, 0.22);
	box-sizing: border-box;
	margin: 0 auto;
	max-width: 980px;
	max-height: calc(100vh - 32px);
	overflow: auto;
	padding: 20px;
	width: calc(100% - 24px);
}

.openconsent--center .openconsent__panel {
	max-width: 640px;
}

.openconsent--bottom .openconsent__panel {
	border-bottom: 0;
	border-left: 0;
	border-radius: 8px 8px 0 0;
	border-right: 0;
	box-shadow: 0 -16px 48px rgba(17, 24, 39, 0.24);
	max-height: min(72vh, 620px);
	max-width: none;
	width: 100%;
}

.openconsent--bottom .openconsent__categories {
	grid-template-columns: repeat(2, minmax(220px, 1fr));
}

.openconsent--bottom .openconsent__summary {
	margin-top: 10px;
}

.openconsent h2 {
	color: inherit;
	font-size: 20px;
	line-height: 1.25;
	margin: 0 0 8px;
}

.openconsent__message {
	font-size: 14px;
	line-height: 1.5;
	margin: 0 0 10px;
}

.openconsent__disclosure {
	border-left: 3px solid var(--openconsent-accent);
	font-size: 13px;
	line-height: 1.45;
	margin: 0 0 12px;
	opacity: 0.86;
	padding-left: 10px;
}

.openconsent__privacy {
	color: var(--openconsent-accent);
	display: inline-block;
	font-size: 14px;
	margin-bottom: 12px;
}

.openconsent__region {
	background: rgba(84, 210, 191, 0.12);
	border: 1px solid rgba(84, 210, 191, 0.28);
	border-radius: 6px;
	font-size: 13px;
	line-height: 1.4;
	margin: 0 0 12px;
	padding: 9px 10px;
}

.openconsent__categories {
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	display: grid;
	gap: 8px;
	margin-top: 4px;
	padding-top: 12px;
}

.openconsent__category {
	align-items: flex-start;
	display: grid;
	gap: 10px;
	grid-template-columns: 20px 1fr;
}

.openconsent__category input {
	height: 18px;
	margin-top: 2px;
	width: 18px;
}

.openconsent__category strong {
	display: block;
	font-size: 14px;
	line-height: 1.3;
}

.openconsent__category small {
	display: block;
	font-size: 13px;
	line-height: 1.4;
	opacity: 0.78;
}

.openconsent__details {
	margin-top: 7px;
}

.openconsent__details summary {
	color: var(--openconsent-accent);
	cursor: pointer;
	font-size: 12px;
	font-weight: 650;
	line-height: 1.35;
}

.openconsent__details ul {
	display: grid;
	gap: 4px;
	margin: 7px 0 0 18px;
	padding: 0;
}

.openconsent__details li {
	font-size: 12px;
	line-height: 1.35;
	opacity: 0.84;
}

.openconsent__summary {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 6px;
	font-size: 13px;
	line-height: 1.4;
	margin: 12px 0 0;
	padding: 9px 10px;
}

.openconsent__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
	margin-top: 16px;
}

.openconsent__button {
	align-items: center;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 6px;
	cursor: pointer;
	display: inline-flex;
	font-size: 14px;
	font-weight: 650;
	justify-content: center;
	line-height: 1.2;
	min-height: 40px;
	padding: 9px 14px;
}

.openconsent__button--primary {
	background: var(--openconsent-accent);
	border-color: var(--openconsent-accent);
	color: #082522;
}

.openconsent__button--secondary {
	background: transparent;
	border-color: var(--openconsent-accent);
	color: var(--openconsent-accent);
}

.openconsent__button--ghost {
	background: transparent;
	color: inherit;
}

.openconsent-reopen {
	background: #111827;
	border: 0;
	border-radius: 6px 6px 0 0;
	bottom: 0;
	color: #fff;
	cursor: pointer;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 12px;
	font-weight: 650;
	line-height: 1.2;
	padding: 8px 10px;
	position: fixed;
	left: 16px;
	z-index: 2147483646;
}

iframe[data-openconsent-blocked="1"] {
	background: #111827;
	border: 1px solid rgba(84, 210, 191, 0.35);
	box-sizing: border-box;
	color: #fff;
	min-height: 120px;
}

.openconsent-declaration table {
	border-collapse: collapse;
	width: 100%;
}

.openconsent-declaration th,
.openconsent-declaration td {
	border: 1px solid #d1d5db;
	padding: 8px;
	text-align: left;
}

@media (max-width: 640px) {
	.openconsent__panel {
		border-radius: 8px;
		padding: 16px;
		width: calc(100% - 24px);
	}

	.openconsent--bottom .openconsent__panel {
		border-radius: 8px 8px 0 0;
		max-height: 82vh;
		width: 100%;
	}

	.openconsent--bottom .openconsent__categories {
		grid-template-columns: 1fr;
	}

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

}
