/* elmur-ds-privacy: cookie banner + consent blocker (frontend) */

.elmur-ds-cc {
	position: fixed;
	z-index: 99999;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	justify-content: center;
	padding: 1rem;
	box-sizing: border-box;
}

.elmur-ds-cc[hidden] {
	display: none;
}

.elmur-ds-cc__panel {
	width: 100%;
	max-width: 46rem;
	box-sizing: border-box;
	background: #fff;
	color: #1d2327;
	border: 1px solid #d9d9d9;
	border-radius: 10px;
	box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.18);
	padding: 1.25rem 1.5rem;
}

/* Centered box variant */
.elmur-ds-cc[data-position="box"] {
	align-items: center;
}

/* Bottom-right corner card */
.elmur-ds-cc[data-position="bottom-right"] {
	justify-content: flex-end;
}

.elmur-ds-cc[data-position="bottom-right"] .elmur-ds-cc__panel {
	max-width: 30rem;
}

.elmur-ds-cc__title {
	margin: 0 0 0.5rem;
	font-size: 1.25rem;
	line-height: 1.2;
}

.elmur-ds-cc__text {
	margin: 0 0 0.75rem;
	font-size: 0.95rem;
	line-height: 1.5;
}

.elmur-ds-cc__links {
	margin: 0 0 0.75rem;
	font-size: 0.9rem;
}

.elmur-ds-cc__options {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	margin: 0 0 1rem;
	padding: 0.75rem;
	border: 1px solid #e3e3e3;
	border-radius: 8px;
	background: #f6f7f7;
}

.elmur-ds-cc__options[hidden] {
	display: none;
}

.elmur-ds-cc__option {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.9rem;
}

.elmur-ds-cc__option--locked {
	color: #646970;
}

/* Actions — all buttons share the same size so reject is as easy as accept */
.elmur-ds-cc__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.625rem;
}

.elmur-ds-cc__btn {
	flex: 1 1 10rem;
	min-height: 2.75rem;
	padding: 0.6rem 1.1rem;
	font-size: 0.95rem;
	font-weight: 600;
	border: 1px solid #2271b1;
	border-radius: 6px;
	cursor: pointer;
	background: #fff;
	color: #2271b1;
}

.elmur-ds-cc__btn--accept {
	background: #2271b1;
	color: #fff;
}

.elmur-ds-cc__btn--reject {
	background: #fff;
	color: #2271b1;
}

.elmur-ds-cc__btn--settings {
	border-color: #c3c4c7;
	color: #50575e;
}

.elmur-ds-cc__btn--save {
	border-color: #2271b1;
	background: #2271b1;
	color: #fff;
}

.elmur-ds-cc__btn[hidden] {
	display: none;
}

.elmur-ds-cc__btn:hover {
	filter: brightness(0.96);
}

/* Always-visible revoke icon */
.elmur-ds-cc-revoke {
	position: fixed;
	z-index: 99998;
	left: 1rem;
	bottom: 1rem;
	width: 2.75rem;
	height: 2.75rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 1px solid #d9d9d9;
	border-radius: 50%;
	background: #fff;
	color: #2271b1;
	box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.18);
	cursor: pointer;
}

.elmur-ds-cc-revoke:hover {
	background: #f0f6fc;
}

/* ---- Consent blocker placeholder (e.g. for Google Maps) ---- */
.elmur-ds-consent-block {
	box-sizing: border-box;
	width: 100%;
	min-height: 18rem;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	border: 1px solid #d9d9d9;
	border-radius: 8px;
	background: #f6f7f7;
}

.elmur-ds-consent-block__inner {
	max-width: 32rem;
	text-align: center;
}

.elmur-ds-consent-block__title {
	margin: 0 0 0.5rem;
	font-weight: 600;
}

.elmur-ds-consent-block__text {
	margin: 0 0 1rem;
	font-size: 0.95rem;
	line-height: 1.5;
	color: #50575e;
}

.elmur-ds-consent-block__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
	justify-content: center;
}

.elmur-ds-consent-block__accept {
	min-height: 2.5rem;
	padding: 0.5rem 1.1rem;
	font-weight: 600;
	border: 1px solid #2271b1;
	border-radius: 6px;
	background: #2271b1;
	color: #fff;
	cursor: pointer;
}

.elmur-ds-consent-block__link {
	font-size: 0.9rem;
}

@media (max-width: 30rem) {
	.elmur-ds-cc__btn {
		flex-basis: 100%;
	}
}
