.device-marker-wrapper {
  position: relative;
  width: 44px;
  height: 44px;
}

/* Este rota con bearing */
.device-marker-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 44px;
  border: 2px solid gray;
  border-radius: 50%;
  background-color: #5bc0be;
  transform-origin: center center;
}

/* Flecha unida al borde */
.device-marker-container::after {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 10px solid gray;
}

/* Número centrado y NO rotado */
.device-number {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 40px;
  height: 40px;
  font-weight: bold;
  color: black;
  font-size: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}

/* Burbuja en la lista lateral (idéntico al mapa pero más pequeña) */
.device-bubble {
  width: 35px;
  height: 35px;
  background-color: #5bc0be;
  border-radius: 50%;
  font-weight: bold;
  font-size: 14px;
  color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  box-shadow: 0 0 2px rgba(0,0,0,0.3);
}


/* ========================== Estilo lista de dispositivos ========================== */

#deviceList {
  list-style: none;
  padding: 0;
  margin: 0;
}

.device-list-item {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid #e0e0e0;
  background-color: white;
  transition: background-color 0.2s ease;
}

.device-list-item:hover {
  background-color: #f8f8f8;
}

.device-bubble {
  width: 35px;
  height: 35px;
  background-color: #5bc0be;
  border-radius: 50%;
  font-weight: bold;
  font-size: 14px;
  color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  box-shadow: 0 0 2px rgba(0,0,0,0.2);
  flex-shrink: 0;
}


.device-name {
  font-weight: bold;
  font-size: 17px;
  color: #000000; /* Más oscuro que #333 */
}

.device-last-update {
  margin-left: auto;
  font-size: 12px;
  color: #5c5b5b; /* Gris más oscuro que #999 */
}
