/* ============================================================
   login.css — login/registratie-pagina (bovenop reprix.css
   en reprix-app.css; Carbon Neon)
   ============================================================ */

html, body { margin: 0; height: 100%; }
body { background: #08090d; }

.rx-login { min-height: 100vh; display: grid; place-items: center; overflow: auto; }

.lg-wrap {
  position: relative; z-index: 1;
  width: 100%; max-width: 430px;
  padding: 40px 24px;
  display: flex; flex-direction: column; align-items: center; gap: 30px;
}

.lg-logo { display: grid; place-items: center; }

.lg-card {
  width: 100%;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--panel-border);
  box-shadow: var(--panel-shadow);
  backdrop-filter: blur(var(--panel-blur));
  padding: 24px 26px 26px;
  animation: screenIn .34s cubic-bezier(.2,.7,.3,1);
}

.lg-tabs { margin-bottom: 18px; }
.lg-tabs .ui-tab { flex: 1; justify-content: center; }

.lg-sub { font-size: 13px; color: var(--faint); margin-bottom: 18px; line-height: 1.5; }

.lg-submit { width: 100%; justify-content: center; height: 44px; margin-top: 2px; }

.lg-below { display: flex; justify-content: center; margin-top: 14px; }
.lg-forgot {
  background: none; border: none; cursor: pointer;
  font-size: 12.5px; font-weight: 600; color: var(--muted);
  font-family: inherit; transition: color .15s;
}
.lg-forgot:hover { color: var(--cyan-2); }

/* foutmelding / succes */
.lg-msg {
  margin: 0 0 14px; padding: 11px 13px; border-radius: 10px;
  font-size: 13px; font-weight: 600; line-height: 1.45;
  background: rgba(251,113,133,0.08); border: 1px solid rgba(251,113,133,0.3); color: var(--rose);
}
.lg-msg.ok { background: rgba(52,211,153,0.08); border-color: rgba(52,211,153,0.3); color: var(--green); }

/* scheidingslijn "of" */
.lg-div {
  display: flex; align-items: center; gap: 12px;
  margin: 18px 0 16px;
  color: var(--faint); font-size: 11.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.lg-div::before, .lg-div::after { content: ""; flex: 1; height: 1px; background: var(--panel-border); }

.lg-google { width: 100%; justify-content: center; height: 44px; }
.lg-google svg { flex: 0 0 auto; }

.lg-foot { font-size: 12px; color: var(--faint); }
.lg-legal { font-size: 11px; line-height: 1.5; color: var(--faint); text-align: center; max-width: 420px; margin: 6px auto 0; }
.lg-legal .nw { white-space: nowrap; }

/* knop in bezig-status */
.btn[disabled] { opacity: 0.6; pointer-events: none; }

/* ============================================================
   wachtwoordsterkte — gloeiende neon-meter + live eisenlijst
   ============================================================ */
.lg-pw { margin-top: 12px; }

.lg-meter {
  height: 5px; border-radius: 999px;
  background: rgba(255,255,255,0.06);
  overflow: hidden; position: relative;
}
.lg-meter-fill {
  display: block; height: 100%; width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rose), var(--rose));
  transition: width .45s cubic-bezier(.2,.7,.3,1),
              background .35s ease, box-shadow .35s ease;
}
/* score-klassen: kleur + steeds meer gloed */
.lg-pw.s1 .lg-meter-fill { background: linear-gradient(90deg, #f43f5e, var(--rose));
  box-shadow: 0 0 8px rgba(251,113,133,0.55); }
.lg-pw.s2 .lg-meter-fill { background: linear-gradient(90deg, var(--rose), var(--amber));
  box-shadow: 0 0 9px rgba(251,191,36,0.55); }
.lg-pw.s3 .lg-meter-fill { background: linear-gradient(90deg, var(--amber), var(--sky));
  box-shadow: 0 0 10px rgba(56,189,248,0.6); }
.lg-pw.s4 .lg-meter-fill { background: linear-gradient(90deg, var(--violet), var(--blue) 45%, var(--cyan));
  box-shadow: 0 0 12px rgba(34,211,238,0.75), 0 0 26px rgba(59,130,246,0.4);
  animation: pwGlow 2.2s ease-in-out infinite; }
@keyframes pwGlow {
  0%, 100% { box-shadow: 0 0 12px rgba(34,211,238,0.75), 0 0 26px rgba(59,130,246,0.4); }
  50%      { box-shadow: 0 0 16px rgba(34,211,238,0.95), 0 0 34px rgba(59,130,246,0.55); }
}

.lg-meter-label {
  margin-top: 8px; font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.4px; text-transform: uppercase;
  color: var(--faint); transition: color .3s;
}
.lg-pw.s1 .lg-meter-label { color: var(--rose); }
.lg-pw.s2 .lg-meter-label { color: var(--amber); }
.lg-pw.s3 .lg-meter-label { color: var(--sky); }
.lg-pw.s4 .lg-meter-label { color: var(--cyan-2); text-shadow: 0 0 8px rgba(34,211,238,0.5); }

/* eisenlijst */
.lg-reqs { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.lg-reqs li {
  display: flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 600; color: var(--faint);
  transition: color .25s;
}
.lg-reqs li .ic {
  width: 16px; height: 16px; flex: 0 0 auto;
  border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.16);
  display: grid; place-items: center; position: relative;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.lg-reqs li .ic::after {
  content: ""; width: 7px; height: 4px;
  border-left: 1.7px solid #04141b; border-bottom: 1.7px solid #04141b;
  transform: rotate(-45deg) scale(0); margin-top: -1.5px;
  transition: transform .22s cubic-bezier(.2,.9,.3,1.4);
}
.lg-reqs li.ok { color: var(--text); }
.lg-reqs li.ok .ic {
  border-color: transparent;
  background: linear-gradient(180deg, var(--cyan-2), var(--blue));
  box-shadow: 0 0 9px rgba(34,211,238,0.6);
}
.lg-reqs li.ok .ic::after { transform: rotate(-45deg) scale(1); }

@media (prefers-reduced-motion: reduce) {
  .lg-meter-fill, .lg-reqs li .ic, .lg-reqs li .ic::after { transition: none; }
  .lg-pw.s4 .lg-meter-fill { animation: none; }
}

/* ============================================================
   e-mailverificatie-paneel
   ============================================================ */
#verifyPane { text-align: center; padding: 6px 2px 2px; }
.lg-verify-ico {
  width: 58px; height: 58px; margin: 6px auto 16px;
  border-radius: 16px; display: grid; place-items: center;
  color: var(--cyan-2);
  background: rgba(34,211,238,0.08);
  border: 1px solid rgba(34,211,238,0.3);
  box-shadow: 0 0 18px rgba(34,211,238,0.25), 0 0 0 1px rgba(34,211,238,0.05) inset;
}
.lg-verify-title { font-size: 19px; font-weight: 800; letter-spacing: -0.3px; margin-bottom: 10px; }
.lg-verify-sub { font-size: 13px; color: var(--muted); line-height: 1.65; margin-bottom: 16px; }
.lg-verify-sub b { color: var(--text); word-break: break-all; }

.lg-wait {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 700; color: var(--faint);
  margin-bottom: 16px;
}
.lg-wait-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 8px var(--cyan);
  animation: vPulse 1.5s ease-in-out infinite;
}
@keyframes vPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) { .lg-wait-dot { animation: none; } }

@media (prefers-reduced-motion: reduce) { .lg-card { animation: none; } }

/* mobiel: het particles-canvas heeft inline vaste afmetingen (380x96)
   en zou op smalle schermen buiten beeld steken; !important klopt de
   inline breedte. De rest van de kaart is al fluid (max-width: 430px). */
@media (max-width: 768px) {
  #lgParticles { width: min(380px, 92vw) !important; }
}
