/* Néfesh — recuperación de contraseña, contraste completo en modo oscuro v1 */

html[data-theme="dark"] body.recovery-body{
  --recovery-ink:#14343b;
  --recovery-muted:#5f757b;
  color:#eefaff!important;
  background:
    radial-gradient(circle at 8% 8%,rgba(67,211,193,.12),transparent 28rem),
    radial-gradient(circle at 92% 90%,rgba(117,107,228,.1),transparent 28rem),
    #02080e!important;
}

html[data-theme="dark"] body.recovery-body .recovery-header{
  border-bottom-color:rgba(106,220,211,.22)!important;
}

html[data-theme="dark"] body.recovery-body .recovery-brand strong{
  color:#dff0f3!important;
  -webkit-text-fill-color:#dff0f3!important;
  opacity:1!important;
}

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

html[data-theme="dark"] body.recovery-body .recovery-brand small{
  color:#b7ccd2!important;
  -webkit-text-fill-color:#b7ccd2!important;
  opacity:1!important;
}

html[data-theme="dark"] body.recovery-body .recovery-back{
  border-color:#c6d6da!important;
  background:#eef4f5!important;
  color:#284650!important;
  -webkit-text-fill-color:#284650!important;
  font-weight:900!important;
  opacity:1!important;
}

html[data-theme="dark"] body.recovery-body .recovery-kicker{
  border-color:#b8d8d3!important;
  background:#edf6f5!important;
  color:#087f75!important;
  -webkit-text-fill-color:#087f75!important;
  font-weight:950!important;
  opacity:1!important;
}

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

html[data-theme="dark"] body.recovery-body .recovery-copy>p{
  color:#bdd2d9!important;
  -webkit-text-fill-color:#bdd2d9!important;
  font-weight:550!important;
  opacity:1!important;
}

/* Tarjetas de seguridad: superficie clara con texto oscuro explícito. */
html[data-theme="dark"] body.recovery-body .recovery-security-list article{
  border-color:#cbd7da!important;
  background:#ffffff!important;
  color:#12323b!important;
  box-shadow:0 12px 28px rgba(0,0,0,.2)!important;
}

html[data-theme="dark"] body.recovery-body .recovery-security-list article>span{
  border:1px solid #bfe5df!important;
  background:#e5f8f5!important;
  color:#087f75!important;
  -webkit-text-fill-color:#087f75!important;
  font-weight:950!important;
  opacity:1!important;
}

html[data-theme="dark"] body.recovery-body .recovery-security-list b{
  color:#12323b!important;
  -webkit-text-fill-color:#12323b!important;
  font-size:12px!important;
  font-weight:950!important;
  opacity:1!important;
  text-shadow:none!important;
}

html[data-theme="dark"] body.recovery-body .recovery-security-list small{
  color:#48636b!important;
  -webkit-text-fill-color:#48636b!important;
  font-size:10px!important;
  font-weight:650!important;
  opacity:1!important;
}

html[data-theme="dark"] body.recovery-body .recovery-scope-card{
  border-left-color:#43d3c1!important;
  background:#ffffff!important;
  color:#12323b!important;
  box-shadow:0 12px 28px rgba(0,0,0,.2)!important;
}

html[data-theme="dark"] body.recovery-body .recovery-scope-card small{
  color:#547078!important;
  -webkit-text-fill-color:#547078!important;
  font-weight:900!important;
  opacity:1!important;
}

html[data-theme="dark"] body.recovery-body .recovery-scope-card b{
  color:#12323b!important;
  -webkit-text-fill-color:#12323b!important;
  font-size:17px!important;
  font-weight:950!important;
  opacity:1!important;
}

html[data-theme="dark"] body.recovery-body .recovery-scope-card p{
  color:#4c666e!important;
  -webkit-text-fill-color:#4c666e!important;
  font-size:10px!important;
  font-weight:650!important;
  opacity:1!important;
}

/* Panel principal claro con todos los textos oscuros. */
html[data-theme="dark"] body.recovery-body .recovery-card{
  border-color:#cddcdf!important;
  background:#ffffff!important;
  color:#12323b!important;
  box-shadow:0 28px 80px rgba(0,0,0,.42)!important;
}

html[data-theme="dark"] body.recovery-body .recovery-step-heading>span{
  border:1px solid #bde4de!important;
  background:#e5f8f5!important;
  color:#087f75!important;
  -webkit-text-fill-color:#087f75!important;
  font-weight:950!important;
  opacity:1!important;
}

html[data-theme="dark"] body.recovery-body .recovery-step-heading small{
  color:#526e76!important;
  -webkit-text-fill-color:#526e76!important;
  font-weight:900!important;
  opacity:1!important;
}

html[data-theme="dark"] body.recovery-body .recovery-step-heading h2{
  color:#12323b!important;
  -webkit-text-fill-color:#12323b!important;
  font-size:25px!important;
  font-weight:950!important;
  opacity:1!important;
  text-shadow:none!important;
}

html[data-theme="dark"] body.recovery-body .recovery-form label{
  color:#173a44!important;
  -webkit-text-fill-color:#173a44!important;
  font-size:11px!important;
  font-weight:950!important;
  opacity:1!important;
}

html[data-theme="dark"] body.recovery-body .recovery-form input{
  border-color:#315b69!important;
  background:#0a2a37!important;
  color:#f4fbfd!important;
  -webkit-text-fill-color:#f4fbfd!important;
  caret-color:#55e1d2!important;
  color-scheme:dark!important;
  opacity:1!important;
}

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

html[data-theme="dark"] body.recovery-body .recovery-form input:focus{
  border-color:#22bcae!important;
  box-shadow:0 0 0 4px rgba(34,188,174,.16)!important;
}

html[data-theme="dark"] body.recovery-body .recovery-form .button.primary{
  border-color:#2acbbb!important;
  background:linear-gradient(135deg,#3bd3c3,#22b8ab)!important;
  color:#062f2c!important;
  -webkit-text-fill-color:#062f2c!important;
  font-weight:950!important;
}

/* Mensajes: conviértelos en avisos legibles. */
html[data-theme="dark"] body.recovery-body .recovery-message:not(:empty){
  min-height:auto!important;
  padding:11px 13px!important;
  border:1px solid #ccdadd!important;
  border-radius:10px!important;
  background:#f4f7f8!important;
  color:#334f58!important;
  -webkit-text-fill-color:#334f58!important;
  font-size:10px!important;
  font-weight:700!important;
  opacity:1!important;
}

html[data-theme="dark"] body.recovery-body .recovery-message[data-kind="error"]:not(:empty){
  border-color:#efb8bf!important;
  background:#fff1f3!important;
  color:#8c2735!important;
  -webkit-text-fill-color:#8c2735!important;
}

html[data-theme="dark"] body.recovery-body .recovery-message[data-kind="success"]:not(:empty){
  border-color:#a9ddd4!important;
  background:#ebf9f6!important;
  color:#126a61!important;
  -webkit-text-fill-color:#126a61!important;
}

html[data-theme="dark"] body.recovery-body .recovery-generic-note,
html[data-theme="dark"] body.recovery-body .recovery-password-hint{
  border:1px solid #dce6e8!important;
  background:#f4f7f8!important;
  color:#4f6870!important;
  -webkit-text-fill-color:#4f6870!important;
  font-weight:650!important;
  opacity:1!important;
}

html[data-theme="dark"] body.recovery-body .recovery-development-note{
  border-color:#cbc4ef!important;
  background:#f2efff!important;
}

html[data-theme="dark"] body.recovery-body .recovery-development-note b{
  color:#5046b8!important;
  -webkit-text-fill-color:#5046b8!important;
  font-weight:950!important;
}

html[data-theme="dark"] body.recovery-body .recovery-development-note p{
  color:#514d76!important;
  -webkit-text-fill-color:#514d76!important;
  opacity:1!important;
}

html[data-theme="dark"] body.recovery-body .recovery-help{
  border-top-color:#dce6e8!important;
  color:#587078!important;
  -webkit-text-fill-color:#587078!important;
  font-weight:650!important;
  opacity:1!important;
}

html[data-theme="dark"] body.recovery-body .recovery-help a{
  color:#087f75!important;
  -webkit-text-fill-color:#087f75!important;
  font-weight:950!important;
}

html[data-theme="dark"] body.recovery-body .recovery-success h2{
  color:#12323b!important;
  -webkit-text-fill-color:#12323b!important;
}

html[data-theme="dark"] body.recovery-body .recovery-success p{
  color:#4f6870!important;
  -webkit-text-fill-color:#4f6870!important;
  opacity:1!important;
}
