body {
  font-family: sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #f4f7f9;
  margin: 0;
}

.container {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 80%;
  max-width: 900px;
}

h1 {
  text-align: center;
  color: #333;
  margin-bottom: 20px;
}

textarea {
  width: 100%;
  height: 150px;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: monospace;
  font-size: 14px;
  resize: vertical;
}

button {
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: block;
  margin: 0 auto 20px auto;
}

button:hover {
  background-color: #0056b3;
}

#graphContainer {
  width: 100%;
  height: 500px;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-bottom: 20px;
}

/* Cytoscape styles */
#graphContainer canvas {
  /* Ensure labels are visible */
}

.cytoscape-container {
  z-index: 10; /* Example z-index to bring Cytoscape elements forward */
}

.cytoscape-container node {
  z-index: 20; /* Example z-index for nodes */
}

.cytoscape-container edge {
  z-index: 1; /* Example z-index for edges, behind nodes */
}

.controls {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
}

.control-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.control-item label {
  font-weight: bold;
}

#fontSizeSlider {
  width: 100px;
}