/* ============================================================
   WONA CHAT — auth.css   Login / Sign up
   ============================================================ */

.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* ── Left panel ──────────────────────────────────────────────── */
.auth-left {
  background: var(--blue);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 48px;
  position: relative;
  overflow: hidden;
}
/* Subtle geometric line pattern */
.auth-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.auth-left-logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 1.05rem; font-weight: 800;
  color: rgba(255,255,255,0.95);
  text-decoration: none;
  letter-spacing: -0.02em;
  position: relative; z-index: 1;
}
.auth-left-logo-icon {
  width: 32px; height: 32px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: .88rem;
}
.auth-left-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  position: relative; z-index: 1;
}
.auth-left-body h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  color: var(--white);
  line-height: 1.25;
}
.auth-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.auth-point {
  display: flex; align-items: center; gap: 10px;
  font-size: .875rem;
  color: rgba(255,255,255,0.8);
}
.auth-point-check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem;
  color: var(--white);
  flex-shrink: 0;
}
.auth-left-footer {
  font-size: .76rem;
  color: rgba(255,255,255,0.45);
  position: relative; z-index: 1;
}

/* ── Right panel — form ──────────────────────────────────────── */
.auth-right {
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 48px;
}
.auth-form-wrap {
  width: 100%;
  max-width: 380px;
}
.auth-form-wrap h2 {
  margin-bottom: 4px;
}
.auth-form-wrap > p {
  font-size: .875rem;
  color: var(--gray-400);
  margin-bottom: 28px;
}
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.auth-divider {
  display: flex; align-items: center; gap: 10px;
  margin: 4px 0;
  font-size: .75rem; color: var(--gray-300);
}
.auth-divider::before,
.auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--gray-200); }
.auth-social { display: flex; gap: 10px; }
.auth-social-btn {
  flex: 1;
  padding: 9px;
  border-radius: var(--r-md);
  border: var(--border-2);
  background: var(--white);
  color: var(--gray-600);
  font-size: .85rem; font-weight: 600;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: all var(--t);
}
.auth-social-btn:hover { background: var(--gray-50); border-color: var(--gray-300); }
.auth-footer-note {
  text-align: center;
  font-size: .82rem;
  color: var(--gray-400);
  margin-top: 16px;
}
.auth-footer-note a { font-weight: 600; }
.auth-terms {
  font-size: .75rem;
  color: var(--gray-400);
  line-height: 1.55;
  text-align: center;
}
.checkbox-row {
  display: flex; align-items: flex-start; gap: 8px;
}
.checkbox-row input[type=checkbox] {
  margin-top: 2px; flex-shrink: 0;
  accent-color: var(--blue);
  width: 14px; height: 14px;
}
.checkbox-row label { font-size: .82rem; color: var(--gray-500); line-height: 1.5; cursor: pointer; }

/* Password strength */
.pw-strength { margin-top: 2px; }

/* Forgot link */
.forgot-link {
  font-size: .78rem;
  color: var(--gray-400);
  text-align: right;
  display: block;
  margin-top: 3px;
}
.forgot-link:hover { color: var(--blue); }

/* Responsive */
@media (max-width: 768px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-left  { display: none; }
  .auth-right { padding: 32px 20px; align-items: flex-start; padding-top: 60px; }
}
