/* ═══════════════════════════════════════
   ProspectIA — Login Page
   ═══════════════════════════════════════ */
.login-body { min-height: 100vh; }

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

/* ── LEFT PANEL ── */
.lp-left {
  background: linear-gradient(150deg, #060D1F 0%, #0D1A3A 45%, #0A1830 70%, #071026 100%);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 44px 48px;
}

.lp-glow {
  position: absolute; border-radius: 50%; pointer-events: none;
}
.lp-glow-1 {
  width: 500px; height: 500px;
  top: -150px; right: -100px;
  background: radial-gradient(circle, rgba(37,99,235,.22) 0%, transparent 65%);
}
.lp-glow-2 {
  width: 350px; height: 350px;
  bottom: -80px; left: -60px;
  background: radial-gradient(circle, rgba(99,102,241,.18) 0%, transparent 65%);
}

/* Grid pattern overlay */
.lp-left::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.lp-logo {
  display: flex; align-items: center; gap: 11px;
  position: relative; z-index: 1;
}
.lp-logo-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: rgba(37,99,235,.25);
  border: 1px solid rgba(99,153,255,.25);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px);
}
.lp-logo-text {
  font-size: 20px; font-weight: 800; color: white; letter-spacing: -.4px;
}
.lp-logo-text em { font-style: normal; color: #7CB9FF; }

.lp-hero {
  position: relative; z-index: 1;
}
.lp-hero h2 {
  font-size: 34px; font-weight: 800; color: white;
  line-height: 1.18; letter-spacing: -.6px; margin-bottom: 16px;
}
.lp-hero h2 em { font-style: normal; color: #7CB9FF; }
.lp-hero p {
  font-size: 15px; color: rgba(255,255,255,.52); line-height: 1.65; max-width: 360px;
}

.lp-features {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 12px;
}
.lp-feature {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; color: rgba(255,255,255,.65);
}
.lp-feat-ic {
  width: 30px; height: 30px; border-radius: 7px; flex-shrink: 0;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: #7CB9FF;
}

/* ── RIGHT PANEL ── */
.lp-right {
  display: flex; align-items: center; justify-content: center;
  padding: 48px; background: var(--bg);
}

.lp-form-wrap { width: 100%; max-width: 360px; }

.lp-form-head { margin-bottom: 28px; }
.lp-form-head h1 { font-size: 24px; font-weight: 800; color: var(--tx); letter-spacing: -.4px; margin-bottom: 5px; }
.lp-form-head p  { font-size: 13px; color: var(--tx-3); line-height: 1.5; }

.lp-error {
  padding: 10px 12px; margin-bottom: 16px;
  background: var(--red-bg); border: 1px solid var(--red-border);
  border-radius: var(--r); color: #991B1B; font-size: 12.5px;
}

.lp-form { display: flex; flex-direction: column; gap: 14px; }

.lp-fg { display: flex; flex-direction: column; gap: 5px; }
.lp-lbl { font-size: 12px; font-weight: 600; color: var(--tx-2); }

.lp-inp-wrap { position: relative; }
.lp-inp-ico {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--tx-4); pointer-events: none;
}
.lp-inp {
  width: 100%; height: 44px;
  padding: 0 13px 0 38px;
  border: 1.5px solid var(--border); border-radius: var(--r-lg);
  background: var(--surface); color: var(--tx); font-size: 13px;
  transition: border-color .15s, box-shadow .15s;
}
.lp-inp:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(59,130,246,.12);
}
.lp-inp::placeholder { color: var(--tx-4); }

.lp-btn {
  height: 44px; width: 100%; margin-top: 4px;
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: white; border: none; border-radius: var(--r-lg);
  font-size: 14px; font-weight: 700; cursor: pointer;
  transition: opacity .15s, transform .1s;
  box-shadow: 0 4px 14px rgba(37,99,235,.32);
  letter-spacing: -.1px;
}
.lp-btn:hover { opacity: .9; }
.lp-btn:active { transform: scale(.99); }
.lp-btn:disabled { opacity: .45; cursor: not-allowed; }

.lp-hint { text-align: center; font-size: 12px; color: var(--tx-3); margin-top: 20px; }
.lp-hint a { color: var(--blue-600); font-weight: 600; }

@media (max-width: 768px) {
  .login-page { grid-template-columns: 1fr; }
  .lp-left { display: none; }
  .lp-right { padding: 32px 24px; }
}
