@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 14px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f3f4f6;
  color: #111827;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
}

/* ─── SPLIT LAYOUT ────────────────────────────────── */
.login-page {
  display: flex;
  width: 100%;
  min-height: 100vh;
}

/* LEFT PANEL */
.lp-left {
  width: 50%;
  background: #0f172a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 64px;
  position: relative;
  overflow: hidden;
}

.lp-left::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.06) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.lp-logo {
  width: 52px; height: 52px;
  background: #3b82f6;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 28px;
  letter-spacing: -1px;
}

.lp-heading {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  text-align: center;
  line-height: 1.2;
  letter-spacing: -0.04em;
  margin-bottom: 4px;
}

.lp-heading span { color: #3b82f6; }

.lp-desc {
  font-size: 0.82rem;
  color: #64748b;
  text-align: center;
  margin-bottom: 36px;
  max-width: 300px;
  line-height: 1.6;
}

/* Stats row */
.lp-stats {
  display: flex;
  gap: 10px;
}

.lp-stat {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 9px;
  padding: 12px 20px;
  text-align: center;
  min-width: 88px;
}

.lp-stat-val {
  font-size: 1.1rem;
  font-weight: 700;
  color: #3b82f6;
  letter-spacing: -0.03em;
}

.lp-stat-lbl {
  font-size: 0.69rem;
  color: #64748b;
  margin-top: 2px;
}

/* RIGHT PANEL */
.lp-right {
  width: 50%;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 64px;
  position: relative;
}

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

.lp-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.04em;
  margin-bottom: 4px;
}

.lp-sub {
  font-size: 0.79rem;
  color: #6b7280;
  margin-bottom: 28px;
}

/* ─── FORM FIELDS ─────────────────────────────────── */
.lp-field {
  position: relative;
  margin-bottom: 14px;
}

.lp-field input {
  width: 100%;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0;
  padding: 10px 40px 10px 36px;
  font-family: inherit;
  font-size: 0.85rem;
  color: #111827;
  outline: none;
  transition: border-color 0.15s ease;
  appearance: none;
}

.lp-field input::placeholder { color: #9ca3af; }

.lp-field input:focus {
  border-color: #3b82f6;
  background: #fff;
}

.lp-field-icon {
  position: absolute;
  left: 10px; top: 50%; transform: translateY(-50%);
  color: #9ca3af;
  display: flex;
  pointer-events: none;
}

.lp-field-icon svg { width: 14px; height: 14px; }

.lp-eye {
  position: absolute;
  right: 10px; top: 50%; transform: translateY(-50%);
  background: none; border: none;
  cursor: pointer; color: #9ca3af;
  font-size: 0.75rem;
  font-family: inherit;
  padding: 2px;
  transition: color 0.13s;
}

.lp-eye:hover { color: #374151; }

/* Submit */
.lp-submit {
  width: 100%;
  padding: 11px;
  background: #3b82f6;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.14s ease;
  margin-top: 6px;
  letter-spacing: 0.01em;
}

.lp-submit:hover { background: #2563eb; }

/* Error */
.lp-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 7px;
  padding: 9px 12px;
  font-size: 0.78rem;
  color: #dc2626;
  margin-bottom: 12px;
  display: none;
}

.lp-error.show { display: flex; align-items: center; gap: 7px; }
.lp-error svg { width: 13px; height: 13px; flex-shrink: 0; }

/* Bottom notice */
.lp-bottom-notice {
  position: absolute;
  bottom: 16px; right: 20px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  color: #6b7280;
}

.lp-bottom-notice svg { width: 13px; height: 13px; color: #6b7280; }

/* Demo info */
.lp-demo {
  margin-top: 20px;
  font-size: 0.72rem;
  color: #9ca3af;
  border-top: 1px solid #e5e7eb;
  padding-top: 14px;
}

.lp-demo span { color: #6b7280; }

/* ─── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 768px) {
  .lp-left  { display: none; }
  .lp-right { width: 100%; padding: 32px 24px; }
}
