/* EVILLAGE.PL - baner zgod. Kolory przez zmienne: nadpisz je w motywie potomnym (:root { --ev-cc-accent: ... }). */
:root {
	--ev-cc-bg: #ffffff;
	--ev-cc-text: #1d2327;
	--ev-cc-muted: #50575e;
	--ev-cc-accent: #1d2327;
	--ev-cc-accent-text: #ffffff;
	--ev-cc-border: #dcdcde;
	--ev-cc-accept-bg: #15803d; /* zielony, kontrast z bialym tekstem 5:1 (WCAG AA) */
	--ev-cc-accept-text: #ffffff;
	--ev-cc-radius: 10px;
}
.ev-cc[hidden], .ev-cc [hidden], .ev-cc-reopen[hidden] { display: none !important; }
.ev-cc {
	position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 2147483000;
	display: flex; justify-content: center; pointer-events: none;
	font-size: 15px; line-height: 1.5;
}
.ev-cc__box {
	pointer-events: auto; width: 100%; max-width: 760px; max-height: calc(100vh - 32px); overflow: auto;
	background: var(--ev-cc-bg); color: var(--ev-cc-text);
	border: 1px solid var(--ev-cc-border); border-radius: var(--ev-cc-radius);
	box-shadow: 0 8px 32px rgba(0, 0, 0, .18); padding: 20px 22px; box-sizing: border-box;
}
.ev-cc__title { margin: 0 0 6px; font-size: 17px; font-weight: 700; }
.ev-cc__text { margin: 0 0 14px; color: var(--ev-cc-muted); font-size: 14px; }
.ev-cc__text a { color: inherit; text-decoration: underline; }
.ev-cc__prefs { border-top: 1px solid var(--ev-cc-border); margin: 0 0 14px; padding-top: 10px; }
.ev-cc__cat { padding: 8px 0; }
.ev-cc__cat label { display: flex; gap: 8px; align-items: center; cursor: pointer; font-size: 15px; }
.ev-cc__cat input { width: 18px; height: 18px; margin: 0; accent-color: var(--ev-cc-accent); }
.ev-cc__cat p { margin: 2px 0 0 26px; font-size: 13px; color: var(--ev-cc-muted); }
.ev-cc__always { font-weight: 400; color: var(--ev-cc-muted); font-size: 13px; }
.ev-cc__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
/* Decyzja 25.11.2026: wypelniony (zielony) tylko "Akceptuj wszystkie"; pozostale bez tla, z cienka ramka 1 px; wszystkie przyciski bez zaokraglen. Ryzyko: TRACEABILITY.md L6. */
.ev-cc__btn {
	flex: 1 1 160px; min-height: 44px; padding: 10px 16px; cursor: pointer;
	font: inherit; font-size: 15px; font-weight: 600; line-height: 1.2;
	background: var(--ev-cc-accent); color: var(--ev-cc-accent-text);
	border: 1px solid var(--ev-cc-accent); border-radius: 0;
}
.ev-cc__btn[data-ev-cc="accept"] { background: var(--ev-cc-accept-bg); border-color: var(--ev-cc-accept-bg); color: var(--ev-cc-accept-text); }
.ev-cc__btn--ghost { background: transparent; color: var(--ev-cc-accent); }
.ev-cc__btn--ghost:hover { text-decoration: underline; opacity: 1; }
.ev-cc__btn:hover { opacity: .88; }
.ev-cc__btn:focus-visible, .ev-cc-reopen:focus-visible, .ev-cc__cat input:focus-visible { outline: 3px solid #2271b1; outline-offset: 2px; }
.ev-cc-reopen {
	position: fixed; left: 12px; bottom: 12px; z-index: 2147482999;
	padding: 6px 12px; font-family: inherit; font-size: 12px; font-weight: 600; line-height: 1.2; cursor: pointer;
	background: var(--ev-cc-bg); color: var(--ev-cc-text);
	border: 1px solid var(--ev-cc-border); border-radius: 999px; box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
	opacity: .85;
}
.ev-cc-reopen:hover { opacity: 1; }
@media (max-width: 520px) {
	.ev-cc { left: 8px; right: 8px; bottom: 8px; }
	.ev-cc__box { padding: 16px; }
	.ev-cc__btn { flex-basis: 100%; }
}
@media print { .ev-cc, .ev-cc-reopen { display: none !important; } }
