/* The screen that closes the loop of recovering a password. It covers
   everything on purpose: arriving here there is exactly one thing to do. */
.clave-fondo {
  position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center;
  background: rgba(8,10,16,.88); backdrop-filter: blur(8px); padding: 1.5rem;
}
/* Hidden while the authenticator code is asked in the access dialog (SPEC-046). */
.clave-fondo[hidden] { display: none !important; }
.clave-caja {
  width: min(26rem, 100%); display: flex; flex-direction: column; gap: .45rem;
  padding: 2rem; border-radius: .9rem; color: #f3efe6;
  background: #101420; border: 1px solid rgba(190,160,90,.35);
  box-shadow: 0 1.5rem 4rem rgba(0,0,0,.55);
  font-family: Inter, system-ui, sans-serif;
}
.clave-caja h2 {
  font-family: Fraunces, Georgia, serif; font-size: 1.45rem; margin: 0 0 .1rem;
}
.clave-nota { margin: 0 0 1rem; font-size: .9rem; opacity: .6; }
.clave-caja label {
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  opacity: .55; margin-top: .85rem;
}
.clave-caja input {
  font: inherit; padding: .7rem .85rem; border-radius: .5rem; color: inherit;
  background: transparent; border: 1px solid rgba(190,160,90,.32);
}
.clave-caja input:focus { outline: none; border-color: rgba(190,160,90,.75); }
.clave-error { margin: .85rem 0 0; color: #f0a0a0; font-size: .88rem; }
.clave-error[hidden] { display: none !important; }
.clave-guardar {
  margin-top: 1.5rem; font: inherit; font-weight: 600; letter-spacing: .04em;
  padding: .8rem 1rem; border: 0; border-radius: .5rem; cursor: pointer;
  background: #c9a961; color: #14161f;
}
.clave-guardar:hover { filter: brightness(1.07); }
.clave-salir {
  margin-top: .6rem; font: inherit; font-size: .88rem; padding: .4rem; border: 0;
  background: transparent; color: inherit; opacity: .7; cursor: pointer; text-decoration: underline;
}
.clave-salir:hover { opacity: 1; }
.clave-guardar:disabled { opacity: .6; cursor: default; }
