/* Logowanie i aktywacja w stylu nowej klikamy.net (Kacper 04.10.2026): zdjecie po lewej, formularz z logo 3D po prawej */

/* ---------- Logo 3D: strzalka wytloczona z warstw, wolno sie obraca ---------- */
.l3d { position: relative; width: 64px; height: 64px; perspective: 520px; }
.l3d__obj { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(-12deg) rotateY(-24deg); animation: l3d-spin 16s linear infinite; }
.l3d__layer { position: absolute; inset: 0; width: 100%; height: 100%; fill: #1c46b8; transform: translateZ(calc(var(--z) * 1px)); backface-visibility: visible; }
.l3d__layer--back { fill: #2563eb; }
.l3d__layer--front { fill: #3171ff; }
.l3d__shadow { display: none; }
/* wolny, staly obrot (Kacper 04.10.2026: "wolno caly czas") */
@keyframes l3d-spin {
  from { transform: rotateX(-12deg) rotateY(-24deg); }
  to   { transform: rotateX(-12deg) rotateY(336deg); }
}

@media (prefers-reduced-motion: reduce) { .l3d__obj { animation: none; } }

/* ---------- Uklad: jasny ekran w ciemnej ramce, dwie kolumny ---------- */
.auth--split { border-radius: 10px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 8px; align-items: stretch; justify-content: stretch; padding: 8px; }
.auth__photo { position: relative; overflow: hidden; min-height: 520px; border-radius: 6px; background: #d9dbde; }
.auth__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; animation: auth-zoom 18s ease-out both; }
@keyframes auth-zoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.auth__motto { position: absolute; top: clamp(28px, 4vw, 52px); left: clamp(28px, 4vw, 52px); margin: 0; font-size: clamp(30px, 3.2vw, 50px); font-weight: 600; line-height: 1.05; letter-spacing: -0.035em; color: #111827; animation: auth-up .8s cubic-bezier(.2, .8, .2, 1) .2s both; }
.auth__tag { position: absolute; top: 22px; left: 22px; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 11px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: rgba(17, 24, 39, .35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #f3f4f6; font-size: 13px; font-weight: 500; }
.auth__tag .ico { width: 15px; height: 15px; }
.auth__glass { position: absolute; left: 22px; right: 22px; bottom: 22px; max-width: 460px; padding: 20px 22px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px; background: rgba(17, 24, 39, .52); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); color: #fff; animation: auth-up .7s cubic-bezier(.2, .8, .2, 1) .25s both; }
.auth__glass b { display: block; font-size: 22px; font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; }
.auth__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.auth__chips span { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px 0 10px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-size: 13px; color: #e5e7eb; }
.auth__chips .ico { width: 14px; height: 14px; color: #93b4ff; }
@keyframes auth-up { from { opacity: 0; transform: translateY(14px); } }

/* Formularz: maly i minimalistyczny, wysrodkowany (Kacper 04.10.2026, wzor Magnific) */
.auth__side { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px 28px 28px; background: #fff; border-radius: 6px; }
.auth__inner { width: 100%; max-width: 400px; margin: auto 0; text-align: center; animation: auth-up .6s cubic-bezier(.2, .8, .2, 1) both; }
.auth__logo { display: block; width: 20px; height: 20px; margin: 0 auto 20px; fill: #111827; } /* zwykle logo 2D, czarne (Kacper 04.10.2026) */
.auth--split .auth__card { max-width: none; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.auth--split .auth__title { margin: 0 0 10px; font-size: 26px; font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; text-align: center; color: #1d1e20; }
.auth--split .auth__lead { margin: 0 0 32px; font-size: 14px; line-height: 1.55; text-align: center; color: #6b7280; }
.auth--split .field { margin-bottom: 12px; }
.auth--split .input__icon { display: none; }
.auth--split .input input, .auth--split .input--icon input { height: 44px; padding: 0 14px; border: 1px solid #d1d5db; border-radius: 5px; background: #fff; font: 400 14px var(--font); color: #1d1e20; }
.auth--split .input input::placeholder { font-weight: 400; color: #9ca3af; }
.auth--split .input input:focus { border-color: #111827; box-shadow: none; } /* bez poswiaty przy kliknieciu */
.auth--split .input--pass input { padding-right: 46px; }
.auth--split .input__eye { width: 44px; height: 44px; border-radius: 0 5px 5px 0; }
.auth--split .input__eye svg { width: 15px; height: 15px; }
.auth--split .form-row { margin: 16px 0 24px; }
.auth--split .check, .auth--split .link-muted { font-size: 13px; }
.auth--split .btn { height: 44px; border-radius: 5px; font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.auth--split .btn .klik { width: 10px; height: 10px; fill: currentColor; transition: transform .25s cubic-bezier(.2, .7, .2, 1); }
.auth--split .btn:hover .klik { transform: translate(2px, -2px); }
.auth--split .alert { font-size: 13px; text-align: left; }
/* Kontynuuj z Google (nad formularzem) */
.auth__google { display: flex; align-items: center; justify-content: center; gap: 9px; height: 44px; border: 1px solid #d1d5db; border-radius: 5px; background: #fff; color: #1d1e20; font-size: 13.5px; font-weight: 500; transition: border-color .15s, background-color .15s; }
.auth__google:hover { border-color: #9ca3af; background: #fafafa; }
.auth--split .auth__google::after { display: none; }
.auth__g { width: 16px; height: 16px; flex: none; }
.auth__or--top { margin: 20px 0 18px; }
/* Rejestracja: regulamin pod przyciskiem */
.auth--split .btn.btn--wait { background: #f3f4f6; color: #9ca3af; } /* rejestracja: szary, dopoki e-mail nie jest poprawny */
.auth__terms { margin: 22px 0 0; font-size: 12px; line-height: 1.6; color: #9ca3af; }
.auth__terms a { color: #4b5563; }
.auth__hint { margin: 12px 0 0; font-size: 12px; color: #9ca3af; }
/* druga sciezka (albo) i stopka: wyrazne grupy zamiast zlewajacego sie tekstu */
.auth__or { display: flex; align-items: center; gap: 14px; margin: 26px 0 20px; font-size: 12px; color: #9ca3af; }
.auth__or::before, .auth__or::after { content: ""; flex: 1; height: 1px; background: #eceef2; }
.auth__alt2 { display: flex; align-items: center; justify-content: center; gap: 5px; height: 44px; border-radius: 5px; background: #f3f4f6; color: #4b5563; font-size: 13.5px; transition: background-color .15s; }
.auth__alt2 b { font-weight: 500; color: #1d1e20; }
.auth__alt2:hover { background: #eceef1; }
.auth--split .auth__alt2::after { display: none; }
.auth__note { margin: 36px 0 0; font-size: 13px; color: #6b7280; }
.auth__note a { color: #1d1e20; font-weight: 500; }
/* Rejestracja: link na strone i ochrona przed botami (jak Magnific) */
.auth__home { margin: 22px 0 0; font-size: 13px; }
.auth__home a { display: inline-flex; align-items: center; gap: 7px; color: #4b5563; transition: color .15s; }
.auth__home a:hover { color: #1d1e20; }
.auth__home .klik { width: 10px; height: 10px; fill: #111827; }
.auth__safe { margin: 22px auto 0; max-width: 340px; font-size: 12px; line-height: 1.65; color: #9ca3af; }
.auth__safe a { color: #6b7280; }
.grecaptcha-badge { visibility: hidden; } /* znaczek reCAPTCHA zastepuje tekst pod formularzem */
.auth__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.auth__legal { width: 100%; max-width: 480px; margin-top: 36px; padding-top: 20px; border-top: 1px solid #f0f1f4; text-align: center; }
.auth__legal p { margin: 0 0 12px; font-size: 12px; line-height: 1.5; color: #9ca3af; }
.auth__legal p a { color: #6b7280; }
.auth__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 12px; color: #9ca3af; }
.auth__links a, .auth__links span { display: inline-flex; align-items: center; gap: 6px; color: #6b7280; }
.auth__links .ico { width: 13px; height: 13px; }
.auth__links .klik { width: 10px; height: 10px; fill: var(--accent); }
.auth__links span .ico { color: #16a34a; }

@media (max-width: 960px) {
  .auth--split { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .auth__photo { min-height: 0; height: 220px; }
  .auth__glass { display: none; }
  .auth__motto { top: 18px; left: 20px; font-size: 24px; }
  .auth__side { padding: 28px 16px 20px; }
}
@media (max-width: 480px) {
  .auth__photo { height: 170px; }
  .auth--split .auth__title { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) { .auth__img, .auth__glass, .auth__inner, .auth__motto { animation: none; } }
.auth__pwinfo { margin: -4px 0 14px; font-size: 12px; line-height: 1.5; color: #9ca3af; text-align: left; } /* wymagania hasla przy rejestracji */
