/* Presentation for native FluentAuth sign-in and the Woo account entry. */
body.lsb-customer-login,
body.lsb-member-login {
  --lsb-login-navy:#182d65;
  --lsb-login-surface:#edf3fa;
  background:#43558b url('topography.jpg') center/cover fixed;
}
body.lsb-customer-login { min-height:100vh; color:#293548; }
body.lsb-customer-login::before { content:""; position:absolute; inset:0 0 auto; height:108px; background:var(--lsb-login-navy); border-bottom:4px solid #d16014; }
body.lsb-customer-login #login { position:relative; box-sizing:border-box; width:min(100%,420px); margin:0 auto; padding:156px 20px 40px; }
body.lsb-customer-login #login h1 { position:absolute; top:18px; left:20px; right:20px; }
body.lsb-customer-login #login h1 a { width:100%; height:64px; margin:0; background-image:var(--lsb-login-logo,none); background-position:center; background-size:contain; color:white; text-decoration:none; font-size:24px; line-height:1.3; text-indent:0; display:flex; align-items:center; justify-content:center; }
body.lsb-customer-login #login h1 a:has(img) { font-size:0; }
body.lsb-customer-login #loginform { margin:0; padding:26px; border:1px solid #dce2ee; border-radius:2px; background:#fff; box-shadow:0 8px 28px #14234826; }
body.lsb-customer-login .lsb-login-heading { margin:0 0 22px; }
body.lsb-customer-login .lsb-login-heading h2 { margin:0; padding-bottom:12px; border-bottom:1px solid #dce2ee; color:var(--lsb-login-navy); font-size:25px; line-height:1.2; }
body.lsb-customer-login .lsb-login-heading nav { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px 14px; padding-top:10px; }
body.lsb-customer-login .lsb-login-heading a { color:var(--lsb-login-navy); font-size:13px; line-height:1.5; text-decoration:underline; text-underline-offset:3px; }
body.lsb-customer-login #loginform:has(.lsb-employee-login) #wpo365OpenIdRedirect,
body.lsb-customer-login #login:has(.lsb-login-heading) #backtoblog { display:none; }
body.lsb-customer-login #loginform .lsb-passkey-login-help { margin:0 0 12px; color:#586273; font-size:14px; line-height:1.65; }
body.lsb-customer-login #loginform label { display:block; margin-bottom:7px; color:#293548; font-size:14px; font-weight:600; }
body.lsb-customer-login #loginform .fls_magic_text { margin:0 0 20px; color:#586273; font-size:14px; line-height:1.65; }
body.lsb-customer-login #loginform #fls_magic_logon { box-sizing:border-box; width:100%; min-height:48px; margin:0 0 18px; padding:10px 12px 10px 43px; border:1px solid #c9d6e7; border-radius:2px; background:var(--lsb-login-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23182d65' stroke-width='1.5'%3E%3Crect x='3' y='5' width='18' height='14' rx='1'/%3E%3Cpath d='m3 6 9 7 9-7'/%3E%3C/svg%3E") 13px center/19px no-repeat; color:#293548; font-size:16px; line-height:1.5; box-shadow:none; }
body.lsb-customer-login #loginform #fls_magic_submit,
body.lsb-customer-login #loginform .fls_magic_show_btn,
body.lsb-customer-login #loginform #fls_passkey_login_button { box-sizing:border-box; display:flex; align-items:center; justify-content:center; gap:9px; width:100%; min-height:46px; padding:11px 14px; border:1px solid var(--lsb-login-navy); border-radius:2px; background:var(--lsb-login-navy); color:#fff; font-size:14px; font-weight:600; line-height:1.5; text-decoration:none; box-shadow:none; text-shadow:none; cursor:pointer; }
/* Keep the header and enabled passkey method visible in native email-link mode. */
body.lsb-customer-login #loginform.showing_magic_form > .lsb-login-heading,
body.lsb-customer-login #loginform.showing_magic_form > #fls_passkey_login:not([style*="display"]) { display:block!important; }
body.lsb-customer-login #loginform #fls_passkey_login_button { border-color:#bdc9dd!important; background:#fff!important; color:var(--lsb-login-navy)!important; border-radius:2px!important; }
body.lsb-customer-login #loginform #fls_magic_submit::before { content:""; width:18px; height:18px; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.7'%3E%3Cpath d='M13 3h7v18h-7M3 12h12m-4-4 4 4-4 4'/%3E%3C/svg%3E") center/contain no-repeat; }
body.lsb-customer-login #loginform #fls_magic_submit:hover,
body.lsb-customer-login #loginform .fls_magic_show_btn:hover { background:#29477f; }
body.lsb-customer-login #loginform #fls_passkey_login_button:hover { background:#edf3fa!important; }
body.lsb-customer-login #loginform .fls_magic-or { margin:18px 0; color:#697488; font-size:12px; }
body.lsb-customer-login #loginform .fls_magic-or span { background:#fff; }
body.lsb-customer-login .privacy-policy-page-link { display:grid; justify-items:center; gap:8px; margin:20px 0 0; }
body.lsb-customer-login #nav:not(:has(a:not(.wp-login-lost-password))) { display:none; }
body.lsb-customer-login #nav,
body.lsb-customer-login #backtoblog { padding:0; text-align:center; }
body.lsb-customer-login #nav a,
body.lsb-customer-login #backtoblog a,
body.lsb-customer-login .privacy-policy-link { color:#fff; text-decoration:underline; text-underline-offset:3px; }
body.lsb-customer-login #login :is(.message,.notice,#login_error) { box-sizing:border-box; margin-bottom:18px; font-size:14px; line-height:1.6; }
body.lsb-customer-login :is(a,input,button):focus-visible { outline:3px solid #eca72c; outline-offset:3px; }
body.lsb-customer-login .language-switcher { padding:0 20px 24px; }
body.lsb-customer-login .language-switcher label { color:#fff; }
body.lsb-member-login #content,
body.lsb-member-login .site-content,
body.lsb-member-login .lsb-member-layout { background:transparent; }
body.lsb-member-login .lsb-member-account .lsb-customer-sign-in { box-sizing:border-box; width:min(100%,390px); margin:38px auto 56px; padding:28px; border:1px solid #dce2ee; border-radius:2px; background:#fff; box-shadow:0 8px 28px #14234826; }
body.lsb-member-login .lsb-customer-sign-in h2 { margin:0 0 12px; color:var(--lsb-login-navy); font-size:24px; }
body.lsb-member-login .lsb-customer-sign-in p { margin:0 0 20px; color:#586273; font-size:14px; line-height:1.65; }
body.lsb-member-login .lsb-customer-sign-in p:last-child { margin-bottom:0; }
body.lsb-member-login .lsb-customer-sign-in a.button { display:flex; align-items:center; justify-content:center; gap:9px; width:100%; min-height:46px; padding:11px 14px; border:1px solid var(--lsb-login-navy); border-radius:2px; background:var(--lsb-login-navy); color:#fff; font-size:14px; font-weight:600; text-decoration:none; }
body.lsb-member-login .lsb-login-door-icon { flex-shrink:0; width:18px; height:18px; }
@media (max-width:480px) {
  body.lsb-customer-login #login { padding-top:138px; }
  body.lsb-customer-login #loginform { padding:22px; }
  body.lsb-member-login .lsb-member-account .lsb-customer-sign-in { margin:24px auto 40px; padding:22px; }
}
