/* Scoped to Redclip; native WordPress forms and third-party hooks remain intact. */
body.login.redclip-login {
    --rc-accent: #b52640;
    box-sizing: border-box;
    min-height: 100vh;
    min-height: 100svh;
    height: auto;
    padding: 48px clamp(24px, 8vw, 140px) 100px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    background-color: #172334;
    background-image: var(--rc-background, radial-gradient(ellipse at 85% 15%, #773d50 0%, transparent 50%), linear-gradient(135deg, #172334, #352030 60%, #151e2c));
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #253046;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
body.redclip-login::before { content: ""; position: fixed; inset: 0; background: linear-gradient(90deg, rgba(9,15,26,.48), rgba(9,15,26,.12)); pointer-events: none; }
body.redclip-login #login { box-sizing: border-box; position: relative; width: 440px; max-width: 100%; margin: 0; padding: 40px; background: rgba(255,255,255,.97); border: 1px solid rgba(255,255,255,.7); border-radius: 24px; box-shadow: 0 24px 80px rgba(0,0,0,.28); }
body.redclip-login #login h1 { margin: 0 0 28px; text-align: center; }
body.redclip-login #login h1 a { background: none; width: 100%; height: auto; margin: 0; text-indent: 0; font-size: 27px; line-height: 1.3; letter-spacing: -.7px; font-weight: 750; color: #182234; text-decoration: none; background-position: center; background-repeat: no-repeat; background-size: contain; overflow-wrap: anywhere; }
body.redclip-login #login form { margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; overflow: visible; }
body.redclip-login #login form label { font-size: 14px; line-height: 1.5; color: #384258; }
body.redclip-login #login input[type="text"], body.redclip-login #login input[type="email"], body.redclip-login #login input[type="password"] { box-sizing: border-box; width: 100%; min-height: 50px; padding: 10px 13px; border: 1px solid #c6cdd8; border-radius: 10px; background: #fff; color: #182234; font-size: 18px; line-height: 1.5; box-shadow: none; margin: 6px 0 22px; transition: border-color .15s, box-shadow .15s; }
body.redclip-login #login .wp-pwd input { padding-right: 48px; }
body.redclip-login #login input:focus { border-color: var(--rc-accent); box-shadow: 0 0 0 3px rgba(181,38,64,.15); outline: none; }
body.redclip-login #login .wp-hide-pw { top: 6px; height: 50px; width: 46px; color: #657084; border-radius: 10px; }
body.redclip-login #login .wp-hide-pw:focus { outline: 2px solid var(--rc-accent); outline-offset: -3px; box-shadow: none; }
body.redclip-login #login .forgetmenot { float: none; margin: 0 0 20px; }
body.redclip-login #login .forgetmenot label { font-size: 13px; }
body.redclip-login #login input[type="checkbox"] { border-radius: 4px; border-color: #9aa5b5; }
body.redclip-login #login input[type="checkbox"]:checked::before { color: var(--rc-accent); }
body.redclip-login #login .submit { clear: both; margin: 0; }
body.redclip-login #login .button-primary { float: none; box-sizing: border-box; width: 100%; min-height: 48px; padding: 10px 18px; border: 1px solid var(--rc-accent); border-radius: 10px; background: var(--rc-accent); color: #fff; font-size: 14px; line-height: 1.8; font-weight: 600; text-shadow: none; box-shadow: 0 6px 14px rgba(181,38,64,.16); cursor: pointer; white-space: normal; }
body.redclip-login #login .button-primary:hover { background: #961d33; border-color: #961d33; }
body.redclip-login #login a:focus-visible, body.redclip-login #login .button-primary:focus-visible { outline: 3px solid var(--rc-accent); outline-offset: 3px; }
body.redclip-login #nav, body.redclip-login #backtoblog { margin: 18px 0 0; padding: 0; text-align: center; font-size: 13px; }
body.redclip-login #nav a, body.redclip-login #backtoblog a, body.redclip-login .privacy-policy-link { color: #566177; text-decoration: none; }
body.redclip-login #nav a:hover, body.redclip-login #backtoblog a:hover, body.redclip-login .privacy-policy-link:hover { color: var(--rc-accent); text-decoration: underline; }
body.redclip-login .privacy-policy-page { margin: 22px 0 0; }
body.redclip-login #login .message, body.redclip-login #login .notice, body.redclip-login #login #login_error { box-sizing: border-box; margin: 0 0 22px; padding: 14px; border-radius: 8px; box-shadow: none; background: #f0f4f8; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
body.redclip-login #login #login_error, body.redclip-login #login .notice-error { background: #fff0f2; border-left-color: var(--rc-accent); }
body.redclip-login .language-switcher { position: relative; box-sizing: border-box; width: 440px; max-width: 100%; margin: 18px 0 0; padding: 12px; border-radius: 12px; background: rgba(255,255,255,.96); }
body.redclip-login #language-switcher { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
body.redclip-login #language-switcher select { max-width: 100%; }
/* Leave Google/SSO widgets where their plugin inserts them; reserve their space. */
body.redclip-login #login .googlesitekit-sign-in-with-google__frontend-output-button { position: static; float: none; display: flex; justify-content: center; width: 100%; margin: 20px auto; clear: both; }
body.redclip-login #login iframe { max-width: 100%; }
body.redclip-login.interim-login { padding: 20px; align-items: center; }
@media (max-width: 640px) {
    body.login.redclip-login { padding: 24px 16px 40px; align-items: center; background-attachment: scroll; }
    body.redclip-login #login { padding: 30px 24px; border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) { body.redclip-login #login input { transition: none; } }
@media (forced-colors: active) { body.redclip-login #login, body.redclip-login .language-switcher { border: 1px solid CanvasText; } }
