@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url('../../studyonline-home-catalogue-search/assets/results-opensans-400.woff2') format('woff2'); }
@font-face { font-family: Poppins; font-weight: 700; font-display: swap; src: url('../../studyonline-home-catalogue-search/assets/home-poppins-700.woff2') format('woff2'); }
body.login {
  background: #f3f7f5;
  color: #173e32;
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  display: grid; grid-template-columns: 1fr 1fr; align-items: start; max-width: 1096px; margin: 48px auto; padding: 0 24px; box-sizing: border-box;
}
body.login #login { grid-column: 2; grid-row: 1; width: 100%; min-width: 0; padding: 32px 40px; box-sizing: border-box; background: white; border: 1px solid #d0ddd5; border-radius: 0 6px 6px 0; }
body.login h1 a {
  background-image: url('/wp-content/uploads/2025/10/Plain-Jane-280-x-183-px-1.png');
  background-size: 220px auto;
  background-position: center 40%;
  width: 220px;
  height: 94px;
  margin: 0 auto 24px;
}
.sot-auth-intro h2 { font-family: Poppins, sans-serif; letter-spacing: -.03em; font-size: 28px; line-height: 1.25; margin: 0 0 10px; }
.sot-auth-intro p { color: #4b6058; line-height: 1.6; margin: 0 0 24px; }
body.login form { background: #fff; padding: 0; border: 0; border-radius: 0; box-shadow: none; margin-top: 16px; }
body.login form label { font-size: 15px; line-height: 1.5; color: #173e32; }
body.login form .input, body.login input[type="text"], body.login input[type="password"] { border-color: #768f82; border-radius: 5px; min-height: 48px; font-size: 16px; }
body.login .button-primary { background: #ffce12; color: #153e30; border: 1px solid #ffce12; box-shadow: none; text-shadow: none; min-height: 46px; font-size: 16px; font-weight: 700; padding: 0 20px; border-radius: 5px; }
body.login .button-primary:hover { background: #f0bf00; color: #153e30; border-color: #f0bf00; }
body.login .button-secondary { color: #17543e; }
body.login .wp-hide-pw { min-height: 46px; min-width: 44px; }
body.login a { color: #17543e; text-underline-offset: 3px; }
body.login #nav, body.login #backtoblog { padding: 0; font-size: 15px; line-height: 1.6; }
body.login #nav a, body.login #backtoblog a { color: #17543e; }
body.login :is(a, button, input, select):focus-visible { outline: 3px solid #17543e; outline-offset: 3px; box-shadow: none; }
body.login .message, body.login .notice, body.login #login_error { border-radius: 5px; box-shadow: none; line-height: 1.6; }
.sot-auth-help { max-width: 420px; margin: 24px auto 32px; padding: 0 20px; text-align: center; line-height: 1.7; font-size: 14px; }
.sot-auth-help p { margin: 8px 0; }
@media (max-width: 480px) {
  body.login #login { padding-top: 20px; }
  body.login form { padding: 0; }
  body.login form .submit .button { float: none; width: 100%; margin-top: 20px; }
  body.login form .forgetmenot { float: none; }
  body.login .language-switcher { padding: 0 20px; }
}

body.login :is(input,select,textarea,button) {max-width:100%;box-sizing:border-box}
body.login form .submit .button {float:none;width:100%;margin-top:20px}
body.login form .forgetmenot {float:none}
body.login .language-switcher {grid-column:2;min-width:0}
body.login .sot-auth-help {grid-column:1/-1}
.sot-auth-story {grid-column:1;grid-row:1;align-self:stretch;background:#104f3b;color:white;padding:48px;box-sizing:border-box;border-radius:6px 0 0 6px;min-width:0}
.sot-auth-story h2 {font:700 42px/1.2 Poppins,sans-serif;letter-spacing:-.035em;max-width:12ch;margin:34px 0 24px;color:white}
.sot-auth-story p {font-size:16px;line-height:1.75;margin:0 0 20px;color:#e1eee5}
.sot-auth-path {margin:36px 0}
.sot-auth-path h3 {font-size:15px;margin:20px 0 6px;color:white}
.sot-auth-path p {font-size:14px}
body.login .sot-auth-story a {color:white;font-size:14px;line-height:1.7}
body.login .sot-auth-story a:focus-visible {outline-color:#ffcc12}
@media(max-width:1000px){body.login #login{padding:28px}.sot-auth-story{padding:32px}.sot-auth-story h2{font-size:34px}}
@media(max-width:700px){
 body.login {display:flex;flex-direction:column;margin:24px auto;padding:0 20px;max-width:560px;gap:0}
 body.login #login {order:0;padding:24px;border-radius:6px 6px 0 0}
 body.login .language-switcher {order:1;width:100%;padding:16px 0}
 .sot-auth-story {order:2;padding:24px;border-radius:0 0 6px 6px;width:100%}
 .sot-auth-story h2 {font-size:26px;margin:0 0 16px;max-width:none}
 .sot-auth-story p {font-size:14px}
 .sot-auth-path {display:none}
 body.login .sot-auth-help {order:3}
}
