/* Asistente seguro de recuperación desde dispositivos antiguos (sin borrar localStorage antes de verificar) */
#bf-recuperacion-overlay {
  position: fixed;
  inset: 0;
  z-index: 99990;
  background: rgba(15, 23, 42, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-sizing: border-box;
}

.bf-rec-card {
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  overflow-y: auto;
  background: #ffffff;
  color: #0f172a;
  border-radius: 16px;
  padding: 18px;
  box-sizing: border-box;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.bf-rec-card h2 {
  margin: 0 0 8px 0;
  font-size: 1.12rem;
}

.bf-rec-resumen {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 10px;
  margin: 10px 0;
  font-size: 0.85rem;
}

.bf-rec-paso {
  border-top: 1px solid #e2e8f0;
  padding-top: 10px;
  margin-top: 10px;
}

.bf-rec-btn {
  width: 100%;
  min-height: 44px;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 6px;
  background: #1d4ed8;
  color: #ffffff;
}

.bf-rec-btn.sec {
  background: #e2e8f0;
  color: #0f172a;
}

.bf-rec-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.bf-rec-input {
  width: 100%;
  box-sizing: border-box;
  min-height: 40px;
  padding: 8px 10px;
  margin-top: 4px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
}

.bf-rec-msg {
  margin-top: 8px;
  font-size: 0.84rem;
  font-weight: 700;
}

html[data-tema="noche"] .bf-rec-card {
  background: #1e293b;
  color: #f8fafc;
}

html[data-tema="noche"] .bf-rec-resumen {
  background: #0f172a;
  border-color: #334155;
}

html[data-tema="noche"] .bf-rec-input {
  background: #0f172a;
  color: #f8fafc;
  border-color: #334155;
}
