/* Public sign-in component. Visuals copied from the Candidate/Employer account glass toggle.
 * Separate scoped selectors avoid old authentication checkbox rules and keep portal assets isolated. */
:is(.sh-auth-page,.sh-session-surface) .sh-login-memory{--sh-green:#006837;--sh-green-dark:#004e2a;--sh-green-deep:#003a20;--sh-gold:#d5be52;--sh-text:#17201b;--sh-muted:#6a746e;--sh-border:#dfe6e1;--sh-surface:#fff;--sh-soft-green:#eef3f0;display:grid;gap:12px;width:100%}
:is(.sh-auth-page,.sh-session-surface) .sh-login-memory>label{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:24px;min-height:76px;padding:16px 18px 16px 20px;background:radial-gradient(circle at 100% 0%,rgba(0,104,55,.055),transparent 42%),linear-gradient(135deg,rgba(255,255,255,.98),rgba(248,251,249,.98));border:1px solid rgba(0,104,55,.12);border-radius:18px;box-shadow:0 1px 2px rgba(23,32,27,.03),0 8px 24px rgba(23,32,27,.045);cursor:pointer;overflow:hidden;transition:border-color .25s ease,box-shadow .25s ease,transform .25s ease,background .25s ease}
:is(.sh-auth-page,.sh-session-surface) .sh-login-memory>label::before{content:"";position:absolute;left:0;top:16px;bottom:16px;width:3px;border-radius:0 10px 10px 0;background:linear-gradient(180deg,var(--sh-green) 0%,var(--sh-green) 72%,var(--sh-gold) 100%);opacity:0;transform:scaleY(.45);transform-origin:center;transition:opacity .25s ease,transform .3s cubic-bezier(.2,.8,.2,1)}
:is(.sh-auth-page,.sh-session-surface) .sh-login-memory>label:hover{border-color:rgba(0,104,55,.22);box-shadow:0 2px 4px rgba(23,32,27,.035),0 12px 30px rgba(0,104,55,.075);transform:translateY(-1px)}
:is(.sh-auth-page,.sh-session-surface) .sh-login-memory>label>span{order:1;min-width:0;display:flex;flex-direction:column;gap:4px}
:is(.sh-auth-page,.sh-session-surface) .sh-login-memory>label b{display:block;margin:0;color:var(--sh-text);font-size:15px;font-weight:800;line-height:1.25;letter-spacing:-.015em;transition:color .25s ease}
:is(.sh-auth-page,.sh-session-surface) .sh-login-memory>label small{display:block;margin:0;color:var(--sh-muted);font-size:13px;font-weight:500;line-height:1.45}
:is(.sh-auth-page,.sh-session-surface) .sh-login-memory input[type="checkbox"]{order:2;-webkit-appearance:none;appearance:none;position:relative;width:76px;min-width:76px;max-width:76px;height:40px;min-height:40px;padding:0;margin:0;border:1px solid rgba(23,32,27,.14);border-radius:999px;background:linear-gradient(180deg,#e9eeeb 0%,#dde5e0 100%);box-shadow:inset 3px 3px 8px rgba(23,32,27,.10),inset -2px -2px 6px rgba(255,255,255,.85),0 1px 2px rgba(23,32,27,.08);cursor:pointer;outline:none;transition:background .4s ease,border-color .4s ease,box-shadow .4s ease}
:is(.sh-auth-page,.sh-session-surface) .sh-login-memory input[type="checkbox"]::before{content:"";position:absolute;z-index:2;top:3px;left:3px;width:32px;height:32px;border-radius:50%;background:radial-gradient(circle at 50% 50%,rgba(213,190,82,.9) 0 2px,transparent 2.5px),repeating-linear-gradient(135deg,rgba(255,255,255,.16) 0,rgba(255,255,255,.16) 2px,rgba(0,0,0,.025) 2px,rgba(0,0,0,.025) 4px),linear-gradient(145deg,rgba(255,255,255,.98),rgba(232,239,235,.9));border:1px solid rgba(255,255,255,.9);box-shadow:inset 1px 1px 2px rgba(255,255,255,.95),inset -2px -2px 5px rgba(0,58,32,.08),0 3px 8px rgba(23,32,27,.22);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);transition:transform .42s cubic-bezier(.2,.85,.2,1),background .3s ease,box-shadow .3s ease}
:is(.sh-auth-page,.sh-session-surface) .sh-login-memory input[type="checkbox"]::after{content:"OFF";position:absolute;z-index:1;right:8px;top:50%;transform:translateY(-50%);color:#7b8981;font-size:8px;font-weight:900;line-height:1;letter-spacing:.06em;pointer-events:none;transition:color .3s ease,opacity .3s ease}
:is(.sh-auth-page,.sh-session-surface) .sh-login-memory input[type="checkbox"]:checked{border-color:rgba(0,78,42,.9);background:radial-gradient(circle at 84% 50%,rgba(213,190,82,.23) 0%,transparent 38%),linear-gradient(135deg,var(--sh-green-deep) 0%,var(--sh-green-dark) 42%,var(--sh-green) 100%);box-shadow:inset 5px 4px 10px rgba(0,0,0,.25),inset -2px -2px 7px rgba(255,255,255,.08),0 4px 12px rgba(0,104,55,.16)}
:is(.sh-auth-page,.sh-session-surface) .sh-login-memory input[type="checkbox"]:checked::before{transform:translateX(36px);background:radial-gradient(circle at 50% 50%,var(--sh-gold) 0 2.5px,transparent 3px),repeating-linear-gradient(135deg,rgba(255,255,255,.20) 0,rgba(255,255,255,.20) 2px,rgba(0,58,32,.045) 2px,rgba(0,58,32,.045) 4px),linear-gradient(145deg,rgba(255,255,255,.98),rgba(226,238,232,.94));box-shadow:inset 1px 1px 3px rgba(255,255,255,1),inset -2px -2px 5px rgba(0,104,55,.09),0 4px 11px rgba(0,0,0,.25),0 0 0 1px rgba(213,190,82,.15)}
:is(.sh-auth-page,.sh-session-surface) .sh-login-memory input[type="checkbox"]:checked::after{content:"ON";left:9px;right:auto;color:rgba(255,255,255,.95);text-shadow:0 0 8px rgba(255,255,255,.3)}
:is(.sh-auth-page,.sh-session-surface) .sh-login-memory>label:has(input[type="checkbox"]:checked){border-color:rgba(0,104,55,.18);background:radial-gradient(circle at 100% 0%,rgba(0,104,55,.085),transparent 40%),linear-gradient(135deg,#fff 0%,#f8fbf9 100%)}
:is(.sh-auth-page,.sh-session-surface) .sh-login-memory>label:has(input[type="checkbox"]:checked)::before{opacity:1;transform:scaleY(1)}
:is(.sh-auth-page,.sh-session-surface) .sh-login-memory>label:has(input[type="checkbox"]:checked) b{color:var(--sh-green-dark)}
:is(.sh-auth-page,.sh-session-surface) .sh-login-memory input[type="checkbox"]:focus-visible{box-shadow:0 0 0 3px #fff,0 0 0 6px rgba(0,104,55,.24),inset 4px 4px 10px rgba(0,0,0,.16)}
@media(max-width:600px){:is(.sh-auth-page,.sh-session-surface) .sh-login-memory{gap:10px}:is(.sh-auth-page,.sh-session-surface) .sh-login-memory>label{min-height:72px;gap:14px;padding:15px 14px 15px 17px;border-radius:16px}:is(.sh-auth-page,.sh-session-surface) .sh-login-memory>label b{font-size:14px}:is(.sh-auth-page,.sh-session-surface) .sh-login-memory>label small{font-size:12px;line-height:1.4}:is(.sh-auth-page,.sh-session-surface) .sh-login-memory input[type="checkbox"]{transform:scale(.92);transform-origin:right center}}
@media(prefers-reduced-motion:reduce){:is(.sh-auth-page,.sh-session-surface) .sh-login-memory *,:is(.sh-auth-page,.sh-session-surface) .sh-login-memory *::before,:is(.sh-auth-page,.sh-session-surface) .sh-login-memory *::after{transition-duration:.01ms!important}}
@media(forced-colors:active){:is(.sh-auth-page,.sh-session-surface) .sh-login-memory input[type="checkbox"]{appearance:auto;-webkit-appearance:checkbox}:is(.sh-auth-page,.sh-session-surface) .sh-login-memory input[type="checkbox"]::before,:is(.sh-auth-page,.sh-session-surface) .sh-login-memory input[type="checkbox"]::after{display:none}:is(.sh-auth-page,.sh-session-surface) .sh-login-memory input[type="checkbox"]:focus-visible{outline:2px solid Highlight;outline-offset:3px}}

:is(.sh-auth-page,.sh-session-surface) .sh-login-options{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;grid-column:1/-1;min-width:0;width:100%;margin:0;padding:0;font-family:Roboto,Arial,sans-serif}
:is(.sh-auth-page,.sh-session-surface) .sh-login-options *,:is(.sh-auth-page,.sh-session-surface) .sh-login-options *::before,:is(.sh-auth-page,.sh-session-surface) .sh-login-options *::after{box-sizing:border-box}
:is(.sh-auth-page,.sh-session-surface) .sh-login-memory>label{margin:0;min-height:72px;padding:14px 16px;gap:14px;overflow:visible;float:none;width:100%;font-family:Roboto,Arial,sans-serif}
:is(.sh-auth-page,.sh-session-surface) .sh-login-memory>label>span{margin:0;padding:0;white-space:normal}
:is(.sh-auth-page,.sh-session-surface) .sh-login-memory>label b{font-family:Roboto,Arial,sans-serif;font-size:14px;line-height:1.4;overflow-wrap:anywhere}
:is(.sh-auth-page,.sh-session-surface) .sh-login-memory input[type="checkbox"]{display:block;flex:none;max-height:40px;float:none;opacity:1;visibility:visible;inset:auto;box-sizing:border-box;font-family:Roboto,Arial,sans-serif}
:is(.sh-auth-page,.sh-session-surface) .sh-login-options__recovery{display:inline-flex;align-items:center;justify-self:end;min-height:44px;margin:0;padding:4px 0;color:#006837;font:700 13px/1.4 Roboto,Arial,sans-serif;text-decoration:none;text-align:right}
:is(.sh-auth-page,.sh-session-surface) .sh-login-options__recovery:hover{color:#004e2a;text-decoration:underline}
:is(.sh-auth-page,.sh-session-surface) .sh-login-options__recovery:focus-visible{outline:3px solid #d5be52;outline-offset:3px;border-radius:4px}
@media(max-width:380px){:is(.sh-auth-page,.sh-session-surface) .sh-login-memory>label{gap:10px;padding:12px}:is(.sh-auth-page,.sh-session-surface) .sh-login-memory>label b{font-size:13px}}
:is(.sh-auth-page,.sh-session-surface) .sh-login-memory,:is(.sh-auth-page,.sh-session-surface) .sh-login-memory *,:is(.sh-auth-page,.sh-session-surface) .sh-login-memory *::before,:is(.sh-auth-page,.sh-session-surface) .sh-login-memory *::after{box-sizing:border-box}
