/* NexGen Login Final Calibration rc271 */

/* Remove the duplicate pseudo trust note introduced by the rc269 reference layer.
   The real .ps-auth-access component already provides this information. */
.ps-auth-scene .ps-auth-card::after{
  content:none!important;
  display:none!important;
}

/* Header: clean two-item alignment with no clipped helper copy. */
.ps-auth-scene .ps-auth-head{
  min-height:34px!important;
  margin-bottom:16px!important;
  overflow:visible!important;
}
.ps-auth-scene .ps-auth-provider{
  position:static!important;
  flex:0 0 auto!important;
  max-width:none!important;
  overflow:visible!important;
  white-space:nowrap!important;
  text-overflow:clip!important;
  color:#6158d5!important;
  font-size:11px!important;
  line-height:1.2!important;
  font-weight:850!important;
}

/* Welcome block */
.ps-auth-scene .ps-auth-welcome{
  gap:11px!important;
  margin-bottom:16px!important;
}
.ps-auth-scene .ps-auth-current-icon{
  width:40px!important;
  height:40px!important;
  flex:0 0 40px!important;
}
.ps-auth-scene .ps-auth-welcome h2{
  font-size:32px!important;
  line-height:1.08!important;
}
.ps-auth-scene .ps-auth-welcome p{
  max-width:410px!important;
  font-size:14px!important;
  line-height:1.5!important;
}

/* Portal tabs */
.ps-auth-scene .ps-auth-portals{
  gap:5px!important;
  padding:4px!important;
  margin-bottom:13px!important;
}
.ps-auth-scene .ps-auth-portals a{
  min-height:44px!important;
}

/* Context panel */
.ps-auth-scene .ps-auth-context{
  padding:11px 12px!important;
  margin-bottom:14px!important;
  background:#fbfcfe!important;
}
.ps-auth-scene .ps-auth-context span{
  font-size:12px!important;
}
.ps-auth-scene .ps-auth-context small{
  font-size:12px!important;
}

/* Form controls: remove pale-blue filled appearance and heavy double-focus ring. */
.ps-auth-scene .ps-auth-control input:not([type="checkbox"]){
  min-height:49px!important;
  background:#fff!important;
  border:1px solid #ced9e6!important;
  border-radius:11px!important;
  box-shadow:none!important;
}
.ps-auth-scene .ps-auth-control input:not([type="checkbox"]):focus{
  border-color:#6a73df!important;
  outline:none!important;
  box-shadow:0 0 0 3px rgba(89,92,211,.12)!important;
}
.ps-auth-scene .ps-auth-control>i{
  color:#718096!important;
}
.ps-auth-scene .ps-auth-reveal{
  right:5px!important;
  width:38px!important;
  height:38px!important;
  min-height:38px!important;
  border-radius:9px!important;
  background:#f5f7fb!important;
}

/* Meta row */
.ps-auth-scene .ps-auth-meta{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  min-height:34px!important;
}
.ps-auth-scene .ps-auth-remember{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  width:auto!important;
  margin:0!important;
  color:#657188!important;
  font-size:12px!important;
  line-height:1.3!important;
}
.ps-auth-scene .ps-auth-meta>a{
  color:#5439d4!important;
  font-size:12px!important;
  line-height:1.3!important;
  font-weight:850!important;
  text-decoration:none!important;
}

/* Submit */
.ps-auth-scene .ps-auth-submit{
  margin-top:2px!important;
  min-height:50px!important;
  border-radius:11px!important;
  box-shadow:0 10px 24px rgba(75,70,214,.19)!important;
}

/* Trust panel: keep one clean version only. */
.ps-auth-scene .ps-auth-access{
  display:grid!important;
  grid-template-columns:34px 1fr!important;
  gap:10px!important;
  align-items:start!important;
  margin-top:16px!important;
  padding:12px 13px!important;
  border:1px solid #e5e9f1!important;
  border-radius:12px!important;
  background:linear-gradient(135deg,#f7f9fd,#f4f6fc)!important;
}
.ps-auth-scene .ps-auth-access>i{
  display:grid!important;
  place-items:center!important;
  width:34px!important;
  height:34px!important;
  border-radius:10px!important;
  background:#eef0ff!important;
  color:#5c48d5!important;
  font-style:normal!important;
}
.ps-auth-scene .ps-auth-access strong{
  display:block!important;
  margin-bottom:3px!important;
  color:#25344b!important;
  font-size:11px!important;
  line-height:1.3!important;
}
.ps-auth-scene .ps-auth-access small{
  display:block!important;
  color:#66748a!important;
  font-size:12px!important;
  line-height:1.48!important;
}

/* Footer: make both sides readable and aligned. */
.ps-auth-scene .ps-auth-foot{
  display:flex!important;
  justify-content:space-between!important;
  align-items:center!important;
  gap:14px!important;
  margin-top:15px!important;
}
.ps-auth-scene .ps-auth-foot>a{
  color:#5439d4!important;
  font-size:12px!important;
  font-weight:850!important;
  text-decoration:none!important;
}
.ps-auth-scene .ps-auth-foot>span{
  color:#8290a4!important;
  font-size:9px!important;
  line-height:1.3!important;
  text-align:right!important;
}

/* Keep card rhythm compact enough for common laptop heights. */
.ps-auth-scene .ps-auth-card{
  padding:24px 26px!important;
}
.ps-auth-scene .ps-auth-form{
  gap:11px!important;
}

@media(max-width:700px){
  .ps-auth-scene .ps-auth-head{
    align-items:flex-start!important;
  }
  .ps-auth-scene .ps-auth-provider{
    font-size:10px!important;
  }
  .ps-auth-scene .ps-auth-foot{
    align-items:flex-start!important;
    flex-direction:column!important;
  }
  .ps-auth-scene .ps-auth-foot>span{
    text-align:left!important;
  }
}
