/* ML Radar - EW Rejestracja. Wszystko zmapowane z realnych embedow EW
   (Chromium 09.07): inline form-embed (akcent #d50000), popup theme_4
   (reg_modal_4: karta #fafafa r16 max500, progress #f68b09/#e9ecef fill 50%,
   pola underline #eaeef5 tekst #5d6b96 placeholder #0006 ikony #212121,
   pill #f68b09), belka #F1B715 / CTA #C2331C. !important = pancerz na
   globalne style LP (OP theme). */

/* Roboto self-hosted (font zmienny v51, latin + latin-ext, font-display swap
   - zero @import/latencji Google; pliki w assets/fonts, preload w wp_head) */
@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/roboto-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/roboto-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Zwarte czcionki 1:1 z embedami EW (ich iframy renderuja Roboto) */
.mlz-panel, .mlz-panel *, .mlz-bar, .mlz-bar *, .mlz-popup, .mlz-popup *, .mlz-cc-list, .mlz-cc-list * {
  font-family: Roboto, -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif !important;
}
.mlz-sr-only {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important;
}

/* ===== formularz inline (karta jak form-embed) ===== */
.mlz-panel { max-width: 460px; margin: 0 auto; }
.mlz-h { font-size: 26px !important; font-weight: 800 !important; margin: 0 0 14px !important; padding: 0 !important; color: #212121 !important; }
.mlz-form { background: #fff !important; padding: 10% 9% !important; border-radius: 4px !important; margin: 0 !important; box-sizing: border-box !important; }
.mlz-row { position: relative; margin-bottom: 16px; }
/* etykieta terminu (16.09.2026): widoczny sygnal, ze termin mozna wybrac */
.mlz-form .mlz-date-label { display: block !important; font-size: 14px !important; font-weight: 700 !important; color: #333 !important; margin: 0 0 7px 2px !important; padding: 0 !important; line-height: 1.3 !important; letter-spacing: .01em; }
.mlz-form .mlz-date-label .mlz-date-count { font-weight: 500 !important; color: #8a2b2c !important; }
.mlz-form .mlz-date-label .mlz-date-count b { font-weight: 700 !important; }
.mlz-form .mlz-date-label .mlz-date-count[hidden] { display: none !important; }
/* waskie telefony (LP Sezonow ma waska karte): krotszy naglowek i mniejsza
   czcionka pola, zeby "śr, 16 wrz, 13:00 - za 4 minuty" sie nie ucinalo */
@media (max-width: 420px) {
  .mlz-form .mlz-date-label { font-size: 13px !important; }
  .mlz-form .mlz-date-label .mlz-lbl-x { display: none; }
  .mlz-form .mlz-date-label .mlz-date-count { white-space: nowrap; }
  .mlz-form .mlz-row select.mlz-date { font-size: 13.5px !important; padding-right: 32px !important; letter-spacing: -.01em; }
  .mlz-form .mlz-row select.mlz-date + .mlz-ic { right: 8px; }
}
.mlz-form .mlz-row input, .mlz-form .mlz-row select {
  width: 100% !important; padding: 14px 46px 14px 15px !important;
  border: 1px solid #d8d8d8 !important; border-radius: 6px !important;
  font-size: 15px !important; line-height: 1.3 !important; min-height: 50px !important;
  background: #fff !important; color: #212121 !important; box-shadow: none !important;
  -webkit-appearance: none !important; appearance: none !important; box-sizing: border-box !important;
  font-family: inherit !important; margin: 0 !important;
}
.mlz-form .mlz-row input:focus, .mlz-form .mlz-row select:focus { outline: none !important; border-color: #b9b9b9 !important; }
.mlz-row input::placeholder { color: #8a8a8a; opacity: 1; }
.mlz-row select { cursor: pointer; color: #212121; }
.mlz-row select:invalid { color: #8a8a8a; }
.mlz-ic { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); line-height: 0; pointer-events: none; }
.mlz-req { color: #d50000; position: absolute; right: 7px; top: 7px; font-size: 13px; line-height: 1; }
.mlz-hp { position: absolute !important; left: -9999px !important; height: 1px; overflow: hidden; }
/* pole "Twoj angielski:" (16.10.2026): ramki i czcionka jak pola formularza,
   kolor zaznaczenia = kolor przycisku (JS ustawia --mlz-accent) */
.mlz-form .mlz-poziom { border: 0 !important; margin: 10px 0 16px !important; padding: 0 !important; min-width: 0; --mlz-accent-fb: #d50000; }
.mlz-form .mlz-poziom-lbl { display: block !important; float: none; font-size: 14px !important; font-weight: 700 !important; color: #333 !important; margin: 0 0 7px 2px !important; padding: 0 !important; line-height: 1.3 !important; letter-spacing: .01em; width: auto; border: 0 !important; }
.mlz-form .mlz-poziom-opt {
  position: relative; display: flex !important; align-items: center; gap: 12px; min-height: 50px;
  padding: 12px 15px !important; margin: 0 0 8px !important; border: 1px solid #d8d8d8 !important; border-radius: 6px !important;
  background: #fff !important; cursor: pointer; box-sizing: border-box !important; font-size: 15px !important;
  line-height: 1.3 !important; color: #212121 !important; font-weight: 400 !important; text-align: left !important;
}
.mlz-form .mlz-poziom-opt:last-child { margin-bottom: 0 !important; }
.mlz-form .mlz-poziom-opt input { position: absolute !important; opacity: 0 !important; width: 1px !important; height: 1px !important; margin: 0 !important; pointer-events: none; }
.mlz-form .mlz-poziom-dot { flex: none; width: 20px; height: 20px; border: 2px solid #a8a8a8; border-radius: 50%; box-sizing: border-box; background: #fff; }
.mlz-form .mlz-poziom-opt:has(input:checked) { border-color: var(--mlz-accent, var(--mlz-accent-fb)) !important; box-shadow: inset 0 0 0 1px var(--mlz-accent, var(--mlz-accent-fb)) !important; }
.mlz-form .mlz-poziom-opt input:checked + .mlz-poziom-dot { border-color: var(--mlz-accent, var(--mlz-accent-fb)); background: var(--mlz-accent, var(--mlz-accent-fb)); box-shadow: inset 0 0 0 4px #fff; }
.mlz-form .mlz-poziom-opt input:focus-visible + .mlz-poziom-dot { outline: 3px solid #145fcc; outline-offset: 2px; }
.mlz-t4 .mlz-form .mlz-poziom { margin: 4px 0 6px !important; }
.mlz-t4 .mlz-form .mlz-poziom-lbl { font-size: 17px !important; color: #212121 !important; margin: 8px 0 6px !important; }
.mlz-t4 .mlz-form .mlz-poziom-opt {
  border: 0 !important; border-bottom: 2px solid #eaeef5 !important; border-radius: 0 !important;
  background: #fafafa !important; color: #5d6b96 !important; font-size: 17px !important; padding: 14px 0 !important; margin: 0 !important;
}
.mlz-t4 .mlz-form .mlz-poziom-opt:has(input:checked) { box-shadow: none !important; border-color: var(--mlz-accent, #f68b09) !important; color: #212121 !important; }
.mlz-form .mlz-submit {
  width: 100% !important; border: 0 !important; border-radius: 6px !important;
  background: #d50000 !important; color: #fff !important; font-size: 15px !important;
  font-weight: 700 !important; letter-spacing: .08em !important; padding: 17px 16px !important;
  cursor: pointer; position: relative; text-transform: uppercase !important; opacity: .55;
  transition: opacity .15s ease; font-family: inherit !important; line-height: 1.3 !important;
  margin: 4px 0 0 !important; box-shadow: none !important; text-align: center !important;
}
.mlz-form.mlz-ready .mlz-submit { opacity: 1; }
.mlz-arr { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; line-height: 1; }
.mlz-legal { font-size: 13px !important; color: #7a7a7a !important; margin: 16px 0 0 !important; line-height: 1.55 !important; text-align: left !important; }
.mlz-state { display: none; margin-top: 12px; font-size: 13.5px; border-radius: 6px; padding: 10px 12px; }
.mlz-state.mlz-on { display: block; }
.mlz-state.mlz-load { background: #fdf9ec; color: #9a6a00; }
.mlz-state.mlz-ok { background: #eaf6eb; color: #2e7d32; font-weight: 600; }
.mlz-state.mlz-err { background: #fdecea; color: #c62828; }

/* ===== telefon: flaga + kierunkowy + lista krajow (jak vue-tel-input EW) ===== */
.mlz-flag-btn {
  position: absolute; left: 9px; top: 50%; transform: translateY(-50%); z-index: 2;
  display: flex !important; align-items: center; gap: 6px; border: 0 !important;
  background: none !important; cursor: pointer; padding: 6px !important; margin: 0 !important;
  font-family: inherit !important; box-shadow: none !important; line-height: 1 !important;
}
.mlz-flag-e, .mlz-cc-flag {
  display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 17px;
  padding: 0 3px; border: 1px solid #d7d7da; border-radius: 3px; background: #fff;
  color: #515151; font-size: 9px !important; font-weight: 800; letter-spacing: .04em; line-height: 1;
  box-sizing: border-box;
}
.mlz-flag-e { border-top-color: #fff; border-bottom: 8px solid #dc143c; color: transparent; }
.mlz-cc-cur { font-size: 14px; color: #212121; font-weight: 400; }
.mlz-form .mlz-phone input[type="tel"] { padding-left: 92px !important; }
.mlz-cc-list {
  position: absolute; z-index: 100001; top: calc(100% + 4px); left: 0;
  width: 320px; max-width: 92vw; max-height: 264px; overflow-y: auto;
  background: #fff; border: 1px solid #e3e3e5; border-radius: 8px;
  box-shadow: 0 8px 28px rgba(0,0,0,.18); padding: 4px 0;
}
.mlz-cc-list button {
  display: grid !important; grid-template-columns: 26px 1fr auto; align-items: center;
  gap: 10px; width: 100% !important; padding: 9px 14px !important; border: 0 !important;
  background: none !important; cursor: pointer; text-align: left !important;
  font-size: 14.5px !important; color: #212121 !important; font-family: inherit !important;
  box-shadow: none !important; margin: 0 !important; line-height: 1.3 !important;
}
.mlz-cc-list button:hover { background: #f4f4f5 !important; }
.mlz-cc-list b { font-weight: 700; }
.mlz-flag-btn:focus-visible, .mlz-close:focus-visible, .mlz-submit:focus-visible,
.mlz-cc-list button:focus-visible, .mlz-bar-cta:focus-visible {
  outline: 3px solid #145fcc !important; outline-offset: 3px !important;
}

/* ===== popup: overlay + karta theme_4 (1:1 z reg_modal_4) ===== */
.mlz-overlay {
  display: none; position: fixed !important; top: 0 !important; right: 0 !important;
  bottom: 0 !important; left: 0 !important; width: auto !important; max-width: none !important;
  background: #000000b3 !important; z-index: 100000 !important; overflow-x: hidden; overflow-y: auto;
  padding: 48px 16px !important; margin: 0 !important; box-sizing: border-box !important;
}
.mlz-overlay.mlz-open { display: block; }
html.mlz-modal-open, body.mlz-modal-open { overflow: hidden !important; }
.mlz-popup {
  position: relative; margin: 4vh auto 40px !important; max-width: 560px !important;
  width: auto !important; background: #fafafa !important; border-radius: 20px !important;
  padding: 44px 54px 34px !important; box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
  animation: mlz-pop .18s ease-out; text-align: left !important; box-sizing: border-box !important;
}
@keyframes mlz-pop { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.mlz-close {
  position: absolute; top: -36px; right: -4px; border: 0 !important; background: none !important;
  font-size: 32px; line-height: 1; color: #fff !important; cursor: pointer; padding: 4px !important;
  box-shadow: none !important;
}
.mlz-close:hover { color: #ddd !important; }

/* theme_4: progress + tytul + sekcje + pola underline + pill */
.mlz-t4-progress-wrap { margin: 0 0 46px !important; }
.mlz-t4-progress-text { text-align: center !important; font-size: 15px !important; font-weight: 700 !important; color: #212121 !important; margin: 0 0 10px !important; }
.mlz-t4-progress { background: #e9ecef; border-radius: 4px; height: 26px; width: 100%; position: relative; }
.mlz-t4-progress > div { position: absolute; top: 0; bottom: 0; left: 0; width: 50%; background: #f68b09; border-radius: 4px 0 0 4px; transition: width .4s ease; }
.mlz-t4-title { font-size: 30px !important; font-weight: 700 !important; color: #212121 !important; text-align: center !important; line-height: 1.3 !important; margin: 0 0 42px !important; padding: 0 !important; }
.mlz-t4-section { font-weight: 700 !important; font-size: 17px !important; color: #212121 !important; margin: 30px 0 0 !important; padding: 0 !important; }
.mlz-t4 .mlz-form .mlz-date-label.mlz-t4-section { font-size: 17px !important; color: #212121 !important; margin: 30px 0 0 !important; }
.mlz-t4 .mlz-form .mlz-date-label .mlz-date-count { color: #e13352 !important; }
.mlz-t4 .mlz-form { background: transparent !important; padding: 0 !important; border-radius: 0 !important; }
.mlz-t4 .mlz-form .mlz-row input, .mlz-t4 .mlz-form .mlz-row select {
  border: 0 !important; border-bottom: 2px solid #eaeef5 !important; border-radius: 0 !important;
  background: #fafafa !important; color: #5d6b96 !important; padding: 20px 46px 16px 0 !important;
  font-size: 18px !important;
}
.mlz-t4 .mlz-form .mlz-row input:focus, .mlz-t4 .mlz-form .mlz-row select:focus { border-color: #c7d2e5 !important; }
.mlz-t4 .mlz-row input::placeholder { color: rgba(0,0,0,.4); }
.mlz-t4 .mlz-row select:invalid { color: rgba(0,0,0,.4); }
.mlz-t4 .mlz-ic { right: 2px; }
.mlz-t4 .mlz-req { right: 0; top: 2px; color: #e13352; }
.mlz-t4 .mlz-flag-btn { left: 0; padding-left: 0 !important; }
.mlz-t4 .mlz-cc-cur { color: #5d6b96; font-size: 18px; }
.mlz-t4 .mlz-row { margin-bottom: 22px !important; }
.mlz-t4 .mlz-form .mlz-phone input[type="tel"] { padding-left: 96px !important; }
.mlz-t4 .mlz-form .mlz-submit.mlz-t4-submit {
  border-radius: 50rem !important; background: #d3d7da !important; opacity: 1;
  font-size: 21px !important; padding: 24px 20px !important; letter-spacing: .12em !important;
  text-transform: uppercase !important; margin-top: 38px !important;
  box-shadow: 0 0 32px 8px rgba(0,0,0,.1) !important; cursor: not-allowed;
}
.mlz-t4 .mlz-form.mlz-ready .mlz-submit.mlz-t4-submit { background: #f68b09 !important; cursor: pointer; }
.mlz-t4 .mlz-legal { text-align: left; font-size: 13.5px !important; margin-top: 20px !important; }
.mlz-t4 .mlz-arr { right: 32px; font-size: 26px; }

/* ===== belka (1:1 z embed-bar: inset, dwukropki, desktop-only) ===== */
.mlz-bar {
  position: fixed !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
  top: auto !important; z-index: 99990; background: #F1B715 !important;
  display: flex !important; align-items: center; gap: 32px; flex-wrap: nowrap; justify-content: flex-start !important;
  padding: 13px 10vw !important; margin: 0 !important; box-shadow: 0 -3px 14px rgba(0,0,0,.18);
  font-family: inherit; color: #212121 !important; text-align: left !important; line-height: 1.4 !important;
}
.mlz-bar * { color: #212121; }
.mlz-bar-when { white-space: nowrap; margin-left: 4vw; }
.mlz-bar-when b { display: block !important; font-size: 15px !important; color: #212121 !important; font-weight: 700 !important; margin: 0 !important; }
.mlz-bar-when span { font-size: 13.5px; }
.mlz-bar-more { display: inline-block; font-size: 11.5px !important; color: #7a5200 !important; font-weight: 700 !important; letter-spacing: .04em; text-decoration: underline !important; margin: 3px 0 0 !important; }
.mlz-bar-count { display: flex !important; gap: 8px; margin-left: auto !important; margin-right: 0 !important; font-variant-numeric: tabular-nums; align-items: flex-start; }
.mlz-seg { text-align: center; min-width: 46px; }
.mlz-seg b { display: block !important; font-size: 27px !important; font-weight: 700 !important; letter-spacing: .14em; color: #212121 !important; line-height: 1.05 !important; margin: 0 !important; }
.mlz-seg span { display: block !important; font-size: 9px !important; letter-spacing: .08em; font-weight: 700 !important; color: #212121 !important; margin-top: 3px; }
.mlz-colon { font-size: 27px; font-weight: 700; line-height: 1.05; }
.mlz-bar-cta {
  background: #C2331C !important; color: #fff !important; font-weight: 700 !important;
  font-size: 14.5px !important; letter-spacing: .03em; border: 0 !important; border-radius: 4px !important;
  padding: 15px 22px !important; margin: 0 0 0 26px !important; cursor: pointer; font-family: inherit !important;
  white-space: nowrap; line-height: 1 !important;
}
@media (max-width: 900px) {
  .mlz-bar { display: none !important; }
  /* checkbox w panelu Zapis EW: belka wlaczona na mobile (kompaktowa) */
  .mlz-bar.mlz-bar-mobile { display: flex !important; gap: 12px; padding: 10px 14px !important; }
  .mlz-bar.mlz-bar-mobile .mlz-bar-when { margin-left: 0; }
  .mlz-bar.mlz-bar-mobile .mlz-bar-when span { display: none; }
  .mlz-bar.mlz-bar-mobile .mlz-seg b { font-size: 22px !important; }
  .mlz-bar.mlz-bar-mobile .mlz-colon { font-size: 22px; }
  .mlz-bar.mlz-bar-mobile .mlz-bar-cta { padding: 12px 14px !important; font-size: 13px !important; }
}
@media (max-width: 620px) {
	.mlz-overlay { padding: 38px 10px 18px !important; }
  .mlz-popup { padding: 30px 22px 24px !important; margin-top: 2vh !important; }
  .mlz-t4-title { font-size: 22px; margin-bottom: 28px; }
  .mlz-t4-progress-wrap { margin-bottom: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .mlz-popup { animation: none !important; }
}
