/* =========================================================
   index.css
   01. Sekcje i reguły uporządkowane czytelnie
   02. Każdy blok CSS jest rozdzielony i łatwy do znalezienia
   ========================================================= */

/* index.css — style wyłącznie dla index.php */
:root {
   --idx-bg: #e0e0e0;
   --idx-surface: #e0e0e0;
   --idx-surface-soft: #d9d9d9;
   --idx-text: #151515;
   --idx-muted: rgba(21, 21, 21, .62);
   --idx-shadow-dark: #bebebe;
   --idx-shadow-light: #ffffff;
   --idx-radius-xl: 38px;
   --idx-radius-lg: 24px;
   --idx-radius-md: 18px;
   --idx-radius-sm: 14px;
   --idx-raised: 12px 12px 28px var(--idx-shadow-dark), -12px -12px 28px var(--idx-shadow-light);
   --idx-raised-soft: 8px 8px 18px var(--idx-shadow-dark), -8px -8px 18px var(--idx-shadow-light);
   --idx-pressed: inset 8px 8px 16px var(--idx-shadow-dark), inset -8px -8px 16px var(--idx-shadow-light);
   --idx-pressed-soft: inset 5px 5px 11px var(--idx-shadow-dark), inset -5px -5px 11px var(--idx-shadow-light);

}
 html.wb_indexAuth[data-wb-theme="dark"] {
   --idx-bg: #24272c;
   --idx-surface: #24272c;
   --idx-surface-soft: #202329;
   --idx-text: #e4e6ec;
   --idx-muted: rgba(228, 230, 236, .58);
   --idx-shadow-dark: rgba(7, 9, 12, .58);
   --idx-shadow-light: rgba(255, 255, 255, .025);
   --idx-raised: 12px 12px 26px var(--idx-shadow-dark), -8px -8px 18px var(--idx-shadow-light);
   --idx-raised-soft: 8px 8px 18px var(--idx-shadow-dark), -5px -5px 12px var(--idx-shadow-light);
   --idx-pressed: inset 8px 8px 16px rgba(7, 9, 12, .58), inset -6px -6px 14px rgba(255, 255, 255, .022);
   --idx-pressed-soft: inset 5px 5px 11px rgba(7, 9, 12, .55), inset -4px -4px 10px rgba(255, 255, 255, .018);

}
 html.wb_indexAuth {
   min-height: 100%;
   margin: 0;
   background: var(--idx-bg);
   color: var(--idx-text);
   font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Arial, sans-serif;

}
 html.wb_indexAuth *, html.wb_indexAuth *::before, html.wb_indexAuth *::after {
   box-sizing: border-box;

}
 html.wb_indexAuth body.wb_authPage {
   min-height: 100vh;
   margin: 0;
   display: grid;
   place-items: center;
   padding: 24px;
   overflow-x: hidden;
   background: var(--idx-bg);
   color: var(--idx-text);

}
 html.wb_indexAuth a {
   color: inherit;
   text-decoration: none;

}
 html.wb_indexAuth button, html.wb_indexAuth input {
   font: inherit;

}
 html.wb_indexAuth .wb_authShell {
   width: min(1180px, 100%);
   display: grid;
   grid-template-columns: 1.2fr .8fr;
   gap: 14px;
   align-items: stretch;

}
 html.wb_indexAuth .wb_authHero, html.wb_indexAuth .wb_authCard {
   overflow: hidden;
   border: 0;
   border-radius: var(--idx-radius-xl);
   background: var(--idx-surface);
   box-shadow: var(--idx-raised);
   filter: none;
   text-shadow: none;
   backdrop-filter: none;
   -webkit-backdrop-filter: none;

}
 html.wb_indexAuth .wb_authHero {
   position: relative;
   min-height: 650px;
   color: #fff;
   isolation: isolate;

}
 html.wb_indexAuth .wb_authHero:not(.wb_authHeroMedia) {
   background: var(--idx-surface);

}
 html.wb_indexAuth .wb_authHeroImage, html.wb_indexAuth .wb_authHeroVideo {
   position: absolute;
   inset: 14px;
   z-index: 0;
   width: calc(100% - 28px);
   height: calc(100% - 28px);
   display: block;
   object-fit: cover;
   object-position: center;
   border: 0;
   border-radius: 30px;
   background: #111;
   box-shadow: var(--idx-pressed);
   filter: none;

}
 html.wb_indexAuth .wb_authHeroShade {
   position: absolute;
   inset: 14px;
   z-index: 1;
   border-radius: 30px;
   background: linear-gradient(0deg, rgba(0, 0, 0, .42), rgba(0, 0, 0, .08));
   pointer-events: none;
   box-shadow: none;

}
 html.wb_indexAuth .wb_authHero:not(.wb_authHeroMedia) .wb_authHeroShade {
   display: none;

}
 html.wb_indexAuth .wb_authHeroInner {
   position: relative;
   z-index: 2;
   min-height: 650px;
   display: flex;
   flex-direction: column;
   justify-content: space-between;
   padding: clamp(24px, 4vw, 54px);

}
 html.wb_indexAuth .wb_kicker {
   min-height: 36px;
   width: max-content;
   max-width: 100%;
   display: inline-flex;
   align-items: center;
   gap: 10px;
   padding: 0 18px;
   border: 0;
   border-radius: 999px;
   background: rgba(36, 39, 44, .86);
   color: rgba(255, 255, 255, .82);
   font-size: 10px;
   font-weight: 860;
   letter-spacing: .08em;
   text-transform: uppercase;
   box-shadow: var(--idx-pressed-soft);

}
 html.wb_indexAuth[data-wb-theme="light"] .wb_kicker {
   background: var(--idx-surface);
   color: var(--idx-muted);

}
 html.wb_indexAuth .wb_kicker::before {
   content: "";
   width: 7px;
   height: 7px;
   flex: 0 0 7px;
   border-radius: 999px;
   background: currentColor;
   opacity: .75;
   box-shadow: none;

}
 html.wb_indexAuth .wb_authHero h1 {
   max-width: 680px;
   margin: 0;
   color: #fff;
   font-size: clamp(46px, 6vw, 96px);
   line-height: .82;
   letter-spacing: -.075em;
   text-shadow: none;

}
 html.wb_indexAuth[data-wb-theme="light"] .wb_authHero:not(.wb_authHeroMedia) h1 {
   color: var(--idx-text);

}
 html.wb_indexAuth .wb_authHero p {
   max-width: 680px;
   margin: 18px 0 0;
   color: rgba(255, 255, 255, .78);
   font-size: clamp(16px, 1.3vw, 22px);
   line-height: 1.18;
   font-weight: 560;
   letter-spacing: -.03em;
   text-shadow: none;

}
 html.wb_indexAuth[data-wb-theme="light"] .wb_authHero:not(.wb_authHeroMedia) p {
   color: var(--idx-muted);

}
 html.wb_indexAuth .wb_authStats {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 10px;

}
 html.wb_indexAuth .wb_authStats div {
   padding: 18px;
   border: 0;
   border-radius: var(--idx-radius-lg);
   background: rgba(36, 39, 44, .86);
   box-shadow: var(--idx-pressed-soft);
   filter: none;
   text-shadow: none;
   backdrop-filter: none;
   -webkit-backdrop-filter: none;

}
 html.wb_indexAuth[data-wb-theme="light"] .wb_authStats div, html.wb_indexAuth .wb_authHero:not(.wb_authHeroMedia) .wb_authStats div {
   background: var(--idx-surface);

}
 html.wb_indexAuth .wb_authStats b {
   display: block;
   color: #fff;
   font-size: 24px;
   line-height: 1;

}
 html.wb_indexAuth[data-wb-theme="light"] .wb_authStats b, html.wb_indexAuth .wb_authHero:not(.wb_authHeroMedia) .wb_authStats b {
   color: var(--idx-text);

}
 html.wb_indexAuth .wb_authStats span {
   display: block;
   margin-top: 6px;
   color: rgba(255, 255, 255, .62);
   font-size: 11px;
   text-transform: uppercase;
   letter-spacing: .05em;

}
 html.wb_indexAuth[data-wb-theme="light"] .wb_authStats span, html.wb_indexAuth .wb_authHero:not(.wb_authHeroMedia) .wb_authStats span {
   color: var(--idx-muted);

}
 html.wb_indexAuth .wb_authCard {
   min-height: 650px;
   display: flex;
   flex-direction: column;
   justify-content: center;
   padding: clamp(24px, 4vw, 54px);
   color: var(--idx-text);

}
 html.wb_indexAuth .wb_authCardTop {
   display: flex;
   align-items: center;
   gap: 10px;
   margin: 0 0 20px;

}
 html.wb_indexAuth .wb_authSwitch {
   flex: 1 1 auto;
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 8px;
   margin: 0;

}
 html.wb_indexAuth .wb_authSwitch a {
   height: 44px;
   display: grid;
   place-items: center;
   padding: 0 12px;
   border: 0;
   border-radius: var(--idx-radius-sm);
   background: var(--idx-surface);
   color: var(--idx-muted);
   font-size: 13px;
   font-weight: 820;
   box-shadow: var(--idx-raised-soft);

}
 html.wb_indexAuth .wb_authSwitch a.is-active {
   color: var(--idx-text);
   box-shadow: var(--idx-pressed-soft);

}
 html.wb_indexAuth .wb_indexThemeToggle {
   position: relative;
   width: 74px;
   min-width: 74px;
   height: 34px;
   padding: 0;
   border: 0;
   border-radius: 999px;
   background: var(--idx-surface);
   cursor: pointer;
   box-shadow: var(--idx-pressed-soft);

}
 html.wb_indexAuth .wb_indexThemeToggle span {
   position: absolute;
   top: 6px;
   left: 7px;
   width: 22px;
   height: 22px;
   border-radius: 999px;
   background: var(--idx-text);
   box-shadow: var(--idx-raised-soft);

}
 html.wb_indexAuth .wb_indexThemeToggle[aria-pressed="true"] span {
   left: 45px;

}
 html.wb_indexAuth .wb_authCard h2 {
   margin: 0 0 18px;
   color: var(--idx-text);
   font-size: 40px;
   line-height: .9;
   letter-spacing: -.06em;
   text-shadow: none;

}
 html.wb_indexAuth .wb_form {
   display: grid;
   gap: 14px;

}
 html.wb_indexAuth .wb_authCard label {
   display: grid;
   gap: 8px;
   color: var(--idx-muted);
   font-size: 12px;
   font-weight: 760;
   letter-spacing: -.01em;

}
 html.wb_indexAuth .wb_authCard input {
   width: 100%;
   height: 48px;
   border: 0;
   outline: none;
   border-radius: var(--idx-radius-md);
   background: var(--idx-surface);
   color: var(--idx-text);
   padding: 0 15px;
   box-shadow: var(--idx-pressed);

}
 html.wb_indexAuth .wb_authCard input::placeholder {
   color: var(--idx-muted);

}
 html.wb_indexAuth .wb_authCard input:focus {
   background: var(--idx-surface);
   box-shadow: var(--idx-pressed);

}
 html.wb_indexAuth .wb_btn {
   min-height: 46px;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: 8px;
   margin-top: 4px;
   padding: 0 20px;
   border: 0;
   border-radius: 999px;
   background: var(--idx-surface);
   color: var(--idx-text);
   cursor: pointer;
   font-weight: 820;
   letter-spacing: -.015em;
   box-shadow: var(--idx-raised-soft);

}
 html.wb_indexAuth .wb_btn:active {
   box-shadow: var(--idx-pressed-soft);

}
 html.wb_indexAuth .wb_alert {
   margin: 0 0 14px;
   border: 0;
   border-radius: var(--idx-radius-md);
   padding: 14px 16px;
   font-size: 13px;
   font-weight: 760;
   box-shadow: var(--idx-pressed-soft);

}
 html.wb_indexAuth .wb_alert--ok {
   background: var(--idx-surface);
   color: #15844b;

}
 html.wb_indexAuth .wb_alert--err {
   background: var(--idx-surface);
   color: #c74040;

}
 html.wb_indexAuth .wb_authFooter {
   width: max-content;
   max-width: calc(100vw - 48px);
   margin: 14px auto 0;
   padding: 9px 18px;
   border: 0;
   border-radius: 999px;
   background: var(--idx-surface);
   color: var(--idx-muted);
   font-size: 14px;
   line-height: 1;
   font-weight: 400;
   letter-spacing: .025em;
   text-align: center;
   box-shadow: var(--idx-pressed-soft);

}
 html.wb_indexAuth .wb_authFooter span {
   display: inline-block;
   margin: 0 10px;
   color: var(--idx-muted);

}
 html.wb_indexAuth .wb_formRegister {
   max-height: 430px;
   overflow-y: auto;
   padding-right: 6px;
   scrollbar-width: thin;

}
 html.wb_indexAuth .wb_formRegister::-webkit-scrollbar {
   width: 4px;

}
 html.wb_indexAuth .wb_formRegister::-webkit-scrollbar-thumb {
   border-radius: 999px;
   background: rgba(120, 120, 120, .38);

}
 @media (max-width: 900px) {
   html.wb_indexAuth body.wb_authPage {
     place-items: start center;

  }
 html.wb_indexAuth .wb_authShell {
     grid-template-columns: 1fr;

  }
 html.wb_indexAuth .wb_authHero, html.wb_indexAuth .wb_authHeroInner, html.wb_indexAuth .wb_authCard {
     min-height: auto;

  }
 html.wb_indexAuth .wb_authHeroInner {
     gap: 40px;

  }

}
 @media (max-width: 620px) {
   html.wb_indexAuth body.wb_authPage {
     padding: 14px;

  }
 html.wb_indexAuth .wb_authStats {
     grid-template-columns: 1fr;

  }
 html.wb_indexAuth .wb_authCardTop {
     align-items: flex-start;

  }
 html.wb_indexAuth .wb_authFooter {
     max-width: calc(100vw - 28px);
     white-space: normal;
     font-size: 12px;

  }

}

/* =========================================================
   101. Korekta PV — index: logo, 16:9, niżej, ikony, drobniej
   ========================================================= */
html.wb_indexAuth,
html.wb_indexAuth body.wb_authPage {
  scrollbar-width: thin;
  scrollbar-color: rgba(120,120,120,.36) transparent;
}

html.wb_indexAuth::-webkit-scrollbar,
html.wb_indexAuth body.wb_authPage::-webkit-scrollbar,
html.wb_indexAuth .wb_formRegister::-webkit-scrollbar {
  width: 2px;
  height: 2px;
}

html.wb_indexAuth::-webkit-scrollbar-track,
html.wb_indexAuth body.wb_authPage::-webkit-scrollbar-track,
html.wb_indexAuth .wb_formRegister::-webkit-scrollbar-track {
  background: transparent;
}

html.wb_indexAuth::-webkit-scrollbar-thumb,
html.wb_indexAuth body.wb_authPage::-webkit-scrollbar-thumb,
html.wb_indexAuth .wb_formRegister::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(120,120,120,.36);
}

html.wb_indexAuth body.wb_authPage {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  place-items: initial;
  padding: clamp(66px, 8.8vh, 96px) 24px 12px;
}

html.wb_indexAuth .wb_authLogoTop {
  width: clamp(26px, 2.1vw, 38px);
  height: clamp(26px, 2.1vw, 38px);
  object-fit: contain;
  display: block;
  margin: 0 auto 18px;
  filter: drop-shadow(5px 5px 12px rgba(0,0,0,.16));
  opacity: .92;
}

html.wb_indexAuth .wb_authShell {
  width: min(calc((56vh * 16 / 9) + 414px), calc(100vw - 48px));
  height: auto;
  max-width: none;
  max-height: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 14px;
  align-items: stretch;
}

html.wb_indexAuth .wb_authHero,
html.wb_indexAuth .wb_authCard,
html.wb_indexAuth .wb_authHeroInner {
  min-height: 0;
  height: auto;
  max-height: none;
}

html.wb_indexAuth .wb_authHero {
  width: 100%;
  aspect-ratio: 16 / 9;
  opacity: 0;
  animation: wbAuthLeftIn .72s cubic-bezier(.18,.88,.22,1) .04s both;
}

html.wb_indexAuth .wb_authCard {
  opacity: 0;
  animation: wbAuthRightIn .72s cubic-bezier(.18,.88,.22,1) .12s both;
  justify-content: center;
  padding: clamp(22px, 2.7vw, 38px);
}

html.wb_indexAuth .wb_authHeroInner--empty {
  min-height: 0;
  height: 100%;
  padding: 0;
}

html.wb_indexAuth .wb_authHeroVideo,
html.wb_indexAuth .wb_authHeroImage {
  object-fit: contain;
  background: #111;
}

html.wb_indexAuth .wb_authHeroShade,
html.wb_indexAuth .wb_kicker,
html.wb_indexAuth .wb_authHeroText,
html.wb_indexAuth .wb_authStats {
  display: none !important;
}

html.wb_indexAuth .wb_authSwitch {
  flex: 0 0 auto;
  width: 92px;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

html.wb_indexAuth .wb_authSwitch a {
  width: 42px;
  height: 38px;
  padding: 0;
  font-size: 18px;
  line-height: 1;
  font-weight: 500;
}

html.wb_indexAuth .wb_authSwitch a span {
  display: block;
  transform: translateY(-1px);
}

html.wb_indexAuth .wb_authCardTop {
  gap: 10px;
  margin-bottom: 16px;
}

html.wb_indexAuth .wb_indexThemeToggle {
  width: 66px;
  min-width: 66px;
  height: 30px;
}

html.wb_indexAuth .wb_indexThemeToggle span {
  top: 5px;
  left: 6px;
  width: 20px;
  height: 20px;
}

html.wb_indexAuth .wb_indexThemeToggle[aria-pressed="true"] span {
  left: 40px;
}

html.wb_indexAuth .wb_authCard h2 {
  margin-bottom: 14px;
  font-size: clamp(26px, 2.1vw, 32px);
  line-height: .92;
  letter-spacing: -.055em;
}

html.wb_indexAuth .wb_form {
  gap: 10px;
}

html.wb_indexAuth .wb_authCard label {
  gap: 6px;
  font-size: 11px;
  font-weight: 650;
}

html.wb_indexAuth .wb_authCard input {
  height: 38px;
  border-radius: 16px;
  padding: 0 13px;
  font-size: 12px;
}

html.wb_indexAuth .wb_btn {
  min-height: 38px;
  margin-top: 2px;
  padding: 0 16px;
  font-size: 12px;
}

html.wb_indexAuth .wb_authFooter {
  display: block;
  width: max-content;
  max-width: calc(100vw - 48px);
  margin: 10px auto 0;
  padding: 6px 12px;
  font-size: 10px;
  line-height: 1;
}

html.wb_indexAuth .wb_authFooter span {
  margin: 0 6px;
}

@keyframes wbAuthLeftIn {
  from { opacity: 0; transform: translateX(-72px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes wbAuthRightIn {
  from { opacity: 0; transform: translateX(72px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 980px) {
  html.wb_indexAuth body.wb_authPage {
    padding: 28px 14px 12px;
  }

  html.wb_indexAuth .wb_authLogoTop {
    margin-bottom: 14px;
  }

  html.wb_indexAuth .wb_authShell {
    width: min(96vw, 680px);
    grid-template-columns: 1fr;
  }

  html.wb_indexAuth .wb_authHero {
    aspect-ratio: 16 / 9;
  }

  html.wb_indexAuth .wb_authCard {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  html.wb_indexAuth .wb_authCardTop {
    align-items: center;
  }

  html.wb_indexAuth .wb_authFooter {
    max-width: calc(100vw - 28px);
    white-space: normal;
    font-size: 9px;
  }
}


/* =========================================================
   102. Korekta PV — FINAL index: środek, 16:9, logo, odstęp footer
   ========================================================= */
html.wb_indexAuth,
html.wb_indexAuth body.wb_authPage {
  width: 100%;
  min-height: 100%;
  scrollbar-width: thin;
  scrollbar-color: rgba(140,140,140,.30) transparent;
}

html.wb_indexAuth::-webkit-scrollbar,
html.wb_indexAuth body.wb_authPage::-webkit-scrollbar,
html.wb_indexAuth .wb_formRegister::-webkit-scrollbar {
  width: 2px;
  height: 2px;
}

html.wb_indexAuth::-webkit-scrollbar-track,
html.wb_indexAuth body.wb_authPage::-webkit-scrollbar-track,
html.wb_indexAuth .wb_formRegister::-webkit-scrollbar-track {
  background: transparent;
}

html.wb_indexAuth::-webkit-scrollbar-thumb,
html.wb_indexAuth body.wb_authPage::-webkit-scrollbar-thumb,
html.wb_indexAuth .wb_formRegister::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(140,140,140,.30);
}

html.wb_indexAuth body.wb_authPage {
  min-height: 100vh !important;
  margin: 0;
  display: flex !important;
  flex-direction: column;
  align-items: center !important;
  justify-content: flex-start !important;
  place-items: initial !important;
  padding: clamp(92px, 12vh, 122px) 48px 30px !important;
  overflow-x: hidden;
}

html.wb_indexAuth .wb_authLogoTop {
  width: clamp(54px, 4.8vw, 78px);
  height: clamp(24px, 2.1vw, 34px);
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
  margin: 0 auto 28px;
  opacity: .96;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.22));
}

html.wb_indexAuth .wb_authShell {
  width: min(1320px, calc(100vw - 96px)) !important;
  max-width: 1320px !important;
  min-width: 0;
  height: auto !important;
  max-height: none !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) clamp(360px, 28vw, 430px) !important;
  gap: 24px !important;
  align-items: stretch !important;
  justify-content: center !important;
}

html.wb_indexAuth .wb_authHero {
  position: relative;
  width: 100% !important;
  min-width: 0;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: 16 / 9 !important;
  opacity: 0;
  animation: wbAuthLeftIn .72s cubic-bezier(.18,.88,.22,1) .04s both;
}

html.wb_indexAuth .wb_authHeroInner,
html.wb_indexAuth .wb_authHeroInner--empty {
  min-height: 0 !important;
  height: 100% !important;
  padding: 0 !important;
}

html.wb_indexAuth .wb_authHeroImage,
html.wb_indexAuth .wb_authHeroVideo {
  position: absolute !important;
  inset: 14px !important;
  width: calc(100% - 28px) !important;
  height: calc(100% - 28px) !important;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 30px;
  display: block;
}

html.wb_indexAuth .wb_authHeroShade,
html.wb_indexAuth .wb_kicker,
html.wb_indexAuth .wb_authHeroText,
html.wb_indexAuth .wb_authStats {
  display: none !important;
}

html.wb_indexAuth .wb_authCard {
  width: 100% !important;
  min-width: 0;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  align-self: stretch;
  justify-content: center;
  padding: clamp(24px, 2.5vw, 38px) !important;
  opacity: 0;
  animation: wbAuthRightIn .72s cubic-bezier(.18,.88,.22,1) .12s both;
}

html.wb_indexAuth .wb_authCardTop {
  align-items: center;
  gap: 10px;
  margin: 0 0 16px !important;
}

html.wb_indexAuth .wb_authSwitch {
  flex: 0 0 auto;
  width: 92px;
  grid-template-columns: repeat(2, 42px);
  gap: 8px;
}

html.wb_indexAuth .wb_authSwitch a {
  width: 42px;
  height: 38px;
  padding: 0;
  font-size: 18px;
  line-height: 1;
  font-weight: 500;
}

html.wb_indexAuth .wb_authSwitch a span {
  display: block;
  transform: translateY(-1px);
}

html.wb_indexAuth .wb_indexThemeToggle {
  width: 66px;
  min-width: 66px;
  height: 30px;
}

html.wb_indexAuth .wb_indexThemeToggle span {
  top: 5px;
  left: 6px;
  width: 20px;
  height: 20px;
}

html.wb_indexAuth .wb_indexThemeToggle[aria-pressed="true"] span {
  left: 40px;
}

html.wb_indexAuth .wb_authCard h2 {
  margin: 0 0 14px !important;
  font-size: clamp(24px, 2vw, 30px) !important;
  line-height: .94 !important;
  letter-spacing: -.055em;
}

html.wb_indexAuth .wb_form {
  gap: 9px !important;
}

html.wb_indexAuth .wb_authCard label {
  gap: 5px !important;
  font-size: 10px !important;
  font-weight: 650;
}

html.wb_indexAuth .wb_authCard input {
  height: 34px !important;
  min-height: 34px !important;
  border-radius: 15px !important;
  padding: 0 12px !important;
  font-size: 11px !important;
}

html.wb_indexAuth .wb_btn {
  min-height: 34px !important;
  height: 34px !important;
  margin-top: 2px !important;
  padding: 0 16px !important;
  font-size: 11px !important;
}

html.wb_indexAuth .wb_authFooter {
  display: block !important;
  width: max-content;
  max-width: calc(100vw - 96px);
  flex: 0 0 auto;
  margin: 26px auto 0 !important;
  padding: 5px 10px !important;
  font-size: 9px !important;
  line-height: 1 !important;
  border-radius: 999px;
}

html.wb_indexAuth .wb_authFooter span {
  margin: 0 5px !important;
}

@media (max-width: 980px) {
  html.wb_indexAuth body.wb_authPage {
    padding: 32px 16px 20px !important;
  }

  html.wb_indexAuth .wb_authLogoTop {
    width: 58px;
    height: 26px;
    margin-bottom: 18px;
  }

  html.wb_indexAuth .wb_authShell {
    width: min(680px, calc(100vw - 32px)) !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  html.wb_indexAuth .wb_authHero {
    aspect-ratio: 16 / 9 !important;
  }

  html.wb_indexAuth .wb_authCard {
    min-height: auto !important;
  }

  html.wb_indexAuth .wb_authFooter {
    max-width: calc(100vw - 32px);
    white-space: normal;
  }
}


/* =========================================================
   103. PV FIX — INDEX bez powiększania prostokątów
   ========================================================= */
html.wb_indexAuth,
html.wb_indexAuth body.wb_authPage {
  scrollbar-width: thin !important;
  scrollbar-color: rgba(120,120,120,.22) transparent !important;
}

html.wb_indexAuth::-webkit-scrollbar,
html.wb_indexAuth body.wb_authPage::-webkit-scrollbar,
html.wb_indexAuth .wb_formRegister::-webkit-scrollbar {
  width: 1px !important;
  height: 1px !important;
}

html.wb_indexAuth::-webkit-scrollbar-track,
html.wb_indexAuth body.wb_authPage::-webkit-scrollbar-track,
html.wb_indexAuth .wb_formRegister::-webkit-scrollbar-track {
  background: transparent !important;
}

html.wb_indexAuth::-webkit-scrollbar-thumb,
html.wb_indexAuth body.wb_authPage::-webkit-scrollbar-thumb,
html.wb_indexAuth .wb_formRegister::-webkit-scrollbar-thumb {
  background: rgba(120,120,120,.22) !important;
  border-radius: 999px !important;
}

html.wb_indexAuth body.wb_authPage {
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 74px 24px 28px !important;
  overflow-x: hidden !important;
}

html.wb_indexAuth .wb_authLogoTop {
  width: 260px !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  flex: 0 0 auto !important;
  margin: 0 auto 26px !important;
}

html.wb_indexAuth .wb_authShell {
  width: 60vw !important;
  max-width: 1180px !important;
  min-width: 0 !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 390px !important;
  gap: 14px !important;
  align-items: stretch !important;
  justify-content: center !important;
}

html.wb_indexAuth .wb_authHero {
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}

html.wb_indexAuth .wb_authHeroInner,
html.wb_indexAuth .wb_authHeroInner--empty {
  height: 100% !important;
  min-height: 0 !important;
  padding: 0 !important;
}

html.wb_indexAuth .wb_authHeroVideo,
html.wb_indexAuth .wb_authHeroImage {
  object-fit: contain !important;
  object-position: center center !important;
}

html.wb_indexAuth .wb_authCard {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  overflow: hidden !important;
  align-self: stretch !important;
  justify-content: flex-start !important;
  padding: 24px !important;
}

html.wb_indexAuth .wb_authCardTop {
  flex: 0 0 auto !important;
  margin: 0 0 12px !important;
}

html.wb_indexAuth .wb_authCard h2 {
  flex: 0 0 auto !important;
  margin: 0 0 12px !important;
  font-size: 24px !important;
  line-height: 1 !important;
  letter-spacing: -.04em !important;
}

html.wb_indexAuth .wb_form {
  gap: 8px !important;
}

html.wb_indexAuth .wb_formRegister {
  max-height: 220px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding-right: 4px !important;
}

html.wb_indexAuth .wb_authCard label {
  gap: 4px !important;
  font-size: 10px !important;
  line-height: 1.1 !important;
}

html.wb_indexAuth .wb_authCard input {
  height: 32px !important;
  min-height: 32px !important;
  border-radius: 14px !important;
  padding: 0 10px !important;
  font-size: 11px !important;
}

html.wb_indexAuth .wb_btn {
  height: 32px !important;
  min-height: 32px !important;
  margin-top: 2px !important;
  padding: 0 14px !important;
  font-size: 11px !important;
}

html.wb_indexAuth .wb_authFooter {
  flex: 0 0 auto !important;
  margin: 28px auto 0 !important;
  padding: 5px 10px !important;
  font-size: 9px !important;
  line-height: 1 !important;
}

@media (max-width: 1180px) {
  html.wb_indexAuth .wb_authShell {
    width: 92vw !important;
    grid-template-columns: minmax(0, 1fr) 340px !important;
  }

  html.wb_indexAuth .wb_formRegister {
    max-height: 210px !important;
  }
}

@media (max-width: 900px) {
  html.wb_indexAuth body.wb_authPage {
    padding: 28px 14px 20px !important;
  }

  html.wb_indexAuth .wb_authLogoTop {
    width: 260px !important;
    margin-bottom: 18px !important;
  }

  html.wb_indexAuth .wb_authShell {
    width: 96vw !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  html.wb_indexAuth .wb_authCard {
    min-height: 0 !important;
  }

  html.wb_indexAuth .wb_formRegister {
    max-height: 260px !important;
  }
}


/* =========================================================
   104. PV FIX FINAL — INDEX jak na screenie, bez wydłużania rejestracji
   ========================================================= */
html.wb_indexAuth,
html.wb_indexAuth body.wb_authPage {
  scrollbar-width: thin !important;
  scrollbar-color: rgba(120,120,120,.22) transparent !important;
}

html.wb_indexAuth::-webkit-scrollbar,
html.wb_indexAuth body.wb_authPage::-webkit-scrollbar,
html.wb_indexAuth .wb_formRegister::-webkit-scrollbar {
  width: 1px !important;
  height: 1px !important;
}

html.wb_indexAuth::-webkit-scrollbar-track,
html.wb_indexAuth body.wb_authPage::-webkit-scrollbar-track,
html.wb_indexAuth .wb_formRegister::-webkit-scrollbar-track {
  background: transparent !important;
}

html.wb_indexAuth::-webkit-scrollbar-thumb,
html.wb_indexAuth body.wb_authPage::-webkit-scrollbar-thumb,
html.wb_indexAuth .wb_formRegister::-webkit-scrollbar-thumb {
  background: rgba(120,120,120,.22) !important;
  border-radius: 999px !important;
}

html.wb_indexAuth body.wb_authPage {
  min-height: 100vh !important;
  height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 24px !important;
  overflow: hidden !important;
}

html.wb_indexAuth .wb_authLogoTop {
  width: 260px !important;
  height: auto !important;
  display: block !important;
  object-fit: contain !important;
  flex: 0 0 auto !important;
  margin: 0 auto 46px !important;
  opacity: .92 !important;
}

html.wb_indexAuth .wb_authShell {
  width: 1092px !important;
  max-width: calc(100vw - 96px) !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: minmax(0, 700px) 360px !important;
  gap: 32px !important;
  align-items: stretch !important;
  justify-content: center !important;
}

html.wb_indexAuth .wb_authHero {
  width: 700px !important;
  max-width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  align-self: stretch !important;
}

html.wb_indexAuth .wb_authHeroInner,
html.wb_indexAuth .wb_authHeroInner--empty {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  padding: 0 !important;
}

html.wb_indexAuth .wb_authHeroImage,
html.wb_indexAuth .wb_authHeroVideo {
  inset: 14px !important;
  width: calc(100% - 28px) !important;
  height: calc(100% - 28px) !important;
  object-fit: cover !important;
  object-position: center center !important;
}

html.wb_indexAuth .wb_authHeroShade,
html.wb_indexAuth .wb_kicker,
html.wb_indexAuth .wb_authHeroText,
html.wb_indexAuth .wb_authStats {
  display: none !important;
}

html.wb_indexAuth .wb_authCard {
  width: 360px !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  align-self: stretch !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  overflow: hidden !important;
  padding: 42px !important;
}

html.wb_indexAuth .wb_authCard:has(.wb_formRegister) {
  justify-content: flex-start !important;
}

html.wb_indexAuth .wb_authCardTop {
  flex: 0 0 auto !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 0 16px !important;
}

html.wb_indexAuth .wb_authSwitch {
  flex: 0 0 auto !important;
  width: 92px !important;
  grid-template-columns: 42px 42px !important;
  gap: 8px !important;
  margin: 0 !important;
}

html.wb_indexAuth .wb_authSwitch a {
  width: 42px !important;
  height: 38px !important;
  padding: 0 !important;
  font-size: 18px !important;
  line-height: 1 !important;
}

html.wb_indexAuth .wb_indexThemeToggle {
  width: 66px !important;
  min-width: 66px !important;
  height: 30px !important;
}

html.wb_indexAuth .wb_indexThemeToggle span {
  top: 5px !important;
  left: 6px !important;
  width: 20px !important;
  height: 20px !important;
}

html.wb_indexAuth .wb_indexThemeToggle[aria-pressed="true"] span {
  left: 40px !important;
}

html.wb_indexAuth .wb_authCard h2 {
  flex: 0 0 auto !important;
  margin: 0 0 13px !important;
  font-size: 28px !important;
  line-height: .95 !important;
  letter-spacing: -.05em !important;
}

html.wb_indexAuth .wb_form {
  flex: 0 0 auto !important;
  display: grid !important;
  gap: 9px !important;
  min-height: 0 !important;
}

html.wb_indexAuth .wb_formRegister {
  flex: 1 1 auto !important;
  max-height: 214px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding-right: 5px !important;
  padding-bottom: 2px !important;
}

html.wb_indexAuth .wb_authCard label {
  gap: 4px !important;
  font-size: 10px !important;
  line-height: 1.1 !important;
}

html.wb_indexAuth .wb_authCard input {
  height: 32px !important;
  min-height: 32px !important;
  border-radius: 14px !important;
  padding: 0 10px !important;
  font-size: 11px !important;
}

html.wb_indexAuth .wb_btn {
  height: 32px !important;
  min-height: 32px !important;
  margin-top: 2px !important;
  padding: 0 14px !important;
  font-size: 11px !important;
}

html.wb_indexAuth .wb_authFooter {
  flex: 0 0 auto !important;
  margin: 32px auto 0 !important;
  padding: 5px 10px !important;
  font-size: 9px !important;
  line-height: 1 !important;
  width: max-content !important;
  max-width: calc(100vw - 96px) !important;
}

html.wb_indexAuth .wb_authFooter span {
  margin: 0 5px !important;
}

@media (max-width: 1220px) {
  html.wb_indexAuth .wb_authShell {
    width: calc(100vw - 48px) !important;
    grid-template-columns: minmax(0, 1fr) 340px !important;
    gap: 24px !important;
  }

  html.wb_indexAuth .wb_authHero {
    width: 100% !important;
  }

  html.wb_indexAuth .wb_authCard {
    width: 340px !important;
    padding: 34px !important;
  }

  html.wb_indexAuth .wb_formRegister {
    max-height: 210px !important;
  }
}

@media (max-width: 900px) {
  html.wb_indexAuth body.wb_authPage {
    height: auto !important;
    min-height: 100vh !important;
    justify-content: flex-start !important;
    padding: 28px 14px 20px !important;
    overflow-y: auto !important;
  }

  html.wb_indexAuth .wb_authLogoTop {
    width: 260px !important;
    margin-bottom: 22px !important;
  }

  html.wb_indexAuth .wb_authShell {
    width: 100% !important;
    max-width: 680px !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  html.wb_indexAuth .wb_authHero {
    width: 100% !important;
  }

  html.wb_indexAuth .wb_authCard {
    width: 100% !important;
    min-height: 0 !important;
  }

  html.wb_indexAuth .wb_formRegister {
    max-height: 260px !important;
  }
}

/* =========================================================
   105. PV FIX — film jako pełnoekranowe tło, formularz bez zmian
   - lewe okno filmu zostaje tylko niewidocznym dystansem układu
   - karta/formularz zachowuje aktualną pozycję i rozmiar
   - ikony przełączników: assets/login.png / assets/rejestration.png
   ========================================================= */
html.wb_indexAuth {
  background: #111 !important;
}

html.wb_indexAuth body.wb_authPage {
  position: relative !important;
  background: transparent !important;
}

html.wb_indexAuth .wb_authFullscreenBg {
  position: fixed !important;
  inset: 0 !important;
  z-index: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  background: #111 !important;
}

html.wb_indexAuth .wb_authFullscreenBg img,
html.wb_indexAuth .wb_authFullscreenBg video {
  position: absolute !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center center !important;
  filter: saturate(.96) contrast(.98) brightness(.72) !important;
}

html.wb_indexAuth .wb_authFullscreenBg::after {
  content: "";
  position: absolute !important;
  inset: 0 !important;
  background:
    radial-gradient(circle at 72% 42%, rgba(255,255,255,.13), transparent 34%),
    linear-gradient(90deg, rgba(0,0,0,.50), rgba(0,0,0,.18) 46%, rgba(0,0,0,.44));
  pointer-events: none !important;
}

html.wb_indexAuth .wb_authLogoTop,
html.wb_indexAuth .wb_authShell,
html.wb_indexAuth .wb_authFooter {
  position: relative !important;
  z-index: 2 !important;
}

html.wb_indexAuth .wb_authHero {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  filter: none !important;
  pointer-events: none !important;
  opacity: 0 !important;
  animation: none !important;
}

html.wb_indexAuth .wb_authHero > * {
  display: none !important;
}

html.wb_indexAuth .wb_authSwitch a span {
  display: none !important;
}

html.wb_indexAuth .wb_authSwitch a img {
  width: 20px !important;
  height: 20px !important;
  display: block !important;
  object-fit: contain !important;
  opacity: .55 !important;
  transform: translateY(-1px) !important;
  transition: opacity .18s ease, transform .18s ease !important;
}

html.wb_indexAuth .wb_authSwitch a.is-active img,
html.wb_indexAuth .wb_authSwitch a:hover img {
  opacity: .96 !important;
  transform: translateY(-1px) scale(1.04) !important;
}

html.wb_indexAuth[data-wb-theme="dark"] .wb_authSwitch a img {
  filter: invert(1) !important;
}

/* =========================================================
   106. FINAL — cień, footer 35px pod formularzem, animacja logowania
   ========================================================= */
:root {
  /* CIEŃ FORMULARZA — reguluj tylko tę linię */
  --pv-card-shadow: 0 22px 70px rgba(0,0,0,.34), inset 1px 1px 0 rgba(255,255,255,.18);
}

html.wb_indexAuth .wb_authCard {
  box-shadow: var(--pv-card-shadow) !important;
  filter: none !important;
  transition: transform .55s cubic-bezier(.2,.8,.2,1), opacity .42s ease !important;
}

html.wb_indexAuth .wb_authFullscreenBg::after {
  background: linear-gradient(90deg, rgba(0,0,0,.50), rgba(0,0,0,.18) 46%, rgba(0,0,0,.44)) !important;
  transition: background .55s ease !important;
}

html.wb_indexAuth .wb_authFooter {
  margin: 35px auto 0 !important;
  transform: translateX(366px) !important;
  background: transparent !important;
  border: 1px solid rgba(255,255,255,.42) !important;
  color: rgba(255,255,255,.78) !important;
  box-shadow: none !important;
}

html.wb_indexAuth .wb_authFooter span {
  color: rgba(255,255,255,.55) !important;
}

html.wb_indexAuth.wb_isLoginLeaving .wb_authCard {
  opacity: 0 !important;
  transform: translateX(90px) scale(.985) !important;
  pointer-events: none !important;
}

html.wb_indexAuth.wb_isLoginLeaving .wb_authFullscreenBg::after {
  background: rgba(0,0,0,.64) !important;
}

@media (max-width: 900px) {
  html.wb_indexAuth .wb_authFooter {
    transform: none !important;
    margin-top: 18px !important;
  }
}
