.login-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #fafafc 0%, #f0eefc 100%);
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.login-card {
  background: #fff;
  padding: 40px 36px;
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(60, 60, 80, 0.12);
  width: min(420px, 92vw);
  text-align: center;
}

.login-logo svg { width: 64px; height: 64px; }

.login-card h1 {
  margin: 12px 0 4px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.tagline {
  color: var(--muted);
  margin: 0 0 28px;
  font-size: 14px;
}

.pw-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  margin-bottom: 4px;
}
.pw-form[hidden] { display: none; }
.pw-form label { font-size: 12px; color: var(--muted); }
.pw-form input[type="email"],
.pw-form input[type="password"] {
  font: inherit;
  font-size: 14px;
  padding: 9px 12px;
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  background: #fff;
  outline: none;
}
.pw-form input:focus { border-color: var(--accent); }
.pw-btn {
  margin-top: 6px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 16px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
}
.pw-btn:hover { background: #5854c2; }
.pw-error {
  margin: 4px 0 0;
  padding: 8px 12px;
  background: #fff1f0;
  border: 1px solid #ffccc7;
  border-radius: 6px;
  color: #a8071a;
  font-size: 12.5px;
}
.pw-error[hidden] { display: none; }

.divider-row {
  display: flex; align-items: center; gap: 12px;
  color: var(--muted); font-size: 12px;
  margin: 16px 0;
}
.divider-row[hidden] { display: none; }
.divider-row::before, .divider-row::after {
  content: ""; flex: 1; height: 1px; background: var(--panel-border);
}

.google-btn[hidden] { display: none !important; }
.google-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 22px;
  border: 1px solid var(--panel-border);
  background: #fff;
  color: #3c4043;
  font-weight: 500;
  font-size: 14px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.08);
  transition: box-shadow 0.15s, background 0.15s;
}
.google-btn:hover {
  box-shadow: 0 2px 6px rgba(60, 64, 67, 0.18);
  background: #f8f9fa;
}
.google-btn svg { width: 18px; height: 18px; }

.setup {
  background: #fff7e6;
  border: 1px solid #ffd591;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #6b4d00;
  text-align: left;
}
.setup code {
  background: rgba(0,0,0,0.06);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 12px;
  word-break: break-all;
}

.dev-form {
  margin: 18px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}
.dev-form[hidden] { display: none; }
.dev-form label {
  font-size: 12px;
  color: var(--muted);
}
.dev-form input[type="email"] {
  font: inherit;
  font-size: 14px;
  padding: 9px 12px;
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  background: #fff;
  outline: none;
}
.dev-form input[type="email"]:focus {
  border-color: var(--accent);
}
.dev-btn {
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 16px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
}
.dev-btn:hover { background: #5854c2; }
.dev-note {
  font-size: 11.5px;
  color: var(--muted);
  margin: 4px 0 0;
  line-height: 1.5;
}
.dev-note code {
  background: rgba(0,0,0,0.05);
  padding: 1px 4px;
  border-radius: 3px;
  font-size: 11px;
}

.footer {
  margin: 28px 0 0;
  font-size: 12px;
  color: var(--muted);
}
