/* STi account presentation. Native WordPress forms, events and nonces remain. */
body.login {
    --sti-ink: #142e43;
    --sti-muted: #526779;
    --sti-blue: #08658f;
    --sti-focus: #007eaf;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    color: var(--sti-ink);
    background: #f1f5f8;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}
.login *, .login *::before, .login *::after { box-sizing: border-box; }
.login a { color: var(--sti-blue); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.login a:focus-visible, .login button:focus-visible, .login input:focus-visible, .login select:focus-visible {
    outline: 3px solid var(--sti-focus); outline-offset: 4px; box-shadow: none;
}
.sti-auth-skip { position: absolute; left: 16px; top: -100px; z-index: 20; padding: 12px; background: white; }
.sti-auth-skip:focus { top: 12px; }
.sti-auth-header { width: min(1180px, calc(100% - 64px)); margin: 0 auto; padding: 27px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.sti-auth-brand { display: inline-flex; border-radius: 4px; background: #fff; padding: 6px 9px; }
.sti-auth-brand img { display: block; width: 210px; height: auto; }
.sti-auth-return { font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.sti-auth-return span { margin-right: 8px; }
.sti-auth-main { display: grid; grid-template-columns: 1fr 1fr; width: min(1180px, calc(100% - 64px)); margin: auto; border: 1px solid #dbe4eb; border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 20px 60px #163d5a10, 0 3px 12px #163d5a06; }
.sti-auth-story { position: relative; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 54px 52px 34px; min-width: 0; color: white; background: radial-gradient(ellipse at 20% 0, #265f82 0, transparent 65%), linear-gradient(145deg, #193f5d, #0b2239 85%); }
.sti-auth-story-content { position: relative; z-index: 1; }
.sti-auth-eyebrow { display: block; font-size: 11px; line-height: 1.6; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 650; color: #bed9e9; }
.sti-auth-hero { margin: 34px 0 23px; font-size: clamp(38px, 4vw, 54px); letter-spacing: -1.8px; line-height: 1.12; font-weight: 650; }
.sti-auth-hero span { color: #89d5f2; }
.sti-auth-story-description { max-width: 340px; margin: 0; color: #d4e1eb; font-size: 15px; line-height: 1.75; }
.sti-auth-resources { display: grid; gap: 23px; margin-top: 36px; }
.sti-auth-resources > div { display: flex; gap: 15px; align-items: flex-start; }
.sti-auth-resource-icon { display: flex; align-items: center; justify-content: center; flex: 0 0 32px; height: 32px; color: #a0cee4; font-size: 10px; letter-spacing: 1px; border: 1px solid #90b9d538; border-radius: 8px; }
.sti-auth-resources strong { display: block; font-weight: 600; font-size: 13px; line-height: 1.4; }
.sti-auth-resources div div > span { display: block; color: #aec5d6; font-size: 12px; line-height: 1.6; margin-top: 3px; }
.sti-auth-story-footer { display: flex; align-items: center; gap: 12px; color: #bed0df; font-size: 11px; line-height: 1.7; margin-top: 39px; position: relative; z-index: 1; }
.sti-auth-rule { width: 27px; height: 1px; background: #6f9db8; }
.sti-auth-orbit { position: absolute; width: 510px; height: 510px; border: 1px solid #b3d7ed0d; border-radius: 50%; right: -340px; top: 48%; box-shadow: 0 0 0 60px #a4d5f008, 0 0 0 120px #a4d5f007, 0 0 0 180px #a4d5f005; transform: rotate(-20deg); }
.sti-auth-panel { padding: 54px 50px 32px; min-width: 0; align-self: stretch; }
.sti-auth-kicker { color: var(--sti-blue); font-size: 11px; line-height: 1.5; text-transform: uppercase; letter-spacing: 1.6px; font-weight: 700; margin: 0 0 12px; }
.sti-auth-intro h1 { color: var(--sti-ink); font-size: 30px; line-height: 1.2; letter-spacing: -0.8px; font-weight: 650; padding: 0; margin: 0 0 15px; text-align: left; }
.sti-auth-intro > p:last-child { color: var(--sti-muted); line-height: 1.7; font-size: 14px; margin: 0; }
body.login #login { width: 100%; margin: 27px 0 0; padding: 0; }
.login #login > .wp-login-logo { display: none; }
.login #login form { margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; overflow: visible; }
.login #login label { color: #203e52; font-size: 13px; font-weight: 600; line-height: 1.5; }
.login #login .input, .login #login input[type="text"], .login #login input[type="password"], .login #login input[type="email"] {
    width: 100%; min-height: 49px; border: 1px solid #b7c6d1; border-radius: 7px; background: #fff; color: var(--sti-ink); padding: 10px 13px; font-size: 16px; line-height: 1.5; margin: 8px 0 21px; box-shadow: 0 1px 2px #102a4005;
}
.login #login .input:focus { border-color: #08658f; box-shadow: 0 0 0 3px #077caf16; outline: none; }
.login #login .wp-pwd { margin-top: 8px; }
.login #login .wp-pwd .input { margin-top: 0; padding-right: 46px; }
.login #login .wp-hide-pw { width: 44px; height: 48px; color: #53758b; background: transparent; border: 0; box-shadow: none; right: 1px; top: 0; padding: 0; }
.login #login .wp-hide-pw .dashicons { top: 13px; }
.login #login .forgetmenot { float: none; margin: 0 0 23px; padding: 0; }
.login #login .forgetmenot label { font-weight: 400; font-size: 12px; color: #435c70; }
.login #login input[type="checkbox"] { border-color: #9daebc; border-radius: 3px; width: 16px; height: 16px; margin: -2px 7px 0 0; }
.login #login .submit { margin: 0; }
.login #login .button-primary { display: block; float: none; width: 100%; min-height: 49px; background: #08658f; border: 1px solid #08658f; color: white; font-size: 14px; line-height: 1.4; padding: 13px 20px; border-radius: 7px; font-weight: 650; text-shadow: none; box-shadow: 0 3px 9px #08658f18; transition: background .15s ease; }
.login #login .button-primary:hover { background: #064f74; border-color: #064f74; }
.login #login .button-primary:disabled { opacity: .55; cursor: not-allowed; }
.login #login .button-secondary { border: 1px solid #bac9d4; border-radius: 5px; padding: 5px 10px; min-height: 34px; color: #155675; background: #f3f7fa; margin-bottom: 16px; }
.login #nav { padding: 0; margin: 20px 0 0; text-align: center; }
.login #nav a { color: #155c7f; font-size: 13px; font-weight: 600; }
.login #backtoblog { display: none; }
.login #login_error, .login #login .message, .login #login .success {
    color: #234459; background: #f0f6fa; border: 1px solid #d6e5ee; border-left: 3px solid #177da3; border-radius: 6px; box-shadow: none; margin: 0 0 21px; padding: 12px 14px; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere;
}
.login #login_error { background: #fff4f2; border-color: #f1d6d1; border-left-color: #b94130; color: #753326; }
.login #login .success { background: #eff8f4; border-color: #c8e8d9; border-left-color: #368468; }
.login #login_error p, .login .message p { margin: 0; }
.login #login .description, .login #login .indicator-hint { color: #526779; line-height: 1.65; font-size: 12px; margin-bottom: 20px; }
.login #pass-strength-result { border-radius: 5px; font-size: 12px; line-height: 1.6; margin: -9px 0 15px; }
.login #login .pw-weak { margin: 16px 0; }
.sti-auth-help { display: flex; align-items: flex-start; gap: 11px; border-top: 1px solid #e6edf2; margin-top: 30px; padding-top: 22px; }
.sti-auth-help-icon { border: 1px solid #b5c8d6; color: #5b7d94; border-radius: 50%; display: inline-flex; flex: 0 0 18px; height: 18px; align-items: center; justify-content: center; font-size: 11px; margin-top: 2px; }
.sti-auth-help strong { color: #345166; font-size: 12px; font-weight: 650; }
.sti-auth-help p { color: #657d8f; font-size: 12px; line-height: 1.7; margin: 4px 0 0; }
.sti-auth-help a { white-space: nowrap; }
.sti-auth-device-note { color: #60788a; font-size: 10px; line-height: 1.7; margin: 20px 0 0; }
.sti-auth-footer { width: min(1180px, calc(100% - 64px)); margin: 0 auto; padding: 26px 0; display: flex; justify-content: space-between; gap: 15px; color: #60788a; font-size: 11px; line-height: 1.7; }
.login .language-switcher { margin: 20px 0 0; padding: 0; text-align: left; }
.login .language-switcher select { max-width: 210px; border-color: #b7c6d1; }
.login.interim-login { background: white; }
.interim-login .sti-auth-header, .interim-login .sti-auth-story, .interim-login .sti-auth-footer, .interim-login .sti-auth-help, .interim-login .sti-auth-device-note { display: none; }
.interim-login .sti-auth-main { display: block; width: 100%; border: 0; box-shadow: none; margin: 0; border-radius: 0; }
.interim-login .sti-auth-panel { padding: 28px; }
.interim-login .sti-auth-intro h1 { font-size: 24px; }
@media (min-width: 1300px) and (min-height: 920px) { .sti-auth-main { margin-top: auto; margin-bottom: auto; } }
@media (max-width: 1050px) {
    .sti-auth-story { padding: 44px 32px 30px; }
    .sti-auth-panel { padding: 44px 32px 28px; }
    .sti-auth-intro h1 { font-size: 27px; }
    .sti-auth-hero { font-size: 43px; }
}
@media (max-width: 760px) {
    .sti-auth-header { width: calc(100% - 40px); padding: 20px 0; }
    .sti-auth-brand img { width: 165px; }
    .sti-auth-return { font-size: 12px; }
    .sti-auth-return span { margin-right: 3px; }
    .sti-auth-main { display: block; width: min(510px, calc(100% - 40px)); margin: 0 auto; border-radius: 14px; }
    .sti-auth-story { display: none; }
    .sti-auth-panel { padding: 33px 29px 26px; }
    .sti-auth-intro h1 { font-size: 28px; }
    .sti-auth-footer { width: calc(100% - 40px); flex-direction: column; text-align: center; gap: 4px; padding: 23px 0; margin-top: auto; }
}
@media (max-width: 380px) {
    .sti-auth-header, .sti-auth-main, .sti-auth-footer { width: calc(100% - 28px); }
    .sti-auth-brand img { width: 144px; }
    .sti-auth-panel { padding: 28px 22px 24px; }
}
@media (prefers-reduced-motion: reduce) { .login * { transition: none !important; animation: none !important; } }
