/* LeadPilot — white & blue theme (login + legal pages) */
:root {
  --lp-blue-600: #2563eb;
  --lp-blue-700: #1d4ed8;
  --lp-blue-50: #eff6ff;
  --lp-blue-100: #dbeafe;
  --lp-slate-900: #0f172a;
  --lp-slate-600: #475569;
  --lp-slate-500: #64748b;
  --lp-border: #e2e8f0;
  --lp-white: #ffffff;
  --lp-radius: 12px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body.lp-auth-page {
  font-family: var(--font);
  background: linear-gradient(160deg, var(--lp-blue-50) 0%, var(--lp-white) 45%, #f8fafc 100%);
  color: var(--lp-slate-900);
  min-height: 100vh;
  line-height: 1.6;
}

.lp-topbar {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lp-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--lp-blue-700);
  text-decoration: none;
}

.lp-brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--lp-blue-600);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.lp-link {
  color: var(--lp-blue-600);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.lp-link:hover { text-decoration: underline; color: var(--lp-blue-700); }

.lp-center {
  max-width: 420px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.lp-card {
  background: var(--lp-white);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.08);
  padding: 2rem 1.75rem;
}

.lp-card h1 {
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
  color: var(--lp-slate-900);
}

.lp-sub {
  color: var(--lp-slate-500);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.lp-field { margin-bottom: 1rem; }

.lp-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--lp-slate-600);
  margin-bottom: 0.35rem;
}

.lp-field input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--lp-border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
}

.lp-field input:focus {
  outline: none;
  border-color: var(--lp-blue-600);
  box-shadow: 0 0 0 3px var(--lp-blue-100);
}

.lp-btn {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 8px;
  background: var(--lp-blue-600);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.lp-btn:hover { background: var(--lp-blue-700); }

.lp-btn:disabled { opacity: 0.65; cursor: not-allowed; }

.lp-error {
  display: none;
  margin-top: 1rem;
  padding: 0.65rem 0.85rem;
  background: #fef2f2;
  color: #b91c1c;
  border-radius: 8px;
  font-size: 0.9rem;
}

.lp-error.visible { display: block; }

.lp-footer-note {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--lp-slate-500);
}

/* Privacy / legal content */
.lp-legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

.lp-legal h1 { font-size: 1.75rem; margin-bottom: 0.25rem; }

.lp-effective {
  color: var(--lp-slate-500);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.lp-legal h2 {
  font-size: 1.1rem;
  margin: 1.75rem 0 0.5rem;
  color: var(--lp-blue-700);
}

.lp-legal p, .lp-legal li { color: var(--lp-slate-600); margin-bottom: 0.75rem; }

.lp-legal footer {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--lp-border);
  font-size: 0.9rem;
  color: var(--lp-slate-500);
}
