/* ============================================================
   login.css — Login screen & Kingschat SSO button
   ============================================================ */

#view-login {
  background: var(--sidebar-bg);
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Animated background */
.login-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(59,130,246,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(0,166,81,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.login-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* Card */
.login-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 48px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-xl);
  animation: fadeUp 0.6s ease both;
}

/* Logo */
.login-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 32px; }
.login-logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.login-logo-text {
  font-family: 'Syne', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: white;
  letter-spacing: -0.5px;
}

/* Heading */
.login-title { font-family: 'Syne', sans-serif; font-size: 26px; font-weight: 700; color: white; margin-bottom: 6px; }
.login-sub   { font-size: 13.5px; color: var(--text-sidebar-muted); margin-bottom: 32px; line-height: 1.6; }

/* Divider */
.login-divider { display: flex; align-items: center; gap: 12px; margin: 24px 0; }
.login-divider::before, .login-divider::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.08); }
.login-divider span { font-size: 10px; color: rgba(255,255,255,0.25); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; }

/* Demo info box */
.login-demo-box {
  padding: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-sm);
}
.login-demo-label {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}
.login-demo-note {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 12px;
  line-height: 1.6;
}
.login-demo-chips { display: flex; gap: 8px; }
.login-demo-chip {
  flex: 1;
  padding: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 6px;
}
.login-demo-chip-label { font-size: 9px; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.3); margin-bottom: 3px; }
.login-demo-chip-value { font-size: 12px; color: var(--accent-2); font-weight: 600; }

/* Footer note */
.login-reviewer-note {
  margin-top: 20px;
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}
.login-reviewer-note a { color: var(--accent-2); font-weight: 600; cursor: pointer; }
.login-reviewer-note a:hover { text-decoration: underline; }
