/* ==========================================================================
   pages/login.css — login screen (#lp) and its decorative glows
   ========================================================================== */

#lp {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

/* === Background decorations: dot grid + two radial glows === */

.lg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
}

.lg1 {
  position: absolute;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  top: -180px;
  right: -180px;
  pointer-events: none;
  filter: blur(40px);
}

.lg2 {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--cyan-glow) 0%, transparent 70%);
  bottom: -120px;
  left: -100px;
  pointer-events: none;
  filter: blur(40px);
}

/* === Login card === */

.lc {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface2) 100%);
  border: 1px solid var(--border-m);
  border-radius: 20px;
  padding: 48px 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--accent-glow);
}

/* === Logo block === */

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
}

.li {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
}

.ln {
  font-family: var(--fh);
  font-size: 19px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === Title / subtitle === */

.lt {
  font-family: var(--fh);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 5px;
}

.ls {
  color: var(--text-m);
  font-size: 13px;
  margin-bottom: 28px;
}

/* === Submit button === */

.lb {
  width: 100%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  color: #fff;
  border: none;
  box-shadow: 0 4px 16px var(--accent-glow);
  border-radius: var(--r);
  padding: 13px;
  font-family: var(--fh);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 4px;
  transition: opacity 0.2s;
}

.lb:hover {
  opacity: 0.88;
}

.lb:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* === Inline error / footer === */

.le {
  background: var(--red-dim);
  color: var(--red);
  border-radius: var(--r);
  padding: 10px 14px;
  font-size: 13px;
  margin-bottom: 14px;
  display: none;
}

.lf {
  margin-top: 16px;
  text-align: center;
  font-size: 12px;
  color: var(--text-d);
}
