/* ainora-ui4-auth.css: v4 look for the sign-in and register pages. Loaded only when the v4 look is on (html.ui4a).
   Same direction as ainora-ui4.css: ink surfaces, one cobalt accent, no gradients, no glow, no emoji.
   Built with the unslop method by Damir Sokolovsky (@heydamir), CC BY 4.0. */
html.ui4a {
  --bg: #0b0d14; --card: #11141c; --raised: #1a1e28; --text: #eef0f5; --muted: #a3a9b8; --line: rgba(237,237,237,.10);
  --accent: #6b9bff; --on: #06122e; --link: #6b9bff;
}
@media (prefers-color-scheme: light) {
  html.ui4a { --bg: #f5f7fa; --card: #ffffff; --raised: #eceff4; --text: #111827; --muted: #4b5565; --line: rgba(23,23,23,.10); --accent: #2456c9; --on: #ffffff; --link: #2456c9; }
}
html.ui4a body { background: var(--bg); color: var(--text); font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
html.ui4a .login-card, html.ui4a .register-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: none; padding: 28px 24px; }
html.ui4a .login-title, html.ui4a .register-title { font-size: 22px; font-weight: 500; letter-spacing: 0; color: var(--text); margin-bottom: 6px; }
html.ui4a .login-sub, html.ui4a .register-sub, html.ui4a .info-text { color: var(--muted); font-size: 14px; }
html.ui4a .form-control { background: var(--raised); border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 12px 14px; min-height: 48px; font-weight: 400; }
html.ui4a .form-control::placeholder { color: var(--muted); opacity: 1; }
html.ui4a .form-control:focus { background: var(--raised); border-color: var(--accent); box-shadow: none; outline: 1px solid var(--accent); color: var(--text); }
html.ui4a .btn-primary { background: var(--accent); color: var(--on); border: 0; border-radius: 10px; min-height: 48px; padding: 0 16px; font-weight: 500; box-shadow: none; transition: filter .15s, transform .15s; }
html.ui4a .btn-primary:hover, html.ui4a .btn-primary:focus { background: var(--accent); color: var(--on); filter: brightness(1.07); }
html.ui4a .btn-primary:active { transform: scale(.98); }
html.ui4a .login-footer, html.ui4a .register-footer { color: var(--muted); }
html.ui4a .login-footer a, html.ui4a .register-footer a, html.ui4a a { color: var(--link); font-weight: 500; }
html.ui4a .install-btn { border: 1px solid var(--line); background: var(--raised); color: var(--text); border-radius: 10px; font-weight: 500; transition: border-color .15s; }
html.ui4a .install-btn:hover { background: var(--raised); border-color: var(--muted); color: var(--text); }
html.ui4a .alert { border-radius: 10px; }
html.ui4a .modal-content { background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: 16px; box-shadow: none; }
html.ui4a :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
html.ui4a .u4-ic { display: inline-block; font-size: 1.05em; line-height: 1; vertical-align: -.14em; margin-right: .1em; }

