.create-command-group-container {
  padding: 20px;
  max-width: 800px;
  margin: auto;
  background-color: #fff;
}

.form-container {
  padding: 40px;
}

.command-group-form {
  display: flex;
  flex-direction: column;
}

.command-selection {
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
}

.available-commands, .selected-commands {
  width: 48%;
  display: flex;
  flex-direction: column;
  max-height: 200px;
}

.table-wrapper {
  flex: 1;
  overflow-y: auto;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.selected-commands-list {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 10px;
  background-color: #f9f9f9;
  flex: 1;
  overflow-y: auto;
}

.commands-container {
  display: flex;
  flex-direction: column;
}

.command-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px;
  background-color: #fff;
  border-radius: 4px;
  margin-bottom: 8px;
}

.remove-icon {
  cursor: pointer;
  color: #f44336;
}

.chevron-icon {
  margin: 0 10px;
  color: #666;
}

.command-group-actions {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
}

.available-commands, .selected-commands {
  width: 48%;
  display: flex;
  flex-direction: column;
  max-height: 500px;
}

.table-wrapper {
  flex: 1;
  overflow-y: auto;
  border: 1px solid #ccc;
  border-radius: 4px;
  max-height: 400px;
}

@media (max-width: 600px) {
  .command-selection {
    flex-direction: column;
  }
  .available-commands, .selected-commands {
    width: 100%;
    margin-bottom: 20px;
  }
}

.action-container {
  display: flex;
  justify-content: flex-end;
  gap: 1em;
  padding: 1.5em;
}
