/* NeuroOCR — auth.css (shared by login + signup) */

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

/* ── Left: aurora-gradient showcase ── */
.auth-panel-left {
  position: relative;
  overflow: hidden;
  padding: 72px 64px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(60% 60% at 20% 10%, rgba(34,211,238,0.35), transparent 60%),
    radial-gradient(70% 70% at 90% 90%, rgba(139,92,246,0.45), transparent 60%),
    linear-gradient(150deg, #0A0B1A, #1a1242 55%, #07223a);
}
.auth-panel-left::before {
  content: '';
  position: absolute; inset: 0; opacity: 0.10;
  background-image: repeating-linear-gradient(135deg, #fff 0 1px, transparent 1px 8px);
  pointer-events: none;
}
.auth-brand { position: relative; display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.auth-brand .serif { font-size: 22px; line-height: 1; }

.auth-kicker { color: rgba(255,255,255,0.55); margin-bottom: 16px; }
.auth-quote {
  position: relative;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.12;
  margin: 0 0 24px;
  letter-spacing: -0.02em;
}
.auth-quote-attr { font-size: 13px; color: rgba(255,255,255,0.7); }
.auth-compliance {
  position: relative; font-size: 11px; color: rgba(255,255,255,0.45);
  display: flex; gap: 10px;
}

/* signup feature list (on the gradient) */
.auth-feature { display: flex; align-items: start; gap: 14px; }
.auth-feature-ic {
  width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
}
.auth-feature-title { font-size: 14px; font-weight: 600; margin-bottom: 3px; }
.auth-feature-desc { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.5; }

/* ── Right: glass form ── */
.auth-panel-right {
  padding: 72px 64px;
  display: flex;
  align-items: center;
  background: var(--paper);
  overflow-y: auto;
}
.auth-form-wrap { width: 100%; max-width: 400px; margin: 0 auto; }
.auth-title { font-size: 44px; margin: 0 0 10px; line-height: 1; letter-spacing: -0.02em; }
.auth-sub { font-size: 14px; color: var(--ink-3); margin-bottom: 30px; }

/* OAuth buttons */
.oauth-stack { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.oauth-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 11px 16px;
  background: var(--glass-2);
  -webkit-backdrop-filter: blur(var(--glass-blur)); backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 11px;
  font-size: 13px; font-weight: 500; color: var(--ink);
  text-decoration: none; cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.oauth-btn:hover { background: var(--glass); border-color: var(--accent); }

/* divider */
.divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; }
.divider-line { flex: 1; height: 1px; background: var(--rule); }
.divider-text { font-size: 10.5px; color: var(--ink-4); letter-spacing: 0.1em; }

/* form */
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-field-label { display: block; margin-bottom: 6px; }
.auth-row-between { display: flex; justify-content: space-between; margin-bottom: 6px; }
.auth-submit { justify-content: center; width: 100%; margin-top: 4px; }
.auth-hint { font-size: 11px; color: var(--ink-4); margin-top: 5px; }
.auth-terms {
  display: flex; gap: 8px; font-size: 11.5px; color: var(--ink-3);
  line-height: 1.5; cursor: pointer; align-items: start;
}
.auth-terms input { margin-top: 2px; accent-color: var(--accent); flex-shrink: 0; }
.auth-alt { margin-top: 28px; font-size: 13px; color: var(--ink-3); text-align: center; }
.auth-alt a { color: var(--ink); margin-left: 4px; }
.auth-back { margin-top: 16px; text-align: center; }
.auth-back a { font-size: 12px; color: var(--ink-4); display: inline-flex; align-items: center; gap: 6px; }

.free-badge {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: var(--accent-soft);
  border: 1px solid color-mix(in oklab, var(--accent) 28%, transparent);
  border-radius: 11px;
  font-size: 12.5px; color: var(--accent);
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .auth-grid { grid-template-columns: 1fr; }
  .auth-panel-left { display: none; }
  .auth-panel-right { padding: 56px 24px; }
}
