/* Native WordPress login and password recovery, styled to match Siren's front-end login. */
body:is(.siren-recovery-page,.siren-native-login){background:#fff;color:#404040;font-size:15px;line-height:1.5}
:is(.siren-recovery-page,.siren-native-login) #login{width:400px;max-width:100%;margin:0 auto;padding:20px 0;text-align:center;font-family:var(--siren-font,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif)}
:is(.siren-recovery-page,.siren-native-login) #login .wp-login-logo{margin:20px 0 28px;padding-top:25px}
:is(.siren-recovery-page,.siren-native-login) #login .wp-login-logo a{display:block;width:85px;height:85px;margin:0 auto;padding:0;border-radius:50%;background:url('../../images/none.png') center/contain no-repeat}
:is(.siren-recovery-page,.siren-native-login) #login form{width:300px;max-width:calc(100% - 32px);margin:20px auto 0;padding:0;background:transparent;border:0;box-shadow:none;overflow:visible;text-align:left;font-weight:400}
:is(.siren-recovery-page,.siren-native-login) #login form p{margin:0 0 18px}
:is(.siren-recovery-page,.siren-native-login) #login label{display:block;margin:0 0 8px;font-size:14px;color:#666}
:is(.siren-recovery-page,.siren-native-login) #login input[type=text],:is(.siren-recovery-page,.siren-native-login) #login input[type=password]{box-sizing:border-box;width:100%;min-height:44px;margin:0 0 6px;padding:12px 10px;border:1px solid #ddd;border-radius:3px;background:#fff;color:#404040;font:300 14px/1.4 var(--siren-font,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif);box-shadow:none}
:is(.siren-recovery-page,.siren-native-login) #login .button{float:none;box-sizing:border-box;width:100%;min-height:44px;padding:10px;border:1px solid #ddd;border-radius:3px;background:#eee;color:#666;font:300 14px/1.5 var(--siren-font,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif);box-shadow:none;text-shadow:none;white-space:normal;cursor:pointer;transition:background-color .2s,border-color .2s,color .2s}
:is(.siren-recovery-page,.siren-native-login) #login .button:hover{background:#e67474;border-color:#e67474;color:#fff}
:is(.siren-recovery-page,.siren-native-login) #login .button:disabled{opacity:.55;cursor:not-allowed}
:is(.siren-recovery-page,.siren-native-login) #login :is(input,button,a):focus-visible{outline:2px solid var(--siren-accent,#fe9600);outline-offset:3px}
:is(.siren-recovery-page,.siren-native-login) #login :is(.message,.notice,#login_error){box-sizing:border-box;width:300px;max-width:calc(100% - 32px);margin:0 auto 20px;padding:12px 14px;background:#f8f8f8;border:0;border-left:3px solid #ddd;box-shadow:none;text-align:left;color:#666;font-size:13px;line-height:1.8;overflow-wrap:anywhere}
:is(.siren-recovery-page,.siren-native-login) #login #login_error{border-left-color:#c44242;color:#a53131}
:is(.siren-recovery-page,.siren-native-login) #login .notice p{margin:0}
:is(.siren-recovery-page,.siren-native-login) #login :is(#nav,#backtoblog){margin:22px 0 0;padding:0;text-align:center;font-size:13px}
:is(.siren-recovery-page,.siren-native-login) #login a{color:#707070}
:is(.siren-recovery-page,.siren-native-login) #login a:hover{color:var(--siren-accent,#fe9600)}
:is(.siren-recovery-page,.siren-native-login) #login .wp-pwd{position:relative}
:is(.siren-recovery-page,.siren-native-login) #login .password-input{padding-right:46px}
:is(.siren-recovery-page,.siren-native-login) #login .wp-hide-pw{display:flex;align-items:center;justify-content:center;position:absolute;top:0;right:0;width:44px;height:44px;min-height:44px;padding:0;border:0;background:transparent;color:#666}
:is(.siren-recovery-page,.siren-native-login) #login .wp-hide-pw .dashicons{top:0;margin:0;width:20px;height:20px;line-height:20px}
:is(.siren-recovery-page,.siren-native-login) #login #pass-strength-result{box-sizing:border-box;margin:4px 0 12px;font-size:13px}
:is(.siren-recovery-page,.siren-native-login) #login .pw-weak{margin:12px 0}
:is(.siren-recovery-page,.siren-native-login) #login .pw-weak label{display:inline;font-size:13px}
:is(.siren-recovery-page,.siren-native-login) #login .indicator-hint{font-size:12px;line-height:1.8;color:#777}
:is(.siren-recovery-page,.siren-native-login) #login .reset-pass-submit{display:flex;flex-direction:column;gap:12px}
:is(.siren-recovery-page,.siren-native-login) .language-switcher{margin:0 auto 20px;padding:0 16px;color:#888;font-size:12px}
:is(.siren-recovery-page,.siren-native-login) #language-switcher{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px}
:is(.siren-recovery-page,.siren-native-login) #language-switcher :is(select,.button){min-height:36px;margin:0;border:1px solid #ddd;border-radius:3px;background:#fff;color:#666;font-size:12px}
@media(max-width:480px){:is(.siren-recovery-page,.siren-native-login) #login{max-width:calc(100vw - 40px)}}

/* Compact native reauthentication; keep the front-end recovery shell unchanged. */
body.siren-native-login{height:auto;min-height:0}
.siren-native-login #login .forgetmenot{float:none;margin:0 0 20px}
.siren-native-login #login .forgetmenot label{display:inline;margin:0;font-size:13px}
.siren-native-login #login input[type=checkbox]{margin-right:6px}
.siren-native-login #login .submit{clear:both}
.siren-native-login #login input[type=email]{box-sizing:border-box;width:100%;min-height:44px;border:1px solid #ddd;border-radius:3px;font-size:14px}
.siren-native-login.interim-login #login{padding:8px 0 20px}
.siren-native-login.interim-login #login .wp-login-logo{margin:8px 0 20px;padding-top:0}
.siren-native-login.interim-login #login .wp-login-logo a{width:64px;height:64px}
.siren-native-login.interim-login #login .message{margin-bottom:16px}
