h1 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.mode-select {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.mode-btn {
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  background: #e0e0e0;
  transition: background 0.2s;
}

.mode-btn.active {
  background: #2196f3;
  color: white;
}

.bands-display {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.band {
  width: 40px;
  height: 120px;
  border-radius: 4px;
  border: 1px solid #ccc;
  cursor: pointer;
}

.result {
  text-align: center;
  font-weight: bold;
  margin-bottom: 1rem;
}

.color-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

.color-table td,
.color-table th {
  border: 1px solid #ccc;
  padding: 6px;
}

.color-cell {
  width: 40px;
  height: 20px;
  margin: auto;
  border-radius: 4px;
}

