/* ============================================================
   Passkeys (Face ID / huella) — estilos compartidos
   Marca: monocromático B/N, Roboto.
   ============================================================ */

/* Oferta de activación (tarjeta flotante inferior) */
.pk-offer {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 900;
  max-width: 480px; margin: 0 auto;
  display: flex; align-items: center; gap: 14px;
  background: #0d0d0d; color: #fff;
  border-radius: 16px; padding: 15px 16px;
  box-shadow: 0 14px 40px rgba(13, 13, 13, .35);
  opacity: 0; transform: translateY(14px);
  transition: opacity .28s ease, transform .28s ease;
  font-family: 'Roboto', system-ui, sans-serif;
}
.pk-offer.is-in { opacity: 1; transform: translateY(0); }
.pk-offer__icon { flex: 0 0 auto; width: 34px; height: 34px; color: #fff; }
.pk-offer__icon svg { width: 100%; height: 100%; }
.pk-offer__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pk-offer__text b { font-size: 14.5px; font-weight: 600; }
.pk-offer__text span { font-size: 12.5px; color: rgba(255, 255, 255, .75); line-height: 1.35; }
.pk-offer__actions { display: flex; flex-direction: column; gap: 6px; }
.pk-offer__yes {
  font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
  background: #fff; color: #0d0d0d; border: 0; border-radius: 999px; padding: 8px 16px;
}
.pk-offer__no {
  font: inherit; font-size: 12px; cursor: pointer;
  background: transparent; color: rgba(255, 255, 255, .65); border: 0; padding: 2px;
}

/* Puerta Face ID en la app pública (tras el preloader) */
.pk-gate {
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(13, 13, 13, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: flex-end; justify-content: center;
  font-family: 'Roboto', system-ui, sans-serif;
  animation: pkFade .25s ease;
}
.pk-gate__card {
  width: 100%; max-width: 440px;
  background: #fff; color: #0d0d0d;
  border-radius: 22px 22px 0 0; padding: 30px 26px calc(26px + env(safe-area-inset-bottom));
  text-align: center;
  animation: pkUp .32s cubic-bezier(.2, .8, .25, 1);
}
.pk-gate__icon { display: inline-flex; width: 52px; height: 52px; color: #0d0d0d; margin-bottom: 12px; }
.pk-gate__icon svg { width: 100%; height: 100%; }
.pk-gate__title { font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.pk-gate__sub { font-size: 13.5px; color: #777; margin-top: 4px; }
.pk-gate__btn {
  font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
  display: block; width: 100%; margin-top: 20px;
  background: #0d0d0d; color: #fff; border: 0; border-radius: 999px; padding: 14px;
}
.pk-gate__btn:disabled { opacity: .6; }
.pk-gate__skip {
  font: inherit; font-size: 13px; cursor: pointer;
  background: transparent; color: #999; border: 0; margin-top: 12px; padding: 4px;
}
@keyframes pkFade { from { opacity: 0; } }
@keyframes pkUp { from { transform: translateY(40px); opacity: 0; } }

/* Botón Face ID en la página de login */
.pk-login-btn {
  font: inherit; font-size: 14.5px; font-weight: 500; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; margin-top: 14px;
  background: #fff; color: #0d0d0d; border: 1.5px solid #0d0d0d; border-radius: 999px; padding: 12px;
  transition: all .15s ease;
}
.pk-login-btn:hover { background: #0d0d0d; color: #fff; }
.pk-login-btn.is-busy { opacity: .6; pointer-events: none; }
.pk-login-btn svg { width: 22px; height: 22px; }
