/* Scoped to wpForo authentication views. The ordinary forum keeps its layout. */
.mfg-forum-shell { width:100%; }
.mfg-auth-story,.mfg-auth-tabs,.mfg-auth-header,.mfg-auth-switch,.mfg-auth-help { display:none; }
.mfg-forum-shell:has(#wpforo-wrap:is(.wpft-login,.wpft-register)) { --mfg-navy:#0e2a47;--mfg-amber:#f5a623;--mfg-muted:#637285;max-width:1120px;margin:40px auto 64px;padding:0 20px;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif;color:#1c2b3a; }
.mfg-forum-shell:has(#wpforo-wrap:is(.wpft-login,.wpft-register)) .mfg-forum-heading { display:none; }
.mfg-auth-layout:has(#wpforo-wrap:is(.wpft-login,.wpft-register)) { display:grid;grid-template-columns:1fr 1fr;background:#fff;border:1px solid #e1e7ee;border-radius:20px;overflow:hidden;box-shadow:0 18px 60px #0e2a470c; }
.mfg-auth-layout:has(#wpforo-wrap:is(.wpft-login,.wpft-register)) .mfg-auth-story { display:flex;flex-direction:column;justify-content:space-between;gap:48px;padding:40px;background:radial-gradient(ellipse at 95% 5%,#285d8b80,transparent 62%),linear-gradient(150deg,#0e2a47,#143d64);color:white; }
.mfg-auth-story a { color:#d4e1ef;text-decoration:none;font-size:13px; }
.mfg-auth-story a:hover { color:#ffd98a; }
.mfg-auth-eyebrow { font-size:10px;font-weight:750;line-height:1.7;letter-spacing:.12em;margin:0 0 18px; }
.mfg-auth-story .mfg-auth-eyebrow { color:#ffd98a; }
.mfg-auth-story h1 { color:white;font-size:clamp(32px,3.4vw,45px);line-height:1.13;letter-spacing:-.04em;font-weight:760;margin:0 0 22px; }
.mfg-auth-story h1 em { color:#ffc56a;font-style:normal; }
.mfg-auth-story-lead { color:#ccdae8;font-size:15px;line-height:1.75;margin:0 0 32px;max-width:380px; }
.mfg-auth-benefits { list-style:none;margin:0;padding:0;display:grid;gap:23px; }
.mfg-auth-benefits li { display:flex;align-items:flex-start;gap:14px; }
.mfg-auth-benefits li>span { flex:0 0 28px;font-size:11px;line-height:25px;color:#ffc56a;border-top:1px solid #ffffff40; }
.mfg-auth-benefits strong { color:#fff;font-size:13px;line-height:1.5;font-weight:650; }
.mfg-auth-benefits p { margin:4px 0 0;font-size:12px;line-height:1.65;color:#b6cadd; }
.mfg-auth-story-foot { border-top:1px solid #ffffff26;padding-top:20px;margin:0;color:#b6cadd;font-size:9px;line-height:1.8;letter-spacing:.09em; }
.mfg-auth-layout:has(#wpforo-wrap:is(.wpft-login,.wpft-register)) .mfg-auth-main { min-width:0;padding:40px;align-self:center; }
.mfg-auth-layout:has(#wpforo-wrap:is(.wpft-login,.wpft-register)) .mfg-auth-tabs { display:flex;gap:4px;padding:4px;border:1px solid #e5eaf0;border-radius:10px;background:#f5f7fa;margin:0 0 34px; }
.mfg-auth-tabs a { flex:1;text-align:center;padding:10px 8px;font-size:13px;line-height:1.4;font-weight:650;color:#637285;text-decoration:none;border-radius:7px; }
.mfg-auth-layout:has(.wpft-login) .mfg-auth-tab-login,.mfg-auth-layout:has(.wpft-register) .mfg-auth-tab-register { background:#fff;color:#0e2a47;box-shadow:0 1px 4px #0e2a4715; }
.mfg-auth-layout:has(.wpft-login) .mfg-auth-login-copy,.mfg-auth-layout:has(.wpft-register) .mfg-auth-register-copy { display:block; }
.mfg-auth-layout:has(.wpft-login) .mfg-auth-register-copy,.mfg-auth-layout:has(.wpft-register) .mfg-auth-login-copy { display:none; }
.mfg-auth-header .mfg-auth-eyebrow { color:#7a6029;margin-bottom:10px; }
.mfg-auth-header h2 { color:#0e2a47;font-size:29px;line-height:1.25;letter-spacing:-.035em;font-weight:750;margin:0 0 10px; }
.mfg-auth-header>p:last-child { color:#637285;font-size:14px;line-height:1.7;margin:0 0 27px; }
.mfg-auth-layout #wpforo-wrap:is(.wpft-login,.wpft-register) { width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;font-family:inherit!important;color:#1c2b3a!important;font-size:13px; }
#wpforo-wrap:is(.wpft-login,.wpft-register) :is(#wpforo-menu,#wpforo-footer,#wpforo-title,.wpf-breadcrumb,.wpf-sbtn,.wpforo-subtop,.wpf-notifications,.wpf-notification-window,.wpforo-right-sidebar) { display:none!important; }
#wpforo-wrap:is(.wpft-login,.wpft-register) :is(.wpforo-main,.wpforo-content,.wpforo-profile-content,.wpf-profile-section,.wpf-profile-body,.wpforo-login-wrap,.wpforo-login-content,.wpforo-register-wrap,.wpforo-register-content,.wpf-table) { width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;float:none!important; }
#wpforo-wrap:is(.wpft-login,.wpft-register) :is(.wpforo-login-content,.wpforo-register-content)>h3 { display:none!important; }
#wpforo-wrap:is(.wpft-login,.wpft-register) :is(.wpf-tr,.wpf-td) { width:100%!important;padding:0!important;margin:0!important;background:transparent!important;border:0!important; }
#wpforo-wrap:is(.wpft-login,.wpft-register) .wpf-field { padding:0!important;margin:0 0 20px!important; }
#wpforo-wrap:is(.wpft-login,.wpft-register) :is(.wpf-label,.mfg-auth-label) { display:block!important;margin:0 0 8px!important;color:#263c52!important;font-size:13px!important;font-weight:650!important;line-height:1.5; }
#wpforo-wrap:is(.wpft-login,.wpft-register) .wpf-desc { color:#637285!important;font-size:11px!important;line-height:1.6;margin:0 0 9px; }
#wpforo-wrap:is(.wpft-login,.wpft-register) .wpf-field-icon { display:none!important; }
#wpforo-wrap:is(.wpft-login,.wpft-register) input:is([type=text],[type=email],[type=password]) { box-sizing:border-box!important;width:100%!important;max-width:none!important;height:50px!important;padding:12px 14px!important;border:1px solid #ccd6e1!important;border-radius:8px!important;background:#fff!important;color:#1c2b3a!important;font:inherit!important;font-size:15px!important;box-shadow:none!important; }
#wpforo-wrap:is(.wpft-login,.wpft-register) input::placeholder { color:#8995a4!important;opacity:1; }
#wpforo-wrap:is(.wpft-login,.wpft-register) :is(input,button,a):focus-visible,.mfg-forum-shell a:focus-visible { outline:3px solid #f5a623!important;outline-offset:3px; }
#wpforo-wrap:is(.wpft-login,.wpft-register) input:is([type=text],[type=email],[type=password]):focus { border-color:#315d86!important;box-shadow:0 0 0 3px #315d8615!important; }
#wpforo-wrap:is(.wpft-login,.wpft-register) input[type=checkbox] { width:16px!important;height:16px!important;margin:2px 7px 0 0!important;accent-color:#0e2a47;flex-shrink:0; }
#wpforo-wrap:is(.wpft-login,.wpft-register) :is(input[type=submit],button[type=submit]) { width:100%!important;min-height:50px!important;padding:13px 18px!important;margin:10px 0 4px!important;background:#f5a623!important;color:#142b43!important;border:1px solid #f5a623!important;border-radius:8px!important;font:inherit!important;font-size:14px!important;font-weight:750!important;text-transform:none!important;letter-spacing:0!important;cursor:pointer;box-shadow:none!important;transition:background .15s; }
#wpforo-wrap:is(.wpft-login,.wpft-register) :is(input[type=submit],button[type=submit]):hover { background:#ffc05a!important;border-color:#ffc05a!important; }
#wpforo-wrap:is(.wpft-login,.wpft-register) a { color:#214f79!important;font-weight:600; }
#wpforo-wrap:is(.wpft-login,.wpft-register) a:hover { text-decoration:underline!important; }
#wpforo-wrap.wpft-register .wpforo-legal-checkbox { display:flex;align-items:flex-start;margin:2px 0 17px!important;font-size:12px;line-height:1.65;color:#536578; }
#wpforo-wrap.wpft-register .wpf-tr:has(.wpf-reg-info) { background:#f3f7fb!important;border-radius:8px;padding:12px!important;margin-bottom:12px!important;font-size:12px;line-height:1.7;color:#536578; }
.mfg-auth-switch { text-align:center;font-size:13px;color:#637285;margin:16px 0 0; }
.mfg-auth-switch a { color:#214f79;font-weight:650;text-decoration:none; }
.mfg-auth-layout:has(#wpforo-wrap:is(.wpft-login,.wpft-register)) .mfg-auth-help { display:flex;justify-content:center;gap:13px;border-top:1px solid #e5eaf0;padding-top:20px;margin-top:25px;font-size:11px;color:#a1acb8; }
.mfg-auth-help a { color:#637285;text-decoration:none; }
.mfg-auth-help a:hover,.mfg-auth-tabs a:hover { color:#0e2a47;text-decoration:underline; }
@media(max-width:800px) {
 .mfg-forum-shell:has(#wpforo-wrap:is(.wpft-login,.wpft-register)) { margin:24px auto 40px;padding:0 16px; }
 .mfg-auth-layout:has(#wpforo-wrap:is(.wpft-login,.wpft-register)) { grid-template-columns:1fr;border-radius:14px;max-width:560px;margin:auto; }
 .mfg-auth-layout:has(#wpforo-wrap:is(.wpft-login,.wpft-register)) .mfg-auth-story { padding:28px;gap:25px; }
 .mfg-auth-story h1 { font-size:33px; }
 .mfg-auth-story-lead { font-size:14px;margin:0;max-width:none; }
 .mfg-auth-benefits,.mfg-auth-story-foot { display:none; }
 .mfg-auth-layout:has(#wpforo-wrap:is(.wpft-login,.wpft-register)) .mfg-auth-main { padding:28px; }
 .mfg-auth-header h2 { font-size:26px; }
 .mfg-auth-tabs { margin-bottom:28px!important; }
}
@media(prefers-reduced-motion:reduce) { .mfg-forum-shell * { transition:none!important; } }

/* wpForo uses a different table class for login and percentage label columns. */
#wpforo-wrap:is(.wpft-login,.wpft-register) .wpforo-table { width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important; }
#wpforo-wrap:is(.wpft-login,.wpft-register) .wpf-field { width:100%!important;border:0!important;text-align:left!important; }
#wpforo-wrap:is(.wpft-login,.wpft-register) :is(.wpf-label-wrap,.wpf-field-wrap) { width:100%!important;max-width:none!important;display:block!important;float:none!important;padding:0!important;text-align:left!important; }
#wpforo-wrap:is(.wpft-login,.wpft-register) .mfg-auth-label { text-align:left!important; }
#wpforo-wrap:is(.wpft-login,.wpft-register) :is(.wpf-field-reg,.wpf-field-login) { border:0!important;padding:14px 0 0!important;margin:0!important;font-size:13px!important;text-align:center!important; }
#wpforo-wrap.wpft-register .wpf-field-login { display:none!important; }
#wpforo-wrap:is(.wpft-login,.wpft-register) :is(.wpf-field,.wpf-field-wrap) { background:transparent!important; }
#wpforo-wrap:is(.wpft-login,.wpft-register) :is(input[type=submit],button[type=submit]) { text-align:center!important; }
#wpforo-wrap:is(.wpft-login,.wpft-register) .wpf-field-reg a { border:0!important;background:transparent!important; }
