/*!
 * Labify — baner zgód, tryb „jak dziś” (labify_zgody_tryb = jak_dzis): układ jak dzisiejszy Cookiebot na labify.pl
 * (szablon popup-v2_white: okno na środku 900 px, logo, zakładki Zgoda / Szczegóły / O plikach cookies, dwa równe pełne przyciski,
 * strona nieprzyciemniona; telefon: okno z marginesem 8 px, przyciski jeden pod drugim). Kolory i kroje z motywu Labify.
 * Ładowane tylko w trybie jak_dzis, po labify-zgody.css. Wymiary wzorcowe: porownanie-banera/dowody/prod-*-pierwsze.json.
 */
html.lz-jak-dzis #cc-main{
	--cc-modal-border-radius:8px;
	--cc-btn-border-radius:100px;
	--cc-modal-margin:16px;
	--cc-separator-border-color:#E4E4EC;
	--cc-toggle-on-bg:#0F206C;
	--cc-toggle-off-bg:#1C1D38;
	--cc-toggle-readonly-bg:#0F206C;
	--cc-toggle-readonly-knob-icon-color:#0F206C;
	--cc-cookie-category-block-bg:transparent;
	--cc-cookie-category-block-border:transparent;
	--cc-cookie-category-block-hover-bg:transparent;
	--cc-cookie-category-block-hover-border:transparent;
	--cc-cookie-category-expanded-block-bg:transparent;
	--cc-cookie-category-expanded-block-hover-bg:transparent;
	--cc-overlay-bg:transparent;
	--cc-secondary-color:#1C1D38;
}

/* ===== Okno (obie warstwy): na środku, 900 px, bez przyciemnienia strony ===== */
html.lz-jak-dzis #cc-main .cm.cm--box{max-width:900px;width:auto;box-shadow:0 30px 70px rgba(0,0,0,.3)}
html.lz-jak-dzis #cc-main .cm.cm--box{max-height:calc(100% - 32px)}
html.lz-jak-dzis #cc-main .pm.pm--box{max-width:900px;height:min(720px,calc(100% - 32px));max-height:none;box-shadow:0 30px 70px rgba(0,0,0,.3)}
html.lz-jak-dzis #cc-main .pm__body{min-height:0}
html.lz-jak-dzis #cc-main .pm-overlay{background:transparent;pointer-events:none}
/* Szczegóły zastępują pierwszą warstwę w tym samym miejscu (jak zakładki Cookiebota). */
html.lz-jak-dzis.show--preferences #cc-main .cm{opacity:0!important;visibility:hidden!important}

/* ===== Nagłówek: logo Labify + zakładki ===== */
html.lz-jak-dzis #cc-main .lz-glowa{flex:none;border-bottom:1px solid var(--cc-separator-border-color)}
html.lz-jak-dzis #cc-main .lz-logo{display:flex;align-items:center;min-height:76px;padding:0 23px;border-bottom:1px solid var(--cc-separator-border-color)}
html.lz-jak-dzis #cc-main .lz-logo img{display:block;width:auto;height:18px}
html.lz-jak-dzis #cc-main .lz-zakladki{display:flex}
html.lz-jak-dzis #cc-main .lz-zakladka{flex:1 1 0;min-height:56px;padding:0 8px;background:transparent;border:0;border-bottom:3px solid transparent;color:#1C1D38;font-family:var(--cc-font-family);font-size:15px;font-weight:700;line-height:1.2;text-align:center;cursor:pointer}
html.lz-jak-dzis #cc-main .lz-zakladka[aria-selected="true"]{color:#0F206C;border-bottom-color:#0F206C}
html.lz-jak-dzis #cc-main .lz-zakladka:hover{color:#0F206C}
html.lz-jak-dzis #cc-main .lz-zakladka:focus-visible{outline:2px solid #165ADE;outline-offset:-2px}

/* ===== Pierwsza warstwa ===== */
html.lz-jak-dzis #cc-main .cm__body{flex:1 1 auto;min-height:0}
html.lz-jak-dzis #cc-main .cm__texts{padding:24px 0 0}
html.lz-jak-dzis #cc-main .cm__title{padding:0 23px;font-family:var(--cc-font-family);font-size:15px;font-weight:700;letter-spacing:0;color:#1C1D38}
html.lz-jak-dzis #cc-main .cm__title+.cm__desc{margin-top:12px}
html.lz-jak-dzis #cc-main .cm__desc{padding:0 23px 22px;font-size:15px;line-height:1.6;letter-spacing:.2px;color:#1C1D38;max-height:none}
html.lz-jak-dzis #cc-main .cm__btns{flex:none;padding:16px 23px;border-top:1px solid var(--cc-separator-border-color)}
/* Kolejność jak Cookiebot: komputer „Spersonalizuj” | „Zezwól na wszystkie” (do prawej), telefon „Zezwól na wszystkie” nad „Spersonalizuj”. */
html.lz-jak-dzis #cc-main .cm__btn-group{display:flex!important;flex-direction:row-reverse!important;justify-content:flex-start;gap:7px}
html.lz-jak-dzis #cc-main .cm__btn+.cm__btn{margin:0!important}

/* ===== Przyciski (obie warstwy): dwa równe, pełne — jak „solid” Cookiebota; kolory i kroje motywu ===== */
html.lz-jak-dzis #cc-main .cm__btn,
html.lz-jak-dzis #cc-main .cm__btn--secondary,
html.lz-jak-dzis #cc-main .pm__btn,
html.lz-jak-dzis #cc-main .pm__btn--secondary{flex:0 0 282px;width:282px;max-width:100%;min-height:51px;padding:0 16px;background:#0F206C;border:2px solid #0F206C;border-radius:var(--cc-btn-border-radius);color:#ffffff;font-family:var(--cc-font-family);font-size:15px;font-weight:600;line-height:1.2}
html.lz-jak-dzis #cc-main .cm__btn:hover,
html.lz-jak-dzis #cc-main .cm__btn--secondary:hover,
html.lz-jak-dzis #cc-main .pm__btn:hover,
html.lz-jak-dzis #cc-main .pm__btn--secondary:hover{background:#1C1D38;border-color:#1C1D38;color:#ffffff}
html.lz-jak-dzis #cc-main .cm__btn>span{display:inline-flex;align-items:center;justify-content:center;gap:10px}
html.lz-jak-dzis #cc-main .lz-chevron{flex:none!important;display:block;width:9px!important;min-width:9px;max-width:9px;height:14px!important;margin:0 0 0 2px}

/* ===== Szczegóły (warstwa ustawień) ===== */
html.lz-jak-dzis #cc-main .pm__header{display:none}
html.lz-jak-dzis #cc-main .pm__body{padding:0 23px}
html.lz-jak-dzis #cc-main .pm__section-toggles{margin:0}
html.lz-jak-dzis #cc-main .pm__section--toggle{margin:0;border:0;border-bottom:1px solid var(--cc-separator-border-color);border-radius:0;background:transparent;padding:22px 0 24px}
html.lz-jak-dzis #cc-main .pm__section--toggle .pm__section-title{min-height:32px;padding:0 90px 0 36px;background:transparent;border:0;border-radius:0;color:#1C1D38;font-family:var(--cc-font-family);font-size:15px;font-weight:700;cursor:default}
html.lz-jak-dzis #cc-main .pm__section--expandable .pm__section-arrow{left:0;background:transparent;width:20px;height:20px}
html.lz-jak-dzis #cc-main .pm__section--expandable .pm__section-arrow svg{stroke:#1C1D38;transform:scale(.6)}
html.lz-jak-dzis #cc-main .pm__section--toggle .pm__section-desc-wrapper,
html.lz-jak-dzis #cc-main .pm__section--toggle.is-expanded .pm__section-desc-wrapper{display:flex!important;border:0;margin-top:12px!important}
html.lz-jak-dzis #cc-main .pm__section--toggle .pm__section-desc{padding:0 0 0 45px;font-size:15px;line-height:1.6;color:#1C1D38}
html.lz-jak-dzis #cc-main .section__toggle-wrapper{right:0;transform:scale(1.25);transform-origin:right center}
html.lz-jak-dzis #cc-main .pm__section,html.lz-jak-dzis #cc-main .pm__section--toggle,html.lz-jak-dzis #cc-main .pm__section-title,html.lz-jak-dzis #cc-main .pm__section-desc-wrapper{border-radius:0!important;overflow:visible}
html.lz-jak-dzis #cc-main .pm__section{margin:0;padding:22px 0 24px;border:0;border-radius:0;background:transparent}
html.lz-jak-dzis #cc-main .pm__section-toggles+.pm__section{margin-top:0}
html.lz-jak-dzis #cc-main .pm__section .pm__section-title{font-family:var(--cc-font-family);font-size:15px;font-weight:700;color:#1C1D38}
html.lz-jak-dzis #cc-main .pm__section .pm__section-desc{font-size:15px;line-height:1.6;color:#1C1D38}
html.lz-jak-dzis #cc-main .pm__footer{flex:none;flex-direction:row-reverse;justify-content:flex-start;gap:7px;padding:16px 23px;border-top:1px solid var(--cc-separator-border-color)}
html.lz-jak-dzis #cc-main .pm__btn-group{display:flex;flex:0 0 auto}
html.lz-jak-dzis #cc-main .pm__btn-group+.pm__btn-group{margin:0!important}

/* ===== Telefon (jak Cookiebot na 390 px: okno 374 px, przyciski na pełną szerokość, „Zezwól na wszystkie” na górze) ===== */
@media screen and (max-width:640px){
	html.lz-jak-dzis #cc-main{--cc-modal-margin:8px}
	html.lz-jak-dzis #cc-main .cm.cm--box{max-width:none!important;max-height:calc(100% - 16px);left:8px;right:8px}
	html.lz-jak-dzis #cc-main .lz-logo{min-height:56px;padding:0 15px}
	html.lz-jak-dzis #cc-main .lz-zakladka{flex:1 1 auto;min-height:56px;font-size:14px;padding:0 6px;white-space:nowrap}
	html.lz-jak-dzis #cc-main .cm__texts{padding-top:20px}
	html.lz-jak-dzis #cc-main .cm__title{padding:0 15px!important}
	html.lz-jak-dzis #cc-main .cm__desc{padding:0 15px 16px!important;max-height:30vh;overflow-y:auto;-webkit-mask-image:linear-gradient(to bottom,#000 70%,transparent 100%);mask-image:linear-gradient(to bottom,#000 70%,transparent 100%)}
	html.lz-jak-dzis #cc-main .cm__btns{padding:15px!important}
	html.lz-jak-dzis #cc-main .cm__btn-group{flex-direction:column!important;gap:8px}
	html.lz-jak-dzis #cc-main .cm__btn,
	html.lz-jak-dzis #cc-main .pm__btn{flex:0 0 auto!important;width:100%}
	html.lz-jak-dzis #cc-main .pm.pm--box{top:8px!important;bottom:8px!important;left:8px!important;right:8px!important;height:auto!important;max-height:none;border-radius:var(--cc-modal-border-radius)!important}
	html.lz-jak-dzis #cc-main .pm__body{padding:0 15px!important}
	html.lz-jak-dzis #cc-main .pm__section--toggle .pm__section-desc{padding-left:0}
	html.lz-jak-dzis #cc-main .pm__footer{flex-direction:column!important;gap:8px;padding:15px!important}
	html.lz-jak-dzis #cc-main .pm__btn-group{flex-direction:column!important}
}
@media print{html.lz-jak-dzis #cc-main{display:none!important}}
