/* Base styles */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  margin: 0;
  padding: 0;
}

/* Chart containers */
.chart-container {
  width: 100%;
  height: 200px;
  margin: 20px 0;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 4px;
}

/* Canvas elements */
canvas {
  display: block;
  max-width: 100%;
  margin: 0 auto;
}

/* Demo sections */
.demo-section {
  margin: 40px 0;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
}

/* Input areas */
textarea {
  width: 100%;
  min-height: 100px;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-family: monospace;
}

/* Buttons */
button {
  padding: 8px 16px;
  margin: 5px;
  border: none;
  border-radius: 4px;
  background: #007bff;
  color: white;
  cursor: pointer;
  transition: background 0.2s;
}

button:hover {
  background: #0056b3;
}

button:disabled {
  background: #6c757d;
  cursor: not-allowed;
}

/* Labels */
.label {
  font-weight: 500;
  margin-bottom: 5px;
  display: block;
}

/* Grid layout */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 20px 0;
}

/* Responsive design */
@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

.demo-container {
  display: flex;
  gap: 20px;
}

#mouse-app canvas {
  width: 400px;
  height: 200px;
  max-width: 100%;
  display: block;
  margin: 0 auto;
}

#mouse-app {
  max-width: 900px;
  margin: 0 auto;
} 