/* NEXUS sign-in dialog, scoped to native account form presentation. */
#tw247-signin-dialog .tw247-auth :is(h2){font-size:clamp(26px,3vw,34px);font-weight:750;letter-spacing:-.025em;line-height:1.2;color:#e8f4ff;text-align:center;margin:0 0 24px;padding:0}
#tw247-signin-dialog .tw247-auth form:is(.woocommerce-form-login,.woocommerce-form-register){display:flex!important;flex-direction:column;gap:16px;box-sizing:border-box;background:transparent!important;border:0!important;box-shadow:none!important;float:none!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important;color:#e8f4ff}
#tw247-signin-dialog .tw247-auth form:is(.woocommerce-form-login,.woocommerce-form-register)>:is(p,.form-row){float:none!important;clear:both;width:100%;max-width:100%;min-width:0;box-sizing:border-box;margin:0!important;padding:0!important;line-height:1.55;color:#a9bcd1;font-size:14px}
#tw247-signin-dialog .tw247-auth form label:not(.woocommerce-form__label-for-checkbox){display:block;font-size:14px;font-weight:600;color:#e8f4ff;margin:0 0 7px;line-height:1.45}
#tw247-signin-dialog .tw247-auth form :is(input.input-text,input.woocommerce-Input){width:100%!important;max-width:100%;min-height:48px;box-sizing:border-box;border:1px solid #61778e!important;border-radius:9px!important;background:#080f1b!important;color:#e8f4ff!important;padding:12px 14px;font-size:16px;box-shadow:none!important}
#tw247-signin-dialog .tw247-auth form .password-input{display:block;position:relative;width:100%;min-width:0}
#tw247-signin-dialog .tw247-auth form .password-input input{padding-right:48px}
#tw247-signin-dialog .tw247-auth form .show-password-input{right:13px;top:50%;transform:translateY(-50%);color:#a9bcd1}
#tw247-signin-dialog .tw247-auth form .woocommerce-form-login__rememberme{display:flex;align-items:center;gap:8px;margin:0 0 14px;color:#a9bcd1;font-size:14px;font-weight:400;line-height:1.5}
#tw247-signin-dialog .tw247-auth form input[type=checkbox]{accent-color:#00d9ff;width:16px;height:16px;flex:0 0 16px;margin:0}
#tw247-signin-dialog .tw247-auth form button:is([name=login],[name=register]){display:block!important;float:none!important;width:100%!important;min-height:48px;margin:0!important;padding:12px 16px!important;border-radius:9px!important;font-size:15px;letter-spacing:.015em;line-height:1.4;box-shadow:0 5px 20px #00d9ff19!important}
#tw247-signin-dialog .tw247-auth form button:is([name=login],[name=register]):not(:disabled):hover{background:#8eeeff!important;border-color:#8eeeff!important}
#tw247-signin-dialog .tw247-auth form .lost_password{text-align:center;font-size:13px}
#tw247-signin-dialog .tw247-auth form a{color:#00d9ff}
#tw247-signin-dialog .tw247-auth :is(input,button,a):focus-visible{outline:2px solid #00d9ff!important;outline-offset:3px}
#tw247-signin-dialog .tw247-auth form.woocommerce-form-login>.googlesitekit-sign-in-with-google__frontend-output-button{order:100;width:100%!important;max-width:100%!important;margin:4px 0 0!important;box-sizing:border-box;padding:0!important;display:flex;flex-direction:column;align-items:center;gap:16px;min-width:0}
#tw247-signin-dialog .tw247-auth form.woocommerce-form-login>.googlesitekit-sign-in-with-google__frontend-output-button::before{content:"or continue with";display:block;width:100%;text-align:center;color:#a9bcd1;font-size:12px;font-weight:500;line-height:20px;background:linear-gradient(#34485e,#34485e) left center/28% 1px no-repeat,linear-gradient(#34485e,#34485e) right center/28% 1px no-repeat}
#tw247-signin-dialog .tw247-auth form.woocommerce-form-register{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
#tw247-signin-dialog .tw247-auth form.woocommerce-form-register>*{grid-column:1/-1;min-width:0}
#tw247-signin-dialog .tw247-auth form.woocommerce-form-register>.tw247-registration-first_name{grid-column:1}
#tw247-signin-dialog .tw247-auth form.woocommerce-form-register>.tw247-registration-last_name{grid-column:2}
#tw247-signin-dialog .tw247-auth label .required{color:#ff7188}
html.tw247-signin-open{overflow:hidden}
#tw247-signin-dialog{position:fixed;inset:0;margin:auto;width:min(460px,calc(100% - 24px));max-width:calc(100% - 24px);max-height:calc(100% - 24px);box-sizing:border-box;padding:clamp(20px,4vw,32px);overflow:auto;overscroll-behavior:contain;border:1px solid #34485e;border-top-color:#00d9ff;border-radius:20px;background:linear-gradient(155deg,#15263a,#101d2d 55%,#0b1523);box-shadow:0 24px 90px #000b;color:#e8f4ff;color-scheme:dark;font-family:inherit;text-align:left}
#tw247-signin-dialog:not([open]),#tw247-auth-progress[hidden]{display:none!important}
#tw247-signin-dialog::backdrop{background:rgba(5,9,19,.76);backdrop-filter:blur(5px)}
#tw247-signin-dialog *,#tw247-auth-progress *{box-sizing:border-box}
#tw247-signin-dialog .tw247-dialog-auth{width:100%;min-width:0;margin:0;padding:0;border:0;background:none;color:#e8f4ff}
#tw247-signin-dialog .tw247-signin-close{position:absolute;right:12px;top:12px;width:36px;height:36px;padding:8px;display:grid;place-items:center;border:1px solid #34485e;border-radius:9px;background:#0b1523!important;color:#e8f4ff!important;box-shadow:none!important;cursor:pointer}
#tw247-signin-dialog .tw247-signin-close svg{width:19px;height:19px}
#tw247-signin-dialog .tw247-signin-brand{display:flex;justify-content:center;align-items:center;gap:7px;margin:0 20px 12px;color:#e8f4ff;font-weight:800;letter-spacing:-.02em;line-height:1.1}
#tw247-signin-dialog .tw247-signin-brand img{width:76px;height:auto;object-fit:contain;margin:0}
#tw247-signin-dialog .tw247-signin-brand strong{color:#00d9ff}
#tw247-signin-dialog .tw247-signin-brand small{display:block;color:#91a7be;font-size:9px;letter-spacing:.2em;margin-top:5px}
#tw247-signin-dialog .tw247-auth h2{font-size:28px;margin:0 0 6px;color:#e8f4ff}
#tw247-signin-dialog .tw247-signin-intro{margin:0 0 20px;color:#a9bcd1;text-align:center;font-size:13px;line-height:1.5}
#tw247-signin-dialog .tw247-auth form.woocommerce-form-login{gap:13px}
#tw247-signin-dialog .tw247-dialog-password-wrap{position:relative;display:block}
#tw247-signin-dialog .tw247-dialog-password-wrap input{padding-right:68px!important}
#tw247-signin-dialog .tw247-password-toggle{position:absolute;right:7px;top:50%;transform:translateY(-50%);border:0!important;background:transparent!important;color:#a9bcd1!important;font-size:12px;font-weight:600;padding:7px;box-shadow:none!important;cursor:pointer}
#tw247-signin-dialog .tw247-auth form button[name=login]{background:#00d9ff!important;color:#050913!important;border:1px solid #00d9ff!important;font-weight:750;cursor:pointer}
#tw247-signin-dialog a{color:#00d9ff!important;text-decoration:underline;text-underline-offset:3px}
#tw247-signin-dialog a:hover{color:#8eeeff!important}
#tw247-signin-dialog .googlesitekit-sign-in-with-google__frontend-output-button{width:100%!important;max-width:100%!important;margin:16px 0 0!important;display:flex;flex-direction:column;align-items:center;gap:13px;min-width:0}
#tw247-signin-dialog .googlesitekit-sign-in-with-google__frontend-output-button::before{content:'or continue with';display:block;width:100%;text-align:center;color:#a9bcd1;font-size:12px;line-height:20px;background:linear-gradient(#34485e,#34485e) left center/28% 1px no-repeat,linear-gradient(#34485e,#34485e) right center/28% 1px no-repeat}
#tw247-signin-dialog .tw247-auth-switch{text-align:center;border-top:1px solid #34485e;padding-top:15px;margin:18px 0 0;color:#a9bcd1;font-size:14px;line-height:1.5}
#tw247-signin-dialog .tw247-signin-links{display:flex;flex-wrap:wrap;gap:8px 16px;justify-content:center;margin:15px 0 0;font-size:12px;line-height:1.5}
#tw247-signin-dialog :is(a,button,input):focus-visible{outline:2px solid #00d9ff!important;outline-offset:3px}
#tw247-auth-progress{position:fixed;z-index:2147483000;inset:0;display:grid;place-items:center;padding:16px;background:rgba(5,9,19,.74);backdrop-filter:blur(5px);color:#e8f4ff;text-align:center;pointer-events:auto}
#tw247-auth-progress .tw247-auth-progress-card{width:min(360px,100%);border:1px solid #34485e;border-top-color:#00d9ff;border-radius:20px;padding:28px 22px;background:linear-gradient(145deg,#15263a,#0b1523);box-shadow:0 22px 70px #0009;display:flex;flex-direction:column;align-items:center;gap:12px;color:#e8f4ff}
#tw247-auth-progress .tw247-auth-orbit{width:106px;height:106px;position:relative;display:grid;place-items:center;margin-bottom:4px}
#tw247-auth-progress .tw247-auth-orbit::before{content:'';position:absolute;inset:0;border:3px solid #34485e;border-top-color:#00d9ff;border-right-color:#ed36a9;border-radius:50%;animation:tw247-auth-spin 1s linear infinite}
#tw247-auth-progress .tw247-auth-orbit img{width:91px;height:auto;max-height:83px;object-fit:contain;position:relative}
#tw247-auth-progress strong{font-size:21px;font-weight:750;line-height:1.25;color:#e8f4ff}
#tw247-auth-progress span[data-tw247-auth-progress-note]{color:#a9bcd1;font-size:13px;line-height:1.5}
#tw247-auth-progress .tw247-auth-progress-line{width:100%;max-width:210px;height:3px;overflow:hidden;border-radius:3px;background:#34485e;margin-top:5px}
#tw247-auth-progress .tw247-auth-progress-line::before{content:'';display:block;height:100%;width:42%;background:linear-gradient(90deg,#00d9ff,#ed36a9);animation:tw247-auth-track 1.5s ease-in-out infinite alternate}
/* Provider focus and clicks must remain available while Google owns its UI. */
#tw247-auth-progress.tw247-progress-google{background:none;backdrop-filter:none;pointer-events:none;place-items:end center;padding:12px}
#tw247-auth-progress.tw247-progress-google .tw247-auth-progress-card{width:min(350px,100%);padding:14px;gap:5px}
#tw247-auth-progress.tw247-progress-google .tw247-auth-orbit{width:46px;height:46px;margin:0}
#tw247-auth-progress.tw247-progress-google .tw247-auth-orbit img{width:40px;height:auto}
#tw247-auth-progress.tw247-progress-google strong{font-size:16px}
@keyframes tw247-auth-spin{to{transform:rotate(360deg)}}
@keyframes tw247-auth-track{to{transform:translateX(138%)}}
@media(prefers-reduced-motion:reduce){#tw247-auth-progress .tw247-auth-orbit::before,#tw247-auth-progress .tw247-auth-progress-line::before{animation:none}}
@media(max-width:380px){#tw247-signin-dialog{padding:18px 15px}#tw247-signin-dialog .tw247-auth h2{font-size:24px}}
