/* Botzz auth v2 — split-screen login/register, no gradient backgrounds */

.bz-auth {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 100vh;
  background: var(--bz-paper);
}
@media (max-width: 920px) { .bz-auth { grid-template-columns: 1fr; } }

/* ---------- Brand panel (dark navy) ---------- */
.bz-auth__brand {
  position: relative;
  background: var(--bz-ink);
  color: var(--bz-text-on-ink);
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  isolation: isolate;
}
@media (max-width: 920px) { .bz-auth__brand { display: none; } }

.bz-auth__brand::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 100% 0%, oklch(0.55 0.20 246 / 0.30), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, oklch(0.72 0.18 232 / 0.18), transparent 70%);
  z-index: -1;
}

/* Decorative grid lines (subtle, geometric — not glassmorphism) */
.bz-auth__brand::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, oklch(0.97 0.005 252 / 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(0.97 0.005 252 / 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at center, black, transparent 75%);
  z-index: -1;
}

.bz-auth__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.bz-auth__logo-mark {
  width: 44px; height: 44px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.bz-auth__pitch { max-width: 32rem; }
.bz-auth__pitch h2 {
  color: var(--bz-text-on-ink);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.bz-auth__pitch h2 em { font-style: normal; color: var(--bz-cyan); }
.bz-auth__pitch p { color: var(--bz-text-on-ink-soft); font-size: var(--bz-fs-16); margin-top: 1rem; max-width: 40ch; }

.bz-auth__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid oklch(0.97 0.005 252 / 0.10);
}
.bz-auth__metric strong {
  display: block;
  font-family: var(--bz-font-display);
  font-size: var(--bz-fs-28);
  color: var(--bz-cyan);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.bz-auth__metric span { font-size: var(--bz-fs-12); color: var(--bz-text-on-ink-soft); letter-spacing: 0.04em; }

.bz-auth__foot {
  font-size: var(--bz-fs-12);
  color: var(--bz-text-on-ink-soft);
  letter-spacing: 0.04em;
}

/* ---------- Form panel (off-white) ---------- */
.bz-auth__form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 4vw, 3.5rem);
  position: relative;
}

.bz-auth__form-inner {
  width: 100%;
  max-width: 26rem;
  margin-inline: auto;
}

.bz-auth__back {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--bz-fs-14);
  color: var(--bz-text-mute);
  font-weight: 500;
  padding: 0.45rem 0.7rem;
  border-radius: var(--bz-r-1);
  transition: color var(--bz-dur-1) var(--bz-ease);
}
.bz-auth__back:hover { color: var(--bz-text); }

.bz-auth__mobile-logo {
  display: none;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}
.bz-auth__mobile-logo img { display: block; flex-shrink: 0; }
@media (max-width: 920px) { .bz-auth__mobile-logo { display: inline-flex; } }

.bz-auth__title {
  font-size: var(--bz-fs-37);
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--bz-text);
}
.bz-auth__sub {
  font-size: var(--bz-fs-16);
  color: var(--bz-text-soft);
  margin-top: 0.5rem;
}

.bz-auth__sub a { color: var(--bz-cyan-lo); font-weight: 600; border-bottom: 1px solid currentColor; }
[data-theme="dark"] .bz-auth__sub a { color: var(--bz-cyan); }

.bz-auth__form form { margin-top: 2rem; }

.bz-auth__forgot {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.4rem;
}
.bz-auth__forgot a { font-size: var(--bz-fs-12); color: var(--bz-text-mute); font-weight: 500; }
.bz-auth__forgot a:hover { color: var(--bz-cyan-lo); }

.bz-auth__submit { margin-top: 1.5rem; width: 100%; }

.bz-auth__divider {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--bz-line);
  font-size: var(--bz-fs-14);
  color: var(--bz-text-soft);
}
.bz-auth__divider a { color: var(--bz-cyan-lo); font-weight: 600; }
[data-theme="dark"] .bz-auth__divider a { color: var(--bz-cyan); }

.bz-auth__legal {
  margin-top: 1.5rem;
  font-size: var(--bz-fs-12);
  color: var(--bz-text-mute);
  text-align: center;
  line-height: 1.5;
}
.bz-auth__legal a { color: var(--bz-text-soft); border-bottom: 1px dotted currentColor; }

@media (max-width: 920px) {
  .bz-auth__form { padding: 4rem 1.25rem 2.5rem; }
}
