.consent-banner {
	display: none;
	position: fixed;
	z-index: 12000;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(40, 40, 40, 0.42);
	text-align: left;
}

.consent-banner.is-visible {
	display: block;
}

.consent-modal {
	position: absolute;
	left: 50%;
	bottom: 18px;
	transform: translateX(-50%);
	width: 86%;
	max-width: 760px;
	max-height: 90%;
	overflow: hidden;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 8px 34px rgba(0, 0, 0, 0.28);
}

.consent-modal-header {
	display: table;
	width: 100%;
	padding: 22px 28px;
	border-bottom: 1px solid #ddd;
	box-sizing: border-box;
}

.consent-brand,
.consent-provider {
	display: table-cell;
	vertical-align: middle;
}

.consent-brand img {
	display: block;
	width: 170px;
	height: auto;
}

.consent-provider {
	text-align: right;
	color: #555;
	font-size: 20px;
	font-weight: bold;
}

.consent-tabs {
	display: table;
	width: 100%;
	border-bottom: 1px solid #ddd;
}

.consent-tab {
	display: table-cell;
	width: 33.333%;
	padding: 20px 10px 16px;
	border: 0;
	border-bottom: 4px solid transparent;
	background: #fff;
	color: #334;
	font-size: 20px;
	font-weight: bold;
	text-align: center;
	cursor: pointer;
}

.consent-tab.is-active {
	border-bottom-color: #ff6633;
	color: #ff6633;
}

.consent-panel {
	display: none;
	min-height: 150px;
	max-height: 46vh;
	overflow-y: auto;
	padding: 24px 30px;
	border-bottom: 1px solid #ddd;
	box-sizing: border-box;
}

.consent-panel.is-active {
	display: block;
}

.consent-panel h2 {
	margin: 0 0 18px;
	color: #334;
	font-size: 24px;
	font-weight: bold;
	text-transform: none;
}

.consent-panel h3 {
	margin: 0;
	color: #334;
	font-size: 20px;
	text-transform: none;
}

.consent-panel h3 span {
	display: inline-block;
	margin-left: 8px;
	padding: 2px 8px;
	border-radius: 12px;
	background: #ddd;
	color: #555;
	font-size: 12px;
	vertical-align: middle;
}

.consent-panel p {
	margin: 0 0 18px;
	color: #334;
	font-size: 18px;
	line-height: 1.48;
}

.consent-panel a {
	color: #ff6633;
	text-decoration: underline;
}

.consent-category {
	padding: 20px 0;
	border-bottom: 1px solid #ddd;
}

.consent-category:first-child {
	padding-top: 0;
}

.consent-category:last-child {
	border-bottom: 0;
}

.consent-category-head,
.consent-category summary {
	display: table;
	width: 100%;
	list-style: none;
	cursor: pointer;
}

.consent-category summary::-webkit-details-marker {
	display: none;
}

.consent-category summary > span,
.consent-category-head > div {
	display: table-cell;
	vertical-align: middle;
	padding-right: 20px;
}

.consent-category summary > span:before {
	content: ">";
	display: inline-block;
	margin-right: 14px;
	color: #ff6633;
	font-weight: bold;
	transform: rotate(0deg);
	transition: transform 0.15s linear;
}

.consent-category[open] summary > span:before {
	transform: rotate(90deg);
}

.consent-category em {
	display: block;
	margin-top: 4px;
	color: #777;
	font-size: 14px;
	font-style: normal;
	font-weight: normal;
}

.consent-category p {
	margin: 14px 0 0 34px;
	font-size: 16px;
}

.consent-switch {
	display: table-cell;
	width: 58px;
	vertical-align: middle;
	cursor: pointer;
}

.consent-switch input {
	position: absolute;
	opacity: 0;
}

.consent-switch span {
	display: block;
	position: relative;
	width: 52px;
	height: 28px;
	border-radius: 20px;
	background: #cfcfcf;
	transition: background 0.15s linear;
}

.consent-switch span:after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
	transition: left 0.15s linear;
}

.consent-switch input:checked + span {
	background: #ff6633;
}

.consent-switch input:checked + span:after {
	left: 27px;
}

.consent-switch input:disabled + span {
	opacity: 0.72;
	cursor: default;
}

.consent-provider-list {
	margin: 16px 0 0 34px;
	border: 1px solid #ddd;
	border-radius: 6px;
	overflow: hidden;
}

.consent-provider-list div {
	padding: 12px 16px;
	border-bottom: 1px solid #eee;
	color: #334;
	font-size: 15px;
}

.consent-provider-list div:last-child {
	border-bottom: 0;
}

.consent-actions {
	display: flex;
	gap: 16px;
	width: 100%;
	padding: 18px 28px;
	box-sizing: border-box;
}

.consent-button {
	display: block;
	flex: 1 1 0;
	width: auto;
	min-height: 54px;
	padding: 13px 20px;
	border-radius: 6px;
	border: 2px solid #ff6633;
	font-size: 18px;
	font-weight: bold;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
}

.consent-button:hover {
	opacity: 0.9;
}

.consent-button-primary {
	background: #ff6633;
	border-color: #ff6633;
	color: #fff;
}

.consent-button-secondary {
	background: #fff;
	color: #334;
}

.consent-banner:not([data-current-tab="details"]) .consent-save-button {
	display: none;
}

.js-consent-settings {
	cursor: pointer;
}

.consent-banner-neo .consent-tab.is-active,
.consent-banner-neo .consent-panel a,
.consent-banner-neo .consent-category summary > span:before {
	color: #00b7f3;
}

.consent-banner-neo .consent-tab.is-active {
	border-bottom-color: #00b7f3;
}

.consent-banner-neo .consent-switch input:checked + span,
.consent-banner-neo .consent-button-primary {
	background: #00b7f3;
}

.consent-banner-neo .consent-button,
.consent-banner-neo .consent-button-primary {
	border-color: #00b7f3;
}

@media (max-width: 760px) {
	.consent-modal {
		bottom: 0;
		width: 100%;
		max-height: 96%;
		border-radius: 8px 8px 0 0;
	}

	.consent-modal-header {
		padding: 16px 18px;
	}

	.consent-brand img {
		width: 145px;
	}

	.consent-provider {
		font-size: 16px;
	}

	.consent-tab {
		padding: 15px 6px 12px;
		font-size: 17px;
	}

	.consent-panel {
		padding: 20px 18px;
		min-height: 120px;
		max-height: 54vh;
	}

	.consent-panel h2 {
		font-size: 21px;
	}

	.consent-panel p {
		font-size: 16px;
	}

	.consent-actions {
		display: block;
		padding: 14px 18px;
	}

	.consent-button {
		display: block;
		width: 100%;
		margin: 0 0 10px;
		min-height: 48px;
		font-size: 16px;
	}
}

@media (max-width: 440px) {
	.consent-brand,
	.consent-provider {
		display: block;
		text-align: left;
	}

	.consent-provider {
		margin-top: 10px;
	}

	.consent-category summary > span,
	.consent-category-head > div {
		padding-right: 10px;
	}
}
