:root{
  --bg:#0b0d10;

  --text:#ffffff;
  --muted:#9aa3b2;

  --line:rgba(255,255,255,.10);
  --line2:rgba(255,255,255,.14);

  --ok:#22c55e;
  --warn:#fbbf24;
  --danger:#fb7185;

  --r:18px;
  --r2:24px;

  --shadow: 0 18px 70px rgba(0,0,0,.55);
}

*{box-sizing:border-box;margin:0;padding:0}
.hidden{display:none !important;}
html{scroll-behavior:smooth}

body{
  font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--text);
  background: radial-gradient(1100px 700px at 20% 10%, rgba(255,255,255,.06), transparent 60%), var(--bg);
  min-height:100svh;
  overflow-x:hidden;
}

/* ===== layout like login ===== */
.authShell{
  min-height:100svh;
  display:flex;
  justify-content:center;
  align-items:stretch;
  padding:18px;
}
.authGrid{
  width:100%;
  max-width:1200px;
  display:grid;
  grid-template-columns: 520px 1fr;
  gap:16px;
  align-items:stretch;
}
@media (max-width: 940px){
  .authShell{ padding:0; }
  .authGrid{
    grid-template-columns: 1fr;
    gap:0;
    max-width:none;
  }
}

.authLeft{
  border-radius: var(--r2);
  background: transparent;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:16px;
}
@media (max-width: 940px){
  .authLeft{ padding:18px; }
}
.authInner{
  width:100%;
  max-width: 420px;
}

/* header */
.authHead{
  text-align:center;
  padding-top: 10px;
  padding-bottom: 14px;
  position:relative;
}
.mark{
  display:flex;
  justify-content:center;
  margin-bottom: 14px;
}
.markDot{
  width:56px;height:56px;
  border-radius:999px;
  display:grid;
  place-items:center;
  font-weight:1000;
  background:#b6ff00;
  color:#000;
}

.welcome{
  font-size:28px;
  letter-spacing:-0.02em;
  font-weight:900;
}
.welcomeSub{
  margin-top:8px;
  color:rgba(154,163,178,.95);
  font-size:13px;
}

.backLink{
  position:absolute;
  right:0;
  top:10px;
  font-size:12px;
  color:rgba(255,255,255,.86);
  text-decoration:none;
  padding:8px 12px;
  border:1px solid var(--line);
  border-radius:999px;
  background: rgba(255,255,255,.04);
}
.backLink:hover{ border-color: var(--line2); }

/* switch */
.switchRow{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
  margin-bottom: 12px;
}
.switchBtn{
  height: 46px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
  color: rgba(255,255,255,.92);
  text-decoration:none;
  font-weight:900;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}
.switchBtn:hover{ border-color: var(--line2); }
.switchBtn.active{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.22);
}

/* card */
.paneCard{
  border:1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.02);
  padding:14px;
  box-shadow: 0 12px 40px rgba(0,0,0,.22);
}

.paneHeader{
  padding:10px 10px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
  margin-bottom: 12px;
}
.paneH1{ font-weight:900; }
.paneH2{ margin-top:4px; font-size:12px; color:rgba(154,163,178,.95); }

/* divider */
.divider{
  display:flex;
  align-items:center;
  justify-content:center;
  margin:14px 0 12px;
  position:relative;
  color:rgba(154,163,178,.95);
  font-size:12px;
}
.divider:before,
.divider:after{
  content:"";
  height:1px;
  background: var(--line);
  flex:1;
}
.divider span{
  padding:0 12px;
}

/* form */
.form{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.field label{
  display:block;
  font-size:12px;
  color:rgba(154,163,178,.95);
  margin: 6px 0 6px;
  font-weight:900;
}

.field input[type="email"],
.field input[type="password"],
.field input[type="text"]{
  width:100%;
  height: 50px;
  padding: 0 14px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
  color:var(--text);
  outline:none;
  font-size:14px;
}
.field input::placeholder{ color: rgba(154,163,178,.65); }
.field input:focus{ border-color: rgba(255,255,255,.22); }

.grid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
@media (max-width: 520px){
  .grid2{ grid-template-columns:1fr; }
}

/* apps */
.apps{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
  padding-top:4px;
}
@media (max-width: 520px){
  .apps{ grid-template-columns:1fr; }
}
label.app{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 12px;
  border-radius:16px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
  color:rgba(255,255,255,.92);
  font-weight:900;
  font-size:13px;
}
label.app input{
  width:18px;
  height:18px;
  appearance:none;
  -webkit-appearance:none;
  border-radius:6px;
  border:1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.02);
  display:grid;
  place-items:center;
  flex:0 0 auto;
}
label.app input:checked{
  border-color: rgba(34,197,94,.55);
  background: rgba(34,197,94,.18);
}
label.app input:checked::after{
  content:"✓";
  font-size:12px;
  font-weight:1000;
  color:#bbf7d0;
  line-height:1;
}

/* buttons */
.btn{
  width:100%;
  height: 54px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
  color: rgba(255,255,255,.92);
  font-size:14px;
  font-weight:900;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}
.btn:hover{ border-color: var(--line2); }
.btn:disabled{ opacity:.6; cursor:not-allowed; }

.btn.big{ height: 56px; }

.btn.primary{
  background:#ffffff;
  color:#000;
  border:none;
}

.googleBtn{
  background:#ffffff;
  color:#000;
  border:none;
  margin-bottom: 0;
}
.gMark{
  width:22px;height:22px;
  border-radius: 8px;
  background: conic-gradient(from 0deg,#4285F4 0 25%,#34A853 25% 50%,#FBBC05 50% 75%,#EA4335 75% 100%);
  display:inline-block;
}

/* messages & notes */
.message{
  font-size:13px;
  min-height:18px;
  padding: 4px 2px 0;
}
.message.ok{color:#4ade80}
.message.err{color:var(--danger)}

.infoBox{
  margin-top:12px;
  padding: 12px 12px;
  border-radius: 16px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
  font-size:12px;
  line-height:1.35;
  color: rgba(154,163,178,.95);
}
.infoBox.warn{
  border-color: rgba(251,191,36,.45);
  background: rgba(251,191,36,.10);
  color:#fde68a;
}

.noteBlock{
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
  border-radius: 16px;
  padding:12px 12px;
  color: rgba(154,163,178,.95);
  font-size:12px;
  line-height:1.35;
}
.noteLine + .noteLine{ margin-top:8px; }

.note{
  text-align:center;
  font-size:12px;
  color:rgba(154,163,178,.92);
}
.note a{
  color:rgba(255,255,255,.90);
  text-decoration:none;
  font-weight:900;
}

/* right image (desktop) */
.authRight{
  border-radius: var(--r2);
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.02);
  position:relative;
  min-height: calc(100svh - 36px);
}
@media (max-width: 940px){
  .authRight{ display:none; }
}
.rightImg{
  position:absolute;
  inset:0;
  background: url("/img/login-bg.jpg") center / cover no-repeat; /* PODMIENISZ */
}
.rightImg:after{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(700px 500px at 30% 20%, rgba(0,0,0,.25), rgba(0,0,0,.65));
}
