.graph {
    z-index: 9;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.title {
  position: fixed;
  z-index: 10;
  pointer-events: none;
  color: #3b495e;
  left: -5px;
  border: 5px solid;
  padding-bottom: 3px;
  top: -5px;
  padding-right: 20px;
}

.title h1 {
    display: inline;
    padding: 0px;
    padding-left: 20px;
}


polygon {
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    cursor: pointer;
}

ul {
    list-style: none;
    padding: 0;
}
.sidebar {
  background: #425066;
  position: fixed;
  top: 0;
  bottom:0;
  right: 0;
  z-index: 999;
}

.sidebar span.octicon {
  font-size: 40px;
  color: #fff;
  padding: 14px;
}

.sidebar-item {
  text-align: center;
  border-bottom: 5px solid #586984;
  cursor: pointer;
}

.sidebar-item:hover {
  background: #586984;
}

/* Solver Progress Panel */
.solver-progress {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: rgba(59, 73, 94, 0.95);
  border-radius: 12px;
  padding: 16px;
  color: white;
  font-family: 'Monaco', 'Consolas', monospace;
  font-size: 12px;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  display: none;
}

.solver-progress.active {
  display: block;
}

.solver-progress .close-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #aaa;
  font-size: 18px;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  cursor: pointer;
  line-height: 1;
}

.solver-progress .close-btn:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

.solver-progress h3 {
  margin: 0 0 8px 0;
  font-size: 11px;
  color: #a0b0c0;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: Arial, sans-serif;
}

.solver-progress .speed-controls {
  display: flex;
  gap: 4px;
  margin-bottom: 10px;
}

.solver-progress .speed-btn {
  flex: 1;
  background: rgba(255,255,255,0.1);
  border: none;
  padding: 6px 4px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.15s ease;
}

.solver-progress .speed-btn:hover {
  background: rgba(255,255,255,0.2);
}

.solver-progress .speed-btn.active {
  background: rgba(78, 205, 196, 0.4);
  box-shadow: inset 0 0 0 2px rgba(78, 205, 196, 0.6);
}

.solver-progress .attempts {
  font-size: 18px;
  font-weight: bold;
  color: #4ecdc4;
  margin-bottom: 12px;
  font-family: Arial, sans-serif;
}

.solver-progress .pieces-table {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.solver-progress .piece-row {
  display: grid;
  grid-template-columns: 20px 70px 50px 50px;
  gap: 8px;
  align-items: center;
  padding: 6px 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.05);
}

.solver-progress .piece-row.current {
  background: rgba(78, 205, 196, 0.2);
  box-shadow: inset 0 0 0 1px rgba(78, 205, 196, 0.5);
}

.solver-progress .piece-row.placed {
  background: rgba(100, 200, 100, 0.15);
}

.solver-progress .piece-row.pending {
  opacity: 0.4;
}

.solver-progress .piece-color {
  width: 16px;
  height: 16px;
  border-radius: 3px;
}

.solver-progress .piece-name {
  font-weight: bold;
  color: #fff;
}

.solver-progress .piece-orient {
  color: #4ecdc4;
}

.solver-progress .piece-pos {
  color: #f0ad4e;
}

.solver-progress .header-row {
  display: grid;
  grid-template-columns: 20px 70px 50px 50px;
  gap: 8px;
  padding: 4px 8px;
  font-size: 10px;
  color: #888;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 4px;
}

