:root{
  --auth-navy:#071b32;--auth-navy-2:#123b68;--auth-blue:#2d6ea8;--auth-bg:#eef4fa;
  --auth-card:#ffffff;--auth-line:#dbe5ef;--auth-text:#10243e;--auth-muted:#6b7d93;
  --auth-danger:#b42318;--auth-success:#087f5b;--auth-shadow:0 26px 70px rgba(7,27,50,.14);
}
*{box-sizing:border-box}html,body{min-height:100%}body.auth45-page{margin:0;min-height:100vh;display:flex;flex-direction:column;background:
radial-gradient(circle at 12% 8%,rgba(45,110,168,.16),transparent 28%),
radial-gradient(circle at 88% 90%,rgba(18,59,104,.10),transparent 30%),
linear-gradient(180deg,#f8fbfe 0%,var(--auth-bg) 100%);color:var(--auth-text);font-family:Tahoma,"Segoe UI",Arial,sans-serif;overflow-x:hidden}
.auth45-page:before,.auth45-page:after{content:"";position:fixed;border:1px solid rgba(18,59,104,.07);border-radius:50%;pointer-events:none}.auth45-page:before{width:420px;height:420px;inset-inline-start:-220px;top:-200px}.auth45-page:after{width:320px;height:320px;inset-inline-end:-170px;bottom:-160px}
.auth45-toolbar{position:fixed;top:18px;inset-inline-end:18px;display:flex;gap:8px;z-index:10}.auth45-icon-btn{width:42px;height:42px;border:1px solid rgba(18,59,104,.12);border-radius:13px;background:rgba(255,255,255,.88);color:var(--auth-navy-2);display:grid;place-items:center;text-decoration:none;box-shadow:0 8px 18px rgba(7,27,50,.06);backdrop-filter:blur(10px);transition:.18s ease}.auth45-icon-btn:hover{transform:translateY(-1px);border-color:var(--auth-blue)}.auth45-icon-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.auth45-main{position:relative;z-index:1;flex:1;display:grid;place-items:center;padding:76px 16px 28px}.auth45-card{width:min(448px,100%);background:rgba(255,255,255,.96);border:1px solid rgba(18,59,104,.10);border-radius:28px;padding:28px;box-shadow:var(--auth-shadow);backdrop-filter:blur(14px)}
.auth45-logo{width:154px;height:108px;margin:0 auto 8px;display:grid;place-items:center}.auth45-logo img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 12px 22px rgba(7,27,50,.13))}
.auth45-head{text-align:center}.auth45-role{display:inline-flex;align-items:center;gap:7px;border-radius:999px;background:#edf5ff;color:var(--auth-navy-2);padding:6px 10px;font-size:.72rem;font-weight:900;margin-bottom:10px}.auth45-role i{width:7px;height:7px;border-radius:50%;background:var(--auth-blue);box-shadow:0 0 0 4px rgba(45,110,168,.12)}.auth45-head h1{margin:0;font-size:clamp(1.45rem,4vw,1.9rem);line-height:1.35;color:var(--auth-text)}.auth45-head p{margin:8px auto 0;max-width:360px;color:var(--auth-muted);font-size:.84rem;line-height:1.75}
.auth45-alert{display:flex;align-items:flex-start;gap:9px;margin-top:16px;padding:11px 12px;border-radius:13px;background:#fff3f3;border:1px solid #f2c5c5;color:var(--auth-danger);font-size:.8rem;line-height:1.55}.auth45-alert.success{background:#eef9f5;border-color:#c7e9dd;color:var(--auth-success)}.auth45-alert svg{width:19px;height:19px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.auth45-form{display:grid;gap:14px;margin-top:20px}.auth45-field{display:grid;gap:7px;color:#405773;font-size:.78rem;font-weight:800}.auth45-control{display:flex;align-items:center;gap:9px;border:1px solid var(--auth-line);border-radius:14px;background:#f9fbfd;padding-inline:12px;transition:.17s ease}.auth45-control:focus-within{border-color:var(--auth-blue);box-shadow:0 0 0 4px rgba(45,110,168,.10);background:#fff}.auth45-control>svg{width:19px;height:19px;fill:none;stroke:#758aa2;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}.auth45-control input{width:100%;min-width:0;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;color:var(--auth-text);padding:12px 0!important;font-size:.94rem}.auth45-control input::placeholder{color:#9baaba}.auth45-toggle{width:36px;height:36px;border:0;background:transparent;color:#6e8298;display:grid;place-items:center;border-radius:10px;flex:0 0 auto}.auth45-toggle:hover{background:#edf3f9;color:var(--auth-navy-2)}.auth45-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.auth45-toggle .eye-off{display:none}.auth45-toggle.is-visible .eye-on{display:none}.auth45-toggle.is-visible .eye-off{display:block}
.auth45-remember{display:flex!important;align-items:center;gap:8px;color:#5f7288!important;font-size:.76rem!important;cursor:pointer}.auth45-remember input{width:16px;height:16px;accent-color:var(--auth-blue)}.auth45-submit{border:0;border-radius:14px;background:linear-gradient(135deg,var(--auth-navy-2),var(--auth-blue));color:#fff;padding:12px 16px;display:flex;align-items:center;justify-content:center;gap:9px;font-weight:900;box-shadow:0 12px 26px rgba(18,59,104,.20);transition:.18s ease}.auth45-submit:hover{transform:translateY(-1px);box-shadow:0 15px 30px rgba(18,59,104,.24)}.auth45-submit:disabled{opacity:.72;cursor:wait;transform:none}.auth45-submit svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.auth45-install-hint{margin-top:12px;padding:9px 11px;border-radius:12px;background:#edf5ff;color:#245f98;border:1px solid #d7e7f7;font-size:.75rem;line-height:1.55}.auth45-links{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;border-top:1px solid #e8eef4;margin-top:18px;padding-top:14px}.auth45-link{display:inline-flex;align-items:center;gap:6px;color:#245f98;text-decoration:none;font-size:.75rem;font-weight:800}.auth45-link:hover{text-decoration:underline}.auth45-dot{width:3px;height:3px;border-radius:50%;background:#9aabba}
.auth45-footer{position:relative;z-index:1;text-align:center;padding:10px 14px 16px;color:#74869a;font-size:.65rem;line-height:1.6}.auth45-footer a{color:var(--auth-navy-2);text-decoration:none;font-weight:800}
@media(max-width:520px){.auth45-main{padding:66px 10px 18px}.auth45-card{padding:22px 16px;border-radius:23px}.auth45-logo{width:132px;height:90px}.auth45-toolbar{top:12px;inset-inline-end:12px}.auth45-icon-btn{width:39px;height:39px}.auth45-head h1{font-size:1.4rem}.auth45-head p{font-size:.78rem}.auth45-links{display:grid;text-align:center}.auth45-dot{display:none}.auth45-footer{font-size:.58rem;padding-bottom:12px}}


/* V4.6 — unified SMS identity and protected logo/title spacing */
.auth45-card{
  overflow:hidden;
}
.auth45-logo{
  position:relative!important;
  inset:auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:118px!important;
  height:126px!important;
  min-width:118px!important;
  min-height:126px!important;
  max-width:118px!important;
  max-height:126px!important;
  margin:0 auto 20px!important;
  padding:0!important;
  overflow:hidden!important;
  float:none!important;
  transform:none!important;
  z-index:1!important;
}
.auth45-logo img{
  position:static!important;
  inset:auto!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  max-width:100%!important;
  max-height:100%!important;
  margin:0!important;
  padding:0!important;
  object-fit:contain!important;
  object-position:center!important;
  transform:none!important;
  filter:drop-shadow(0 10px 18px rgba(7,27,50,.13))!important;
}
.auth45-head{
  position:relative!important;
  z-index:2!important;
  clear:both!important;
  margin:0!important;
  padding:0!important;
}
.auth45-role{margin-top:0!important}
@media(max-width:520px){
  .auth45-logo{
    width:98px!important;
    height:105px!important;
    min-width:98px!important;
    min-height:105px!important;
    max-width:98px!important;
    max-height:105px!important;
    margin-bottom:16px!important;
  }
}

/* V4.9 — language selection moved to the footer */
.auth45-toolbar:empty{display:none}
.auth45-page:not(:has(.auth45-toolbar:not(:empty))) .auth45-main{padding-top:34px}
.auth45-footer{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 14px}
.auth45-footer-line{display:inline-block}
.auth-language-switch{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:30px;padding:5px 10px;border:1px solid rgba(18,59,104,.14);border-radius:999px;background:rgba(255,255,255,.72);color:var(--auth-navy-2);font-size:.68rem;font-weight:900;text-decoration:none;transition:.18s ease}
.auth-language-switch:hover{border-color:var(--auth-blue);background:#fff;transform:translateY(-1px)}
.auth-language-switch svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:520px){.auth45-footer{gap:7px;padding-inline:10px}.auth-language-switch{min-height:28px;font-size:.62rem}}


/* V4.10 — language switch in the upper login toolbar */
.auth45-toolbar{align-items:center}
.auth45-toolbar .auth-language-switch{min-height:42px;padding:7px 12px;background:rgba(255,255,255,.90);box-shadow:0 8px 18px rgba(7,27,50,.06);backdrop-filter:blur(10px)}
.auth45-footer{display:block}
@media(max-width:520px){.auth45-toolbar .auth-language-switch{min-height:39px;padding:6px 10px}.auth45-toolbar .auth-language-switch span{display:none}.auth45-toolbar .auth-language-switch svg{width:18px;height:18px}}
