/* Néfesh Pro access — stronger dark-mode contrast v1 */
html[data-theme="dark"] body.auth-body{
  color:#edfaff!important;
  background:
    radial-gradient(circle at 12% 14%,rgba(66,214,196,.1),transparent 26rem),
    radial-gradient(circle at 88% 8%,rgba(75,147,212,.1),transparent 27rem),
    linear-gradient(145deg,#030910,#06131c 58%,#07202a)!important;
}

html[data-theme="dark"] body.auth-body .auth-header{
  border-bottom-color:rgba(114,220,211,.18)!important;
  background:rgba(3,13,20,.9)!important;
}

html[data-theme="dark"] body.auth-body .auth-header .brand strong{
  color:#dbe9ec!important;
}

html[data-theme="dark"] body.auth-body .auth-header .brand strong i{
  color:#4be0d0!important;
}

html[data-theme="dark"] body.auth-body .auth-header .brand small,
html[data-theme="dark"] body.auth-body .auth-back{
  color:#aec4ca!important;
}

html[data-theme="dark"] body.auth-body .auth-copy .kicker{
  color:#9af0e5!important;
  opacity:1!important;
}

html[data-theme="dark"] body.auth-body .auth-copy h1{
  color:#f5fbff!important;
  text-shadow:0 8px 32px rgba(0,0,0,.28)!important;
}

html[data-theme="dark"] body.auth-body .auth-copy>p{
  color:#b4cdd5!important;
  opacity:1!important;
}

/* Keep the role cards light, but force strong dark copy inside them. */
html[data-theme="dark"] body.auth-body .role-explainer article{
  border:1px solid #cbd8dc!important;
  background:linear-gradient(145deg,#ffffff,#f2f6f7)!important;
  color:#102f37!important;
  box-shadow:0 14px 34px rgba(0,0,0,.26),inset 0 1px 0 rgba(255,255,255,1)!important;
}

html[data-theme="dark"] body.auth-body .role-explainer article :where(h3,p,span,div){
  opacity:1!important;
  text-shadow:none!important;
}

html[data-theme="dark"] body.auth-body .role-explainer h3{
  color:#102f37!important;
  -webkit-text-fill-color:#102f37!important;
  font-size:16px!important;
  font-weight:900!important;
  letter-spacing:-.01em!important;
}

html[data-theme="dark"] body.auth-body .role-explainer p{
  color:#36565e!important;
  -webkit-text-fill-color:#36565e!important;
  font-size:11px!important;
  font-weight:650!important;
  line-height:1.55!important;
}

html[data-theme="dark"] body.auth-body .role-symbol{
  border:1px solid rgba(19,123,115,.18)!important;
  opacity:1!important;
  text-shadow:none!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.92)!important;
}

html[data-theme="dark"] body.auth-body .role-symbol.professional{
  background:#ddf8f4!important;
  color:#078d80!important;
  -webkit-text-fill-color:#078d80!important;
}

html[data-theme="dark"] body.auth-body .role-symbol.institution{
  background:#e2effa!important;
  color:#2b72aa!important;
  -webkit-text-fill-color:#2b72aa!important;
}

html[data-theme="dark"] body.auth-body .auth-safety{
  border-left-color:#42d6c4!important;
  background:#ffffff!important;
  color:#314e57!important;
  -webkit-text-fill-color:#314e57!important;
  font-size:11px!important;
  font-weight:650!important;
  line-height:1.6!important;
  box-shadow:0 12px 28px rgba(0,0,0,.2)!important;
}

html[data-theme="dark"] body.auth-body .auth-safety b{
  color:#176b63!important;
  -webkit-text-fill-color:#176b63!important;
  font-weight:950!important;
}

/* Strengthen the professional/institutional form panel. */
html[data-theme="dark"] body.auth-body .auth-card{
  border-color:rgba(103,213,204,.26)!important;
  background:linear-gradient(160deg,#0d2f3d,#0a2633)!important;
  color:#f1fbff!important;
  box-shadow:0 25px 65px rgba(0,0,0,.4)!important;
}

html[data-theme="dark"] body.auth-body .auth-tabs{
  border:1px solid rgba(114,215,208,.2)!important;
  background:#071d27!important;
}

html[data-theme="dark"] body.auth-body .auth-tabs button{
  color:#b6ced4!important;
  opacity:1!important;
}

html[data-theme="dark"] body.auth-body .auth-tabs button.active{
  background:#eef8f7!important;
  color:#14363d!important;
  box-shadow:0 7px 18px rgba(0,0,0,.18)!important;
}

html[data-theme="dark"] body.auth-body .account-type{
  border-color:rgba(107,201,196,.28)!important;
  background:#071d27!important;
  color:#edf9fc!important;
}

html[data-theme="dark"] body.auth-body .account-type.active{
  border-color:#42d6c4!important;
  background:#0c3138!important;
  box-shadow:inset 0 0 0 1px rgba(66,214,196,.12),0 0 22px rgba(66,214,196,.08)!important;
}

html[data-theme="dark"] body.auth-body .account-type b{
  color:#f2fbfd!important;
  -webkit-text-fill-color:#f2fbfd!important;
  opacity:1!important;
}

html[data-theme="dark"] body.auth-body .account-type small{
  color:#b8d0d6!important;
  -webkit-text-fill-color:#b8d0d6!important;
  opacity:1!important;
}

html[data-theme="dark"] body.auth-body .account-type>span{
  color:#65e4d7!important;
  -webkit-text-fill-color:#65e4d7!important;
  opacity:1!important;
}

html[data-theme="dark"] body.auth-body .auth-form label,
html[data-theme="dark"] body.auth-body .auth-form label>span{
  color:#f2fafc!important;
  -webkit-text-fill-color:#f2fafc!important;
  opacity:1!important;
}

html[data-theme="dark"] body.auth-body .auth-form input,
html[data-theme="dark"] body.auth-body .auth-form select{
  border-color:rgba(117,210,206,.34)!important;
  background:#08232f!important;
  color:#f3fbff!important;
  -webkit-text-fill-color:#f3fbff!important;
  caret-color:#55e1d2!important;
}

html[data-theme="dark"] body.auth-body .auth-form input::placeholder{
  color:#c0d4da!important;
  -webkit-text-fill-color:#c0d4da!important;
  opacity:1!important;
}

html[data-theme="dark"] body.auth-body .auth-form option{
  background:#08232f!important;
  color:#f3fbff!important;
}

html[data-theme="dark"] body.auth-body .verification-note{
  border:1px solid rgba(231,171,92,.28)!important;
  background:#332719!important;
  color:#f6d8ae!important;
  -webkit-text-fill-color:#f6d8ae!important;
  font-weight:650!important;
  line-height:1.55!important;
}

html[data-theme="dark"] body.auth-body .professional-route-switch{
  border-color:#cfc8ef!important;
  background:#f4f1ff!important;
}

html[data-theme="dark"] body.auth-body .professional-route-switch span{
  color:#2e4650!important;
  -webkit-text-fill-color:#2e4650!important;
  opacity:1!important;
  font-weight:750!important;
}

html[data-theme="dark"] body.auth-body .professional-route-switch a{
  color:#5146bd!important;
  -webkit-text-fill-color:#5146bd!important;
  font-weight:950!important;
}

html[data-theme="dark"] body.auth-body .check-label,
html[data-theme="dark"] body.auth-body .check-label>span{
  color:#f4fbfd!important;
  -webkit-text-fill-color:#f4fbfd!important;
  opacity:1!important;
  font-weight:800!important;
}

html[data-theme="dark"] body.auth-body .check-label input{
  accent-color:#42d6c4!important;
}

html[data-theme="dark"] body.auth-body .institution-section-title{
  border-top-color:rgba(112,210,204,.2)!important;
}

html[data-theme="dark"] body.auth-body .institution-section-title>span{
  background:#dff7f3!important;
  color:#087f75!important;
}

html[data-theme="dark"] body.auth-body .institution-section-title b{
  color:#effafd!important;
}

html[data-theme="dark"] body.auth-body .institution-section-title small{
  color:#aec6cd!important;
}

html[data-theme="dark"] body.auth-body .prototype-warning,
html[data-theme="dark"] body.auth-body .demo-access>span{
  color:#abc2c9!important;
  opacity:1!important;
}

html[data-theme="dark"] body.auth-body .demo-access button{
  border-color:rgba(111,207,201,.28)!important;
  background:#0a2330!important;
  color:#e6f6f8!important;
}

@media(max-width:650px){
  html[data-theme="dark"] body.auth-body .role-explainer h3{font-size:15px!important}
  html[data-theme="dark"] body.auth-body .role-explainer p{font-size:10.5px!important}
}
