/* NOCLO: logowanie, rejestracja, haslo (2026) na wzor kreatora onboarding: ciemny panel z kropkami po lewej, tresc po prawej.
   Paleta Noc: indygo #17152B, fiolet #5846C7, lawenda #C4B5FD. Naglowki Plus Jakarta Sans, tekst Inter.
   Klasy .pw .phone .bad .fld-err .pwbar uzywa auth.js (komunikaty pod polami, sila hasla). Pole z ikona = .pw.ico */
:root { --ink: #17152B; --ink2: #221F3D; --v: #5846C7; --vh: #4938AF; --lav: #C4B5FD; --lav2: #E4DEFF; --mist: #EFEDFA; --soft: #F7F6FB; --txt: #5E5B71; --line: #E7E5F0; --ok: #1F9D6B; --bad: #C8323B;
  --h: "Plus Jakarta Sans", "Inter", system-ui, sans-serif; --b: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; --e: cubic-bezier(.16, 1, .3, 1); }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
[hidden] { display: none !important; }
body.au { margin: 0; min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: clamp(380px, 34vw, 480px) minmax(0, 1fr); background: #fff; color: var(--ink); font: 400 15px/1.55 var(--b); -webkit-font-smoothing: antialiased; }
.au a { color: var(--v); text-decoration: none; font-weight: 600; }
.au a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- lewy panel (jak onboarding) ---------- */
.au-l { position: -webkit-sticky; position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; display: flex; flex-direction: column; gap: 30px; padding: 36px 36px 30px; color: #fff; background-color: var(--ink); background-image: radial-gradient(60% 45% at 95% 0%, rgba(88, 70, 199, .5), transparent 70%), radial-gradient(50% 40% at 0% 100%, rgba(196, 181, 253, .14), transparent 70%), radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 100% 100%, 100% 100%, 26px 26px; }
.au-l .au-logo img { display: block; height: 28px; width: auto; }
.au-t { margin: 0; font: 700 30px/1.15 var(--h); letter-spacing: -.025em; color: #fff; }
.au-t strong { display: block; color: var(--lav); font-weight: 800; }
.au-ts { margin: 12px 0 0; color: rgba(255, 255, 255, .7); font-size: 15px; line-height: 1.55; }
/* podglad panelu w ramce przegladarki */
.au-pod { position: relative; margin: 2px -6px 0 0; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(196, 181, 253, .25), 0 40px 70px -30px rgba(0, 0, 0, .7); overflow: hidden; -webkit-transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); -webkit-transform-origin: left center; transform-origin: left center; }
.au-pod-b { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #F4F3FA; border-bottom: 1px solid var(--line); }
.au-pod-b i { width: 9px; height: 9px; border-radius: 50%; background: #DCD9E8; }
.au-pod-b span { margin-left: 8px; padding: 3px 10px; border-radius: 6px; background: #fff; font: 500 11px/1.2 var(--b); color: var(--txt); }
.au-pod img { display: block; width: 100%; height: auto; aspect-ratio: 2100 / 800; object-fit: cover; object-position: left top; }
/* lista zalet i kroki */
.au-lista, .au-kroki { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.au-lista li, .au-kroki li { display: flex; gap: 14px; align-items: center; padding: 11px 12px; border-radius: 12px; }
.au-lista .n, .au-kroki .n { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 34px; height: 34px; border-radius: 50%; font: 800 13px/1 var(--h); }
.au-lista .n { background: rgba(196, 181, 253, .14); color: var(--lav); }
.au-lista .n svg { width: 17px; height: 17px; }
.au-lista b, .au-kroki b { display: block; font: 600 15px/1.3 var(--b); color: #fff; }
.au-lista small, .au-kroki small { display: block; margin-top: 2px; font-size: 12.5px; color: rgba(255, 255, 255, .55); }
.au-kroki li { color: rgba(255, 255, 255, .55); }
.au-kroki .n { border: 2px solid rgba(255, 255, 255, .22); color: rgba(255, 255, 255, .8); }
.au-kroki li b { color: rgba(255, 255, 255, .82); }
.au-kroki li.on { background: rgba(255, 255, 255, .07); }
.au-kroki li.on .n { background: var(--v); border-color: var(--v); color: #fff; box-shadow: 0 0 0 6px rgba(88, 70, 199, .25); }
.au-kroki li.on b { color: #fff; }
.au-l-dol { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.au-l-dol span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); font: 500 12.5px/1 var(--b); color: rgba(255, 255, 255, .8); }
.au-l-dol svg { width: 14px; height: 14px; color: var(--lav); }

/* ---------- prawa strona: formularz ---------- */
.au-m { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 100vh; min-height: 100dvh; padding: 28px clamp(20px, 5vw, 72px) 26px; background: radial-gradient(900px 480px at 100% -10%, #EFEBFF 0%, rgba(239, 235, 255, 0) 65%), #fff; }
.au-mt { display: flex; align-items: center; justify-content: flex-end; gap: 12px; font-size: 14px; color: var(--txt); }
.au-mt .au-lg-m { display: none; margin-right: auto; }
.au-mt .au-lg-m img { display: block; height: 24px; width: auto; }
.au-o { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: 600 14px/1 var(--b); color: var(--ink) !important; text-decoration: none !important; transition: border-color .2s, background .2s; }
.au-o:hover { border-color: var(--v); background: var(--soft); }
.au-o svg { width: 16px; height: 16px; color: var(--v); }
.au-box { width: 100%; max-width: 480px; margin: auto; padding: 44px 0; -webkit-animation: auIn .6s var(--e) both; animation: auIn .6s var(--e) both; }
.au-box.sz { max-width: 560px; }
@-webkit-keyframes auIn { from { opacity: 0; -webkit-transform: translateY(14px); } }
@keyframes auIn { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { .au-box { -webkit-animation: none; animation: none; } }
.au-ey { display: inline-flex; align-items: center; gap: 8px; font: 600 13.5px/1 var(--b); color: var(--v); }
.au-ey svg { width: 17px; height: 17px; }
.au h1 { font: 700 clamp(30px, 3vw, 40px)/1.1 var(--h); letter-spacing: -.028em; margin: 14px 0 10px; color: var(--ink); }
.au-sub { margin: 0 0 26px; color: var(--txt); font-size: 15.5px; line-height: 1.6; }
.au-sub b { color: var(--ink); font-weight: 600; }
.au-social { display: flex; justify-content: center; min-height: 44px; }
.au-or { display: flex; align-items: center; gap: 14px; margin: 20px 0; font-size: 13px; color: var(--txt); }
.au-or::before, .au-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* pola */
.au form { display: grid; }
.au-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.au label:not(.au-chk) { display: block; margin: 16px 0 7px; font: 600 13.5px/1.2 var(--b); color: var(--ink); }
.au form > label:first-child, .au-2 > div > label:first-child { margin-top: 0; }
.au-2 > div:nth-child(n+3) > label:first-child { margin-top: 16px; }
.au input[type=text], .au input[type=email], .au input[type=password], .au input[type=tel], .au input:not([type]) { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px; border: 1px solid #DCD9E8; background: #FBFAFF; font: 500 16px/1.4 var(--b); color: var(--ink); -webkit-appearance: none; appearance: none; transition: border-color .2s, box-shadow .2s, background .2s; }
.au input::placeholder { color: #A5A2B8; font-weight: 400; }
.au input:hover { border-color: #C9C4DE; }
.au input:focus { outline: none; border-color: var(--v); background: #fff; box-shadow: 0 0 0 4px rgba(88, 70, 199, .14); }
.au input.bad { border-color: var(--bad); box-shadow: 0 0 0 4px rgba(200, 50, 59, .1); background: #fff; }
.au .fld-err { display: block; margin-top: 7px; font: 500 13px/1.4 var(--b); color: var(--bad); }
.au .pw { position: relative; }
.au .pw input { padding-right: 52px; }
.au .pw.ico input { padding-left: 46px; }
.au .pw.ico:not(:has(.eye)) input { padding-right: 16px; }
.au .ico > svg { position: absolute; left: 16px; top: 16px; width: 20px; height: 20px; color: #9D99B3; pointer-events: none; transition: color .2s; }
.au .ico:focus-within > svg { color: var(--v); }
.au .eye { position: absolute; right: 6px; top: 6px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 10px; background: none; color: var(--txt); cursor: pointer; }
.au .eye:hover { background: var(--mist); color: var(--ink); }
.au .eye svg { width: 20px; height: 20px; }
.au .eye .z, .au .eye.on .o { display: none; }
.au .eye.on .z { display: block; }
.au .phone { display: flex; align-items: stretch; }
.au .phone .cc { display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; border: 1px solid #DCD9E8; border-right: 0; border-radius: 14px 0 0 14px; background: var(--soft); font: 600 15px/1 var(--b); color: var(--ink); }
.au .phone input { border-radius: 0 14px 14px 0; min-width: 0; flex: 1; }
.au .hint { display: block; margin-top: 7px; font-size: 13px; color: var(--txt); }
.au .pwbar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: 9px; }
.au .pwbar i { height: 4px; border-radius: 4px; background: var(--line); transition: background .25s; }
.au .pwbar small { grid-column: 1 / -1; min-height: 16px; font-size: 12.5px; color: var(--txt); }
.au .pwbar[data-s="0"] i:nth-child(1) { background: var(--bad); }
.au .pwbar[data-s="1"] i:nth-child(-n+1) { background: #E8833A; }
.au .pwbar[data-s="2"] i:nth-child(-n+2) { background: #D8A21C; }
.au .pwbar[data-s="3"] i:nth-child(-n+3) { background: var(--ok); }
.au .pwbar[data-s="4"] i { background: var(--ok); }
.au-rz { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; margin: 18px 0 4px; font-size: 14px; }
.au-chk { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; margin: 20px 0 2px; font-size: 14px; line-height: 1.5; color: var(--txt); cursor: pointer; }
.au-rz .au-chk { margin: 0; align-items: center; color: var(--ink); }
.au-chk input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--v); cursor: pointer; }
.au-chk input.bad + span { color: var(--bad); }
.au .err { margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; background: #FDECEE; color: #9E1F27; font: 600 14px/1.45 var(--b); }
.au .okmsg { margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; background: #E6F6EE; color: #176B45; font: 600 14px/1.45 var(--b); }
.au .ts { margin-top: 14px; }
.au .ts:empty { display: none; }
.au .hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
.au-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 56px; margin-top: 24px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--v); color: #fff; font: 600 16px/1 var(--b); cursor: pointer; text-decoration: none !important; transition: background .25s, transform .2s, box-shadow .25s; box-shadow: 0 18px 34px -18px rgba(88, 70, 199, .85), inset 0 1px 0 rgba(255, 255, 255, .18); }
.au-btn:hover { background: var(--vh); box-shadow: 0 22px 40px -18px rgba(88, 70, 199, .95), inset 0 1px 0 rgba(255, 255, 255, .18); }
.au-btn:active { -webkit-transform: scale(.985); transform: scale(.985); }
.au-btn:disabled { opacity: .65; cursor: default; }
.au-btn svg { width: 18px; height: 18px; transition: transform .25s; }
.au-btn:hover svg { -webkit-transform: translateX(3px); transform: translateX(3px); }
.au a.au-btn { color: #fff; }
.au-plan { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 22px; padding: 12px 14px; border-radius: 14px; background: var(--mist); font-size: 14px; line-height: 1.5; color: var(--ink); }
.au-plan svg { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--v); }
.au-plan b { font-weight: 700; }
.au-zauf { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: 24px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--txt); }
.au-zauf li { display: inline-flex; align-items: center; gap: 6px; }
.au-zauf svg { width: 16px; height: 16px; color: var(--ok); }
.au-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; font-size: 13px; color: var(--txt); }
.au-foot a { color: var(--txt); font-weight: 500; }
.au-foot a:hover { color: var(--ink); }

/* ---------- tablet i telefon: panel u gory jak w onboardingu ---------- */
@media (max-width: 1020px) {
  body.au { grid-template-columns: minmax(0, 1fr); }
  .au-l { position: static; height: auto; gap: 14px; padding: 18px 20px; }
  .au-l .au-logo img { height: 24px; }
  .au-l > :not(.au-logo):not(.au-kroki) { display: none; }
  .au-kroki { flex-direction: row; gap: 6px; }
  .au-kroki li { flex: 1; min-width: 0; flex-direction: column; align-items: flex-start; gap: 8px; padding: 10px; }
  .au-kroki .n { width: 28px; height: 28px; font-size: 12px; }
  .au-kroki li.on .n { box-shadow: 0 0 0 4px rgba(88, 70, 199, .3); }
  .au-kroki b { font-size: 12.5px; }
  .au-kroki small { display: none; }
  .au-m { min-height: 0; padding-top: 18px; }
}
@media (max-width: 560px) {
  .au-m { padding: 16px 20px calc(18px + env(safe-area-inset-bottom, 0px)); }
  .au-mt { font-size: 13.5px; }
  .au-mt-q { display: none; }
  .au-box { padding: 22px 0 30px; }
  .au h1 { font-size: 30px; }
  .au-sub { font-size: 15px; margin-bottom: 22px; }
  .au-2 { grid-template-columns: 1fr; }
  .au-2 > div:nth-child(n+2) > label:first-child { margin-top: 16px; }
  .au-kroki li { padding: 8px; }
  .au-kroki b { font-size: 11.5px; }
}

.au-mt-r { display: inline-flex; align-items: center; gap: 12px; }
