/* J-Tools: komunikat z przyciskiem zamknięcia. Jasne tło (logotypy), stałe kolory przycisku (kontrast ≥ 4,5:1), rozmiary w rem. */
.jtools-komunikat {
	position: relative;
	z-index: 99990;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.75rem 1.5rem;
	padding: 0.75rem 1.25rem;
	background: #fff;
	color: #1d2327;
	font-size: 1rem;
	line-height: 1.5;
	border-bottom: 1px solid #dcdcde;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.jtools-komunikat[hidden] {
	display: none;
}

.jtools-komunikat--dol {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	max-height: 50vh;
	overflow-y: auto;
	border-top: 1px solid #dcdcde;
	border-bottom: 0;
	box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.12);
}

.jtools-komunikat__tresc {
	flex: 1 1 32rem;
	max-width: 80rem;
}

.jtools-komunikat__tresc > :last-child,
.jtools-komunikat__tresc .widget:last-child,
.jtools-komunikat__tresc p:last-child {
	margin-bottom: 0;
}

.jtools-komunikat__tresc img {
	display: inline-block;
	max-width: 100%;
	height: auto;
}

.jtools-komunikat__zamknij {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.45rem 0.9rem;
	border: 2px solid #1d2327;
	border-radius: 4px;
	background: #1d2327;
	color: #fff;
	font-size: 1rem;
	line-height: 1.2;
	cursor: pointer;
}

.jtools-komunikat__zamknij:hover,
.jtools-komunikat__zamknij:focus-visible {
	background: #fff;
	color: #1d2327;
	outline: 3px solid #2271b1;
	outline-offset: 2px;
}
