/* Baner zgody na ciasteczka w kolorach Speakalo. */

.spp-cookies {
	position: fixed;
	left: 50%;
	bottom: 20px;
	transform: translateX(-50%);
	z-index: 9999;
	width: min(1040px, calc(100vw - 32px));
	display: flex;
	align-items: center;
	gap: 28px;
	padding: 20px 24px;
	background: #ffffff;
	border: 1px solid #e3eaf1;
	border-radius: 18px;
	box-shadow: 0 18px 48px rgba(0, 42, 82, .16);
	font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: #002a52;
	animation: spp-cookies-wjazd .32s ease-out both;
}

@keyframes spp-cookies-wjazd {
	from { opacity: 0; transform: translate(-50%, 16px); }
	to   { opacity: 1; transform: translate(-50%, 0); }
}

.spp-cookies-ukryty { display: none; }

.spp-cookies-znika {
	opacity: 0;
	transform: translate(-50%, 14px);
	transition: opacity .22s ease, transform .22s ease;
}

.spp-cookies-tresc { flex: 1 1 auto; }

.spp-cookies-tresc strong {
	display: block;
	margin-bottom: 4px;
	font-size: 15px;
	font-weight: 800;
}

.spp-cookies-tresc p {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.6;
	color: #4f6076;
}

.spp-cookies-tresc a {
	color: #00928d;
	font-weight: 700;
	text-decoration: underline;
}

.spp-cookies-akcje {
	display: flex;
	gap: 10px;
	flex: 0 0 auto;
}

.spp-cookies-btn {
	appearance: none;
	border: 1px solid transparent;
	border-radius: 999px;
	padding: 12px 22px;
	font-family: inherit;
	font-size: 13.5px;
	font-weight: 700;
	cursor: pointer;
	transition: background-color .18s ease, color .18s ease, border-color .18s ease;
	white-space: nowrap;
}

.spp-cookies-btn-glowny {
	background: #00928d;
	color: #ffffff;
}

.spp-cookies-btn-glowny:hover { background: #00736f; }

.spp-cookies-btn-drugi {
	background: #ffffff;
	color: #002a52;
	border-color: #cfdbe7;
}

.spp-cookies-btn-drugi:hover {
	border-color: #00928d;
	color: #00928d;
}

/* link „Ustawienia ciasteczek”, np. w stopce */
.spp-cookies-otworz {
	appearance: none;
	background: none;
	border: 0;
	padding: 0;
	font: inherit;
	color: inherit;
	cursor: pointer;
	text-decoration: underline;
}

@media (max-width: 860px) {
	.spp-cookies {
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
		bottom: 12px;
		padding: 18px 18px 20px;
		border-radius: 16px;
	}

	.spp-cookies-akcje { flex-direction: column-reverse; }

	.spp-cookies-btn {
		width: 100%;
		padding: 13px 18px;
	}
}
