/* Finance Hub sign-in pages (form side). The panel itself lives in split.css. */
* { box-sizing: border-box; }
body.login-page { margin: 0; min-height: 100vh; color: #2a2b2f; color-scheme: light; background: #fff;
  font: 15px/1.5 -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; }
.sp-form h1 { margin: 0 0 4px; font-size: 26px; line-height: 1.2; }
.sub { margin: 0 0 8px; font-size: 14px; color: #7a7c83; }
.l-label { display: block; margin: 16px 0 5px; font-size: 13px; color: #5a5c63; }
.l-input { width: 100%; padding: 12px 14px; border: 1px solid #d7d8dd; border-radius: 12px; background: #fff; font: inherit; color: #2a2b2f; }
.l-input:focus { outline: none; border-color: #9a9ca3; box-shadow: 0 0 0 3px rgba(142,144,151,.22); }
.l-btn { width: 100%; margin-top: 22px; padding: 13px; border: 0; border-radius: 12px; background: #45474d; color: #fff; font-family: inherit; font-size: 15px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; cursor: pointer; }
.l-btn:hover, .l-btn:focus-visible { background: #5a5c63; outline: none; }
.l-text { margin: 12px 0 0; font-size: 13px; color: #5a5c63; }
.l-link { margin: 16px 0 0; font-size: 13px; }
.l-link a, .l-linkbtn { color: #4a4d55; text-decoration: none; }
.l-link a:hover, .l-linkbtn:hover { text-decoration: underline; }
.l-linkbtn { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.l-err { background: #fdeceb; color: #b3261e; padding: 9px 12px; border-radius: 8px; font-size: 13px; margin: 12px 0 0; }
.l-ok { background: #e5f6ee; color: #137a4b; padding: 9px 12px; border-radius: 8px; font-size: 13px; margin: 12px 0 0; }
.l-input.l-code { text-align: center; font-family: ui-monospace, Menlo, monospace; font-size: 24px; letter-spacing: 8px; padding-left: 18px; }

/* ---- motion on the sign-in pages ---- */
.sp-l { z-index: 3; transition: transform .75s cubic-bezier(.65,0,.25,1); }
.sp-form { animation: formIn .5s cubic-bezier(.2,.8,.2,1) both; }
@keyframes formIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
/* the Forgot-password pages have the dark panel on the right; clicking the link first slides the panel across (static/login.js) */
.sp.flip { grid-template-columns: 6fr 5fr; }
.sp.flip .sp-l { order: 2; }
.sp.flip .sp-form { animation-name: formInL; }
@keyframes formInL { from { opacity: 0; transform: translateX(-46px); } to { opacity: 1; transform: none; } }
.sp.slide-right .sp-l { transform: translateX(120%); }
.sp.slide-left .sp-l { transform: translateX(-120%); }
.sp.slide-right .sp-r, .sp.slide-left .sp-r { opacity: 0; transition: opacity .35s ease-out; }
.l-btn { transition: background-color .15s, transform .12s; } .l-btn:active { transform: scale(.97); }
.l-err { animation: formIn .3s ease-out both; }

@media (prefers-reduced-motion: reduce) { .sp-l, .sp-form, .l-err { transition: none !important; animation: none !important; } }
