/* navigator-styles.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f0f2f5;
}

.container {
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 20px;
}

.upload-section {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  text-align: center;
}

.file-input {
  display: none;
}

.file-label {
  display: inline-block;
  padding: 12px 24px;
  background-color: #2196F3;
  color: white;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.file-label:hover {
  background-color: #1976D2;
}

.navigation-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

.map-container {
  height: 600px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navigation-panel {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.current-position {
  margin-bottom: 20px;
}

.current-position h3 {
  margin-bottom: 10px;
  color: #333;
}

#positionInfo, #nextPointInfo {
  padding: 10px;
  background-color: #f8f9fa;
  border-radius: 4px;
  margin-bottom: 10px;
  font-size: 14px;
}

.progress-info {
  margin-bottom: 20px;
}

.progress-item {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  background-color: #f8f9fa;
  border-radius: 4px;
  margin-bottom: 10px;
}

.controls {
  display: grid;
  gap: 10px;
}

.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
}

#startNavigation {
  background-color: #4CAF50;
  color: white;
}

#startNavigation:hover {
  background-color: #45a049;
}

#stopNavigation {
  background-color: #f44336;
  color: white;
}

#stopNavigation:hover {
  background-color: #da190b;
}

.btn:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .navigation-container {
      grid-template-columns: 1fr;
  }
  
  .map-container {
      height: 400px;
  }
}

/* Previous CSS styles remain the same... */

/* Add these new styles at the end of the file */
.current-position-marker-container {
  background: transparent;
}

.current-position-marker {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 255, 0.2);
  border-radius: 50%;
}

.direction-arrow {
  color: blue;
  font-size: 24px;
  line-height: 1;
  transform-origin: center;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}