
html,body.fer-auth-standalone{margin:0!important;padding:0!important;width:100%!important;height:100%!important;overflow:hidden!important;background:#f7f9fb!important}
body.fer-auth-standalone #wpadminbar{display:none!important}
.fer-auth-page{position:fixed;inset:0;z-index:999999;display:grid;grid-template-rows:74px minmax(0,1fr) 54px;width:100vw;height:100vh;background:#f7f9fb var(--fer-bg) center/cover no-repeat;color:#112f52;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow:hidden}
.fer-auth-page *{box-sizing:border-box}
.fer-auth-top{display:flex;align-items:center;justify-content:space-between;padding:0 3.2vw;background:rgba(255,255,255,.97);border-bottom:1px solid rgba(43,74,103,.13);z-index:20}
.fer-auth-logo{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--fer-primary)}
.fer-auth-logo img{width:44px;height:44px;object-fit:contain}.fer-logo-dot{width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,#214e7a,#7aa7cc)}
.fer-auth-logo strong{display:block;font-size:18px}.fer-auth-logo small{display:block;margin-top:3px;color:#788b9c;font-size:10px;font-weight:400}
.fer-auth-top nav{display:flex;align-items:center;gap:20px;font-size:12px;color:#4d6377}.fer-auth-top nav a,.fer-auth-top nav button{border:0;background:transparent;color:#4d6377;text-decoration:none;font:inherit;cursor:pointer;padding:0}.fer-auth-top .fer-top-cta{padding:10px 17px;background:var(--fer-primary);color:#fff;border-radius:8px;font-weight:700}
.fer-lang-toggle{display:inline-flex!important;align-items:center;gap:6px}
.fer-auth-stage{display:grid;grid-template-columns:50% 50%;position:relative;min-height:0}
.fer-auth-left{position:relative;overflow:hidden;min-width:0;height:100%}
.fer-auth-right{display:flex;align-items:center;justify-content:center;padding:28px 6vw;background:rgba(245,248,251,.10);min-width:0}
.fer-welcome-panel,.fer-language-panel{position:absolute;inset:0;width:100%;height:100%;transition:transform .42s cubic-bezier(.2,.76,.18,1),opacity .28s ease}
.fer-welcome-panel{display:flex;align-items:center;justify-content:center;padding:5vh 5vw;background:rgba(255,255,255,var(--fer-panel-opacity,.56));backdrop-filter:blur(3px)}
.fer-welcome-inner{width:min(100%,570px);text-align:center}.fer-kicker{font-size:17px;font-weight:700;color:var(--fer-accent);margin-bottom:8px}.fer-welcome-inner h1{margin:0;font-size:clamp(42px,4vw,62px);letter-spacing:.02em;color:#163e68;text-transform:uppercase}.fer-heart-line{display:flex;align-items:center;justify-content:center;gap:12px;margin:18px auto}.fer-heart-line i{width:64px;height:1px;background:var(--fer-accent)}.fer-heart-line span{font-size:27px;color:var(--fer-accent)}.fer-tagline{font-size:18px;line-height:1.45;color:#244565;margin:0 0 29px}.fer-benefits{display:grid;gap:16px;width:360px;max-width:100%;margin:0 auto 27px;text-align:left}.fer-benefits span{display:grid;grid-template-columns:48px 1fr;gap:14px;align-items:center}.fer-benefits em{display:flex;align-items:center;justify-content:center;width:46px;height:46px;border:1.5px solid var(--fer-accent);border-radius:50%;font-style:normal;color:#244f86;font-size:20px}.fer-benefits b{display:block;font-size:15px;color:#17385b}.fer-benefits small{display:block;margin-top:3px;color:#425f78;font-size:12px;line-height:1.35}.fer-welcome-inner blockquote{margin:20px auto 0;max-width:480px;color:#284761;font-style:italic;font-size:13px;line-height:1.5;border:0;padding:0}
.fer-language-panel{left:0;right:auto;transform:translateX(-100%);opacity:0;background:rgba(255,255,255,.76);backdrop-filter:blur(12px);padding:4.5vh 4vw;border:0!important;border-radius:0!important;box-shadow:none!important}.fer-auth-page.fer-lang-open .fer-welcome-panel{transform:translateX(-100%);opacity:0}.fer-auth-page.fer-lang-open .fer-language-panel{transform:translateX(0);opacity:1}.fer-lang-head{display:flex;align-items:flex-start;justify-content:space-between}.fer-lang-head h2{margin:0;font-size:26px;color:#143a61}.fer-lang-head button{border:0;background:transparent;font-size:32px;line-height:1;color:#526a80;cursor:pointer}.fer-lang-search{display:flex;align-items:center;gap:9px;margin:24px 0 20px;padding:0 13px;border:1px solid #cedae5;background:rgba(255,255,255,.78);border-radius:7px}.fer-lang-search input{width:100%;height:50px;padding:0!important;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important}.fer-language-panel h3{font-size:13px;margin:0 0 10px;color:#173b61}.fer-lang-grid{display:grid;grid-template-columns:1fr;gap:0;max-height:52vh;overflow:auto}.fer-lang-grid button{display:flex;align-items:center;justify-content:space-between;padding:11px 8px;text-align:left;border:0;border-bottom:1px solid rgba(70,101,129,.14);background:transparent;color:#173b61;cursor:pointer}.fer-lang-grid button:first-child{border:1px solid #c6d7e6;border-radius:6px;background:rgba(234,244,252,.65);padding:11px 12px}.fer-lang-grid b{font-size:13px}.fer-lang-grid small{display:none}.fer-all-languages{display:flex;width:100%;align-items:center;gap:10px;margin-top:16px;padding:14px 8px;border:0;border-top:1px solid #cfdbe5;background:transparent;color:#184d80;font-weight:700;cursor:pointer}.fer-all-languages b{margin-left:auto;font-size:22px}
.fer-auth-card{width:min(100%,430px);padding:33px 31px 28px;background:rgba(255,255,255,.95);border:1px solid rgba(54,83,110,.15);border-radius:16px;box-shadow:0 18px 50px rgba(36,65,92,.14);text-align:center}.fer-auth-card>h1{margin:0;font-size:28px;color:#13375d}.fer-auth-subtitle{margin:8px 0 25px;font-size:13px;color:#697d91}.fer-auth-form{display:grid;gap:13px}.fer-field{position:relative}.fer-auth-form input{width:100%;height:52px;padding:0 15px;border:1px solid #ccd8e3;border-radius:8px;background:#fff;color:#243f56;font:inherit;outline:0}.fer-auth-form input:focus{border-color:#85a5c0;box-shadow:0 0 0 3px rgba(47,96,143,.08)}.fer-icon-field>span{position:absolute;left:15px;top:50%;transform:translateY(-50%);z-index:2;color:#6d8194}.fer-icon-field input{padding-left:44px}.fer-password input{padding-right:48px}.fer-eye{position:absolute!important;right:8px!important;top:50%!important;transform:translateY(-50%)!important;width:34px!important;height:34px!important;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#70859a!important;box-shadow:none!important}.fer-login-options{display:flex;align-items:center;justify-content:space-between;font-size:12px}.fer-login-options a{color:#1368c5;text-decoration:none}.fer-check{display:flex!important;align-items:center!important;gap:7px!important;font-size:12px!important;color:#50677b;font-weight:400!important}.fer-check input{width:14px!important;height:14px!important;margin:0!important}.fer-login-button{height:50px!important;border:0!important;border-radius:8px!important;background:#0c72ea!important;color:#fff!important;font-weight:750!important;font-size:15px!important;cursor:pointer}.fer-divider{display:flex;align-items:center;gap:12px;color:#536c81;font-size:12px}.fer-divider:before,.fer-divider:after{content:"";height:1px;background:#d7e0e8;flex:1}.fer-social-login{display:flex!important;align-items:center;justify-content:center;gap:14px;width:100%;height:47px;border:1px solid #d3dde6!important;border-radius:7px!important;background:#fff!important;color:#15375a!important;text-decoration:none!important;font-weight:650!important;font-size:13px!important;cursor:pointer}.fer-social-login strong{font-size:18px;color:#0c72ea}.fer-unconfigured{opacity:.78}.fer-consent{margin:5px 0 0;padding:0 8px;font-size:11px;line-height:1.45;color:#63788c}.fer-consent a{color:#076adb;text-decoration:none}.fer-auth-links{margin:3px 0 0;text-align:center;font-size:12px;color:#65798b}.fer-auth-links a{color:#076adb;text-decoration:none;font-weight:650}.fer-auth-message.err,.fer-auth-message.ok{padding:9px 11px;border-radius:7px;font-size:12px}.fer-auth-message.err{background:#fff0f0;color:#963232}.fer-auth-message.ok{background:#effaf2;color:#2d7540}.fer-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.fer-auth-form label:not(.fer-field):not(.fer-check){display:grid;gap:6px;text-align:left;font-size:12px;font-weight:650}.fer-auth-form small{font-size:10px;color:#748699;font-weight:400}.fer-auth-form>button:not(.fer-eye):not(.fer-social-login):not(.fer-human-refresh){min-height:48px;border:0;border-radius:8px;background:var(--fer-primary);color:#fff;font-weight:750;cursor:pointer}.fer-human{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #dbe3ea;background:#f8fafc;border-radius:9px;padding:11px}.fer-human-code{font-size:21px;font-weight:800;letter-spacing:6px;color:#173e67}.fer-human-refresh{border:0;border-radius:7px;background:#edf3f8;color:#315b82;padding:8px 10px;cursor:pointer}.fer-hp{position:absolute!important;left:-99999px!important;width:1px!important;height:1px!important;opacity:0!important}.fer-code{font-size:26px!important;letter-spacing:8px;text-align:center;font-weight:800}
.fer-auth-footer{display:flex;align-items:center;justify-content:space-between;padding:0 3.2vw;background:rgba(255,255,255,.97);border-top:1px solid rgba(43,74,103,.13);font-size:10px;color:#718599;z-index:20}.fer-auth-footer>span:last-child{display:flex;align-items:center;gap:12px}.fer-auth-footer i{width:1px;height:14px;background:#ced8e1}.fer-auth-footer a,.fer-auth-footer button{border:0;background:transparent;color:#447096;text-decoration:none;font:inherit;cursor:pointer;padding:0}
@media(max-width:900px){html,body.fer-auth-standalone{overflow:auto!important}.fer-auth-page{position:relative;min-height:100vh;height:auto;grid-template-rows:68px auto auto}.fer-auth-stage{grid-template-columns:1fr}.fer-auth-left{height:480px}.fer-auth-right{padding:28px 18px 36px}.fer-auth-top{padding:0 18px}.fer-auth-top nav>span,.fer-auth-top nav>a:not(.fer-top-cta){display:none}.fer-auth-footer{min-height:70px;padding:14px 18px;gap:10px;flex-wrap:wrap}.fer-welcome-panel,.fer-language-panel{padding:38px 25px}}@media(max-width:560px){.fer-auth-left{height:510px}.fer-auth-card{padding:26px 19px}.fer-grid{grid-template-columns:1fr}.fer-auth-logo small{display:none}.fer-auth-top nav{gap:10px}.fer-auth-top .fer-top-cta{padding:9px 12px}.fer-benefits{width:100%}}

/* v0.5.2 compact signup and safe internal scrolling */
.fer-auth-right{overflow-y:auto!important;overscroll-behavior:contain;scrollbar-width:thin;align-items:flex-start!important;padding-top:22px!important;padding-bottom:22px!important}
.fer-auth-right .fer-auth-card{margin:auto 0}
.fer-register-compact{gap:8px!important}
.fer-register-compact .fer-field input{height:42px!important}
.fer-register-compact .fer-human{padding:6px 9px!important}
.fer-register-compact .fer-human-code{font-size:17px!important;letter-spacing:5px!important}
.fer-register-compact .fer-human-label{font-size:11px}
.fer-register-compact .fer-check{align-items:flex-start!important;line-height:1.3}
.fer-register-compact .fer-register-button{min-height:42px!important}
.fer-register-compact .fer-auth-links{margin-top:0!important}
@media(max-height:820px) and (min-width:901px){
 .fer-auth-card{padding:20px 26px 18px!important}
 .fer-auth-card>h1{font-size:23px!important}
 .fer-auth-subtitle{margin:3px 0 12px!important}
 .fer-register-compact{gap:6px!important}
 .fer-register-compact .fer-field input{height:38px!important}
 .fer-register-compact .fer-human{padding:5px 8px!important}
 .fer-register-compact .fer-register-button{min-height:39px!important}
 .fer-welcome-panel{padding-top:2vh!important;padding-bottom:2vh!important}
 .fer-benefits{gap:8px!important;margin-bottom:10px!important}
 .fer-welcome-inner blockquote{margin-top:8px!important}
}

/* v0.5.3 — exact viewport accounting for header/footer */
.fer-auth-page{
  --fer-header-h:74px;
  --fer-footer-h:54px;
  grid-template-rows:var(--fer-header-h) calc(100vh - var(--fer-header-h) - var(--fer-footer-h)) var(--fer-footer-h)!important;
}
.fer-auth-stage{
  height:calc(100vh - var(--fer-header-h) - var(--fer-footer-h))!important;
  min-height:0!important;
  overflow:hidden!important;
}
.fer-auth-left,
.fer-auth-right{
  height:100%!important;
  min-height:0!important;
  max-height:100%!important;
}
.fer-welcome-panel,
.fer-language-panel{
  top:0!important;
  bottom:0!important;
  height:100%!important;
  max-height:100%!important;
  overflow-y:auto!important;
  overscroll-behavior:contain;
}
.fer-auth-right{
  overflow-y:auto!important;
  padding-top:18px!important;
  padding-bottom:18px!important;
}
.fer-auth-card{
  margin:auto 0!important;
  flex:0 0 auto;
}
.fer-auth-footer{
  height:var(--fer-footer-h)!important;
  min-height:var(--fer-footer-h)!important;
}
.fer-auth-top{
  height:var(--fer-header-h)!important;
  min-height:var(--fer-header-h)!important;
}
@media(max-height:820px) and (min-width:901px){
  .fer-auth-page{--fer-header-h:68px;--fer-footer-h:48px}
  .fer-auth-right{padding-top:10px!important;padding-bottom:10px!important}
}
@media(max-width:900px){
  .fer-auth-page{
    --fer-header-h:68px;
    --fer-footer-h:70px;
    grid-template-rows:var(--fer-header-h) auto var(--fer-footer-h)!important;
  }
  .fer-auth-stage{height:auto!important;overflow:visible!important}
  .fer-auth-left,.fer-auth-right{height:auto!important;max-height:none!important}
  .fer-welcome-panel,.fer-language-panel{height:100%!important;max-height:none!important}
}

/* v0.5.4 — remove duplicated scrollbars */
.fer-auth-left{
  overflow:hidden!important;
}
.fer-welcome-panel{
  overflow:hidden!important;
}
.fer-language-panel{
  overflow:hidden!important;
}
.fer-lang-grid{
  max-height:none!important;
  overflow:visible!important;
  padding-right:0!important;
}
.fer-language-panel{
  display:flex!important;
  flex-direction:column!important;
}
.fer-lang-search,
.fer-language-panel h3,
.fer-lang-head,
.fer-all-languages{
  flex:0 0 auto!important;
}
.fer-lang-grid{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow-y:auto!important;
  overscroll-behavior:contain;
  scrollbar-width:thin;
}
/* only the language list itself scrolls if needed */
.fer-auth-page.fer-lang-open .fer-auth-left{
  overflow:hidden!important;
}
