/* Auth face — login / signup / forgot / reset / account pages carry the
   real Chorvix face (owner order 2026-11-24: "make everything to do with
   Chorvix look like Chorvix"). Every value here is lifted from the site's
   own Chorvix table face (src/views/onemind/table.ejs, palette "N-W3"):
   ground #060b16, rail #081120, borders #16263f / #1b2c49, text #e7eef8,
   secondary #8fa3bf / #7f95b5, label #63789a, accent cyan #35c4ff,
   blue #2f7bff, link sky #7dd3fc. Loaded only on authFace pages, after
   every other sheet, and every rule is scoped to body.auth-face so no
   other surface can be affected. */

/* --- page ground --- */
body.auth-face {
  background: #060b16;
  color: #e7eef8;
  font-family: "Segoe UI", Arial, Roboto, sans-serif;
}
body.auth-face h1,
body.auth-face h2,
body.auth-face h3 { color: #e7eef8; }
body.auth-face .muted { color: #8fa3bf; }
body.auth-face a { color: #7dd3fc; }

/* --- header: the rail, with the node-mark brand lockup --- */
body.auth-face .site-header {
  background: #081120;
  border-bottom: 1px solid #16263f;
  color: #e7eef8;
}
body.auth-face .site-header .auth-brand {
  display: inline-flex; align-items: center; gap: .6rem;
  text-decoration: none; font-family: "Segoe UI", Arial, Roboto, sans-serif;
}
body.auth-face .site-header .auth-brand svg {
  flex: 0 0 auto; filter: drop-shadow(0 0 6px rgba(53, 196, 255, .55));
}
body.auth-face .auth-brand-text { display: block; line-height: 1.05; }
body.auth-face .auth-brand-text strong {
  display: block; font-size: 1.28rem; letter-spacing: .01em; color: #e7eef8;
}
body.auth-face .auth-brand-text small {
  display: block; color: #7f95b5; font-size: .72rem; margin-top: .15rem;
}
body.auth-face .nav-links a { color: #c6d4e8; }
body.auth-face .nav-links a:hover { color: #7dd3fc; text-decoration: none; }
body.auth-face .user-chip { color: #c6d4e8; }

/* --- the panel: same card the table face uses for its own sign-in --- */
body.auth-face .auth-panel {
  background: #0a1528;
  border: 1px solid #1b2c49;
  border-radius: 12px;
  padding: 1.3rem 1.4rem 1.2rem;
  max-width: 430px;
  color: #e7eef8;
}
body.auth-face .auth-panel h1 { color: #e7eef8; }
body.auth-face .auth-panel p { color: #c6d4e8; }
body.auth-face .auth-panel .muted { color: #8fa3bf; }
body.auth-face .auth-panel a { color: #7dd3fc; }

/* --- form controls --- */
body.auth-face main .auth-panel label {
  font-family: "Segoe UI", Arial, Roboto, sans-serif;
  font-size: .8rem; font-weight: 600;
  letter-spacing: .02em; text-transform: none;
  color: #8fa3bf;
}
body.auth-face main .auth-panel .form input[type="text"],
body.auth-face main .auth-panel .form input[type="email"],
body.auth-face main .auth-panel .form input[type="password"] {
  background: #0c1730;
  border: 1px solid #1e3050;
  border-radius: 9px;
  color: #e7eef8;
}
body.auth-face main .auth-panel .form input[type="text"]:focus,
body.auth-face main .auth-panel .form input[type="email"]:focus,
body.auth-face main .auth-panel .form input[type="password"]:focus {
  border-color: #2f7bff;
  box-shadow: 0 0 0 3px rgba(47, 123, 255, .25);
  outline: none;
}

/* --- buttons: the face's own primary treatment (.omt-send gradient),
   never the old red --- */
body.auth-face .btn {
  background: linear-gradient(135deg, #2f7bff, #1f6ae0);
  color: #fff !important;
  border-radius: 999px;
}
body.auth-face .btn:hover,
body.auth-face .btn:focus { background: linear-gradient(135deg, #4a8dff, #2f7bff); color: #fff; }
/* The Google door keeps Google's own white pill (the table face's
   .omt-google-btn treatment). */
body.auth-face .auth-panel a.btn[href="/auth/google"] {
  background: #fff;
  color: #202124 !important;
  font-weight: 600;
}
body.auth-face .auth-panel a.btn[href="/auth/google"]:hover,
body.auth-face .auth-panel a.btn[href="/auth/google"]:focus { background: #e8eaed; }

/* --- flash + account cards --- */
body.auth-face .flash {
  background: #0a1528;
  border: 1px solid #2f7bff;
  color: #e7eef8;
  border-radius: 9px;
}
body.auth-face .card {
  background: #0a1528;
  border: 1px solid #1b2c49;
  border-radius: 12px;
  color: #e7eef8;
}
body.auth-face .card a { color: #7dd3fc; }
body.auth-face main .card label {
  font-family: "Segoe UI", Arial, Roboto, sans-serif;
  font-size: .8rem; font-weight: 600;
  letter-spacing: .02em; text-transform: none;
  color: #8fa3bf;
}
body.auth-face main .card input[type="text"],
body.auth-face main .card input[type="email"],
body.auth-face main .card input[type="password"],
body.auth-face main .card input[type="url"],
body.auth-face main .card input[type="number"],
body.auth-face main .card input[type="tel"],
body.auth-face main .card input[type="file"],
body.auth-face main .card input[type="date"],
body.auth-face main .card input[type="search"],
body.auth-face main .card textarea,
body.auth-face main .card select {
  background: #0c1730;
  border: 1px solid #1e3050;
  border-radius: 9px;
  color: #e7eef8;
}

/* --- footer furniture --- */
body.auth-face .site-footer,
body.auth-face footer {
  background: #081120;
  border-top: 1px solid #16263f;
  color: #8fa3bf;
}
body.auth-face .site-footer a,
body.auth-face footer a { color: #c6d4e8; }
body.auth-face .site-footer a:hover,
body.auth-face footer a:hover { color: #7dd3fc; }
body.auth-face .site-footer .muted,
body.auth-face footer .muted,
body.auth-face .fineprint { color: #63789a; }

/* --- cookie banner (inline-styled in the layout; face wins) --- */
body.auth-face #cookie-banner {
  background: #081120 !important;
  border-top: 1px solid #16263f;
  color: #c6d4e8 !important;
}
body.auth-face #cookie-banner a { color: #7dd3fc !important; }
