/* Customer sign-in: compact white surface, neutral fields and SwiftShop orange. */
html.swift-design body #customerSignInDialog{width:min(440px,calc(100vw - 32px))!important;border:1px solid #e8e8e8!important;border-radius:28px!important;color:#181818!important;box-shadow:0 24px 80px #00000026!important}
html.swift-design body #customerSignInDialog::backdrop{background:#17171785!important;backdrop-filter:blur(5px)}
html.swift-design body #customerSignInDialog>header{position:relative!important;display:flex!important;align-items:center!important;min-height:52px!important;box-sizing:border-box!important;padding:16px 22px 0!important;border:0!important;box-shadow:none!important;background:#fff!important}
html.swift-design body #customerSignInDialog #customerSignInContext{font:500 12px/1.5 system-ui,sans-serif!important;letter-spacing:0!important;color:#777!important;margin:0!important;padding-right:12px!important}
html.swift-design body #customerSignInDialog>header button{display:grid!important;place-items:center!important;flex:0 0 36px!important;width:36px!important;height:36px!important;min-height:36px!important;border:1px solid #e8e8e8!important;background:#fff!important;color:#333!important;font-size:23px!important;box-shadow:none!important;outline:none!important;border-radius:50%!important}
html.swift-design body #customerSignInDialog #authScreen #loginBox{padding:18px 28px 20px!important;text-align:left!important;color:#181818!important;border:0!important}
html.swift-design body #customerSignInDialog #authScreen #loginBox .sd-login-logo{display:block!important;width:48px!important;height:48px!important;object-fit:contain!important;border-radius:14px!important;margin:0 0 20px!important;box-shadow:none!important}
html.swift-design body #customerSignInDialog #authScreen #loginBox h2{font-size:29px!important;font-weight:750!important;line-height:1.2!important;letter-spacing:-.9px!important;color:#181818!important;margin:0 0 22px!important}
html.swift-design body #customerSignInDialog #authScreen #loginBox #customerAuthModes{display:flex!important;gap:6px!important;background:#f5f5f5!important;border:0!important;border-radius:12px!important;padding:4px!important;margin:0 0 16px!important}
html.swift-design body #customerSignInDialog #authScreen #loginBox #customerAuthModes button{font-size:14px!important;font-weight:600!important;min-height:44px!important;border-radius:9px!important;margin:0!important;color:#777!important;background:transparent!important;box-shadow:none!important}
html.swift-design body #customerSignInDialog #authScreen #loginBox #customerAuthModes button[aria-pressed=true]{background:#fff!important;color:#181818!important;box-shadow:0 1px 5px #0000000d!important}
html.swift-design body #customerSignInDialog #authScreen #loginBox #customerAuthModeHelp{font-size:13px!important;line-height:1.6!important;color:#777!important;margin:0 0 22px!important}
html.swift-design body #customerSignInDialog #authScreen #loginBox label{font-size:12px!important;line-height:1.5!important;font-weight:600!important;color:#333!important;margin:14px 0 0!important}
html.swift-design body #customerSignInDialog #authScreen #loginBox input{height:52px!important;border:1px solid #dedede!important;border-radius:12px!important;background:#fff!important;color:#171717!important;font-family:inherit!important;font-size:16px!important;font-weight:400!important;line-height:1.4!important;padding:0 14px!important;margin:7px 0 8px!important;box-shadow:none!important;outline:none!important}
html.swift-design body #customerSignInDialog #authScreen #loginBox input::placeholder{color:#aaa!important;opacity:1}
html.swift-design body #customerSignInDialog #authScreen #loginBox input:focus{border-color:#ff6a00!important;box-shadow:0 0 0 3px #ff6a0014!important}
html.swift-design body #customerSignInDialog #authScreen #loginBox button[onclick="handleLogin()"]{display:block!important;min-height:52px!important;margin:22px 0 0!important;border:0!important;border-radius:12px!important;background:#ff6a00!important;color:#fff!important;font-size:15px!important;font-weight:650!important;box-shadow:none!important}
html.swift-design body #customerSignInDialog #authScreen #loginBox #customerAuthRecover,html.swift-design body #customerSignInDialog #authScreen #loginBox #customerAuthChange{min-height:44px!important;margin:7px 0 0!important;background:transparent!important;color:#555!important;font-size:13px!important;font-weight:500!important}
html.swift-design body #customerSignInDialog #authScreen #loginBox .guest-continue-browsing{min-height:44px!important;margin:16px 0 0!important;border:1px solid #e5e5e5!important;border-radius:12px!important;background:#fff!important;color:#333!important;font-size:13px!important;font-weight:500!important}
html.swift-design body #customerSignInDialog .sq-login-privacy{padding:14px 20px 18px!important;margin:0!important;width:100%!important;box-sizing:border-box!important;border:0!important;border-top:1px solid #f0f0f0!important;font-size:11px!important;color:#888!important;line-height:1.5!important;text-align:center!important;background:#fff!important}
html.swift-design body #customerSignInDialog button:focus-visible{outline:2px solid #333!important;outline-offset:3px!important}html.swift-design body #customerSignInDialog>header button:focus:not(:focus-visible){outline:none!important}
html.swift-design body #customerSignInDialog #customerAuthStatus:empty{display:none!important}
@media(max-width:360px),(max-height:700px){html.swift-design body #customerSignInDialog #authScreen #loginBox{padding:12px 22px 18px!important}html.swift-design body #customerSignInDialog #authScreen #loginBox .sd-login-logo{width:40px!important;height:40px!important;margin-bottom:14px!important}html.swift-design body #customerSignInDialog #authScreen #loginBox h2{font-size:26px!important;margin-bottom:18px!important}}

/* Keep one accessible label per contact field and align the brand/footer. */
html.swift-design body #customerSignInDialog #authScreen #loginBox .sd-login-label{display:none!important}
html.swift-design body #customerSignInDialog #authScreen #loginBox .sd-login-logo{margin-left:auto!important;margin-right:auto!important}
html.swift-design body #customerSignInDialog>header{display:grid!important;grid-template-columns:36px minmax(0,1fr) 36px!important;gap:8px!important}
html.swift-design body #customerSignInDialog #customerSignInContext{grid-column:2!important;text-align:center!important;padding:0!important;width:100%!important;max-width:none!important}
html.swift-design body #customerSignInDialog>header button{grid-column:3!important;grid-row:1!important}
html.swift-design body #customerSignInDialog #authScreen .sq-login-privacy{display:block!important;float:none!important;position:static!important;inset:auto!important;transform:none!important;text-align:center!important;width:100%!important;max-width:none!important;margin:0 auto!important;padding:16px 20px!important}
