/* MySubShare Business Portal: sign-in page */
body.msp-login {
  --bg: #f6f6f9; --panel: #ffffff; --line: #e4e4ec; --text: #14141c; --muted: #6b6b7c; --accent: #e65a00;
  margin: 0; min-height: 100vh; display: flex; background: var(--bg); color: var(--text);
  font-family: 'MSP Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased;
}
body.msp-login .msp-lp {
  position: relative; flex: 1 1 52%; min-height: 100vh; overflow: hidden; color: #f3f3f7;
  background: radial-gradient(900px 700px at 85% 0%, rgba(254,100,1,.28), transparent 60%), radial-gradient(800px 700px at 0% 100%, rgba(139,109,255,.22), transparent 60%), #0b0b12;
}
.msp-lp-in { position: relative; z-index: 1; height: 100%; min-height: 100vh; box-sizing: border-box; padding: 56px 64px; display: flex; flex-direction: column; gap: 40px; }
.msp-lp-logo { height: 44px; width: auto; align-self: flex-start; }
.msp-lp-copy { margin-top: auto; max-width: 520px; animation: mspl-up .7s .1s cubic-bezier(.2,.8,.2,1) both; }
.msp-lp-tag { display: inline-block; font: 700 11px/1 'MSP Sans', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #fe6401; background: rgba(254,100,1,.14); padding: 7px 10px; border-radius: 999px; margin-bottom: 18px; }
.msp-lp-copy h2 { font: 800 52px/1.04 'MSP Display', 'MSP Sans', sans-serif; letter-spacing: -.03em; margin: 0 0 16px; color: #fff; }
.msp-lp-copy p { font-size: 17px; line-height: 1.6; color: #c9c9d6; margin: 0; }
.msp-lp-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; max-width: 520px; }
.msp-lp-points li { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.09); border-radius: 14px; background: rgba(255,255,255,.035); backdrop-filter: blur(6px); animation: mspl-up .6s cubic-bezier(.2,.8,.2,1) both; }
.msp-lp-points li:nth-child(1) { animation-delay: .25s; } .msp-lp-points li:nth-child(2) { animation-delay: .35s; } .msp-lp-points li:nth-child(3) { animation-delay: .45s; }
.msp-lp-points b { font: 700 15px 'MSP Display', sans-serif; color: #fff; }
.msp-lp-points span { font-size: 13.5px; color: #a9a9bb; }
.msp-lp-foot { margin: auto 0 0; font-size: 12px; color: #77778a; }
.msp-orb { position: absolute; border-radius: 50%; filter: blur(40px); opacity: .55; animation: mspl-float 14s ease-in-out infinite alternate; }
.msp-orb.o1 { width: 340px; height: 340px; background: #fe6401; top: -80px; right: -60px; opacity: .35; }
.msp-orb.o2 { width: 300px; height: 300px; background: #8b6dff; bottom: 10%; left: -80px; opacity: .25; animation-duration: 18s; }
.msp-orb.o3 { width: 180px; height: 180px; background: #22c58b; top: 45%; right: 18%; opacity: .14; animation-duration: 11s; }

body.msp-login #login { flex: 0 0 auto; width: 420px; max-width: calc(100vw - 40px); margin: auto; padding: 40px 32px; box-sizing: border-box; animation: mspl-up .6s cubic-bezier(.2,.8,.2,1) both; }
body.msp-login #login h1 { margin-bottom: 10px; }
body.msp-login #login h1 a { width: 190px; height: 64px; background-size: contain; background-position: left center; margin: 0 0 6px; }
body.msp-login #login h1::after { content: 'Sign in to the MySubShare Portal'; display: block; font: 700 26px/1.2 'MSP Display', sans-serif; letter-spacing: -.02em; color: var(--text); margin-top: 18px; text-align: left; }
body.msp-login #login form { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 1px 2px rgba(20,20,40,.04), 0 16px 40px rgba(20,20,40,.07); padding: 26px 24px; margin-top: 18px; }
body.msp-login #login form p, body.msp-login #login label { color: var(--muted); font-weight: 600; font-size: 13px; }
body.msp-login input[type=text], body.msp-login input[type=password], body.msp-login input[type=email] {
  background: #fafafc; border: 1px solid #d9d9e4; border-radius: 12px; min-height: 46px; font-size: 15px; padding: 8px 14px; box-shadow: none; color: var(--text); margin-top: 6px;
  transition: border-color .15s, box-shadow .15s;
}
body.msp-login input:focus { border-color: var(--accent) !important; box-shadow: 0 0 0 4px rgba(230,90,0,.12) !important; outline: none; }
body.msp-login .wp-pwd .button.wp-hide-pw { color: var(--muted); top: 6px; }
body.msp-login .button-primary, body.msp-login #wp-submit {
  background: var(--accent) !important; border: 0 !important; border-radius: 12px !important; min-height: 46px; padding: 0 22px !important; font: 700 15px 'MSP Sans', sans-serif !important;
  box-shadow: 0 10px 24px -10px rgba(230,90,0,.7) !important; text-shadow: none !important; transition: transform .15s, filter .15s;
}
body.msp-login #wp-submit { width: 100%; margin-top: 10px; float: none; }
body.msp-login #wp-submit:hover { transform: translateY(-1px); filter: brightness(1.06); }
body.msp-login .forgetmenot { float: none; margin-bottom: 4px; }
body.msp-login input[type=checkbox] { border-radius: 5px; border-color: #c9c9d6; }
body.msp-login input[type=checkbox]:checked::before { content: ''; }
body.msp-login input[type=checkbox]:checked { background: var(--accent); border-color: var(--accent); }
body.msp-login #nav, body.msp-login #backtoblog { padding: 0 4px; margin-top: 16px; font-size: 13px; }
body.msp-login #nav a, body.msp-login #backtoblog a { color: var(--muted); }
body.msp-login #nav a:hover, body.msp-login #backtoblog a:hover { color: var(--accent); }
body.msp-login .message, body.msp-login .notice, body.msp-login #login_error { border-radius: 12px; border-left-width: 4px; box-shadow: none; border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
body.msp-login #login_error { border-left-color: #d63c3c; }
body.msp-login .message { border-left-color: var(--accent); }
body.msp-login .privacy-policy-page-link { margin-top: 24px; }
body.msp-login .language-switcher { display: none; }

@keyframes mspl-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes mspl-float { from { transform: translate(0, 0) scale(1); } to { transform: translate(40px, 30px) scale(1.12); } }
@media (max-width: 960px) { body.msp-login .msp-lp { display: none; } body.msp-login #login { padding: 32px 20px; } }
@media (prefers-reduced-motion: reduce) { body.msp-login * { animation: none !important; } }
