/* Toolbar UI Styling - Glassmorphism & Modern Floating Neumorphic Style */
.geo-toolbar {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.8);
  z-index: 100;
  font-family: 'Inter', sans-serif;
  user-select: none;
}

.geo-toolbar-item {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 20px;
}

.geo-toolbar-item:hover:not(:disabled) {
  background: #f1f5f9;
  color: #4f46e5;
  transform: translateY(-2px);
}

.geo-toolbar-item.active:not(:disabled) {
  background: #4f46e5;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

.geo-toolbar-item:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.geo-toolbar-separator {
  width: 1px;
  height: 24px;
  background: #e2e8f0;
  margin: 0 4px;
}

/* Tooltip Styling */
.geo-toolbar-tooltip {
  position: absolute;
  bottom: 56px;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 6px 10px;
  background: #0f172a;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.15s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.geo-toolbar-item:hover .geo-toolbar-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.geo-toolbar-shortcut {
  color: #94a3b8;
  font-size: 9px;
  margin-left: 6px;
}

/* Mobile Responsiveness - Floating Top Toolbar */
@media (max-width: 768px) {
  .geo-toolbar {
    top: 10px;
    bottom: auto;
    padding: 6px 10px;
    border-radius: 14px;
    gap: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  }

  .geo-toolbar-item {
    width: 36px;
    height: 36px;
    font-size: 16px;
    border-radius: 8px;
  }

  .geo-toolbar-separator {
    height: 18px;
    margin: 0 2px;
  }

  .geo-toolbar-tooltip {
    bottom: auto;
    top: 46px;
    font-size: 10px;
    padding: 4px 8px;
  }
}
