.rtb-consent {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99999;
	padding: 1rem;
	pointer-events: none;
}

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

.rtb-consent__inner {
	pointer-events: auto;
	max-width: 72rem;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1.5rem;
	align-items: flex-end;
	justify-content: space-between;
	padding: 1.1rem 1.25rem;
	background: var(--rtb-white, #fff);
	color: var(--rtb-text, #1a2332);
	border: 1px solid var(--rtb-border, #d9e2ec);
	border-radius: var(--rtb-radius, 12px);
	box-shadow: 0 -8px 32px rgba(16, 42, 67, 0.12);
}

.rtb-consent__title {
	margin: 0 0 0.35rem;
	font-family: var(--rtb-font, "DM Sans", sans-serif);
	font-size: 1.05rem;
	font-weight: 700;
}

.rtb-consent__text {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.45;
	color: var(--rtb-muted, #486581);
	max-width: 46rem;
}

.rtb-consent__links {
	margin: 0.55rem 0 0;
	font-size: 0.85rem;
}

.rtb-consent__link {
	color: var(--rtb-primary, #0b6e99);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.rtb-consent__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
}

.rtb-consent__btn {
	appearance: none;
	border-radius: 999px;
	border: 1px solid var(--rtb-border, #d9e2ec);
	padding: 0.65rem 1.15rem;
	min-height: 44px;
	font-family: inherit;
	font-size: 0.92rem;
	font-weight: 600;
	cursor: pointer;
	background: var(--rtb-white, #fff);
	color: var(--rtb-text, #1a2332);
}

.rtb-consent__btn--primary {
	background: var(--rtb-primary, #0b6e99);
	border-color: var(--rtb-primary, #0b6e99);
	color: #fff;
}

.rtb-consent__btn--secondary:hover,
.rtb-consent__btn--primary:hover {
	filter: brightness(0.96);
}

@media (max-width: 640px) {
	.rtb-consent__inner {
		flex-direction: column;
		align-items: stretch;
	}

	.rtb-consent__actions {
		width: 100%;
	}

	.rtb-consent__btn {
		flex: 1 1 auto;
		justify-content: center;
	}
}
