/* LOGIN L1 START */
/* nxw_login_l1.css - sign-in box LAYOUT 1, mockup A (approved 2026-11-12). Linked right after nxw_login.css by
   nxw_login_head(code, css = "nxw/nxw_login_l1.css"). Every rule starts with #nxwLg (or html.nxw-lg-on), as nxw_login.css.
   1 LOGO       the whole app logo (nxw_login_ui brand_img, img.nxw-lg-wslogo) in place of the inline mark + 2 lines
   2 COLOURS    accent #1F4FD1 (top 3 px line, active tab); Sign in and Back to sign in green #12A15A;
                Continue as guest, Send request and Confirm my email solid blue #1F4FD1
   3 FORGOT     administrator contact line with a mailto button under the dashed box (nxw_login_ui contact)
   4 PHONE      the floating chat bubble (.appl1_sgpt_float_box) hidden while the sign-in box is open
   5 PC         security question row and method tabs fill the full field width */

/* ---- 2 colours: Layout 1 accent ---- */
#nxwLg.nxw-lg { --a:#1F4FD1; --a-hi:#1A43B3; --l1-green:#12A15A; --l1-green-hi:#0C8548; }
#nxwLg .nxw-lg-box { border-top:3px solid #1F4FD1; }
#nxwLg .nxw-lg-tabs button.on { background:#1F4FD1; color:#fff; }
/* main Sign in (password and fingerprint) and Back to sign in: green */
#nxwLg .nxw-lg-go[data-go="pw"], #nxwLg .nxw-lg-go[data-go="fp"], #nxwLg .nxw-lg-go[data-go="back"] { background:var(--l1-green); color:#fff; }
#nxwLg .nxw-lg-go[data-go="pw"]:hover, #nxwLg .nxw-lg-go[data-go="fp"]:hover, #nxwLg .nxw-lg-go[data-go="back"]:hover { background:var(--l1-green-hi); }
/* Send request / Confirm my email: solid blue */
#nxwLg .nxw-lg-go[data-go="up"], #nxwLg .nxw-lg-go[data-go="pin"] { background:#1F4FD1; color:#fff; }
#nxwLg .nxw-lg-go[data-go="up"]:hover, #nxwLg .nxw-lg-go[data-go="pin"]:hover { background:#1A43B3; }
/* Continue as guest: solid blue, white text */
#nxwLg .nxw-lg-guest { height:48px; border:0; background:#1F4FD1; color:#fff; }
#nxwLg .nxw-lg-guest:hover { border:0; background:#1A43B3; color:#fff; }

/* ---- 1 logo: the whole logo image, height set, width from its ratio, never cropped ---- */
#nxwLg .nxw-lg-brand { display:flex; align-items:center; justify-content:flex-start; gap:0; overflow:visible; padding:0 0 16px; margin:0 0 18px; border-bottom:1px solid #1f3768; }
/* iobs_starter.css hides every img of the brand area (#nxwLg .nxw-lg-brand img { visibility:hidden }): shown again for the app logo */
#nxwLg .nxw-lg-brand img.nxw-lg-wslogo { visibility:visible; opacity:1; }
#nxwLg .nxw-lg-brand .nxw-lg-wslogo { display:block; flex:none; height:72px; width:auto; max-width:100%; object-fit:contain; object-position:left center; overflow:visible; }

/* ---- 3 forgot: administrator contact under the dashed box ---- */
#nxwLg .nxw-lg-contact { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin:0 0 14px; }
#nxwLg .nxw-lg-contact > span { font-size:13.5px; font-weight:400; line-height:1.5; color:#aab6cc; }
#nxwLg .nxw-lg-contact a.nxw-lg-mail { display:inline-flex; align-items:center; gap:8px; height:40px; padding:0 16px; border:1px solid #2c4a83; border-radius:8px; background:transparent;
  color:#9cbcf5; font-size:13.5px; font-weight:600; line-height:1; letter-spacing:.02em; text-decoration:none; cursor:pointer; white-space:nowrap; }
#nxwLg .nxw-lg-contact a.nxw-lg-mail:hover { border-color:#5b8fe8; color:#fff; background:rgba(91,143,232,.1); }
#nxwLg .nxw-lg-contact a.nxw-lg-mail svg { display:block; width:18px; height:18px; flex:none; }

/* ---- 4 phone: no floating bubble over the sign-in box ---- */
html.nxw-lg-on .appl1_sgpt_float_box { display:none !important; }

/* ---- 5 security question: picture | refresh | answer, equal 10 px gaps, full field width ---- */
#nxwLg .nxw-lg-cap-row { display:grid; grid-template-columns:minmax(0, 1fr) 48px minmax(0, 1fr); gap:10px; align-items:stretch; width:100%; }
#nxwLg .nxw-lg-cap-row canvas { width:100% !important; height:48px !important; object-fit:contain; }
/* method tabs: full width of the fields, 3 equal tabs */
#nxwLg .nxw-lg-tabs { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); align-self:stretch; width:100%; max-width:100%; }
#nxwLg .nxw-lg-tabs button { width:100%; padding:0 6px; }

@media (max-width:860px) {
  #nxwLg .nxw-lg-brand .nxw-lg-wslogo { height:56px; }
}
@media (max-width:420px) {
  #nxwLg .nxw-lg-cap-row { grid-template-columns:minmax(0, 1fr) 48px minmax(0, 1fr); gap:10px; }
  #nxwLg .nxw-lg-contact { justify-content:center; text-align:center; }
}
/* LOGIN L1 END */
