body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#ol_vector_xyz {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

#ol_vector_code,
#loc_vector_code {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(255, 0, 0, 0.8);
  padding: 20px 30px;
  border-radius: 5px;
  font-size: 20px;
  color: white;
  z-index: 100;
}

#ol_vector_code {
  bottom: 10px;
}

#loc_vector_code {
  bottom: 80px;
}

.map-type-buttons {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(0, 255, 0, 0.8);
  padding: 10px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 200;
}

.map-type-buttons button {
  padding: 10px 15px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  background-color: white;
  color: #333;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: background-color 0.2s ease;
}

.map-type-buttons button:hover {
  background-color: #ddd;
}
