/* ── Reset body shell from main.css (sidebar flex layout) ─── */
body {
  display: block;
  min-height: 100vh;
  margin: 0;
}

* { box-sizing: border-box; }

/* ── Two-panel split ─────────────────────────────────────── */
.login-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  width: 100%;
}

/* ── Left panel: dark ────────────────────────────────────── */
.login-left {
  background: #0F172A;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 56px;
}

.login-left-inner {
  max-width: 400px;
  width: 100%;
}

.login-left-logo {
  height: 36px;
  width: auto;
  display: block;
  margin-bottom: 32px;
}

.login-hero-headline {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 16px;
}

.login-hero-signup {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

.login-signup-link {
  color: #5EEAD4;
  font-weight: 600;
  text-decoration: none;
}
.login-signup-link:hover { text-decoration: underline; }

/* ── Right panel: light ──────────────────────────────────── */
.login-right {
  background: var(--bg-app);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
}

.login-right-inner {
  width: 100%;
  max-width: 420px;
}

/* ── Card ────────────────────────────────────────────────── */
.login-card {
  width: 100%;
  padding: 36px 32px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.login-error {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.08);
  color: var(--text-danger);
  font-size: 13px;
}

/* ── Google button ───────────────────────────────────────── */
.google-btn {
  width: 100%;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 12px;
  background: #fff;
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.google-btn:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.google-btn:active { transform: translateY(0); }

.google-icon {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Below-card copy ─────────────────────────────────────── */
.login-tagline {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--brand);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: center;
}

.login-meta {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  text-align: center;
}

/* ── Email-first form (signup) ───────────────────────────── */
.login-email-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 4px;
}

.login-email-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.login-email-input {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text-primary);
  background: var(--surface);
  outline: none;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.login-email-input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb, 99, 102, 241), 0.12);
}
.login-email-input::placeholder { color: var(--text-muted); }

.login-email-error {
  margin: 0;
  font-size: 12px;
  color: var(--text-danger);
}

.login-continue-btn { margin-top: 6px; }

/* ── Mobile: single column, hide left panel ──────────────── */
@media (max-width: 720px) {
  .login-split { grid-template-columns: 1fr; }
  .login-left  { display: none; }
  .login-right {
    min-height: 100vh;
    padding: 40px 24px;
  }
}
