html, body { height: 100vh; width: 100vw; margin: 0; padding: 0; display: flex; font-family: Arial, sans-serif; overflow: hidden; } #sidebar { width: 280px; background-color: #f8f9fa; padding: 20px; box-shadow: 2px 0 5px rgba(0,0,0,0.2); z-index: 1000; overflow-y: auto; } #sidebar h3 { margin-top: 0; border-bottom: 2px solid #ddd; padding-bottom: 10px; } /* Styling Ikon Mode */ .mode-selector { margin-bottom: 20px; } .mode-buttons { display: flex; gap: 10px; justify-content: space-between; } .mode-btn { flex: 1; padding: 15px 5px; background: #fff; border: 2px solid #ccc; border-radius: 8px; cursor: pointer; text-align: center; transition: all 0.3s ease; color: #555; font-size: 12px; font-weight: bold; } .mode-btn i { font-size: 24px; margin-bottom: 8px; display: block; } .mode-btn:hover { background: #e9ecef; } /* Warna saat tombol mode aktif */ .mode-btn.active[data-mode="point"] { border-color: #e74c3c; color: #e74c3c; background: #fadbd8; } .mode-btn.active[data-mode="polyline"] { border-color: #3498db; color: #3498db; background: #d6eaf8; } .mode-btn.active[data-mode="polygon"] { border-color: #2ecc71; color: #2ecc71; background: #d5f5e3; } /* Styling tombol edit aktif */ .mode-btn.active[data-mode="edit_jalan"] { background-color: #f1c40f !important; color: white !important; } .mode-btn.active[data-mode="edit_kavling"] { background-color: #27ae60 !important; color: white !important; } /* Styling Input & Action Buttons */ .action-buttons { display: none; background: #fff; padding: 15px; border-radius: 8px; border: 1px solid #ddd; margin-top: 10px; } .action-buttons input, .action-buttons select { width: 100%; margin-bottom: 15px; padding: 8px; box-sizing: border-box; border: 1px solid #ccc; border-radius: 4px; } .action-buttons button { width: 100%; padding: 10px; margin-bottom: 8px; cursor: pointer; border-radius: 5px; font-weight: bold; } .btn-success { background-color: #2ecc71; color: white; border: none; } .btn-danger { background-color: #e74c3c; color: white; border: none; } #map-container { flex: 1; position: relative; } #map { position: absolute; top: 0; bottom: 0; left: 0; right: 0; }