/* General Styles */ body { font-family: Arial, sans-serif; margin: 0; padding: 0; background-color: #f4f4f4; } header { background-color: #333; color: white; text-align: center; padding: 20px; } .main-content { display: flex; justify-content: center; align-items: flex-start; margin: 20px; } #map-container { position: relative; width: 70%; height: 500px; border: 1px solid #ddd; overflow: hidden; } #map { width: 100%; height: 100%; object-fit: contain; cursor: pointer; } /* Sensor point styling */ .sensor { position: absolute; width: 15px; height: 15px; border-radius: 50%; background-color: red; border: 2px solid black; cursor: pointer; z-index: 100; transition: transform 0.2s; } .sensor:hover { transform: scale(1.5); } #dashboard { width: 25%; padding: 20px; background-color: #fff; border: 1px solid #ddd; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); margin-left: 20px; } #sensor-data { width: 100%; border-collapse: collapse; } #sensor-data th, #sensor-data td { padding: 8px; text-align: left; border-bottom: 1px solid #ddd; } /* Button Styles */ .buttons-container { display: flex; justify-content: center; margin-top: 20px; margin-bottom: 20px; } button { padding: 10px 20px; margin: 5px; cursor: pointer; background-color: #4CAF50; color: white; border: none; border-radius: 5px; transition: background-color 0.3s; } button:hover { background-color: #45a049; }