:root {
	--dl-gdpr-bg:             #ffffff;
	--dl-gdpr-text:           #212121;
	--dl-gdpr-text-muted:     #5f6368;
	--dl-gdpr-border:         #e0e0e0;
	--dl-gdpr-accent:         rgb(67, 150, 101);
	--dl-gdpr-accent-hover:   #1e4d38;
	--dl-gdpr-accent-light:   rgba(45, 106, 79, .12);
	--dl-gdpr-tab-active:     #1a73e8;
	--dl-gdpr-radius:         6px;
	--dl-gdpr-shadow:         0 4px 32px rgba(0, 0, 0, .2);
	--dl-gdpr-toggle-off:     #bdc1c6;
	--dl-gdpr-toggle-on:      #2d6a4f;
	--dl-gdpr-z:              999999;
}

.dl-gdpr-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, .5);
	z-index: calc(var(--dl-gdpr-z) - 1);
}
html[data-dl-gdpr-show] .dl-gdpr-overlay {
	display: block;
}


.dl-gdpr-revisit {
	display: none;
}
html[data-dl-gdpr-revisit] .dl-gdpr-revisit {
	display: flex;
}

.dl-gdpr-hidden {
	display: none !important;
}

.dl-gdpr-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: var(--dl-gdpr-z);
	align-items: center;
	justify-content: center;
	padding: 16px;
	box-sizing: border-box;
}
html[data-dl-gdpr-show] .dl-gdpr-modal:not(.dl-gdpr-hidden) {
	display: flex;
}


.dl-gdpr-dialog {
	background: var(--dl-gdpr-bg);
	border-radius: var(--dl-gdpr-radius);
	box-shadow: var(--dl-gdpr-shadow);
	position: relative;
	width: 100%;
	box-sizing: border-box;

}

.dl-gdpr-dialog--notice {
	max-width: 440px;
	padding: 20px 26px;
}


.dl-gdpr-dialog--pref {
	max-width: 845px;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.dl-gdpr-dialog__close {
	position: absolute;
	top: 0;
	right: 0;
	width: 34px;
	height: 34px;
	border: none;
	background: transparent;
	cursor: pointer;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--dl-gdpr-text-muted);
	transition: background .15s, color .15s;
	padding: 0;
	flex-shrink: 0;
}
.dl-gdpr-dialog__close:hover,
.dl-gdpr-dialog__close:focus-visible {
	background: var(--dl-gdpr-accent-light);
	color: var(--dl-gdpr-text);
	outline: none;
}
.dl-gdpr-dialog__close svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}


.dl-gdpr-dialog__body {
	margin-bottom: 20px;
	
}
@media (max-width: 600px) {
    .dl-gdpr-dialog__body {
        max-height: 40vh;
        overflow-y: scroll;
    }
}
@media (max-width: 576px) and (max-height: 660px) {
    .dl-gdpr-dialog__body {
        max-height: 40vh;
        overflow-y: scroll;
    }
}

.dl-gdpr-dialog__title {
	font-size: 18px;
	font-weight: 700;
	color: var(--dl-gdpr-text);
	margin: 0 0 12px;
	line-height: 24px;
	padding-right: 32px; 
}

.dl-gdpr-dialog__text {
	font-size: 14px;
	word-break: break-word;
	color: #212121;
	margin: 0 0 20px;
	line-height: 24px;
}
.dl-gdpr-dialog__text:last-child {
	margin-bottom: 0;
}

.dl-gdpr-link {
	color: #1863dc;
	text-decoration: underline;
}
.dl-gdpr-link:hover {
	color: #1863dc;
}


.dl-gdpr-dialog__footer--notice {
	display: flex;
	gap: 8px;
	justify-content: space-between;
	flex-wrap: wrap;
}

.dl-gdpr-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	flex:auto;
	max-width: 100%;
	padding: 8px;
	border-radius: 2px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	border: 2px solid transparent;
	transition: background .15s, color .15s, border-color .15s;
	line-height: 24px;
	white-space: nowrap;
	text-decoration: none;
	overflow-wrap: break-word;
}

/* Outline (Customize / Save My Preferences) */
.dl-gdpr-btn--outline {
	background: transparent;
	color: var(--dl-gdpr-accent);
	border-color: var(--dl-gdpr-accent);
}
.dl-gdpr-btn--outline:hover,
.dl-gdpr-btn--outline:focus-visible {
	opacity: 0.8;
}


.dl-gdpr-btn--solid {
	background: var(--dl-gdpr-accent);
	color: #fff;
	border-color: var(--dl-gdpr-accent);
}
.dl-gdpr-btn--solid:hover,
.dl-gdpr-btn--solid:focus-visible {
	opacity: 0.8;
}

.dl-gdpr-pref__intro {
	padding: 20px 52px 0 24px; 
}
.dl-gdpr-pref__intro p {
	font-size: .85rem;
	color: var(--dl-gdpr-text-muted);
	margin: 0;
	line-height: 1.55;
}

.dl-gdpr-categories-intro {
	font-size: .85rem;
	color: var(--dl-gdpr-text-muted);
	margin: 12px 0 4px;
	line-height: 1.55;
}


.dl-gdpr-tabs {
	display: flex;
	border-bottom: 1px solid var(--dl-gdpr-border);
	padding: 0 24px;
	margin-top: 16px;
	flex-shrink: 0;
}

.dl-gdpr-tab {
	background: none;
	border: none;
	border-bottom: 3px solid transparent;
	padding: 10px 14px;
	font-size: .875rem;
	font-weight: 500;
	color: var(--dl-gdpr-text-muted);
	cursor: pointer;
	transition: color .15s, border-color .15s;
	margin-bottom: -1px;
	white-space: nowrap;
	line-height: 1.2;
}
.dl-gdpr-tab:hover {
	color: var(--dl-gdpr-text);
}
.dl-gdpr-tab--active {
	color: var(--dl-gdpr-tab-active);
	border-bottom-color: var(--dl-gdpr-tab-active);
	font-weight: 600;
}


.dl-gdpr-pref__scroll {
	padding: 4px 24px 4px;
	overflow-y: auto;
	max-height: 320px;
	flex: 1;
}

.dl-gdpr-cat {
	padding: 14px 0;
	border-bottom: 1px solid var(--dl-gdpr-border);
}
.dl-gdpr-cat:last-child {
	border-bottom: none;
}

.dl-gdpr-cat__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.dl-gdpr-cat__name {
	font-size: .9rem;
	font-weight: 600;
	color: var(--dl-gdpr-text);
}
label.dl-gdpr-cat__name {
	cursor: pointer;
}

.dl-gdpr-cat__desc {
	font-size: .82rem;
	color: var(--dl-gdpr-text-muted);
	margin: 8px 0 0;
	line-height: 1.5;
}

.dl-gdpr-always-active {
	font-size: .78rem;
	font-weight: 600;
	color: var(--dl-gdpr-accent);
	white-space: nowrap;
}


.dl-gdpr-toggle {
	position: relative;
	display: inline-block;
	width: 44px;
	height: 24px;
	flex-shrink: 0;
	cursor: pointer;
}

.dl-gdpr-toggle input {
	opacity: 0;
	width: 0;
	height: 0;
	position: absolute;
}

.dl-gdpr-toggle__track {
	position: absolute;
	inset: 0;
	background: var(--dl-gdpr-toggle-off);
	border-radius: 24px;
	transition: background .2s;
}

.dl-gdpr-toggle__thumb {
	position: absolute;
	height: 18px;
	width: 18px;
	left: 3px;
	top: 3px;
	background: #fff;
	border-radius: 50%;
	transition: transform .2s;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
}

.dl-gdpr-toggle input:checked + .dl-gdpr-toggle__track {
	background: var(--dl-gdpr-toggle-on);
}

.dl-gdpr-toggle input:checked + .dl-gdpr-toggle__track .dl-gdpr-toggle__thumb {
	transform: translateX(20px);
}

.dl-gdpr-toggle input:focus-visible + .dl-gdpr-toggle__track {
	outline: 2px solid var(--dl-gdpr-accent);
	outline-offset: 2px;
}

.dl-gdpr-tab-placeholder {
	padding: 20px 0;
}
.dl-gdpr-tab-placeholder p {
	font-size: .875rem;
	color: var(--dl-gdpr-text-muted);
	margin: 0;
	line-height: 1.6;
}

.dl-gdpr-dialog__footer--pref {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
	flex-wrap: wrap;
	padding: 14px 24px;
	border-top: 1px solid var(--dl-gdpr-border);
	flex-shrink: 0;
}

.dl-gdpr-powered {
	text-align: center;
	font-size: .72rem;
	color: var(--dl-gdpr-text-muted);
	padding: 6px 24px 14px;
	flex-shrink: 0;
}


.dl-gdpr-revisit {
	position: fixed;
	bottom: 20px;
	left: 20px;
	z-index: calc(var(--dl-gdpr-z) - 2);
	background: var(--dl-gdpr-accent);
	color: #fff;
	border: none;
	border-radius: 30px;
	padding: 8px 14px 8px 10px;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	font-size: .78rem;
	font-weight: 600;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
	transition: background .15s, transform .15s;
}
.dl-gdpr-revisit:hover,
.dl-gdpr-revisit:focus-visible {
	background: var(--dl-gdpr-accent-hover);
	transform: translateY(-2px);
	outline: none;
}
.dl-gdpr-revisit svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
	flex-shrink: 0;
}


@media (max-width: 600px) {
	.dl-gdpr-dialog--notice {
		padding: 20px 32px;
	}
	.dl-gdpr-dialog__footer--notice,
	.dl-gdpr-dialog__footer--pref {
		flex-direction: column-reverse;
	}
	.dl-gdpr-btn {
		width: 100%;
	}
	.dl-gdpr-tabs {
		overflow-x: auto;
	}
	.dl-gdpr-tab {
		padding: 10px 10px;
		font-size: .8rem;
	}
	.dl-gdpr-pref__scroll {
		max-height: 260px;
	}
	.dl-gdpr-dialog__close {
		top: 3px;
	}
}
