/* REFINED · Authentication. The auth pages use their own body classes (cew-auth). */
body.cew-auth .auth-header { align-items: center !important; }
body.cew-auth .cew-language-switcher.rd-in-header { margin: 0 0 0 auto !important; padding: 0 !important; position: static !important; }
body.cew-auth--register .cew-language-switcher.rd-in-header { margin: 0 16px 0 auto !important; }
body.cew-auth .auth-story-title { text-wrap: balance; }

/* 0.24.30 · Log in form tidy (25 Nov 2026). The theme's "approved 19 Nov" layer stacked a second eye icon and a
   second focus ring on the log-in form, and stretched the form to the photo's height (uneven gaps). One eye, one
   focus cue, even spacing - the same as Create account. */
body.cew-auth--login.auth-native #login #loginform { display: flex !important; flex-direction: column !important; justify-content: flex-start !important; gap: 20px !important; }
body.cew-auth--login.auth-native #login #loginform > p:first-child,
body.cew-auth--login.auth-native #login .user-pass-wrap,
body.cew-auth--login.auth-native #login .auth-native-options { margin: 0 !important; }
body.cew-auth--login.auth-native #login .submit { margin-top: 4px !important; }
body.cew-auth--login.auth-native #login .wp-hide-pw { background-image: none !important; right: 0 !important; border-radius: 11px !important; }
body.cew-auth--login.auth-native #login :is(#user_login, #user_pass):focus:not(.cew-invalid) { outline: none !important; border-color: transparent !important; box-shadow: none !important; }
body.cew-auth--login.auth-native #login :is(#user_login, #user_pass):focus-visible:not(.cew-invalid) { box-shadow: inset 0 -2px 0 #00757a !important; }
body.cew-auth--login.auth-native #login :is(#user_login, #user_pass).cew-invalid:focus { outline: none !important; }
body.cew-auth--login.auth-native #login { flex: 0 0 auto !important; }

/* 0.24.34 · Apple button height on Log in (26 Nov 2026). The approved Apple glyph box (39 x 44) sits in a 42 px wrapper,
   which with the log-in buttons' 8 px padding made "Continue with Apple" 60 px tall next to 44 px Google/Facebook.
   Keep the approved glyph size; give its wrapper the same 24 px as the other icons and centre the glyph in it. */
body.cew-auth--login .auth-providers .auth-provider-apple { height: 24px !important; overflow: visible; }
body.cew-auth--login .auth-providers .auth-provider-apple img { top: 50% !important; transform: translateY(-50%); }
