/* ============================================================
   style_login_gray.css — NMMI.AI Login Page Only
   Login-specific rules only. Shared primitives have moved to
   style_base.css (loaded before this file on login pages).

   Load order for login/register pages:
     1. nmmi_theme_system.css
     2. style_base.css
     3. style_login_gray.css  ← this file

   Do NOT use this file as a base sheet on non-login pages.

   [2026-06-04] A-031: extracted <style> blocks from index.html
                and register.html into this file.
   ============================================================ */

/* ── LOGIN LAYOUT ───────────────────────────────────────── */
.login-body {
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-card {
  background: var(--bg-surface);
  border: 1px solid var(--accent-border);
  border-radius: 12px;
  padding: 2.5rem;
  width: 100%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 20px 80px var(--shadow-colour);
}

/* Logo */
.login-logo {
  display: flex;
  align-self: center;
  justify-self: center;
  opacity: 0.9;
  width: 12rem;
  height: auto;
  filter: drop-shadow(0px 0px 6px rgba(var(--green), 0.05));
  transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
  overflow: visible;
}
.login-logo:hover {
  transform: scale(1.05);
  opacity: 1;
  filter: drop-shadow(0px 0px 8px rgba(var(--green), 0.1));
}

/* Headings */
.login-card h1 {
  font-size: 3rem;
  color: rgba(var(--header-text), 0.1);
  font-weight: 500;
  text-shadow: 0 0 6px rgba(var(--header-text-shadow), 0.3);
  transition: color 0.3s, text-shadow 0.35s;
}
.login-card h1:hover {
  color: rgba(var(--header-text), 0.3);
  text-shadow: 0 0 7px rgba(var(--header-text-shadow), 0.95);
}

.login-subtitle {
  color: rgba(var(--green), 0.45);
  text-shadow: 0 0 4px rgba(var(--green), 0.10);
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
}

.login-footer {
  margin-top: 1rem;
  color: rgba(var(--muted-rgb), 0.50);
  font-size: 0.78rem;
}

/* ── PASSWORD WRAPPER [A-031] ───────────────────────────── */
/* Shared by index.html and register.html */
.password-wrapper {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.password-wrapper input { flex: 1; }
.password-wrapper button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  padding: 0 0.25rem;
  color: rgba(var(--muted-rgb), 0.5);
  transition: color 0.2s;
}
.password-wrapper button:hover { color: var(--accent); }

/* ── PASSWORD STRENGTH [A-031] ──────────────────────────── */
/* register.html only */
.pw-strength-bar {
  height: 3px;
  border-radius: 2px;
  margin-top: 4px;
  transition: width 0.3s, background 0.3s;
  width: 0%;
}
.pw-strength-label {
  font-size: 0.72rem;
  margin-top: 2px;
  min-height: 1em;
}

/* ── LOGIN LINK [A-031] ─────────────────────────────────── */
/* Extracted from style="color:var(--accent);font-weight:600" on login/register <a> */
.login-link {
  color: var(--accent);
  font-weight: 600;
}

/* ── FIELD HINT [A-031] ─────────────────────────────────── */
/* Extracted from inline style on register.html <small> */
.field-hint {
  color: rgba(var(--muted-rgb), 0.6);
  font-size: 0.75rem;
}
