/* Academia Hitech unified authentication */
.academia-auth-card,.academia-auth-card *{box-sizing:border-box}.academia-auth-card{position:relative;width:100%;min-height:455px;padding:21px;border:1px solid rgba(255,255,255,.55);border-radius:17px;background:rgba(255,255,255,.97);box-shadow:0 24px 58px rgba(0,12,45,.34);color:#15213a;overflow:hidden}.academia-auth-brand{display:flex;align-items:center;gap:10px;margin-bottom:15px;padding-bottom:12px;border-bottom:1px solid #e7edf5}.academia-auth-brand__mark{width:36px;height:36px;flex:0 0 auto;background:url('../brand/academia-hitech-mark.svg') center/contain no-repeat}.academia-auth-brand strong,.academia-auth-brand small{display:block}.academia-auth-brand strong{font-size:15px;color:#102858}.academia-auth-brand small{margin-top:2px;color:#74849a;font-size:11px}.academia-auth-view{display:none}.academia-auth-view.is-active{display:block;animation:academiaAuthIn .28s ease}.academia-auth-view>header{position:relative;margin-bottom:13px}.academia-auth-view h2{margin:0 0 4px!important;color:#102858!important;font-size:21px!important;line-height:1.2!important}.academia-auth-view>header p{margin:0!important;color:#667892!important;font-size:13px!important;line-height:1.45!important;text-shadow:none!important}.academia-auth-view>header .back{position:absolute;right:0;top:-3px;width:29px;height:29px;border:1px solid #dce4ed;border-radius:50%;background:#fff;color:#53657d}.academia-auth-card label{display:block;margin-bottom:10px;color:#53657d;font-size:12px;font-weight:750}.academia-auth-card input:not([type=checkbox]){width:100%;height:41px;margin-top:4px;padding:9px 11px;border:1px solid #d9e2ed;border-radius:8px;background:#f9fbfd;color:#15213a;font:15px inherit;outline:none;transition:.18s}.academia-auth-card input:focus{border-color:#0866ff!important;background:#fff!important;box-shadow:0 0 0 3px rgba(8,102,255,.11)!important}.academia-password{position:relative}.academia-password input{padding-right:38px!important}.academia-password button{position:absolute;right:6px;bottom:6px;width:29px;height:29px;border:0;background:transparent;color:#718199}.academia-auth-primary{width:100%;min-height:42px;padding:10px 13px;border:0;border-radius:9px;background:linear-gradient(120deg,#0866ff,#0758c9);color:#fff;font-size:14px;font-weight:800;box-shadow:0 7px 16px rgba(8,102,255,.2)}.academia-auth-primary:disabled{opacity:.55;cursor:not-allowed}.academia-auth-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:-2px 0 12px}.academia-auth-card .check{display:flex;align-items:flex-start;gap:6px;margin:0;font-size:12px;font-weight:600;line-height:1.35}.academia-auth-card .check input{width:15px;height:15px;flex:0 0 auto;margin:0}.academia-auth-card .link,.academia-auth-view>footer button{padding:0;border:0;background:none;color:#0866ff;font-size:12px;font-weight:750}.academia-auth-view>footer{margin-top:13px;padding-top:11px;border-top:1px solid #e7edf5;color:#718199;font-size:12px;text-align:center}.academia-auth-progress{margin-bottom:13px}.academia-auth-progress>i{display:block;width:25%;height:4px;border-radius:4px;background:linear-gradient(90deg,#0866ff,#20c7ff);transition:width .25s}.academia-auth-progress>div{display:flex;justify-content:space-between;margin-top:5px}.academia-auth-progress span{color:#8a98aa;font-size:11px}.academia-auth-progress span.is-active{color:#0866ff;font-weight:800}.academia-auth-alert{margin-bottom:10px;padding:8px 10px;border-radius:8px;background:#fff3e8;color:#965c14;font-size:12px;line-height:1.4}.academia-auth-alert.is-success{background:#eaf8ef;color:#167243}.academia-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important}.academia-otp-inputs{display:grid;grid-template-columns:repeat(6,1fr);gap:5px;margin:17px 0}.academia-otp-inputs input{height:47px!important;padding:4px!important;text-align:center;font-size:21px!important;font-weight:800!important}.academia-resend{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:11px;color:#7a899c;font-size:11px}.academia-resend button{padding:0;border:0;background:none;color:#0866ff;font-size:11px;font-weight:750}.academia-resend button:disabled{color:#9aa7b8}.academia-auth-card .trust{margin:10px 0}.academia-password-strength{margin:-2px 0 10px}.academia-password-strength>i{display:block;width:0;height:4px;border-radius:4px;background:#ef4444;transition:width .2s,background .2s}.academia-password-strength span{display:block;margin-top:4px;color:#8a98aa;font-size:11px}.academia-auth-success{text-align:center;padding-top:35px}.academia-auth-success>span{width:58px;height:58px;display:grid;place-items:center;margin:0 auto 14px;border-radius:50%;background:#e8f8ee;color:#15934b;font-size:25px}.academia-auth-success p{color:#667892;font-size:13px}.academia-auth-success .academia-auth-primary{margin-top:15px}.academia-auth-card.is-loading:after{content:"";position:absolute;inset:0;z-index:10;background:rgba(255,255,255,.68);backdrop-filter:blur(2px)}.academia-auth-card.is-loading:before{content:"";position:absolute;z-index:11;left:50%;top:50%;width:30px;height:30px;margin:-15px;border:3px solid #dbe7fa;border-top-color:#0866ff;border-radius:50%;animation:academiaSpin .75s linear infinite}@keyframes academiaAuthIn{from{opacity:0;transform:translateX(14px)}to{opacity:1;transform:none}}@keyframes academiaSpin{to{transform:rotate(360deg)}}#bems-auth{display:none!important}@media(max-width:900px){.academia-auth-card{max-width:520px;margin:auto;min-height:440px}}@media(max-width:480px){.academia-auth-card{min-height:430px;padding:18px;border-radius:14px}.academia-auth-brand{margin-bottom:12px}.academia-otp-inputs{gap:4px}.academia-otp-inputs input{height:44px!important}.academia-auth-row{align-items:flex-start;flex-direction:column}}
/* Dedicated authentication fallback page */
body.academia-auth-page{background:#eef4fc!important}body.academia-auth-page #content,body.academia-auth-page .site-content{padding:0!important}body.academia-auth-page .ast-container,body.academia-auth-page #primary,body.academia-auth-page #main{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}.academia-auth-page-wrap{min-height:calc(100vh - 76px);display:grid;place-items:center;padding:120px 20px 70px;background:radial-gradient(circle at 15% 20%,#20c7ff20,transparent 28%),linear-gradient(135deg,#102858,#0758c9)}.academia-auth-page-wrap>section{width:min(100%,1000px);display:grid;grid-template-columns:1.15fr 380px;align-items:center;gap:70px}.academia-auth-page-wrap>section>div{color:#fff}.academia-auth-page-wrap>section>div>span{font-size:13px;font-weight:850;letter-spacing:.13em;color:#8edfff}.academia-auth-page-wrap h1{margin:8px 0 14px!important;color:#fff!important;font-size:clamp(34px,5vw,55px)!important;line-height:1.06!important}.academia-auth-page-wrap>section>div>p{color:#dbeafe;font-size:16px;line-height:1.65}.academia-auth-page-wrap ul{display:grid;gap:8px;margin:24px 0 0;padding:0;list-style:none}.academia-auth-page-wrap li{padding-left:25px;color:#eaf3ff;font-size:15px}.academia-auth-page-wrap li:before{content:"✓";margin-left:-25px;margin-right:10px;color:#20c7ff;font-weight:800}@media(max-width:800px){.academia-auth-page-wrap>section{grid-template-columns:1fr;gap:30px}.academia-auth-page-wrap>section>div{text-align:center}.academia-auth-page-wrap ul{display:none}.academia-auth-page-wrap aside{width:100%;max-width:520px;margin:auto}}@media(max-width:480px){.academia-auth-page-wrap{padding:95px 10px 35px}.academia-auth-page-wrap>section>div>p{font-size:14px}}

/* Auth controls polish 5.1.1 — compact card without duplicate brand and true circular icon buttons. */
.academia-auth-card{min-height:390px;padding:24px;border-radius:20px}
.academia-auth-view>header{min-height:44px;padding-right:46px;margin-bottom:18px}
.academia-auth-view[data-auth-view="login"]>header,
.academia-auth-view[data-auth-view="login_otp"]>header,
.academia-auth-view[data-auth-view="register_password"]>header,
.academia-auth-view[data-auth-view="reset_password"]>header{padding-right:0}
.academia-auth-view>header .back,
.academia-auth-card .academia-icon-button{
  -webkit-appearance:none!important;
  appearance:none!important;
  display:inline-grid!important;
  place-items:center!important;
  box-sizing:border-box!important;
  flex:0 0 34px!important;
  width:34px!important;
  min-width:34px!important;
  max-width:34px!important;
  height:34px!important;
  min-height:34px!important;
  max-height:34px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid #d6e2f3!important;
  border-radius:50%!important;
  background:linear-gradient(145deg,#fff,#f6f9fe)!important;
  color:#0866ff!important;
  line-height:1!important;
  text-indent:0!important;
  box-shadow:0 5px 14px rgba(16,40,88,.10)!important;
  transform:none;
  cursor:pointer;
  overflow:hidden;
  transition:border-color .18s ease,background .18s ease,box-shadow .18s ease,transform .18s ease!important;
}
.academia-auth-view>header .back{position:absolute!important;right:0!important;top:0!important;z-index:2}
.academia-auth-card .academia-icon-button svg{display:block;width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.academia-auth-card .academia-icon-button:hover{border-color:#9fc2ff!important;background:#eef5ff!important;box-shadow:0 7px 18px rgba(8,102,255,.16)!important;transform:translateY(-1px)!important}
.academia-auth-card .academia-icon-button:focus-visible{outline:3px solid rgba(32,199,255,.28)!important;outline-offset:2px!important;border-color:#0866ff!important}
.academia-auth-card .academia-icon-button:active{transform:translateY(0)!important;box-shadow:0 3px 9px rgba(16,40,88,.12)!important}
.academia-password button.academia-icon-button{right:6px!important;bottom:6px!important;width:29px!important;min-width:29px!important;max-width:29px!important;height:29px!important;min-height:29px!important;max-height:29px!important;border-color:transparent!important;background:transparent!important;box-shadow:none!important;color:#60738d!important}
.academia-password button.academia-icon-button svg{width:16px;height:16px}
.academia-password button.academia-icon-button:hover{border-color:#d7e5fa!important;background:#eef5ff!important;box-shadow:none!important;transform:none!important;color:#0866ff!important}
.academia-auth-success>span{box-sizing:border-box;width:58px!important;min-width:58px!important;max-width:58px!important;height:58px!important;min-height:58px!important;max-height:58px!important;aspect-ratio:1;border-radius:50%!important}
@media(max-width:900px){.academia-auth-card{min-height:390px}}
@media(max-width:480px){.academia-auth-card{min-height:380px;padding:20px;border-radius:18px}.academia-auth-view>header{margin-bottom:15px}}
