body, html {margin:0;padding:0;height:100%;font-family:Arial,sans-serif;}
#container{display:flex;height:100vh;width:100vw;}
#sidebar{width:300px;background:#f8f9fa;padding:20px;box-shadow:2px 0 5px rgba(0,0,0,0.1);display:flex;flex-direction:column;gap:10px;}
#sidebar input,#sidebar button{padding:10px;border-radius:5px;border:1px solid #ccc;}
#sidebar button{background:#007bff;color:#fff;border:none;cursor:pointer;}
#sidebar button:hover{background:#0056b3;}
#map{flex-grow:1;}

#map {
  height: 100vh;
  width: 100%;
  z-index: 1;
  flex: 1;
  position: relative;
}

.velocidade-icons {
  position: absolute;
  top: 3cm;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.velocidade-icons img {
  width: 80px;
  height: 100px;
  background: white;
  border-radius: 8px;
  padding: 4px;
  box-shadow: 0 0 4px rgba(0,0,0,0.3);
}

#insecure-points {
  margin-top: 20px;
  max-height: 60vh;
  overflow-y: auto;
  border-top: 1px solid #ccc;
  padding-top: 10px;
}

.insecure-point {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-bottom: 1px solid #ddd;
  cursor: pointer;
}

.insecure-point:hover {
  background: #e9ecef;
}

.insecure-point img.thumbnail {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.insecure-point .point-details {
  flex-grow: 1;
}

.insecure-point .point-details strong {
  font-size: 14px;
}

.insecure-point .point-details span {
  font-size: 12px;
  color: #555;
}





#sidebar.hidden {
  display: none;
}

@media (max-width: 768px) {
  #sidebar {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 100%;
    overflow-y: auto;
    z-index: 9999;
    background: #f8f9fa;
  }

  #map {
    height: 100vh;
    width: 100%;
  }
}











.sidebar-hidden 

.sidebar-hidden #sidebar {
  display: none;
}






.sidebar-hidden 

.sidebar-hidden #sidebar {
  display: none;
}










.sidebar-hidden #sidebar {
  display: none;
}


#instrucoes-seguranca button {
  margin-top: 20px;
  padding: 10px 20px;
  background: #007bff;
  color: white;
  border: none;
  cursor: pointer;
}

#instrucoes-seguranca button:hover {
  background: #0056b3;
}


#toggleSidebar {
  background: #6c757d !important;
  color: white !important;
  border: none;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

#toggleSidebar:hover {
  background: #5a6268 !important;
}

#openSidebarBtn {
  position: absolute;
  top: 4cm;
  left: 10px;
  z-index: 10000;
  background: #6c757d !important;
  color: white !important;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  display: none;
}

#openSidebarBtn:hover {
  background: #5a6268 !important;
}
