/* Shared by the public sign-in and sign-up pages (auth/login, auth/register).
   Both are standalone documents rather than layouts/app children, so they load
   ta.css and then this.

   No local :root — the tokens come from ta.css. The block that used to sit here
   re-declared --blue/--red/--bd verbatim and pinned --tx2 to the old #6B7280,
   undoing the site-wide muted-ink darkening. The card is --bg, so the surround
   is --bg2.

   admin/auth/login is deliberately NOT on this file: it still carries its own
   :root override and uses --blue/--red rather than the -fill/-ink tokens, so
   folding it in here would change how it looks. */
body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg2); color: var(--tx);
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
}
.login-card {
    background: var(--bg); border: 1px solid var(--bd); border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
    padding: 40px; width: 100%; max-width: 420px;
}
.login-brand { font-size: 22px; font-weight: 900; color: var(--blue); text-align: center; margin-bottom: 6px; }
.login-brand em { color: var(--tx); font-style: normal; }
/* An h1, not a <p>: the page had no level-one heading at all. */
.login-subtitle { text-align: center; font-size: 13px; font-weight: 400; color: var(--tx2); margin: 0 0 var(--ta-sec-gap); }
.form-label { font-size: 13px; font-weight: 600; color: var(--tx); }
.form-control { font-size: 14px; border-radius: 8px; border-color: var(--bd); }
.form-control:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29,78,216,.12); }
/* One rule, two names: the markup calls the submit button after its page. */
.btn-login,
.btn-register {
    width: 100%; padding: 10px; border-radius: 8px; border: none;
    background: var(--blue-fill); color: #fff; font-weight: 700; font-size: 14px;
    font-family: inherit; cursor: pointer; transition: opacity .15s;
}
.btn-login:hover,
.btn-register:hover { opacity: .88; }
.error-msg { color: var(--red-ink); font-size: 13px; margin-top: 4px; }
.auth-links { text-align: center; margin-top: var(--ta-sec-gap); font-size: 13px; color: var(--tx2); }
.auth-links a { color: var(--blue-ink); text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
/* Login only — inert on the sign-up page, which has neither element. */
.form-check-label { font-size: 13px; color: var(--tx2); }
.status-msg { background: var(--green-lt); color: var(--green-ink); padding: 10px 14px; border-radius: 8px; font-size: 13px; margin-bottom: 16px; }
