/* tensix-viz.css — styles for the Tensix Grid Visualizer component */

.tensix-viz-wrapper {
  margin: 24px 0;
  background: #0F2A35;
  border: 1px solid #2D6675;
  border-radius: 8px;
  overflow: hidden;
}

.tensix-viz-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: #0D2030;
  border-bottom: 1px solid #1A3C47;
}

.tensix-viz-title {
  font-size: 12px;
  font-weight: 600;
  color: #4FD1C5;
  font-family: monospace;
  letter-spacing: 0.05em;
}

.tensix-viz-arch-badge {
  font-size: 10px;
  color: #607D8B;
  padding: 1px 6px;
  border: 1px solid #2D4060;
  border-radius: 10px;
}

.tensix-viz-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px;
  gap: 8px;
}

.tensix-viz-canvas {
  display: block;
  border-radius: 4px;
  max-width: 100%;
}

.tensix-viz-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tv-play,
.tv-step {
  background: #1A3C47;
  border: 1px solid #2D6675;
  border-radius: 4px;
  color: #4FD1C5;
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
  padding: 4px 10px;
  transition: background 0.15s, border-color 0.15s;
}

.tv-play:hover,
.tv-step:hover {
  background: #2D6675;
  border-color: #4FD1C5;
}

.tv-play:active,
.tv-step:active {
  background: #4FD1C5;
  color: #0F2A35;
}

.tv-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 6px 14px;
  border-top: 1px solid #1A3C47;
  background: #0D2030;
}

.tv-legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #607D8B;
}

.tv-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  flex-shrink: 0;
}
