:root{
  --bg:#0b0d10;
  --panel:#0f1116;

  --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}
html{scroll-behavior:smooth}
.hidden{display:none !important;}

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 Dodo (left panel + right image) ===== */
.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: 18px;
  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; /* Dodo vibe */
  color:#000;
}

.welcome{
  font-size:32px;
  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); }

/* ===== already ===== */
.already{
  border:1px solid var(--line);
  border-radius: var(--r2);
  background: rgba(255,255,255,.03);
  padding:14px;
  margin-bottom: 14px;
}
.alreadyRow{
  font-size:13px;
  color:rgba(154,163,178,.95);
}
.alreadyActions{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
  margin-top:12px;
}
@media (max-width: 420px){
  .alreadyActions{ grid-template-columns:1fr; }
}

/* ===== home tiles ===== */
.tiles{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.tile{
  width:100%;
  border:1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.02);
  padding:16px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  cursor:pointer;
  text-decoration:none;
  color:var(--text);
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
  -webkit-tap-highlight-color: transparent;
  appearance:none;
  outline:none;
}
.tile:hover{ border-color: var(--line2); }
.tile:active{ transform: scale(.995); }

.tileLeft{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.tileIcon{
  width:54px;height:54px;
  border-radius: 18px;
  display:grid;
  place-items:center;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  flex:0 0 auto;
  font-size:18px;
}

.icoPlus{
  font-size:26px;
  font-weight:900;
  line-height:1;
}

.tileIconGoogle{
  border:none;
  background: rgba(255,255,255,.06);
  position:relative;
}
.gBall{
  width:34px;height:34px;
  border-radius: 12px;
  background: conic-gradient(from 0deg,#4285F4 0 25%,#34A853 25% 50%,#FBBC05 50% 75%,#EA4335 75% 100%);
  display:block;
}

.tileText{ min-width:0; }
.tileName{
  font-size:16px;
  font-weight:900;
  letter-spacing:-0.01em;
}
.tileDesc{
  margin-top:4px;
  font-size:12px;
  color:rgba(154,163,178,.95);
}

.tileRight{
  display:flex;
  align-items:center;
  gap:10px;
  flex:0 0 auto;
}

.tileChevron{
  font-size:26px;
  opacity:.7;
}

/* pills like in your screenshot */
.pill{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  white-space:nowrap;
}
.pill.ok{
  border-color: rgba(34,197,94,.40);
  background: rgba(34,197,94,.10);
  color:#bbf7d0;
}
.pill.warn{
  border-color: rgba(251,191,36,.45);
  background: rgba(251,191,36,.10);
  color:#fde68a;
}

/* home info lines */
.homeInfo{
  margin-top:14px;
  border:1px solid var(--line);
  border-radius: 18px;
  padding:12px 12px;
  background: rgba(255,255,255,.02);
}
.infoLine{
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-size:12px;
  color:rgba(154,163,178,.95);
  line-height:1.35;
}
.infoLine + .infoLine{ margin-top:8px; }
.infoLine b{ color: rgba(255,255,255,.92); }

.dot{
  width:10px;height:10px;
  border-radius:999px;
  margin-top:4px;
  flex:0 0 auto;
}
.dot.ok{ background: var(--ok); }
.dot.warn{ background: var(--warn); }

.homeFoot{
  margin-top:14px;
  text-align:center;
}
.note{
  font-size:12px;
  color:rgba(154,163,178,.92);
}
.note a{
  color:rgba(255,255,255,.90);
  text-decoration:none;
  font-weight:900;
}

/* ===== detail ===== */
.screen-detail{ display:none; }
.screen-detail.show{ display:block; }

.detailTop{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top: 4px;
  margin-bottom: 12px;
}
.iconBtn{
  width:44px;height:44px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.90);
  font-weight:1000;
  cursor:pointer;
}
.detailTitle{
  font-weight:900;
  letter-spacing:-0.01em;
}
.spacer{ flex:1; }

.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); }

/* fields */
.field label{
  display:block;
  font-size:12px;
  color:rgba(154,163,178,.95);
  margin: 10px 0 6px;
  font-weight:900;
}
.field input[type="email"],
.field input[type="password"]{
  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); }

.credRow{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
@media (max-width: 520px){
  .credRow{ grid-template-columns: 1fr; }
}

/* 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;
}

.btn.ghost{
  background: rgba(255,255,255,.02);
}

.btn.danger{
  background: rgba(251,113,133,.10);
  color:#fecaca;
  border:1px solid rgba(251,113,133,.45);
}

/* google mark */
.googleBtn{
  background:#ffffff;
  color:#000;
  border:none;
}
.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;
}

/* row buttons */
.row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
  margin-top:12px;
}
@media (max-width: 520px){
  .row{ grid-template-columns:1fr; }
}

.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.ok{
  border-color: rgba(34,197,94,.40);
  background: rgba(34,197,94,.10);
  color:#bbf7d0;
}
.infoBox.warn{
  border-color: rgba(251,191,36,.45);
  background: rgba(251,191,36,.10);
  color:#fde68a;
}

.hint{
  margin-top:12px;
  font-size:12px;
  color:rgba(154,163,178,.92);
  line-height:1.35;
}

.message{
  font-size:13px;
  min-height:18px;
  padding: 10px 2px 0;
}
.message.ok{color:#4ade80}
.message.err{color:var(--danger)}

.detailFoot{
  margin-top:14px;
  padding-top:10px;
  border-top:1px solid rgba(255,255,255,.08);
}

/* ===== right image ===== */
.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));
}
