/*
 * Cookie settings float button (metapelet)
 * Stacks ABOVE the a11y float (offset + size + 8px). Physical left also on RTL.
 */

.mt-cookie-float-btn {
	position: fixed;
	left: var(--float-btn-side, 16px);

	bottom: calc(
		var(--float-btn-offset-bottom, 20px) +
		var(--float-btn-size, 44px) +
		8px
	);

	z-index: 99998;

	width: var(--float-btn-size, 44px);
	height: var(--float-btn-size, 44px);
	padding: 0;

	border: none;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;

	background-color: var(--float-btn-bg, #266799);
	color: var(--float-btn-color, #ffffff);

	transition: transform 0.15s ease;
}

.mt-cookie-float-btn:hover,
.mt-cookie-float-btn:focus {
	transform: scale(1.05);
}

.mt-cookie-float-btn svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	pointer-events: none;
}

@media (max-width: 950px) {
	.mt-cookie-float-btn {
		width: 48px;
		height: 48px;

		bottom: calc(
			var(--float-btn-offset-bottom, 20px) +
			48px +
			8px
		);
	}

	.mt-cookie-float-btn svg {
		width: 20px;
		height: 20px;
	}
}
